diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..951ad52d1 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [weppos] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: "rubygems/whois" +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: https://whoisrb.org/contribute/#donate diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..523d77d50 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,19 @@ +version: 2 +updates: + - package-ecosystem: bundler + directory: / + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 + labels: + - dependencies + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + time: "04:00" + open-pull-requests-limit: 10 + labels: + - dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..ef44c07aa --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,64 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +name: "CodeQL" + +on: + push: + branches: [ main ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] + schedule: + - cron: '39 4 * * 0' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'ruby' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://git.io/codeql-language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..500160219 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: release + +on: + push: + tags: + - v*.*.* +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Release Gem + uses: cadwallion/publish-rubygems-action@d9474d9633f4674e59afb0c343f2dafe25181328 + env: + RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} + RELEASE_COMMAND: rake release diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 000000000..0a6c70bdc --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,29 @@ +name: Tests + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + strategy: + matrix: + ruby-version: + - "2.6" + - "2.7" + - "3.0" + - "3.1" + platform: [ubuntu-latest] + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + - name: Install dependencies + run: bundle install + - name: Run tests + run: bundle exec rake + diff --git a/.gitignore b/.gitignore index 3b3c6a214..a92b321c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,11 @@ -utils/whois-utf8.rb - # Bundler -.bundle -pkg/* -Gemfile.lock - -# Rubinius -*.rbc +/.bundle/ +/Gemfile.lock +/pkg/ # YARD -.yardoc -yardoc/ +/.yardoc +/_yardoc/ +/doc/ + +utils/whois-utf8.rb diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 000000000..f628703f1 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,27 @@ +inherit_from: + - .rubocop_opinionated.yml + - .rubocop_todo.yml + +require: + - rubocop-rspec + +AllCops: + TargetRubyVersion: 2.5 + Exclude: + # Exclude .gemspec files because they are generally auto-generated + - '*.gemspec' + # Exclude vendored folders + - 'tmp/**/*' + - 'vendor/**/*' + # Exclude artifacts + - 'pkg/**/*' + # Other + - '.simplecov' + - 'test/benchmarks/**/*' + - 'test/profilers/**/*' + - 'utils/**/*' + +Style/ClassAndModuleChildren: + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' diff --git a/.rubocop_opinionated.yml b/.rubocop_opinionated.yml new file mode 100644 index 000000000..a9bc89bc3 --- /dev/null +++ b/.rubocop_opinionated.yml @@ -0,0 +1,135 @@ +AllCops: + Exclude: + # Exclude .gemspec files because they are generally auto-generated + - '*.gemspec' + # Exclude vendored folders + - 'tmp/**/*' + - 'vendor/**/*' + NewCops: enable + +# [codesmell] +Layout/LineLength: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + Max: 100 + +# [codesmell] +Metrics/AbcSize: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + +# [codesmell] +Metrics/BlockLength: + Enabled: false + +# [codesmell] +Metrics/CyclomaticComplexity: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + +# [codesmell] +Metrics/ClassLength: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + +# [codesmell] +Metrics/MethodLength: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + Max: 10 + +# [codesmell] +Metrics/ModuleLength: + Enabled: false + Exclude: + - 'spec/**/*_spec.rb' + - 'test/**/*_test.rb' + +# [codesmell] +Metrics/ParameterLists: + Enabled: false + Max: 5 + +# [codesmell] +Metrics/PerceivedComplexity: + Enabled: false + +# Do not use "and" or "or" in conditionals, but for readability we can use it +# to chain executions. Just beware of operator order. +Style/AndOr: + EnforcedStyle: conditionals + +Style/Documentation: + Exclude: + - 'spec/**/*' + - 'test/**/*' + +# Double empty lines are useful to separate conceptually different methods +# in the same class or module. +Layout/EmptyLines: + Enabled: false + +# In most cases, a space is nice. Sometimes, it's not. +# Just be consistent with the rest of the surrounding code. +Layout/EmptyLinesAroundClassBody: + Enabled: false + +# In most cases, a space is nice. Sometimes, it's not. +# Just be consistent with the rest of the surrounding code. +Layout/EmptyLinesAroundModuleBody: + Enabled: false + +# This is quite buggy, as it doesn't recognize double lines. +# Double empty lines are useful to separate conceptually different methods +# in the same class or module. +Layout/EmptyLineBetweenDefs: + Enabled: false + +# Annotated tokens (like %s) are a good thing, but in most cases we don't need them. +# %s is a simpler and straightforward version that works in almost all cases. So don't complain. +Style/FormatStringToken: + Enabled: false + +# unless is not always cool. +Style/NegatedIf: + Enabled: false + +# There are cases were the inline rescue is ok. We can either downgrade the severity, +# or rely on the developer judgement on a case-by-case basis. +Style/RescueModifier: + Enabled: false + +Style/SymbolArray: + EnforcedStyle: brackets + +# Hate It or Love It, I prefer double quotes as this is more consistent +# with several other programming languages and the output of puts and inspect. +Style/StringLiterals: + EnforcedStyle: double_quotes + +# It's nice to be consistent. The trailing comma also allows easy reordering, +# and doesn't cause a diff in Git when you add a line to the bottom. +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: consistent_comma + +Style/TrivialAccessors: + # IgnoreClassMethods because I want to be able to define class-level accessors + # that sets an instance variable on the metaclass, such as: + # + # def self.default=(value) + # @default = value + # end + # + IgnoreClassMethods: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 000000000..7be8f5b92 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,166 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2021-03-02 10:06:13 UTC using RuboCop version 1.11.0. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 5 +# Cop supports --auto-correct. +# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. +Lint/UnusedMethodArgument: + Exclude: + - 'lib/whois.rb' + - 'lib/whois/server.rb' + - 'lib/whois/server/adapters/none.rb' + - 'lib/whois/server/adapters/not_implemented.rb' + - 'lib/whois/server/adapters/web.rb' + +# Offense count: 61 +# Cop supports --auto-correct. +# Configuration parameters: SkipBlocks, EnforcedStyle. +# SupportedStyles: described_class, explicit +RSpec/DescribedClass: + Exclude: + - 'spec/integration/whois_spec.rb' + - 'spec/whois/server/adapters/not_implemented_spec.rb' + - 'spec/whois/server_spec.rb' + +# Offense count: 35 +# Configuration parameters: Max. +RSpec/ExampleLength: + Exclude: + - 'spec/integration/whois_spec.rb' + - 'spec/whois/client_spec.rb' + - 'spec/whois/record/part_spec.rb' + - 'spec/whois/record_spec.rb' + - 'spec/whois/server/adapters/afilias_spec.rb' + - 'spec/whois/server/adapters/arin_spec.rb' + - 'spec/whois/server/adapters/arpa_spec.rb' + - 'spec/whois/server/adapters/formatted_spec.rb' + - 'spec/whois/server/adapters/none_spec.rb' + - 'spec/whois/server/adapters/standard_spec.rb' + - 'spec/whois/server/adapters/verisign_spec.rb' + - 'spec/whois/server/socket_handler_spec.rb' + - 'spec/whois/server_spec.rb' + +# Offense count: 4 +# Configuration parameters: AssignmentOnly. +RSpec/InstanceVariable: + Exclude: + - 'spec/whois/server/adapters/not_implemented_spec.rb' + - 'spec/whois/server/adapters/web_spec.rb' + +# Offense count: 54 +# Configuration parameters: . +# SupportedStyles: have_received, receive +RSpec/MessageSpies: + EnforcedStyle: receive + +# Offense count: 70 +RSpec/MultipleExpectations: + Max: 5 + +# Offense count: 8 +# Configuration parameters: IgnoreSharedExamples. +RSpec/NamedSubject: + Exclude: + - 'spec/whois/record_spec.rb' + - 'spec/whois/server/socket_handler_spec.rb' + +# Offense count: 15 +# Cop supports --auto-correct. +# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers. +# SupportedStyles: inflected, explicit +RSpec/PredicateMatcher: + Exclude: + - 'spec/whois/record_spec.rb' + - 'spec/whois/server/adapters/base_spec.rb' + +# Offense count: 40 +RSpec/StubbedMock: + Exclude: + - 'spec/integration/whois_spec.rb' + - 'spec/whois/client_spec.rb' + - 'spec/whois/server/adapters/afilias_spec.rb' + - 'spec/whois/server/adapters/arin_spec.rb' + - 'spec/whois/server/adapters/arpa_spec.rb' + - 'spec/whois/server/adapters/formatted_spec.rb' + - 'spec/whois/server/adapters/standard_spec.rb' + - 'spec/whois/server/adapters/verisign_spec.rb' + - 'spec/whois/server/socket_handler_spec.rb' + - 'spec/whois/server_spec.rb' + - 'spec/whois/whois_spec.rb' + +# Offense count: 1 +RSpec/SubjectStub: + Exclude: + - 'spec/whois/server/socket_handler_spec.rb' + +# Offense count: 31 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods. +# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces +# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object +# FunctionalMethods: let, let!, subject, watch +# IgnoredMethods: lambda, proc, it +Style/BlockDelimiters: + Exclude: + - 'spec/whois/client_spec.rb' + - 'spec/whois/errors_spec.rb' + - 'spec/whois/record/part_spec.rb' + - 'spec/whois/record_spec.rb' + - 'spec/whois/server/adapters/base_spec.rb' + - 'spec/whois/server/adapters/formatted_spec.rb' + - 'spec/whois/server/adapters/none_spec.rb' + - 'spec/whois/server/adapters/not_implemented_spec.rb' + - 'spec/whois/server/adapters/web_spec.rb' + - 'spec/whois/server/socket_handler_spec.rb' + - 'spec/whois/server_spec.rb' + +# Offense count: 6 +Style/Documentation: + Exclude: + - 'spec/**/*' + - 'test/**/*' + - 'lib/whois.rb' + - 'lib/whois/client.rb' + - 'lib/whois/record.rb' + - 'lib/whois/server/adapters/arpa.rb' + - 'lib/whois/server/adapters/base.rb' + - 'lib/whois/server/adapters/not_implemented.rb' + +# Offense count: 8 +# Configuration parameters: MinBodyLength. +Style/GuardClause: + Exclude: + - 'lib/whois.rb' + - 'lib/whois/server.rb' + - 'lib/whois/server/adapters/afilias.rb' + - 'lib/whois/server/adapters/arin.rb' + - 'lib/whois/server/adapters/arpa.rb' + - 'lib/whois/server/adapters/verisign.rb' + - 'spec/support/helpers/connectivity_helper.rb' + +# Offense count: 13 +# Cop supports --auto-correct. +Style/ParallelAssignment: + Exclude: + - 'spec/whois/record_spec.rb' + - 'spec/whois/server/adapters/base_spec.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. +# AllowedMethods: present?, blank?, presence, try, try! +Style/SafeNavigation: + Exclude: + - 'lib/whois/server/socket_handler.rb' + +# Offense count: 44 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. +# SupportedStyles: single_quotes, double_quotes +Style/StringLiterals: + Enabled: false diff --git a/.simplecov b/.simplecov new file mode 100644 index 000000000..4c99a4a74 --- /dev/null +++ b/.simplecov @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +SimpleCov.start do + add_filter "/spec/" + add_filter "/utils/" +end diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 000000000..38ec15178 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.0.3 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 91fb18d38..000000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -sudo: false -language: ruby -rvm: -- 1.9.3 -- 2.0 -- 2.1 -- 2.2 -- ruby-head -- jruby-19mode -env: -- COVERALL=1 - -notifications: - recipients: - - weppos@weppos.net - -matrix: - allow_failures: - - rvm: ruby-head - - rvm: jruby-19mode - include: - - rvm: 1.9.2 - gemfile: Gemfile.ruby-1.9.2 diff --git a/4.0-Upgrade.md b/4.0-Upgrade.md new file mode 100644 index 000000000..7c9969ca9 --- /dev/null +++ b/4.0-Upgrade.md @@ -0,0 +1,143 @@ +# Welcome to Whois 4.0! + +Whois 4 is a major upgrade compared to Whois 3. This library is now 7 years old, enough mature to offer pretty much all the features you need to perform WHOIS queries. + +In these last 7 years the adoption of this library has grown beyond any expectation. Most of the time was spent updating the definitions to stay up to date with the various registrar changes (thanks ICANN for thew newGLTDs...), updating the registry parsers and polishing up the public interface. + +For Whois 4 I decided to take a step back, and rewrite some of the internal components of this library to improve performance and readability. As a result of these changes, there are several compatibility breaks with Whois 4 that I'm going to document here. + +-- Simone + +## What's New + +- The Whois client and the Whois parser are now two separate repositories, and they are also distributed as two separate gems: + + - https://github.com/weppos/whois - https://rubygems.org/gems/whois + - https://github.com/weppos/whois-parser https://rubygems.org/gems/whois-parser + + There are several reasons behind this change (see [weppos/whois#503](https://github.com/weppos/whois/pull/503)). + + First of all, the maintenance of the whois-parser component is the most time consuming task. Updating a parser may require from a few minutes to several hours, depending on how big are the changes. It also requires to generate the appropriate fixtures, and write the necessary tests. In the last years I noticed that more than once client updates were delayed because of pending parser changes. Separating the repositories and the release cycles will likely speedup future released of the client gem. + + Moreover, the parser component takes a lot of space (due to all the files and fixtures). If you just need a Ruby whois client, loading the entire parser component is inefficient and a waste of time/CPU/resources. + + Last but not least, in the last years the Whois client inspired several ports in different languages. Most of these ports were not interested in porting the parser as well. However, the parser was so tightly coupled with the client that it made the client code harder to read. + +- The definition files have been largely redesigned, in particular the TLD file. The definitions are now maintained using a set of CLI tools. The goal is to eventually extract the definition files into a separate, standalone repository that other WHOIS libraries can easily fetch. + +## Upgrade + +When upgrading, here's the most relevant changes to keep an eye on: + +- If you are using the Whois parser, install and require the `whois-parser` gem. The parser will automatically download the appropriate `whois` dependency. + + ```ruby + require 'whois-parser' + ``` + + If you only need the client and you don't care about the parser, simply continue to require the `whois` gem directly. + + ```ruby + require 'whois' + ``` + +- `Whois::Server.definitions` no longer return the internal definitions. Definitions are no longer accessible directly, because their internal representation may change at any time. If you need to modify the definitions, use the public API. + + ```ruby + Whois::Server.define(Whois::Server::TYPE_TLD, ...) + ``` + + You can still use `Whois::Server.definitions`, but it will return a copy of the internal definitions, and you have to specify which type of definitions you want to access. + + ```ruby + Whois::Server.definitions(Whois::Server::TYPE_TLD) + ``` + +- **The parser methods are no longer accessible directly within the response object.** + + This is probably one of the most important changes, and it is explained in details at [weppos/whois-parser#5](https://github.com/weppos/whois-parser/pull/5). + + In Whois 3, you can invoke a property method on a record object and the record will automatically route the method call to the underlying parser. If the property is not supported or defined in any of the parsers, then the method will return nil. + + However, this behavior is often the cause of confusion and misunderstandings, especially for partially implemented parsers. Without to mention that the code required for this feature to work added an extra layer of complexity to the `Whois::Record` implementation. + + Starting from Whois 4, the `Whois::Record` doesn't expose any parsing methods anymore. If you want to parse a record, you have to istantiate a parser manually. Of course, you also need to use the `whois-parser` library instead of `whois`. + + Whois 3: + + ```ruby + require 'whois-parser' + + record = Whois.whois("example.it") + record.expires_on + ``` + + Whois 4: + + ```ruby + require 'whois-parser' + + record = Whois.whois("example.it") + parser = Whois::Parser.new(record) + parser.expires_on + ``` + + You can still use the convenient helper `record.parser` to initialize a parser: + + ```ruby + require 'whois-parser' + + record = Whois.whois("example.it") + record.parser.expires_on + ``` + + Also note that any parser method, such as `parser.expires_on`, will raise an error if the property is not implemented, as opposite to silently returning `nil` as it was in Whois 3. + +- **Parser extensions** + + The Parser features available in Whois 3 has been packaged into several extensions. Some of them are loaded by default in Whois 4 when you require `whois-parser`, others not anymore. The reason is because although some of them may appear convenient (because it makes you write more code), it turned out that they made some assumptions that were often source of confusion. + + Check the header of the [`whois/parser.rb`](https://github.com/weppos/whois-parser/blob/master/lib/whois/parser.rb) file to learn more about the purpose of each extension. + + Requiring **all** the extensions will essentially force Whois 4 to work pretty much like Whois 3. This is not recommended, and you should not rely on those extensions to be there forever. Instead, you should write the code depending on what you actually need. + + There is also an ENV variable you can set to rollback compatibility to Whois 3. + + ```ruby + ENV["WHOISRB_4EXTENSIONS"] = 1 + ``` + + Again, this flag exists only as temporary helper, and it should not become a permanent upgrade workaround. + +- **SafeRecord** + + In the previous point I mentioned that you should write the code you need to customize the `Whois::Record` and extract information with the `Whois::Parser`. However, I omitted an important additional recommendation: avoid monkey patching the Whois::Record object, and instead prefer composition via delegation. + + The SafeRecord is an example of a wrapper around a Record object, that expose a Whois 3 alike interface, without injecting the parser methods directly into the `Whois::Record` itself. + + The advantages are: + + - the code is more maintainable, as it is not tighlty coupled to the Whois::Record + - you don't monkey patch `Whois::Record` in your code, which is an object you don't have control of because it is packaged in a third party library (and can change) + - the library can easily be tested separately + + In these 10 years of writing Ruby code, I've noticed an increasing attitude to monkey patch Ruby classes you don't control, instead of writing your own code and delegate to them. It looks like in several cases Ruby programmers are afraid of writing Ruby code. This results in very fragile code, where methods can easily conflict each other (especially between dependencies). + + The `Whois::SafeRecord` is an alternative example of how you can restore Whois 3 behavior by using a custom object. + + ```ruby + require 'whois/parser' + require 'whois/safe_record' + + record = Whois.whois('example.com') + record.disclaimer + # => Whois::AttributeNotSupported + + safe_record = Whois::SafeRecord.new(record) + safe_record.disclaimer + # => nil + ``` + + This is preferred over requiring the `whois/parser_extensions` or enabling v3 compatibility mode. + + Please note that the parser extension is provided as example. It may be removed from future versions therefore, once again, you should write the code you need to access the parsed data. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd2f96dd..dcff2c8bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,142 @@ # Changelog +This project uses [Semantic Versioning 2.0.0](http://semver.org/). -#### Release 3.6.5 + +## main + +### Changed + +- SERVER: Updated .UNO (GH-648) + + +## Release 5.1.0 + +### Changed + +- SERVER: Deleted .VISTAPRINT, .XN--ESTV75G +- CHANGED: Eager load all adapters (GH-644). Thanks @casperisfine @byroot + + +## Release 5.0.2 + +### Changed + +- SERVER: Update 43.0.0.0/8 allocation (GH-615). Thanks @taketo1113 +- SERVER: Deleted .LIAISON, .MOVISTAR, .TELEFONICA, .BNL, .CARTIER, .EVERBANK, .LADBROKES, .PIAGET, .STARHUB, .MOPAR, .MOBILY, .ISELECT, .XN--MGBB9FBPOB, .DODGE, .WARMAN, .DUNS, .LANCOME, .CHRYSLER, .SRT, .UCONNECT +- SERVER: Update .STREAM + + +## Release 5.0.1 + +### Changed + +- Use `String#match?` rather than `#=~` to improve performance (GH-589). Thanks @casperisfine @byroot +- Empty Hash allocation optimization (GH-588). Thanks @casperisfine @byroot + + +## Release 5.0.0 + +## Changed + +- Update Amazon Registry whois hosts +- Minimum Ruby version 2.4 + +## Fixed + +- Fixed issue that prevented to query .CAT domains (GH-583). + + +## Release 4.1.0 + +- SERVER: Added .SS +- SERVER: Update .ALLFINANZ, .CAM, .DVAG, .FRESENIUS, .POHL, .TUI, .XN--VERMGENSBERATER-CTB, .XN--VERMGENSBERATUNG-PWB, .ZUERICH, .BMW, .MINI, .BABY, .DESI, .SAARLAND, .ECO +- SERVER: Deleted .DOHA + +- CHANGED: Reduce string allocations and retentions (GH-437). Thanks @casperisfine @byroot + + +## Release 4.0.8 + +- SERVER: Deleted .XPERIA, .TELECITY, .VISTA, .JLC, .PANERAI, .GOODHANDS, .STATOIL, .ACTIVE, .BLANCO, .EPOST, .SPIEGEL, .ZIPPO +- SERVER: Updated .SHOP, .NAGOYA, .OKINAWA, .RYUKYU, .TOKYO, .YOKOHAMA, .ORGANIC, .XN--MGBAB2BD, .MW, .IN, .XN--2SCRJ9C, .XN--3HCRJ9C, .XN--45BR5CYL, .XN--45BRJ9C, .XN--FPCRJ9C3D, .XN--GECRJ9C, .XN--H2BREG3EVE, .XN--H2BRJ9C, .XN--H2BRJ9C8C, .XN--MGBBH1A, .XN--MGBBH1A71E, .XN--MGBGU82A, .XN--RVC1E0AM3E, .XN--S9BRJ9C, .XN--XKC2DL3A5EE0H, .COUNTRY +- SERVER: Added .XN--MGBAH1A3HJKRD + + +## Release 4.0.7 + +- SERVER: Added .CHARITY, .INC +- SERVER: Updated .COLOGNE, .KOELN, .IE, .AU +- SERVER: Deleted .IWC + + +## Release 4.0.6 + +- SERVER: Added .SPORT, .LLC, .FM (GH-568) +- SERVER: Updated .MUSEUM, .MR, .PR, .AI, .SMART, .BAIDU, .GE, several newGTLDs +- SERVER: Deleted .HTC + + +## Release 4.0.5 + +- SERVER: Updated .ALIBABA, .ALIPAY, .HDFC, .SINA, .WEIBO, .XN--9KRT00A, .XN--JLQ61U9W7B +- SERVER: Deleted .MCD, .MCDONALDS, .PAMPEREDCHEF, .MONTBLANK, .CHLOE + + +## Release 4.0.4 + +- SERVER: Added .MERCKMSD +- SERVER: Updated .KOSHER, .LDS, .BESTBUY, .DUNLOP, .GOODYEAR, .TVS, .BNL, .HOMEDEPOT, .HUGHES, .IVECO, .LAMER, .LATINO, .LOCKER, .METLIFE, .MOBILE, .NEWHOLLAND, .OLLO, .ORIGINS, .OTT, .PHONE, .PNC, .SBI, .SCHOLARSHIPS, .SLING, .STATEBANK, .THD, .UPS, .WOLTERSKLUWER, .XN--NQV7FS00EMA, .DELTA, .STAR, .ALLY, .BCG, .BLOCKBUSTER, .CASE, .CASEIH, .CLINIQUE, .CRUISE, .CYOU, .DATA, .DISH, .DOT, .DTV, .FEDEX, .FERRARI, .GALLUP, .HELSINKI, .ICBC, .MASERATI, .MCKINSEY, .MONSTER, .MORMON, .XN, .XN + + +## Release 4.0.3 + +- FIXED: Updated Verisign adapter to properly detect the new label for referral servers (GH-559) + + +## Release 4.0.2 + +- SERVER: Added .AFRICA, .XN--MGBAI9AZGQP6J, .FUN, .RMIT, .HOSPITAL, .BOSTON, .DATA, .MOBILE, .PHONE, .HAIR, .LADBROKES, .CATHOLIC, .XN--80AQECDR1A, .XN--MGBI4ECEXP, .XN--TIQ49XQYJ, .RUGBY, .HOTELS, .GROCERY, .XN--MGBAAKC7DVF, .MAP, .PHD, .SEARCH, .XN--2SCRJ9C, .XN--45BR5CYL, .XN--H2BREG3EVE, .XN--H2BRJ9C8C, .XN--MGBBH1A, .XN--MGBGU82A, .XN--RVC1E0AM3E, .ETISALAT +- SERVER: Updated .LINK (GH-543), .AR, .MQ, .ARCHI, .BIO, .SKY, .GF, .KG, .STORAGE, .BIBLE +- SERVER: Deleted .IINET, .MUTUELLE, .FLSMIDTH, .MTPC + + +## Release 4.0.1 + +- SERVER: Added .FREE, .HK.COM, .HK.ORG, .LTD.HK, .INC.HK, .BOX, .CRUISE, .FOOD, .JIO, .MOTO, .RELIANCE, .RIL +- SERVER: Updated .ONLINE, .SITE, .STC, .STCGROUP + + +## Release 4.0.0 + +The WHOIS parsers are no longer part of this repository, and they have been extracted into a separate repository at https://github.com/weppos/whois-parser. + +The `whois` library is now simply a WHOIS client. If you want to use the parsing features, install the `whois-ruby` gem (that already defines `whois` as a dependency). + +**final** + +- SERVER: Added .LIPSY, .NEXT, .NEXTDIRECT, .OLAYAN, .WARMAN, .XN--MGBA8C0BBN0A, .TDK, .DTV, .LOCKER, .OLLO, .OTT, .CAM, .LEGO, .ORIENTEXPRESS, .FEDEX, .FARMERS, .TIAA, .BESTBUY, .LPL, .LPLFINANCIAL, .DHL, .GAMES, .HISAMITSU, .PIONEER, .ZAPPOS, .AUDIBLE, .CHINTAI, .DEAL, .EPOST, .FIRE, .IMDB, .KINDLE, .NOW, .PRIME, .SAVE, .SILK, .TDK, .AIRBUS, .ALSTOM, .DUNLOP, .DUPONT, .ERICSSON, .GOODYEAR, .KOSHER, .ABLE, .ANZ, .BLANCO, .ITV, .SHOPPING, .ART, .COOKINGCHANNEL, .FOODNETWORK, .FRONTDOOR, .HGTV, .NFL, .POLITIE, .TRAVELCHANNEL, .WOODSIDE, .MIT, .NIKE, .SES, .INTUIT, .MACYS, .MINT, .CBRE, .SHANGRILA, .XN--5SU34J936BGSG, .XN--90AE, .ZIPPO, .AMERICANFAMILY, .HONEYWELL, .COMCAST, .FUJITSU, .GODADDY, .MITSUBISHI, .XFINITY, .AFAMILYCOMPANY, .LILLY, .MCKINSEY, .ECO, .VANGUARD, .MONSTER, .DIY, .ASDA, .HBO, .UNO, .FIDO, .ROGERS, .DDS, .VOLVO, .LEFRAK, .GOODHANDS, .ALLSTATE, .OBSERVER, .BASKETBALL, .BBT, .BEAUTY, .FUJIXEROX, .HOMEGOODS, .HOMEGOODS, .HOMESENSE, .PFIZER, .STAPLES, .TJMAXX, .TJX, .TKMAXX, .VIVO, .WINNERS, .MARSHALLS, .LANCOME, .LUNDBECK, .NATIONWIDE, .ONYOURSIDE, .PANASONIC, .SMART, .DOCTOR, .DUCK, .IEEE, .OFF, .RAID, .RIGHTATHOME, .SCJOHNSON, .SWIFTCOVER, .AMFAM, .BOOKING, .CITADEL, .DUNS, .MSD, .CITI, .HYATT, .ATHLETA, .BANANAREPUBLIC, .CALVINKLEIN, .INTEL, .DISCOVER, .NBA, .OLDNAVY, .QVC, .GAP, .PRAMERICA, .LOFT, .TARGET, .PRU, .PRUDENTIAL, .BANAMEX, .ESURANCE, .CHRYSLER, .SRT, .UCONNECT, .JEEP, .ALFAROMEO, .MASERATI, .BLOCKBUSTER, .FERRARI, .LANCIA, .LATINO, .MOPAR, .SHOWTIME, .FIAT, .ABARTH, .CBS, .DODGE, .ABC, .GLADE, .VISA, .BOFA, .JUNIPER, .FIDELITY, AMERICANEXPRESS, AMEX, MCD, BASEBALL, MCDONALDS, PAY, HOT, SECURE, XN, WOW, OPEN, CAPITALONE, DISH, HUGHES, SLING, AIGO, HDFC, DVR, CASE, CASEIH, IVECO, NEWHOLLAND, XN, AUSPOST, GEORGE, NAB, SAMSCLUB, UBANK, WALMART, RADIO, AOL, .ABB, .SENER, .FERRERO, .gmoregistry, .PLAYSTATION, .CITIC, .DELTA, .IST, .ISTANBUL, .METLIFE, .NOWTV, .ORIGINS, .PCCW, .RICHARDLI, .PNC, .IKANO, .MUTUELLE, .LADBROKES, .TIAA, .UBS, .XN--11B4C3D, .XN--CZR694B, .XN--FZYS8D69UVGM +- SERVER: Updated .CASA, .MEET, .WORK, .SURF, .XN--54B7FTA0CC, .CO.ZA [thanks @ranaldobowker], .MOBI + +- CHANGED: Definitions are now private and you cannot access/modify the internal representation directly. Instead, use the accessor methods. +- CHANGED: Definitions internal representation changed to be indexed. This change drastically improved the lookup performances for domains, as well fixing the bug GH-536 where the order of the definitions were relevant. + +**beta-2** + +- SERVER: Added .ALLY, .AWS, .ANQUAN, .JCP, .NISSAY, .SHOUJI, .SINA, .XIHUAN, .YUN, .HTC, .PROGRESSIVE, .MLS, .BABY, JNJ, .FTR, .XN--4TZM5G, .EXTRASPACE, .BAREFOOT, .GALLO, .SHAW, .STREAM, .TALK, .XN--FCT429K, .XN--FCT429K, .YOU, .KPMG, .MUTUAL, .ABBVIE, .ABUDHABI, .NORTHWESTERNMUTUAL, .VIG, .WEIBO, .XN--9KRT00A, .XN--MGBCA7DZDO, .AGAKHAN, .AKDN, .IMAMAT, .ISMAILI, .SBI, .STATEBANK, .OLAYANGROUP, .FLIR, HKT, .GUARDIAN, .XN--W4RS40L, .TEVA, .FINANCIAL, .UPS, .MLB, .REALESTATE, .SHOP, .AETNA, .BLOG, .DOT, .MATTEL, .NETFLIX +- SERVER: Updated .DELOITTE, .CAT, .REDSTONE, .LOCUS, .XIN, .XN--E1A4C + +**beta-1** + +- SERVER: Added .CLINIQUE, .LIVING, .PROMO, .BAIDU, .TUBE, .DUBAI, .FRESENIUS, .VOLKSWAGEN, .WEATHER, .COMPARE, .ISELECT, .MAKEUP, .SELECT, .SKIN, .SOFTBANK, .ALIBABA, .ALIPAY, .XN--G3XX48C, .LIFEINSURANCE, .EDEKA, .TIFFANY, .TMALL, .FRONTIER, .QUEST, .XN--8Y0A063A, .PAMPEREDCHEF, .TAOBAO, .ADAC, .HEALTH, .HELSINKI, .LANXESS, .WEATHERCHANNEL, .NIKON, .DELOITTE, .UNICOM, .XN--BCK1B9A5DRE4C, .XN--E1A4C, .FLICKR, .YAHOO, .TELECITY, .TUNES, .SONG, .TVS, .GALLUP, .HDFCBANK, .NATURA, .PWC, .WOLTERSKLUWER, .XN--MIX891F, .XN--JVR189M, .STORE, .VIKING, .PASSAGENS, .VUELOS, .TUNES, .COUPON, .SPOT, .XN--1CK2E1B, .XN--CCK2B3B, .XN--GCKR3F0F, .XN--ROVU88B, .KERRYHOTELS, .KERRYLOGISTICS, .KERRYPROPERTIES, .KUOKGROUP, .XN--W4R85EL8FHU5DNRA, .CHASE, .JPMORGAN, .AVIANCA, .BCG, .GMBH, .LOCUS, .TOTAL +- SERVER: Updated .RW, .GA, .MN, .PM, .RE, .WF, .YT, .TG, .TV, .SFR, .XN--NGBE9E0A, .KFH, .KN, .BZH, .XN--VUQ861B, .JOBS, .HIV, .PRO, .XN--KPUT3I + +- CHANGED: Removed support for Ruby < 2.0 + +- REMOVED: Deleted deprecated Whois.query method. + + +## Release 3.6.5 - SERVER: Added .PARS, .XN--MGBT3DHD, .REDUMBRELLA, .TRV, .TUSHU, .WATCHES, .XN--ECKVDTC9D, .KFH, .KPN, .SHELL, .TRAVELERSINSURANCE, .WANGGOU, .XN--KPU716F, .XN--NGBE9E0A, .XN--PBT977C, .FORD, .JMP, .LINCOLN, .SAS, .STORAGE, .XN--JLQ61U9W7B, .ANALYTICS, .MOBILITY, .XN--MGBB9FBPOB, .CONTACT, .PID, .STAR, .WEBER, .BOSCH, .DEALER, .FOX, .LAMER, .ORIGINS, .REXROTH, .SAFETY, .SCHAEFFLER, .STATEFARM @@ -9,33 +144,33 @@ - SERVER: Sync Centralnic definitions. Added .COM.SE, .HU.COM, .HU.NET, .UY.COM, .ZA.BZ, .AFRICA.COM, .IN.NET -- CHANGED: Updated whois.tld.ee to the new response format (GH-489, GH-490). [Thanks @tanelj] +- CHANGED: Updated whois.tld.ee to the new response format (GH-489, GH-490). [thanks @tanelj] -#### Release 3.6.4 +## Release 3.6.4 - SERVER: Added .ROCHER, .XN--VUQ861B, .CITYEATS, .CREDITUNION, .LIFESTYLE, .VANA, .COMSEC, .FAIRWINDS, .GRAINGER, .TAB, .BROADWAY, .AUDI, .BOEHRINGER, .BOSTIK, .BUGATTI, .LAMBORGHINI, .VERISIGN, .VIP., .SFR, .INSURANCE, .MED, .NORTON, .SYMANTEC, .AUTHOR, .BOOK, .BOT, .BUY, .CALL, .CIRCLE, .FAST, .FIRESTONE, .GOT, .JOT, .JOY, .LIKE, .NOWRUZ, .PIN, .READ, .ROOM, .SAFE, .SALON, .SHARP, .SHIA, .SMILE, .TCI, .TRAVELERS, .ZERO - SERVER: Deleted .TP, .AN -- NEW: Added whois.nic.tech parser (GH-443). [Thanks @mattbrictson] +- NEW: Added whois.nic.tech parser (GH-443). [thanks @mattbrictson] -- NEW: Added whois.35.com parser (GH-391). [Thanks @alpo] +- NEW: Added whois.35.com parser (GH-391). [thanks @alpo] -- NEW: Added whois.nic.space parser (GH-463, GH-374). [Thanks @linrock] +- NEW: Added whois.nic.space parser (GH-463, GH-374). [thanks @linrock] -- NEW: Added whois.nic.xyz parser (GH-373, GH-460). [Thanks @mpchadwick] +- NEW: Added whois.nic.xyz parser (GH-373, GH-460). [thanks @mpchadwick] -- FIXED: Removed option to /usr/bin/env as not supported on all platforms (GH-453). [Thanks @martin-schmidt] +- FIXED: Removed option to /usr/bin/env as not supported on all platforms (GH-453). [thanks @martin-schmidt] -- CHANGED: Updated whois.wildwestdomains.com to the new response format (GH-392, GH-462). [Thanks @linrock] +- CHANGED: Updated whois.wildwestdomains.com to the new response format (GH-392, GH-462). [thanks @linrock] - CHANGED: Updated whois.afilias.info to the new response format (GH-481). -- CHANGED: whois.aero now recognizes reserved domains (GH-464, GH-418). [Thanks @linrock] +- CHANGED: whois.aero now recognizes reserved domains (GH-464, GH-418). [thanks @linrock] -#### Release 3.6.3 +## Release 3.6.3 - SERVER: Added .ACO, .AAA, .GEA, .STCGROUP, .VIVA, .GROUP, .CEB, .FAGE, .MOM, .AMICA, .STC, .CIPRIANI, .KINDER, .XN--11B4C3D, .XN--3PXU8K, .XN--42C2D9A, .XN--9DBQ2A, .XN--C2BR7G, .XN--FHBEI, .XN--J1AEF, .XN--MK1BU44C, .XN--PSSY2U, .XN--T60B56A, .XN--TCKWE, .XN--EFVY88H, .CSC, .CAR, .PROTECTION, .STADA, .THEATRE, .LINDE, .SECURITY, .BMS, .LTD, .OBI, .BOM, .FINAL, .HYUNDAI, .KIA, .SEVEN, .STOCKHOLM, .CLUBMED, .DELL, .ARAMCO, .XN--MGBA3A3EJT, .MOI, .MTR, .VIRGIN, .YAMAXUN, .GUCCI, .JAGUAR, .LANDROVER, .RWE, .ZARA, .MEO, .PING, .SAPO, .SBS, .AARP, .APPLE, .BEATS, .XN--MGBTX2B, .XN--QXAM @@ -44,29 +179,29 @@ - SERVER: Disabled whois.edu.cn as it has not been working for the last 6 years (GH-59). -#### Release 3.6.2 +## Release 3.6.2 - SERVER: Updated .LOVE -- NEW: Added capetown-whois.registry.net.za, durban-whois.registry.net.za, joburg-whois.registry.net.za, org-whois.registry.net.za parsers (GH-405). [Thanks @sheldonh] +- NEW: Added capetown-whois.registry.net.za, durban-whois.registry.net.za, joburg-whois.registry.net.za, org-whois.registry.net.za parsers (GH-405). [thanks @sheldonh] -- CHANGED: Updated whois.cnnic.cn to the new response format (GH-432). [Thanks @ledowong] +- CHANGED: Updated whois.cnnic.cn to the new response format (GH-432). [thanks @ledowong] -- CHANGED: Added expires_on at "co.jp" domain (GH-437). [Thanks @kubihie] +- CHANGED: Added expires_on at "co.jp" domain (GH-437). [thanks @kubihie] -#### Release 3.6.1 +## Release 3.6.1 -- SERVER: Added .co.com (GH-428) [Thanks @turigabor], .STATOIL, .CROWN, .ACCOUNTANT, .DATE, .DOHA, .DOWNLOAD, .FAITH, .LOAN, .MOVIE, .MTN, .PANERAI, .REVIEW, .TICKETS, .WIN, .ACCENTURE, .NEC, .PHILIPS, .XN--FJQ720A, .COUPONS, .ICBC, .SOCCER, .FYI, .JLL, .MBA, .THD, .BBVA, .SANDVIK, .SANDVIKCOROMANT, .WALTER, .AIRTEL, .BARCELONA, .BCN, .GAME, .JPRS, .LIVE, .STUDIO, .BING, .HOTMAIL, .JLC, .MICROSOFT, .WINDOWS, .PLAY, .AEG, .DRIVE, .GENTING, .CBA, .COMMBANK, .NETBANK, .RICOH, .STARHUB, .VISTA, .VISTAPRINT, .OFFICE, .SCOR, .SKYPE, .LAW, .BNL, .BRADESCO, .HOTELES, .OMEGA, .SWATCH, .TELEFONICA, .LANCASTER, .NOKIA, .ICE, .ITAU, .LEXUS, .MAN, .BET, .SANOFI, .SRL, .TATAMOTORS, .IPIRANGA, .LEXUS, .PET, .TOYOTA, .LIXIL, .BOOTS, .CHANEL, .VIN, .WINE, .XPERIA, .GIVING, .FAMILY, .SEEK +- SERVER: Added .co.com (GH-428) [thanks @turigabor], .STATOIL, .CROWN, .ACCOUNTANT, .DATE, .DOHA, .DOWNLOAD, .FAITH, .LOAN, .MOVIE, .MTN, .PANERAI, .REVIEW, .TICKETS, .WIN, .ACCENTURE, .NEC, .PHILIPS, .XN--FJQ720A, .COUPONS, .ICBC, .SOCCER, .FYI, .JLL, .MBA, .THD, .BBVA, .SANDVIK, .SANDVIKCOROMANT, .WALTER, .AIRTEL, .BARCELONA, .BCN, .GAME, .JPRS, .LIVE, .STUDIO, .BING, .HOTMAIL, .JLC, .MICROSOFT, .WINDOWS, .PLAY, .AEG, .DRIVE, .GENTING, .CBA, .COMMBANK, .NETBANK, .RICOH, .STARHUB, .VISTA, .VISTAPRINT, .OFFICE, .SCOR, .SKYPE, .LAW, .BNL, .BRADESCO, .HOTELES, .OMEGA, .SWATCH, .TELEFONICA, .LANCASTER, .NOKIA, .ICE, .ITAU, .LEXUS, .MAN, .BET, .SANOFI, .SRL, .TATAMOTORS, .IPIRANGA, .LEXUS, .PET, .TOYOTA, .LIXIL, .BOOTS, .CHANEL, .VIN, .WINE, .XPERIA, .GIVING, .FAMILY, .SEEK - SERVER: Updated .CR, .VG, .BUZZ, .TECH, .GDN -- NEW: Added whois.safenames.net (GH-385) parser. [Thanks @robholland] +- NEW: Added whois.safenames.net (GH-385) parser. [thanks @robholland] -- CHANGED: Updated whois.nic.as to the new response format (GH-334). [Thanks @case] +- CHANGED: Updated whois.nic.as to the new response format (GH-334). [thanks @case] -#### Release 3.6.0 +## Release 3.6.0 - SERVER: Added .MMA, .XN--30RR7Y, .LOVE, .SCHOLARSHIPS, .XN--NYQY26A, .CYOU, .RACING, .XN--KCRX77D1X4A, .DOOSAN, .GARDEN, .IWC, .LIDL, .OSAKA, .SCHWARZ, .SEW, .SALE, .VIDEO, .ZUERICH, .SHRIRAM, .BANK, .FIT, .KDDI, .LAT, .LOTTE, .MARRIOTT, .BARCLAYCARD, .BARCLAYS, .DABUR, .DCLK, .DESIGN, .GOOG, .HANGOUT, .HERMES, .IFM, .JCB, .TEMASEK, .XN--B4W605FERD, .BINGO, .CANON, .CHAT, .STYLE, .TENNIS, .TOSHIBA, .CASINO, .FANS, .FOOTBALL, .GOLDPOINT, .SCHOOL, .YODOBASHI, .EPSON, .GOO, .JAVA, .LECLERC, .ORACLE, .MAIF, .XN--MXTQ1M, .DATSUN, .INFINITI, .MTPC, .NISSAN, .BROTHER, .CHLOE, .ERNI, .FOREX, .MARKETS, .CFD, .SPREADBETTING, .TRADING, .FAN, .ONLINE, .PAGE, .PIAGET, .SITE, .BBC, .NEWS, .TECH, .KOMATSU, .SAP, .BOND, .XN--9ET52U, .AFL, .REDSTONE, .SEAT, .SEX, .BROKER, .DOG, .RENT, .SWISS, .HONDA, .WEIR, .BRIDGESTONE, .HITACHI, .SENER, .TORAY, .SKY, .XN--IMR513N, .BIBLE, .HOMEDEPOT, .XBOX, .AZURE, .ICU, .THEATER, .EARTH, .EXPRESS, .CAFE, .BAUHAUS, .ADS, .FILM, .GOLD, .GOLF, .GUGE, .PLUS, .TOURS, .XN--VUQ861B, .JEWELRY, .SHOW, .SONY, .TEAM, .XEROX, .AIG, .AUTO, .CARS, .CFA, .LIAISON, .LOL, .NADEX, .HOCKEY, .RUN, .TAXI, .XN--ESTV75G, .XN--MGBPL2FH, .XN--Y9A3AQ, .CORSICA, .LUPIN, .APP, .SAKURA, .BENTLEY, .HSBC, .IINET, .ORANGE, .FORUM, .REALTY, .AUTOS, .LASALLE, .MONTBLANC, .BHARTI, .SNCF, .MEN @@ -81,68 +216,68 @@ - CHANGED: Updated .MA parser and definition from whois.iam.net.ma to whois.registre.ma -#### Release 3.5.9 +## Release 3.5.9 - SERVER: Added .KYOTO, .ONE, .CRICKET, .PARTY, .XN--45Q11C, XN--CZRS0T, .SAMSUNG, .CARTIER, .ADULT, .EUROVISION, .FASHION, .PORN, .TRUST, .KOELN, .XN--C1AVG, .NYC, .SAMSUNG, .COACH, .EVERBANK, .LEGAL, .MEMORIAL, .MONEY, .AQUARELLE, .IRISH, .LATROBE, .XN--HXT814E, .SKY, .DEV, .DOCS, .TYRES, .DOOSAN, .NTT, .AMSTERDAM, .FLOWERS, .GGEE, .CBN, .GDN, .APARTMENTS, .NICO, .SAXO, .BOATS, .COURSES, .STUDY, .SUCKS, .XN--90AIS, .ABBOTT, .PICTET, .XIN, .FANS - SERVER: Updated .SI, .WHOSWHO, .QUEBEC, .GLOBAL, .REIT, .BM (GH-397 @ydnar) -- FIXED: whois.schlund.info crashes with empty update date (GH-398). [Thanks @alexaitken] +- FIXED: whois.schlund.info crashes with empty update date (GH-398). [thanks @alexaitken] -#### Release 3.5.8 +## Release 3.5.8 - SERVER: Created .FIRMDALE, .MADRID, .XN--FLW351E, .XN--QCKA1PMC, .LDS, .MORMON - SERVER: Updated .TC -- NEW: whois.registry.om now recognizes reserved domains (GH-332). [Thanks @case] +- NEW: whois.registry.om now recognizes reserved domains (GH-332). [thanks @case] - FIXED: Fixed invalid JSON definition file (GH-349). -- FIXED: Fixed the ARIN referral regex to correctly consider ports optional (GH-350). [Thanks @jrideout] +- FIXED: Fixed the ARIN referral regex to correctly consider ports optional (GH-350). [thanks @jrideout] -#### Release 3.5.7 +## Release 3.5.7 - SERVER: Updated .AW, .BW, .GQ, .MK, .ML, .MZ, .PF, .VU, .ZM, .KIWI, .CAREER, .REISE, .VERSICHERUNG, .HOST, .PRESS, .HAMBURG, .BRUSSELS, .VLAANDEREN - SERVER: Created .BLOOMBERG, .ENERGY, .YANDEX, .PRAXI, .WHOSWHO, .WILLIAMHILL, .SUZUKI, .SCIENCE, .REALTOR, .SYDNEY, .TAIPEI, .DELIVERY, .DIRECT, .PLACE, .CITY, .DEALS, .AUCTION, .HEALTHCARE, .CANCERRESEARCH, .CUISINELLA, .SCHMIDT, .MELBOURNE, .KRD, .NRW, .SCB, .LACAIXA, .LGBT, .NGO, .ONG, .SPIEGEL, .NRA, .GENT, .REIT, .ANDROID, .TOP, .WALES, .SCA, .BNPPARIBAS, .EMERCK, .TATAR, .CYMRU, .RESTAURANT, .SARL, .XN--1QQW23A, .XN--XHQ521B, .NETWORK, .BUSINESS, .XN--VHQUV, .GIFTS, .HOSTING, .HELP, .DIET, .OOO, .UOL, .PROPERTY, .LTDA, .HOW, .CARAVAN, .CLICK, .CERN, .HERE, .ESQ, .GMAIL, .YOUTUBE, .PROD, .GBIZ, .IMMO, .OTSUKA, .DAD, .BOO, .DAY, .EAT, .FRL, .MOV, .NEW, .RSVP, .MEME, .ZIP, .PROF, .NEXUS, .GOOGLE, .GLE, .FLY, .CHROME, .CHANNEL, .CAL, .ING, .WORLD, .PIZZA, .PHARMACY, .WME, .GMX, .HOMES, .HORSE, .XN--P1ACF, .TUI, .POHL, .ALLFINANZ, .DVAG, .XN--VERMGENSBERATUNG-PWB, .XN--VERMGENSBERATER-CTB, .FORSALE, .IBM, .ALSACE, .ABOGADO, .BAND, .CRS, .FLSMIDTH, .POKER, .RIP, .WEDDING, .YOGA, .BUDAPEST, .CASA, .WORK -#### Release 3.5.6 +## Release 3.5.6 - SERVER: Created .AUDIO, .BEER, .CHURCH, .GUIDE, .HIPHOP, .JUEGOS, .LIFE, .LOANS, .LUXE, .BEST, .AUTOS, .HOMES, .MOTORCYCLES, .REISE, .RIO, .VERSICHERUNG, .YACHTS, .XN, .DEGREE, .SPACE, .WEBSITE, .ATTORNEY, .DENTIST, .HIV, .HOST, .LAWYER, .MARKET, .MORTGAGE, .PRESS, .SOFTWARE, .VET, .BIO, .ARMY, .ENGINEER, .GIVES, .HAMBURG, .NAVY, .NHK, .REHAB, .REPUBLICAN, .TIROL, .GLOBAL, .ORGANIC, .SCOT, .BZH, .XN, .BRUSSELS, .SURF, .VLAANDEREN, .CAPETOWN, .DURBAN, .GREEN, .JOBURG, .LOTTO, .OVH, .PHYSIO, .BMW, .CEO, .MINI, .ACTIVE - CHANGED: Updated whois.nic.cx to the new response format. -- FIXED: ruby-whois --version crashes (GH-356). [Thanks @micat] +- FIXED: ruby-whois --version crashes (GH-356). [thanks @micat] -- FIXED: whois.register.com parser crashes when the update date is empty (GH-353). [Thanks @alexaitken] +- FIXED: whois.register.com parser crashes when the update date is empty (GH-353). [thanks @alexaitken] -#### Release 3.5.5 +## Release 3.5.5 -- NEW: Added registrar and contact support for whois.dns.lu (GH-329). [Thanks @huyphan] +- NEW: Added registrar and contact support for whois.dns.lu (GH-329). [thanks @huyphan] - CHANGED: Updated whois.iis.se and whois.iis.nu to the new response format (GH-328). -- FIXED: whois.fi parser crashes when the domain is reserved (GH-339). [Thanks @case] +- FIXED: whois.fi parser crashes when the domain is reserved (GH-339). [thanks @case] -- FIXED: whois.whois.nic.asia parser crashes when the status is reserved (GH-340). [Thanks @case] +- FIXED: whois.whois.nic.asia parser crashes when the status is reserved (GH-340). [thanks @case] -- FIXED: whois.netcom.cm parser crashes when the status is suspended (GH-333). [Thanks @case] +- FIXED: whois.netcom.cm parser crashes when the status is suspended (GH-333). [thanks @case] -- FIXED: whois.nic.gd parser crashes when the domain is reserved (GH-335). [Thanks @case] +- FIXED: whois.nic.gd parser crashes when the domain is reserved (GH-335). [thanks @case] -#### Release 3.5.4 +## Release 3.5.4 - SERVER: Created .QUEBEC, .COLLEGE, .DESI, .FEEDBACK, .ROCKS, .XN, .ASSOCIATES, .CAPITAL, .CAREER, .ENGINEERING, .EUS, .GAL, .GRIPE, .LEASE, .MEDIA, .PICTURES, .REISEN, .SERVICES, .TOWN, .TOYS, .UNIVERSITY, .XN, .FOO, .FROGANS, .PARIS, .SOY, .BLACKFRIDAY, .CLINIC, .FITNESS, .SCHULE, .CARE, .CASH, .DENTAL, .DISCOUNT, .EXCHANGE, .FAIL, .FINANCIAL, .FUND, .FURNITURE, .GRATIS, .INVESTMENTS, .LIMITED, .SURGERY, .TAX, .WTF, .MOSCOW, .XN, .CREDITCARD, .FINANCE, .INSURE, .WTC, .AIRFORCE, .BAYERN, .GLOBO, .ACCOUNTANTS, .CLAIMS, .CREDIT, .DIGITAL - SERVER: Updated .CEO, .CLUB, .VG -- FIXED: whois.enom.com and whois.yoursrs.com parsers crash when trying to access an empty update date (GH-327). [Thanks @alexaitken] +- FIXED: whois.enom.com and whois.yoursrs.com parsers crash when trying to access an empty update date (GH-327). [thanks @alexaitken] - NEW: whois.markmonitor.com parser now recognizes throttled responses. @@ -152,26 +287,26 @@ - CHANGED: Updated whois.arnesi.si to the new response format. -- CHANGED: Updated whois.dreamhost.com to the new response format (GH-326). [Thanks @shingonoide] +- CHANGED: Updated whois.dreamhost.com to the new response format (GH-326). [thanks @shingonoide] -- CHANGED: whois.cctld.uz now supports updated_on (GH-315). [Thanks @huyphan] +- CHANGED: whois.cctld.uz now supports updated_on (GH-315). [thanks @huyphan] -#### Release 3.5.3 +## Release 3.5.3 - CHANGED: Updated whois.pir.org to the new response format. -#### Release 3.5.2 +## Release 3.5.2 - SERVER: Added new gTLDs -#### Release 3.5.1 +## Release 3.5.1 -- NEW: Added whois.corporatedomains.com parser (GH-311). [Thanks @huyphan] +- NEW: Added whois.corporatedomains.com parser (GH-311). [thanks @huyphan] -- CHANGED: Added ActiveSupport as dependency (GH-317) [Thanks @byroot]. +- CHANGED: Added ActiveSupport as dependency (GH-317) [thanks @byroot]. - FIXED: NameError: wrong constant name when querying IPs (GH-310). @@ -182,9 +317,9 @@ - FIXED: whois.ua parser crashes when the status is clientTransferProhibited. -#### Release 3.5.0 +## Release 3.5.0 -- SERVER: Updated list of latest ASN allocations of 16-bit & 32-bit ASN's from IANA (GH-293). [Thanks @itsbalamurali] +- SERVER: Updated list of latest ASN allocations of 16-bit & 32-bit ASN's from IANA (GH-293). [thanks @itsbalamurali] - SERVER: Added new gTLDs (GH-305) @@ -199,7 +334,7 @@ - FIXED: whois.registry.net.za parser crashes with some registrant contact formats. -#### Release 3.4.5 +## Release 3.4.5 - SERVER: Added new IDN TLDs: .XN--3BST00M, .XN--3DS443G, .XN--55QX5D, .XN--6FRZ82G, .XN--6QQ986B3XL, .XN--FIQ228C5HS, .XN--FIQ64B, .XN--IO0A7I, .XN--CG4BKI, .XN--MGBAB2BD, .XN--55QW42G, .XN--ZFR164B @@ -224,16 +359,16 @@ - CHANGED: Afilias is using a slightly different whois response for some TLDs, including .INFO and .XXX (GH-304) -#### Release 3.4.4 +## Release 3.4.4 - CHANGED: Updated IBC parser and fixtures (.IO, .AC, .SH and .TM). - CHANGED: Backported several fixture updates. -- CHANGED: Updated whois.pir.org parser to the new response format (GH-300). [Thanks @muffinista] +- CHANGED: Updated whois.pir.org parser to the new response format (GH-300). [thanks @muffinista] -#### Release 3.4.3 +## Release 3.4.3 - SERVER: Updated .COM, .NET, .CC, .WS TLD definitions. @@ -256,37 +391,37 @@ - CHANGED: Updated whois.nic.gl parser to the new response format. -#### Release 3.4.2 +## Release 3.4.2 - CHANGED: Updated whois.registry.net.za parser to the new response format. -- CHANGED: Updated whois.ascio.com parser to the new response format (GH-285). [Thanks @takama] +- CHANGED: Updated whois.ascio.com parser to the new response format (GH-285). [thanks @takama] -#### Release 3.4.1 +## Release 3.4.1 - SERVER: Updated .XN--NGBC5AZD IDN TLD definition. - NEW: whois.whois.kenic.or.ke parser now recognizes invalid status. -- NEW: Added whois.tucows.com parser (GH-260). [Thanks @takama] +- NEW: Added whois.tucows.com parser (GH-260). [thanks @takama] -- NEW: Added whois.wildwestdomains.com parser (GH-271). [Thanks @gromnsk] +- NEW: Added whois.wildwestdomains.com parser (GH-271). [thanks @gromnsk] -- NEW: Added whois.pairnic.com parser (GH-275). [Thanks @gromnsk] +- NEW: Added whois.pairnic.com parser (GH-275). [thanks @gromnsk] -- NEW: Added whois.1und1.info parser (GH-278). [Thanks @gromnsk] +- NEW: Added whois.1und1.info parser (GH-278). [thanks @gromnsk] -- FIXED: whois.dk-hostmaster.dk crashes when the status is `reserved` (GH-281). [Thanks @Pietr] +- FIXED: whois.dk-hostmaster.dk crashes when the status is `reserved` (GH-281). [thanks @Pietr] - CHANGED: Updated whois.nic.hu parser to the new response format. -- CHANGED: Updated whois.networksolutions.com parser to the new response format (GH-280). [Thanks @takama] +- CHANGED: Updated whois.networksolutions.com parser to the new response format (GH-280). [thanks @takama] - CHANGED: Updated whois.gandi.net parser to the new response format. -#### Release 3.4.0 +## Release 3.4.0 - SERVER: Added .XN--MGBX4CD0AB (.ایران, Iran) IDN TLD definition. @@ -298,15 +433,15 @@ - NEW: Scanners now accepts customizable settings. -- NEW: Added whois.yoursrs.com parser (GH-266). [Thanks @takama] +- NEW: Added whois.yoursrs.com parser (GH-266). [thanks @takama] -- NEW: Added whois.ascio.com parser (GH-262). [Thanks @takama] +- NEW: Added whois.ascio.com parser (GH-262). [thanks @takama] -- NEW: Added whois.rrpproxy.net parser (GH-259). [Thanks @takama] +- NEW: Added whois.rrpproxy.net parser (GH-259). [thanks @takama] -- NEW: Added whois.schlund.info parser (GH-270). [Thanks @takama] +- NEW: Added whois.schlund.info parser (GH-270). [thanks @takama] -- NEW: Added whois.udag.net parser (GH-272). [Thanks @gromnsk] +- NEW: Added whois.udag.net parser (GH-272). [thanks @gromnsk] - NEW: Added whois.nic.bj parser (GH-6). @@ -320,29 +455,29 @@ - CHANGED: Changed .SE TLD to the new response format and parser. -- CHANGED: Updated whois.register.com parser to the new response format (GH-273). [Thanks @gromnsk] +- CHANGED: Updated whois.register.com parser to the new response format (GH-273). [thanks @gromnsk] -#### Release 3.3.1 +## Release 3.3.1 - SERVER: Updated .KR, .ES (GH-267) TLD definitions. -- NEW: Added whois.nic.es parser (GH-267). [Thanks @takama] +- NEW: Added whois.nic.es parser (GH-267). [thanks @takama] -- NEW: Added whois.gandi.net parser (GH-261). [Thanks @takama] +- NEW: Added whois.gandi.net parser (GH-261). [thanks @takama] -- CHANGED: Updated whois.enom.com parser to the new response format (GH-269). [Thanks @takama] +- CHANGED: Updated whois.enom.com parser to the new response format (GH-269). [thanks @takama] -#### Release 3.3.0 +## Release 3.3.0 - SERVER: Added .CF TLD definition. - NEW: Added whois.dot.cf parser. -- NEW: Added support for ASN queries (GH-243). [Thanks @linrock] +- NEW: Added support for ASN queries (GH-243). [thanks @linrock] -- FIXED: Added contact support for whois.nic.ch (GH-246). [Thanks @Pietr] +- FIXED: Added contact support for whois.nic.ch (GH-246). [thanks @Pietr] - CHANGED: Deprecated Whois.query. Replaced with Whois.lookup to match client. Fixed README to use Whois.whois instead of Whois.lookup @@ -350,14 +485,14 @@ - FIXED: whois.cira.ca should support `pending delete` status. -- FIXED: whois.fi should support `Grace Period` status (GH-252). [Thanks @Pietr] +- FIXED: whois.fi should support `Grace Period` status (GH-252). [thanks @Pietr] -- FIXED: additional status for whois.ua (GH-244). [Thanks @Pietr] +- FIXED: additional status for whois.ua (GH-244). [thanks @Pietr] -- FIXED: whois.jprs.jp should support `Registered` status (GH-253). [Thanks @Pietr] +- FIXED: whois.jprs.jp should support `Registered` status (GH-253). [thanks @Pietr] -#### Release 3.2.1 +## Release 3.2.1 - NEW: Added full whois.nic.tr parser. @@ -378,7 +513,7 @@ - CHANGED: Deprecate Whois::Record::Contact::TYPE_ADMIN in favor of Whois::Record::Contact::TYPE_ADMINISTRATIVE -#### Release 3.2.0 +## Release 3.2.0 - SERVER: Added .JP.NET (GH-240), XN--J1AMH TLD definitions. @@ -401,7 +536,7 @@ - FIXED: Arin adapter is incorrectly passing an Arin flag to referral queries. -#### Release 3.1.3 +## Release 3.1.3 - SERVER: Updated .GD (GH-227), .TC (GH-228) TLD definitions. @@ -418,15 +553,15 @@ - FIXED: whois.ua is mixing two kinds of responses (GH-235). -#### Release 3.1.2 +## Release 3.1.2 -- NEW: Added full whois.comlaude.com parser (GH-222). [Thanks @delwyn] +- NEW: Added full whois.comlaude.com parser (GH-222). [thanks @delwyn] - NEW: Added #domain, #domain_id to whois.tcinet.ru. -- NEW: Added full whois.eu parser (GH-223). [Thanks @delwyn] +- NEW: Added full whois.eu parser (GH-223). [thanks @delwyn] -- FIXED: ARIN queries required additional params (GH-220, GH-10). [Thanks @linrock] +- FIXED: ARIN queries required additional params (GH-220, GH-10). [thanks @linrock] - FIXED: Fixed ARPA Reverse DNS lookup. @@ -437,18 +572,18 @@ - FIXED: whois.nic.fr parser crashes when the contact has no changed attribute (GH-226). -#### Release 3.1.1 +## Release 3.1.1 -- FIXED: Fixed CLI crash (GH-219). [Thanks @linrock] +- FIXED: Fixed CLI crash (GH-219). [thanks @linrock] -#### Release 3.1.0 +## Release 3.1.0 - SERVER: Added .POST (GH-192) TLD definition. - SERVER: Updated .BN (GH-214), .SY (GH-196) TLD definitions. -- NEW: Added #domain and #registrar to whois.dns.be parser (GH-216). [Thanks @chuckadams] +- NEW: Added #domain and #registrar to whois.dns.be parser (GH-216). [thanks @chuckadams] - NEW: Added full whois.dotpostregistry.net parser (GH-192). @@ -456,7 +591,7 @@ - NEW: Added whois.bn parser (GH-214). -- CHANGED: Rescue all SystemCallError instead of a few Errno errors (GH-212). [Thanks @mat813] +- CHANGED: Rescue all SystemCallError instead of a few Errno errors (GH-212). [thanks @mat813] - CHANGED: Removed deprecated method Whois::Client#query. @@ -468,12 +603,12 @@ - FIXED: whois.dns.pl crashes when expiration date is not defined. -- FIXED: Handle ReferralServer directive in ARIN whois queries (GH-204, GH-37). [Thanks @linrock] +- FIXED: Handle ReferralServer directive in ARIN whois queries (GH-204, GH-37). [thanks @linrock] -- FIXED: Record#technical_contact raised a NoMethodError (GH-217). [Thanks @yspro] +- FIXED: Record#technical_contact raised a NoMethodError (GH-217). [thanks @yspro] -#### Release 3.0.0 +## Release 3.0.0 - SERVER: Added .AX TLD definition. @@ -551,11 +686,11 @@ - CHANGED: Updated whois.cnnic.cn parser to the new response format. -- CHANGED: Updated whois.thnic.co.th parser to the new response format (GH-194). [Thanks @ATimofeev] +- CHANGED: Updated whois.thnic.co.th parser to the new response format (GH-194). [thanks @ATimofeev] - CHANGED: Updated whois.nic.ms parser to the new response format. -- CHANGED: whois.coza.net.za became whois.registry.net.za (GH-191). [Thanks @rorymckinley] +- CHANGED: whois.coza.net.za became whois.registry.net.za (GH-191). [thanks @rorymckinley] - CHANGED: Definitions are now stored as JSON. @@ -587,7 +722,7 @@ - FIXED: whois.nic.cz crashes when nsset node has the same ID of a contact. -- FIXED: whois.register.com fails to parse name servers in some cases (GH-207). [Thanks @stormsilver] +- FIXED: whois.register.com fails to parse name servers in some cases (GH-207). [thanks @stormsilver] - FIXED: whois.nc crashes when the address is missing the state. @@ -615,7 +750,7 @@ - Whois::PropertyNotAvailable -> Whois::AttributeNotImplemented -#### Release 2.7.0 +## Release 2.7.0 - SERVER: Added .IQ TLD server (GH-171). @@ -629,7 +764,7 @@ - NEW: Added full whois.register.com parser. -- NEW: whois.networksolutions.com parser now recognizes throttled responses (GH-182). [Thanks @JustinCampbell] +- NEW: whois.networksolutions.com parser now recognizes throttled responses (GH-182). [thanks @JustinCampbell] - NEW: Added full whois.cmc.iq parser (GH-171). @@ -641,7 +776,7 @@ - NEW: Added full whois.monic.mo parser. -- FIXED: Fixed whois.register.com parser for enom formats (GH-181). [Thanks @JustinCampbell] +- FIXED: Fixed whois.register.com parser for enom formats (GH-181). [thanks @JustinCampbell] - FIXED: whois.jprs.js parser should support status `Suspended`. @@ -651,10 +786,10 @@ - CHANGED: Changed .NAME to a formatted adapter to fetch additional properties. -- CHANGED: whois.dns.pl now supports expires_on (GH-185). [Thanks @y3ti] +- CHANGED: whois.dns.pl now supports expires_on (GH-185). [thanks @y3ti] -#### Release 2.6.4 +## Release 2.6.4 - SERVER: Added .CW TLD server. @@ -676,7 +811,7 @@ - FIXED: whois.rnids.rs parser should support statuses Locked, Expired, and In Transfer. -- FIXED: whois.nic.gs parser should support status `Excluded - Pending Delete - Restorable` (GH-180). [Thanks @smith] +- FIXED: whois.nic.gs parser should support status `Excluded - Pending Delete - Restorable` (GH-180). [thanks @smith] - CHANGED: Deprecated options[:web] for :web adapter in favor of options[:url]. @@ -689,31 +824,31 @@ - CHANGED: Removed support for .gemtest and removed /spec folder from the packaged gem. -#### Release 2.6.3 +## Release 2.6.3 - NEW: whois.registrypro.pro is now a full parser. -- FIXED: In some cases the parser class is not correctly detected from hostname (GH-173). [Thanks @JustinCampbell] +- FIXED: In some cases the parser class is not correctly detected from hostname (GH-173). [thanks @JustinCampbell] - FIXED: whois.ua parser raises ArgumcentError when the created_on object invalid data. -- FIXED: Whois::Server may occasionally raise an error trying to resolve an IPv6 matching query object (GH-174). [Thanks @aeden]. +- FIXED: Whois::Server may occasionally raise an error trying to resolve an IPv6 matching query object (GH-174). [thanks @aeden]. - CHANGED: Updated whois.registrypro.pro parser to the new response format. -#### Release 2.6.2 +## Release 2.6.2 - SERVER: Added .SX TLD server (GH-170). -- NEW: Added full whois.networksolutions.com parser (GH-168). [Thanks @bramp] +- NEW: Added full whois.networksolutions.com parser (GH-168). [thanks @bramp] - NEW: Added full whois.sx parser (GH-170). -- NEW: whois.ua parser is now a full parser (GH-169). [Thanks @Uko] +- NEW: whois.ua parser is now a full parser (GH-169). [thanks @Uko] -#### Release 2.6.1 +## Release 2.6.1 - Reverted partial commit about .SX definitions included in v2.6.0 by mistake. @@ -732,29 +867,29 @@ - NEW: Added full whois.educause.edu parser. -- NEW: Implement registrar property for CoCCA (GH-165). [Thanks @sherwind] +- NEW: Implement registrar property for CoCCA (GH-165). [thanks @sherwind] - CHANGED: whois.nic.uk changed response format. -- CHANGED: whois.nic.gl now inherits from CoCCA and learns new properties (GH-166). [Thanks @sherwind] +- CHANGED: whois.nic.gl now inherits from CoCCA and learns new properties (GH-166). [thanks @sherwind] - CHANGED: Deprecate SuperStruct initialization with list of params. - FIXED: whois.hkirc.hk parser crashes when expiration date is "null". -- FIXED: whois.na-nic.com.na parser fails to support 'Delegate' status (GH-159). [Thanks @sherwind] +- FIXED: whois.na-nic.com.na parser fails to support 'Delegate' status (GH-159). [thanks @sherwind] -- FIXED: whois.rnids.rs parser crashes when domain is private (GH-163). [Thanks @sherwind] +- FIXED: whois.rnids.rs parser crashes when domain is private (GH-163). [thanks @sherwind] -- FIXED: whois.rnids.rs parser not to split nameserver name at the hypen (GH-164). [Thanks @sherwind] +- FIXED: whois.rnids.rs parser not to split nameserver name at the hypen (GH-164). [thanks @sherwind] - FIXED: whois.co.ug parser fails to support 'Unconfirmed' status. -- FIXED: whois.cctld.uz parser crashes when expiration date is dash (GH-161). [Thanks @sherwind] +- FIXED: whois.cctld.uz parser crashes when expiration date is dash (GH-161). [thanks @sherwind] -- FIXED: whois.cctld.uz parser fails to support 'RESERVED' status (GH-162). [Thanks @sherwind] +- FIXED: whois.cctld.uz parser fails to support 'RESERVED' status (GH-162). [thanks @sherwind] -- FIXED: whois.tznic.or.tz parser fails to support 'Expired' status (GH-160). [Thanks @sherwind] +- FIXED: whois.tznic.or.tz parser fails to support 'Expired' status (GH-160). [thanks @sherwind] ## Release 2.5.1 @@ -778,7 +913,7 @@ - NEW: Added full whois.audns.net.au parser. -- NEW: Added full whois.cctld.by parser (GH-154). [Thanks @kliuchnikau] +- NEW: Added full whois.cctld.by parser (GH-154). [thanks @kliuchnikau] - NEW: Added full whois.domainregistry.ie parser. @@ -931,9 +1066,9 @@ - NEW: whois.nic.xxs parser now recognizes reserved domains. -- NEW: whois.nic.uk parser now recognizes throttled responses (GH-118). [Thanks @semaperepelitsa] +- NEW: whois.nic.uk parser now recognizes throttled responses (GH-118). [thanks @semaperepelitsa] -- NEW: whois.nic.uk parser now extracts registrant_contacts (GH-118). [Thanks @semaperepelitsa] +- NEW: whois.nic.uk parser now extracts registrant_contacts (GH-118). [thanks @semaperepelitsa] - FIXED: whois.nic.it parser doesn't correctly understand reserved domains. @@ -978,7 +1113,7 @@ - whois.nic.xx - whois.afilias.info - whois.registry.qa (GH-114) - - whois.godaddy.com (GH-105) [Thanks @pmyteh] + - whois.godaddy.com (GH-105) [thanks @pmyteh] - CHANGED: use the first public .XXX domain to test the whois.nic.xx response format. @@ -1055,7 +1190,7 @@ when the response from the Verisign database doesn't contain a referral (GH-103) -- FIXED: whois.eu parser changed the format of the nameserver property (GH-99). [Thanks @armins] +- FIXED: whois.eu parser changed the format of the nameserver property (GH-99). [thanks @armins] - FIXED: whois.nic.uk parser should return `:invalid' status when the domain is invalid. @@ -1091,7 +1226,7 @@ ## Release 2.0.2 -- CHANGED: whois.ripn.net now returns an array of contacts, one for each email (GH-89). [Thanks @semaperepelitsa] +- CHANGED: whois.ripn.net now returns an array of contacts, one for each email (GH-89). [thanks @semaperepelitsa] - FIXED: whois.nic.it parser must support UNASSIGNABLE status. @@ -1158,9 +1293,9 @@ - NEW: Extracted Whois::Answer::Parser::Features and Extracted Whois::Answer::Parser::Scanners::Base. -- NEW: whois.nic.uk now supports #registrar (GH-81, GH-82). [Thanks @geoffgarside] +- NEW: whois.nic.uk now supports #registrar (GH-81, GH-82). [thanks @geoffgarside] -- NEW: Added simple whois.markmonitor.net parser (GH-83). [Thanks @semaperepelitsa] +- NEW: Added simple whois.markmonitor.net parser (GH-83). [thanks @semaperepelitsa] - CHANGED: Renamed whois.centralnic.net to whois.centralnic.com (GH-28). @@ -1984,7 +2119,7 @@ WARNING: Whois >= 1.5.0 requires Ruby 1.8.7 or newer. - NEW: Simple .wf, .yt TLD parser (whois.nic.fr). -- NEW: Simple .dk TLD parser [Thanks Mikkel Kristensen] +- NEW: Simple .dk TLD parser [thanks Mikkel Kristensen] - NEW: Simple .uk TLD parser (whois.nic.uk). @@ -2118,7 +2253,7 @@ WARNING: Whois >= 1.5.0 requires Ruby 1.8.7 or newer. ## Release 0.8.1 -- FIXED: Updated the whois.denic.de parser to the new format (REDMINE-314). [Thanks David Krentzlin] +- FIXED: Updated the whois.denic.de parser to the new format (REDMINE-314). [thanks David Krentzlin] - FIXED: In case of thin server the client should select the closest whois server match (closes REDMINE-264) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0aa76fd45..999c9d1ef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,32 +1,42 @@ # Contributing -We love pull requests from everyone. By participating in this project, you agree to abide by the contribution [code of conduct](http://contributor-covenant.org/version/1/2/0/). - ## Workflow Fork, then clone the repo: - $ git clone git@github.com:your-username/whois.git +``` +git clone git@github.com:your-username/whois.git +``` Set up your machine: - $ bundle +``` +bundle +``` Make sure the tests pass: - $ bundle exec rake +``` +bundle exec rake +``` To propose a change/feature/patch, create your feature branch: - $ git checkout -b my-new-feature +``` +git checkout -b my-new-feature +``` Make your change. Add tests for your change. Make the tests pass: - $ bundle exec rake +``` +bundle exec rake +``` Commit your changes: - $ git commit -am 'Add some feature' +``` +git commit -am 'Add some feature' +``` Push to your fork and [submit a pull request](https://github.com/weppos/whois/compare/). diff --git a/Gemfile b/Gemfile index fa75df156..6f371cac2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,8 @@ +# frozen_string_literal: true + source 'https://rubygems.org' gemspec + +gem "rubocop", "1.12.1", require: false +gem 'rubocop-rspec', require: false diff --git a/Gemfile.ruby-1.9.2 b/Gemfile.ruby-1.9.2 deleted file mode 100644 index 74146e94e..000000000 --- a/Gemfile.ruby-1.9.2 +++ /dev/null @@ -1,6 +0,0 @@ -source 'https://rubygems.org' - -gem 'activesupport', '~> 3.0' -gem 'i18n', '~> 0.6.0' - -gemspec diff --git a/LICENSE.txt b/LICENSE.txt index 543cfd53c..1eae8727c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2009-2015 Simone Carletti +Copyright (c) 2009-2022 Simone Carletti Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index a501b8288..9d49d1250 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,75 @@ -# [Whois](http://whoisrb.org/) +# [Whois](https://whoisrb.org/) Whois is an intelligent — pure Ruby — WHOIS client and parser. -This library was extracted from [RoboWhois](https://www.robowhois.com/) and [RoboDomain](http://robodomain.com/). It has been performing queries in production since July 2009. +This library was extracted from [RoboWhois](https://robowhois.com/) and [RoboDomain](https://robodomain.com/), and it's now in use at [DNSimple](https://dnsimple.com/). It has been performing queries in production since July 2009. -[![Build Status](https://travis-ci.org/weppos/whois.svg?branch=master)](https://travis-ci.org/weppos/whois) +[![Build Status](https://github.com/weppos/whois/actions/workflows/tests.yml/badge.svg)](https://github.com/weppos/whois/actions/workflows/tests.yml) ## Donate a coffee -

Click here to lend your support to: whois and make a donation at pledgie.com !

+Whois is free software, but it requires a lot of coffee to write, test, and distribute it. You can support the development by [donating a coffee](https://whoisrb.org/contribute/#donate). -Whois is free software, but it requires a lot of coffee to write, test, and distribute it. You can support the development by [donating a coffee](https://pledgie.com/campaigns/11383). +Any amount is greatly appreciated. ## Features - Ability to lookup WHOIS record for [IPv4, IPv6, TLDs, and ICANN new gTLDs](http://whoisrb.org/manual/usage/#usage-objects) -- Ability to [parse WHOIS responses](http://whoisrb.org/manual/parser/) +- Ability to [parse WHOIS responses](http://whoisrb.org/manual/parser/) (via the `whois-parser` library) - Flexible and extensible interface (e.g. You can define [custom servers](http://whoisrb.org/manual/server/) on the fly) - Object oriented design, featuring 10 different design patterns - Pure Ruby library, without any external dependency other than Ruby itself -- Successfully tested against several [Ruby implementations](http://whoisrb.org/manual/interpreters/) +- Successfully tested against different Ruby implementations, including Ruby and JRuby + + +## Whois and Whois parser + +Starting from version 4, WHOIS parser component is available in a separate repository called [whois-parser](https://github.com/weppos/whois-parser), and released as a separate gem called `whois-parser`. + +This repository contains the core whois library, that includes the WHOIS client, the server definitions and all the features required to perform WHOIS queries and obtain the WHOIS record. ## Requirements -* Ruby >= 1.9.2 +- Ruby >= 2.4 For older versions of Ruby, see the [CHANGELOG](CHANGELOG.md). ## Installation -The best way to install Whois is via [RubyGems](https://rubygems.org/). [Learn more](http://whoisrb.org/manual/installing/). +You can install the gem manually: + +```shell +gem install whois +``` + +Or use [Bundler](http://bundler.io/) and define it as a dependency in your `Gemfile`: + +```ruby +gem 'whois' +``` + +To use the WHOIS parser component you need to install the `whois-parser` gem: - $ gem install whois +```shell +gem install whois-parser +``` + +```ruby +gem 'whois-parser' +``` + +The `whois-parser` gem already depends on the `whois` gem. If you install `whois-parser`, `whois` will be installed as well and it will also be automatically required when you `require 'whois-parser'`. + +If you are upgrading to 4.0, see [4.0-Upgrade.md](4.0-Upgrade.md). ## Getting Started -Note. This section covers only the essentials for getting started with the Whois library. The [documentation](http://whoisrb.org/documentation/) provides a more accurate explanation including tutorials, more examples and technical details about the client/server/record/parser architecture. +This section covers only the essentials for getting started with the Whois library. The [documentation](https://whoisrb.org/docs/) provides a more accurate explanation including tutorials, more examples and technical details about the client/server/record/parser architecture. ### Querying a WHOIS @@ -50,35 +79,35 @@ Check out the following examples: ```ruby # Domain WHOIS -w = Whois::Client.new -w.lookup("google.com") +whois = Whois::Client.new +whois.lookup("google.com") # => # # TLD WHOIS -w = Whois::Client.new -w.lookup(".com") +whois = Whois::Client.new +whois.lookup(".com") # => # # IPv4 WHOIS -w = Whois::Client.new -w.lookup("74.125.67.100") +whois = Whois::Client.new +whois.lookup("74.125.67.100") # => # # IPv6 WHOIS -w = Whois::Client.new -w.lookup("2001:db8::1428:57ab") +whois = Whois::Client.new +whois.lookup("2001:db8::1428:57ab") # => # ``` The query method is stateless. For this reason, you can safely re-use the same client instance for multiple queries. ```ruby -w = Whois::Client.new -w.lookup("google.com") -w.lookup(".com") -w.lookup("74.125.67.100") -w.lookup("2001:db8::1428:57ab") -w.lookup("google.it") +whois = Whois::Client.new +whois.lookup("google.com") +whois.lookup(".com") +whois.lookup("74.125.67.100") +whois.lookup("2001:db8::1428:57ab") +whois.lookup("google.it") ``` If you just need a WHOIS response and you don't care about a full control of the WHOIS client, the `Whois` module provides an all-in-one method called `Whois.whois`. This is the simplest way to send a WHOIS request. @@ -104,28 +133,33 @@ end Any WHOIS query returns a `Whois::Record`. This object looks like a String, but it's way more powerful. -`Whois::Record` encapsulates a WHOIS record and provides the ability to parse the WHOIS response programmatically, by using an object oriented syntax. +`Whois::Record` encapsulates a WHOIS record and provides the ability to parse the WHOIS response programmatically, when the `whois-parser` gem is installed and loaded. ```ruby -r = Whois.whois("google.it") +require 'whois-parser' + +record = Whois.whois("google.it") # => # -r.available? +parser = record.parser +# => # + +parser.available? # => false -r.registered? +parser.registered? # => true -r.created_on +parser.created_on # => Fri Dec 10 00:00:00 +0100 1999 -t = r.technical_contact +tech = parser.technical_contacts.first # => # -t.id +tech.id # => "TS7016-ITNIC" -t.name +tech.name # => "Technical Services" -r.nameservers.each do |nameserver| +parser.nameservers.each do |nameserver| puts nameserver end ``` @@ -136,23 +170,23 @@ If you create a new parser, please consider releasing it to the public so that i ### Timeout -By default, each query run though the client has a timeout value of 5 seconds. If the execution exceeds timeout limit, the client raises a `Timeout::Error` exception. +By default, each query run though the client has a timeout value of 5 seconds. If the execution exceeds the timeout limit, the client raises a `Timeout::Error` exception. -Of course, you can customize the timeout value setting a different value. If timeout is `nil`, the client will until the response is sent back from the server or the process is killed. Don't disable the timeout unless you really know you are doing! +Of course, you can customize the timeout value setting a different value. If timeout is `nil`, the client will wait until the response is sent back from the server or the process is killed. Don't disable the timeout unless you really know what you are doing! ```ruby -w = Whois::Client.new(:timeout => 10) -w.timeout # => 10 -w.timeout = 5 -w.timeout # => 5 +whois = Whois::Client.new(:timeout => 10) +whois.timeout # => 10 +whois.timeout = 5 +whois.timeout # => 5 -w.lookup("google.com") +whois.lookup("google.com") ``` ## Credits -Whois was created and is maintained by [Simone Carletti](http://simonecarletti.com/). Many improvements and bugfixes were contributed by the [open source community](https://github.com/weppos/whois/graphs/contributors). +Whois was created and is maintained by [Simone Carletti](https://simonecarletti.com/). Many improvements and bugfixes were contributed by the [open source community](https://github.com/weppos/whois/graphs/contributors). ## Contributing @@ -167,11 +201,16 @@ Report issues or feature requests to [GitHub Issues](https://github.com/weppos/w ## More Information - [Homepage](http://whoisrb.org/) -- [RubyGems](https://rubygems.org/gems/whois) -- [Issues](https://github.com/weppos/whois) +- RubyGems: [`whois`](https://rubygems.org/gems/whois) and [`whois-parser`](https://rubygems.org/gems/whois-parser) +- Issues: [`whois`](https://github.com/weppos/whois) and [`whois-parser`](https://github.com/weppos/whois-parser) - [Stack Overflow](https://stackoverflow.com/questions/tagged/whois-ruby) +## Versioning + +Whois uses [Semantic Versioning 2.0.0](http://semver.org) + + ## License -Copyright (c) 2009-2015 Simone Carletti. This is Free Software distributed under the MIT license. +Copyright (c) 2009-2022 [Simone Carletti](https://simonecarletti.com/). This is Free Software distributed under the MIT license. diff --git a/Rakefile b/Rakefile index a3da7b2a1..832cf5cd9 100644 --- a/Rakefile +++ b/Rakefile @@ -1,114 +1,28 @@ -require 'rubygems' +# frozen_string_literal: true -$:.unshift(File.dirname(__FILE__) + '/lib') -require 'whois' +require "bundler/gem_tasks" +task default: [:test, :rubocop] -# Run test by default. -task :default => :spec -task :test => :spec -spec = Gem::Specification.new do |s| - s.name = "whois" - s.version = Whois::VERSION - s.summary = "An intelligent pure Ruby WHOIS client and parser." - s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, parse and convert responses into easy-to-use Ruby objects." +require "rspec/core/rake_task" - s.required_ruby_version = ">= 1.9.2" - - s.authors = ["Simone Carletti"] - s.email = ["weppos@weppos.net"] - s.homepage = "http://whoisrb.org/" - s.license = "MIT" - s.rubyforge_project = "whois" - - s.files = %w( LICENSE.txt .yardopts ) + - Dir.glob("*.{md,gemspec}") + - Dir.glob("{bin,data,lib}/**/*") - s.executables = %w( whoisrb ) - s.require_paths = %w( lib ) - - s.add_dependency "activesupport", ">= 3" - - s.add_development_dependency "rake" - s.add_development_dependency "rspec", "~> 3.0" - s.add_development_dependency "mocha" - s.add_development_dependency "yard" - - s.post_install_message = < [:clobber] do - rm "#{spec.name}.gemspec" if File.file?("#{spec.name}.gemspec") +RSpec::Core::RakeTask.new do |t| + t.verbose = !ENV["VERBOSE"].nil? end -desc "Remove any generated file" -task :clobber => [:clobber_package] - -desc "Package the library and generates the gemspec" -task :package => [:gemspec] +task test: :spec -require 'rspec/core/rake_task' -begin - require 'fuubar' -rescue LoadError -end +require "rubocop/rake_task" -RSpec::Core::RakeTask.new do |t| - t.verbose = !!ENV["VERBOSE"] - t.rspec_opts = [] - t.rspec_opts << ['--format', 'Fuubar'] if defined?(Fuubar) -end +RuboCop::RakeTask.new -require 'yard' +require "yard/rake/yardoc_task" YARD::Rake::YardocTask.new(:yardoc) do |y| y.options = ["--output-dir", "yardoc"] end -namespace :yardoc do - task :clobber do - rm_r "yardoc" rescue nil - end -end - -task :clobber => "yardoc:clobber" - - -desc "Open an irb session preloaded with this library" -task :console do - sh "irb -rubygems -I lib -r whois.rb" -end - - -Dir["tasks/**/*.rake"].each do |file| - load(file) -end +CLOBBER.include "yardoc" diff --git a/bin/console b/bin/console new file mode 100755 index 000000000..e048e0f15 --- /dev/null +++ b/bin/console @@ -0,0 +1,15 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +require "bundler/setup" +require "whois" + +# You can add fixtures and/or initialization code here to make experimenting +# with your gem easier. You can also use a different console, if you like. + +# (If you use this, don't forget to add pry to your Gemfile!) +# require "pry" +# Pry.start + +require "irb" +IRB.start diff --git a/bin/whoisrb b/bin/whoisrb index 3a5cc8717..9dd7f7bc1 100755 --- a/bin/whoisrb +++ b/bin/whoisrb @@ -1,6 +1,7 @@ #!/usr/bin/env ruby +# frozen_string_literal: true -$:.unshift(File.expand_path("../../lib", __FILE__)) +$LOAD_PATH.unshift(File.expand_path('../lib', __dir__)) require 'optparse' require 'whois' @@ -8,12 +9,12 @@ require 'whois' options = {} OptionParser.new do |opts| - opts.banner = "Whois: an intelligent pure Ruby Whois client" - opts.define_head "Usage: ruby-whois [options] object" + opts.banner = "Whois: an intelligent pure Ruby WHOIS client" + opts.define_head "Usage: whoisrb [options] object" opts.separator "" opts.separator "Examples:" - opts.separator " ruby-whois ruby-lang.com" - opts.separator " ruby-whois 213.149.247.64" + opts.separator "\t whoisrb ruby-lang.com" + opts.separator "\t whoisrb 213.149.247.64" opts.separator "" opts.separator "Options:" @@ -35,7 +36,7 @@ OptionParser.new do |opts| end opts.on_tail("--version", "output version information and exit") do - puts "ruby-whois #{Whois::VERSION}" + puts "whoisrb #{Whois::VERSION}" exit end diff --git a/data/ipv4.json b/data/ipv4.json index 9c122880e..eb9697aae 100644 --- a/data/ipv4.json +++ b/data/ipv4.json @@ -39,9 +39,7 @@ "host": "whois.apnic.net" }, "43.0.0.0/8": { - "host": "whois.nic.ad.jp", - "adapter": "formatted", - "format": "%s/e" + "host": "whois.apnic.net" }, "46.0.0.0/8": { "host": "whois.ripe.net" diff --git a/data/tld.json b/data/tld.json index a085df99c..cf8c96e01 100644 --- a/data/tld.json +++ b/data/tld.json @@ -1,3820 +1,6827 @@ { - ".ae.org": { - "host": "whois.centralnic.com" - }, - ".ar.com": { - "host": "whois.centralnic.com" + "_": { + "schema": "2", + "updated": "2022-08-22 07:55:00 UTC" }, - ".br.com": { - "host": "whois.centralnic.com" + "aaa": { + "_type": "newgtld", + "adapter": "none" }, - ".cn.com": { - "host": "whois.centralnic.com" + "aarp": { + "_type": "newgtld", + "host": "whois.nic.aarp" }, - ".com.de": { - "host": "whois.centralnic.com" + "abarth": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".com.se": { - "host": "whois.centralnic.com" + "abb": { + "_type": "newgtld", + "adapter": "none" }, - ".de.com": { - "host": "whois.centralnic.com" + "abbott": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".eu.com": { - "host": "whois.centralnic.com" + "abbvie": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".gb.com": { - "host": "whois.centralnic.com" + "abc": { + "_type": "newgtld", + "host": "whois.nic.abc" }, - ".gb.net": { - "host": "whois.centralnic.com" + "able": { + "_type": "newgtld", + "adapter": "none" }, - ".hu.com": { - "host": "whois.centralnic.com" + "abogado": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.abogado" }, - ".hu.net": { - "host": "whois.centralnic.com" + "abudhabi": { + "_type": "newgtld", + "host": "whois.nic.abudhabi" }, - ".jp.net": { - "host": "whois.centralnic.com" + "ac": { + "host": "whois.nic.ac" }, - ".jpn.com": { - "host": "whois.centralnic.com" + "academy": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.academy" }, - ".kr.com": { - "host": "whois.centralnic.com" + "accenture": { + "_type": "newgtld", + "adapter": "none" }, - ".no.com": { - "host": "whois.centralnic.com" + "accountant": { + "_type": "newgtld", + "host": "whois.nic.accountant" }, - ".qc.com": { - "host": "whois.centralnic.com" + "accountants": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.accountants" }, - ".ru.com": { - "host": "whois.centralnic.com" + "aco": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".sa.com": { - "host": "whois.centralnic.com" + "actor": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.actor" }, - ".se.com": { - "host": "whois.centralnic.com" + "ad": { + "adapter": "none" }, - ".se.net": { - "host": "whois.centralnic.com" + "adac": { + "_type": "newgtld", + "adapter": "none" }, - ".uk.com": { - "host": "whois.centralnic.com" + "ads": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".uk.net": { - "host": "whois.centralnic.com" + "adult": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".us.com": { - "host": "whois.centralnic.com" + "ae": { + "host": "whois.aeda.net.ae" }, - ".uy.com": { - "host": "whois.centralnic.com" + "aeg": { + "_type": "newgtld", + "host": "whois.nic.aeg" }, - ".za.bz": { - "host": "whois.centralnic.com" + "aero": { + "host": "whois.aero" }, - ".za.com": { - "host": "whois.centralnic.com" + "aetna": { + "_type": "newgtld", + "adapter": "none" }, - ".africa.com": { - "host": "whois.centralnic.com" + "af": { + "host": "whois.nic.af" }, - ".gr.com": { - "host": "whois.centralnic.com" + "afamilycompany": { + "_type": "newgtld", + "host": "whois.nic.afamilycompany" }, - "in.net": { - "host": "whois.centralnic.com" + "afl": { + "_type": "newgtld", + "host": "whois.nic.afl" }, - ".us.org": { - "host": "whois.centralnic.com" + "africa": { + "_group": "zaregistry", + "_type": "newgtld", + "host": "africa-whois.registry.net.za" }, - ".co.com": { - "host": "whois.centralnic.net" + "ag": { + "host": "whois.nic.ag" }, - ".com": { - "host": "whois.verisign-grs.com", - "adapter": "verisign" + "agakhan": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".za.net": { - "host": "whois.za.net" + "agency": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.agency" }, - ".net": { - "host": "whois.verisign-grs.com", - "adapter": "verisign" + "ai": { + "host": "whois.nic.ai" }, - ".eu.org": { - "host": "whois.eu.org" + "aig": { + "_type": "newgtld", + "adapter": "none" }, - ".za.org": { - "host": "whois.za.org" + "aigo": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".org": { - "host": "whois.pir.org" + "airbus": { + "_type": "newgtld", + "host": "whois.nic.airbus" }, - ".edu": { - "host": "whois.educause.edu" + "airforce": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.airforce" }, - ".gov": { - "host": "whois.dotgovSee https://github.com/whois/ianawhois/blob/master/GOV.gov" + "airtel": { + "_type": "newgtld", + "host": "whois.nic.airtel" }, - ".int": { - "host": "whois.iana.org" + "akdn": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".mil": { + "al": { "adapter": "none" }, - ".e164.arpa": { - "host": "whois.ripe.net" + "alfaromeo": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".in-addr.arpa": { - "adapter": "arpa" + "alibaba": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.alibaba" }, - ".arpa": { - "host": "whois.iana.org" + "alipay": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.alipay" }, - ".aero": { - "host": "whois.aero" + "allfinanz": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.allfinanz" }, - ".asia": { - "host": "whois.nic.asia" + "allstate": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".biz": { - "host": "whois.biz" + "ally": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ally" }, - ".cat": { - "host": "whois.cat", - "adapter": "formatted", - "format": "-C US-ASCII ace %s" + "alsace": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-alsace.nic.fr" }, - ".coop": { - "host": "whois.nic.coop" + "alstom": { + "_type": "newgtld", + "host": "whois.nic.alstom" }, - ".info": { - "host": "whois.afilias.net" + "am": { + "host": "whois.amnic.net" }, - ".jobs": { - "host": "jobswhois.verisign-grs.com", - "adapter": "verisign" + "americanexpress": { + "_type": "newgtld", + "adapter": "none" }, - ".mobi": { - "host": "whois.dotmobiregistry.net" + "americanfamily": { + "_type": "newgtld", + "host": "whois.nic.americanfamily" }, - ".museum": { - "host": "whois.museum" + "amex": { + "_type": "newgtld", + "adapter": "none" }, - ".name": { - "host": "whois.nic.name", - "adapter": "formatted", - "format": "domain=%s" + "amfam": { + "_type": "newgtld", + "host": "whois.nic.amfam" }, - ".pro": { - "host": "whois.dotproregistry.net" + "amica": { + "_type": "newgtld", + "adapter": "none" }, - ".tel": { - "host": "whois.nic.tel" + "amsterdam": { + "_type": "newgtld", + "host": "whois.nic.amsterdam" }, - ".travel": { - "host": "whois.nic.travel" + "analytics": { + "_type": "newgtld", + "adapter": "none" }, - ".ac": { - "host": "whois.nic.ac" + "android": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "anquan": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".ad": { + "anz": { + "_type": "newgtld", + "host": "whois.nic.anz" + }, + "ao": { "adapter": "none" }, - ".ae": { - "host": "whois.aeda.net.ae" + "aol": { + "_type": "newgtld", + "host": "whois.nic.aol" }, - ".af": { - "host": "whois.nic.af" + "apartments": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.apartments" }, - ".ag": { - "host": "whois.nic.ag" + "app": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".ai": { - "host": "whois.ai" + "apple": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".al": { + "aq": { "adapter": "none" }, - ".am": { - "host": "whois.amnic.net" + "aquarelle": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-aquarelle.nic.fr" }, - ".ao": { - "adapter": "none" + "ar": { + "host": "whois.nic.ar" }, - ".aq": { + "aramco": { + "_type": "newgtld", "adapter": "none" }, - ".ar": { - "adapter": "web", - "url": "http://www.nic.ar/" - }, - ".as": { - "host": "whois.nic.as" + "archi": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".priv.at": { - "host": "whois.nic.priv.at" + "army": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.army" }, - ".at": { - "host": "whois.nic.at" + "arpa": { + "host": "whois.iana.org" }, - ".au": { - "host": "whois.audns.net.au" + "e164.arpa": { + "host": "whois.ripe.net" }, - ".aw": { - "host": "whois.nic.aw" + "in-addr.arpa": { + "adapter": "arpa" }, - ".ax": { - "host": "whois.ax" + "art": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.art" }, - ".az": { - "adapter": "web", - "url": "http://www.nic.az/" + "arte": { + "_type": "newgtld", + "host": "whois.nic.arte" }, - ".ba": { - "adapter": "web", - "url": "http://nic.ba/lat/menu/view/13" + "as": { + "host": "whois.nic.as" }, - ".bb": { - "adapter": "web", - "url": "http://whois.telecoms.gov.bb/search_domain.php" + "asda": { + "_type": "newgtld", + "host": "whois.nic.asda" }, - ".bd": { - "adapter": "web", - "url": "http://whois.btcl.net.bd/" + "asia": { + "host": "whois.nic.asia" }, - ".be": { - "host": "whois.dns.be" + "associates": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.associates" }, - ".bf": { - "adapter": "none" + "at": { + "host": "whois.nic.at" }, - ".bg": { - "host": "whois.register.bg" + "priv.at": { + "host": "whois.nic.priv.at" }, - ".bh": { + "athleta": { + "_type": "newgtld", "adapter": "none" }, - ".bi": { - "host": "whois1.nic.bi" - }, - ".bj": { - "host": "whois.nic.bj" + "attorney": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.attorney" }, - ".bm": { - "adapter": "web", - "url": "http://www.bermudanic.bm/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO" + "au": { + "host": "whois.auda.org.au" }, - ".bn": { - "host": "whois.bnnic.bn" + "auction": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.auction" }, - ".bo": { - "host": "whois.nic.bo" + "audi": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".br": { - "host": "whois.registro.br" + "audible": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.audible" }, - ".bs": { - "adapter": "web", - "url": "http://www.nic.bs/cgi-bin/search.pl" + "audio": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".bt": { - "adapter": "web", - "url": "http://www.nic.bt/" + "auspost": { + "_type": "newgtld", + "host": "whois.nic.auspost" }, - ".bv": { - "adapter": "none" + "author": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.author" }, - ".by": { - "host": "whois.cctld.by" + "auto": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".bw": { - "host": "whois.nic.net.bw" + "autos": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".bz": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "avianca": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".co.ca": { - "host": "whois.co.ca" + "aw": { + "host": "whois.nic.aw" }, - ".ca": { - "host": "whois.cira.ca" + "aws": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.aws" }, - ".cc": { - "host": "ccwhois.verisign-grs.com", - "adapter": "verisign" + "ax": { + "host": "whois.ax" }, - ".cd": { - "host": "whois.nic.cd" + "axa": { + "_type": "newgtld", + "adapter": "none" }, - ".cf": { - "host": "whois.dot.cf" + "az": { + "adapter": "web", + "url": "http://www.nic.az/" }, - ".cg": { + "azure": { + "_type": "newgtld", "adapter": "none" }, - ".ch": { - "host": "whois.nic.ch" + "ba": { + "adapter": "web", + "url": "http://nic.ba/lat/menu/view/13" }, - ".ci": { - "host": "whois.nic.ci" + "baby": { + "_type": "newgtld", + "host": "whois.nic.baby" + }, + "baidu": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".ck": { + "banamex": { + "_type": "newgtld", "adapter": "none" }, - ".cl": { - "host": "whois.nic.cl" + "bananarepublic": { + "_type": "newgtld", + "adapter": "none" }, - ".cm": { - "host": "whois.netcom.cm" + "band": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.band" }, - ".edu.cn": { - "adapter": "none" + "bank": { + "_type": "newgtld", + "host": "whois.nic.bank" }, - ".cn": { - "host": "whois.cnnic.cn" + "bar": { + "_type": "newgtld", + "host": "whois.nic.bar" }, - ".co": { - "host": "whois.nic.co" + "barcelona": { + "_type": "newgtld", + "host": "whois.nic.barcelona" }, - ".cr": { - "host": "whois.nic.cr" + "barclaycard": { + "_type": "newgtld", + "host": "whois.nic.barclaycard" }, - ".cu": { - "adapter": "web", - "url": "http://www.nic.cu/" + "barclays": { + "_type": "newgtld", + "host": "whois.nic.barclays" }, - ".cv": { - "adapter": "web", - "url": "http://www.dns.cv/" + "barefoot": { + "_type": "newgtld", + "host": "whois.nic.barefoot" + }, + "bargains": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.bargains" }, - ".cw": { + "baseball": { + "_type": "newgtld", "adapter": "none" }, - ".cx": { - "host": "whois.nic.cx" + "basketball": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.basketball" + }, + "bauhaus": { + "_type": "newgtld", + "host": "whois.nic.bauhaus" + }, + "bayern": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.bayern" }, - ".cy": { + "bb": { "adapter": "web", - "url": "http://www.nic.cy/nslookup/online_database.php" + "url": "http://whois.telecoms.gov.bb/search_domain.php" }, - ".cz": { - "host": "whois.nic.cz" + "bbc": { + "_type": "newgtld", + "host": "whois.nic.bbc" }, - ".de": { - "host": "whois.denic.de", - "adapter": "formatted", - "format": "-T dn,ace %s" + "bbt": { + "_type": "newgtld", + "host": "whois.nic.bbt" }, - ".dj": { - "adapter": "web", - "url": "http://www.nic.dj/whois.php" + "bbva": { + "_type": "newgtld", + "host": "whois.nic.bbva" }, - ".dk": { - "host": "whois.dk-hostmaster.dk", - "adapter": "formatted", - "format": "--show-handles %s" + "bcg": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.bcg" }, - ".dm": { - "host": "whois.nic.dm" + "bcn": { + "_type": "newgtld", + "host": "whois.nic.bcn" }, - ".do": { + "bd": { "adapter": "web", - "url": "http://www.nic.do/whois-h.php3" + "url": "http://whois.btcl.net.bd/" }, - ".dz": { - "host": "whois.nic.dz" + "be": { + "host": "whois.dns.be" }, - ".ec": { - "host": "whois.nic.ec" + "beats": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".ee": { - "host": "whois.tld.ee" + "beauty": { + "_type": "newgtld", + "host": "whois.nic.beauty" }, - ".eg": { - "adapter": "web", - "url": "http://lookup.egregistry.eg/english.aspx" + "beer": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.beer" }, - ".er": { - "adapter": "none" + "bentley": { + "_type": "newgtld", + "host": "whois.nic.bentley" }, - ".es": { - "host": "whois.nic.es" + "berlin": { + "_type": "newgtld", + "host": "whois.nic.berlin" }, - ".et": { - "adapter": "none" + "best": { + "_type": "newgtld", + "host": "whois.nic.best" }, - ".eu": { - "host": "whois.eu" + "bestbuy": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.bestbuy" }, - ".fi": { - "host": "whois.fi" + "bet": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".fj": { - "host": "whois.usp.ac.fj" + "bf": { + "adapter": "none" + }, + "bg": { + "host": "whois.register.bg" }, - ".fk": { + "bh": { "adapter": "none" }, - ".fm": { - "adapter": "web", - "url": "http://dot.fm/whois.html" + "bharti": { + "_type": "newgtld", + "adapter": "none" }, - ".fo": { - "host": "whois.nic.fo" + "bi": { + "host": "whois1.nic.bi" }, - ".aeroport.fr": { - "host": "whois.smallregistry.net" + "bible": { + "_type": "newgtld", + "host": "whois.nic.bible" }, - ".avocat.fr": { - "host": "whois.smallregistry.net" + "bid": { + "_type": "newgtld", + "host": "whois.nic.bid" }, - ".chambagri.fr": { - "host": "whois.smallregistry.net" + "bike": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.bike" }, - ".chirurgiens-dentistes.fr": { - "host": "whois.smallregistry.net" + "bing": { + "_type": "newgtld", + "adapter": "none" }, - ".experts-comptables.fr": { - "host": "whois.smallregistry.net" + "bingo": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.bingo" }, - ".geometre-expert.fr": { - "host": "whois.smallregistry.net" + "bio": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".medecin.fr": { - "host": "whois.smallregistry.net" + "biz": { + "host": "whois.biz" }, - ".notaires.fr": { - "host": "whois.smallregistry.net" + "bj": { + "host": "whois.nic.bj" }, - ".pharmacien.fr": { - "host": "whois.smallregistry.net" + "black": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".port.fr": { - "host": "whois.smallregistry.net" + "blackfriday": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".veterinaire.fr": { - "host": "whois.smallregistry.net" + "blockbuster": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.blockbuster" }, - ".fr": { - "host": "whois.nic.fr" + "blog": { + "_type": "newgtld", + "host": "whois.nic.blog" }, - ".ga": { + "bloomberg": { + "_type": "newgtld", "adapter": "none" }, - ".gb": { - "adapter": "none" + "blue": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".gd": { - "host": "whois.nic.gd" + "bm": { + "adapter": "web", + "url": "http://www.bermudanic.bm/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO" + }, + "bms": { + "_type": "newgtld", + "host": "whois.nic.bms" + }, + "bmw": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.bmw" + }, + "bn": { + "host": "whois.bnnic.bn" + }, + "bnpparibas": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "bo": { + "host": "whois.nic.bo" + }, + "boats": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "boehringer": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "bofa": { + "_type": "newgtld", + "host": "whois.nic.bofa" + }, + "bom": { + "_group": "nicbr", + "_type": "newgtld", + "host": "whois.gtlds.nic.br" + }, + "bond": { + "_type": "newgtld", + "host": "whois.nic.bond" + }, + "boo": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "book": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.book" + }, + "booking": { + "_type": "newgtld", + "adapter": "none" + }, + "bosch": { + "_type": "newgtld", + "host": "whois.nic.bosch" + }, + "bostik": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-bostik.nic.fr" + }, + "boston": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.boston" + }, + "bot": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.bot" + }, + "boutique": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.boutique" + }, + "box": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" + }, + "br": { + "host": "whois.registro.br" + }, + "bradesco": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.bradesco" + }, + "bridgestone": { + "_type": "newgtld", + "host": "whois.nic.bridgestone" + }, + "broadway": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.broadway" + }, + "broker": { + "_type": "newgtld", + "host": "whois.nic.broker" + }, + "brother": { + "_type": "newgtld", + "host": "whois.nic.brother" + }, + "brussels": { + "_type": "newgtld", + "host": "whois.nic.brussels" + }, + "bs": { + "adapter": "web", + "url": "http://www.nic.bs/cgi-bin/search.pl" + }, + "bt": { + "adapter": "web", + "url": "http://www.nic.bt/" + }, + "budapest": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois-dub.mm-registry.com" + }, + "bugatti": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "build": { + "_type": "newgtld", + "host": "whois.nic.build" + }, + "builders": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.builders" + }, + "business": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.business" + }, + "buy": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.buy" + }, + "buzz": { + "_type": "newgtld", + "host": "whois.nic.buzz" + }, + "bv": { + "adapter": "none" + }, + "bw": { + "host": "whois.nic.net.bw" + }, + "by": { + "host": "whois.cctld.by" + }, + "bz": { + "host": "whois.afilias-grs.info", + "adapter": "afilias" + }, + "za.bz": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "bzh": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois.nic.bzh" + }, + "ca": { + "host": "whois.cira.ca" + }, + "co.ca": { + "host": "whois.co.ca" + }, + "cab": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cab" + }, + "cafe": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cafe" + }, + "cal": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "call": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.call" + }, + "calvinklein": { + "_type": "newgtld", + "adapter": "none" + }, + "cam": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.cam" + }, + "camera": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.camera" + }, + "camp": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.camp" + }, + "cancerresearch": { + "_type": "newgtld", + "host": "whois.nic.cancerresearch" + }, + "canon": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.canon" + }, + "capetown": { + "_group": "zaregistry", + "_type": "newgtld", + "host": "capetown-whois.registry.net.za" + }, + "capital": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.capital" + }, + "capitalone": { + "_type": "newgtld", + "host": "whois.nic.capitalone" + }, + "car": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "caravan": { + "_type": "newgtld", + "adapter": "none" + }, + "cards": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cards" + }, + "care": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.care" + }, + "career": { + "_type": "newgtld", + "host": "whois.nic.career" + }, + "careers": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.careers" + }, + "cars": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "casa": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.casa" + }, + "case": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.case" + }, + "caseih": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.caseih" + }, + "cash": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cash" + }, + "casino": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.casino" + }, + "cat": { + "host": "whois.nic.cat" + }, + "catering": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.catering" + }, + "catholic": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" + }, + "cba": { + "_type": "newgtld", + "host": "whois.nic.cba" + }, + "cbn": { + "_type": "newgtld", + "adapter": "none" + }, + "cbre": { + "_type": "newgtld", + "adapter": "none" + }, + "cbs": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "cc": { + "host": "ccwhois.verisign-grs.com", + "adapter": "verisign" + }, + "cd": { + "host": "whois.nic.cd" + }, + "ceb": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "center": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.center" + }, + "ceo": { + "_type": "newgtld", + "host": "whois.nic.ceo" + }, + "cern": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "cf": { + "host": "whois.dot.cf" + }, + "cfa": { + "_type": "newgtld", + "host": "whois.nic.cfa" + }, + "cfd": { + "_type": "newgtld", + "host": "whois.nic.cfd" + }, + "cg": { + "adapter": "none" + }, + "ch": { + "host": "whois.nic.ch" + }, + "chanel": { + "_type": "newgtld", + "host": "whois.nic.chanel" + }, + "channel": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "charity": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.charity" + }, + "chase": { + "_type": "newgtld", + "adapter": "none" + }, + "chat": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.chat" + }, + "cheap": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cheap" + }, + "chintai": { + "_type": "newgtld", + "host": "whois.nic.chintai" + }, + "christmas": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "chrome": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "church": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.church" + }, + "ci": { + "host": "whois.nic.ci" + }, + "cipriani": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "circle": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.cirle" + }, + "cisco": { + "_type": "newgtld", + "adapter": "none" + }, + "citadel": { + "_type": "newgtld", + "adapter": "none" + }, + "citi": { + "_type": "newgtld", + "adapter": "none" + }, + "citic": { + "_type": "newgtld", + "adapter": "none" + }, + "city": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.city" + }, + "cityeats": { + "_type": "newgtld", + "host": "whois.nic.cityeats" + }, + "ck": { + "adapter": "none" + }, + "cl": { + "host": "whois.nic.cl" + }, + "claims": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.claims" + }, + "cleaning": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cleaning" + }, + "click": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "clinic": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.clinic" + }, + "clinique": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.clinique" + }, + "clothing": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.clothing" + }, + "cloud": { + "_type": "newgtld", + "host": "whois.nic.cloud" + }, + "club": { + "_type": "newgtld", + "host": "whois.nic.club" + }, + "clubmed": { + "_type": "newgtld", + "host": "whois.nic.clubmed" + }, + "cm": { + "host": "whois.netcom.cm" + }, + "cn": { + "host": "whois.cnnic.cn" + }, + "edu.cn": { + "adapter": "none" + }, + "co": { + "host": "whois.nic.co" + }, + "coach": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.coach" + }, + "codes": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.codes" + }, + "coffee": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.coffee" + }, + "college": { + "_type": "newgtld", + "host": "whois.nic.college" + }, + "cologne": { + "_group": "knipp", + "_type": "newgtld", + "host": "whois.ryce-rsp.com" + }, + "com": { + "host": "whois.verisign-grs.com", + "adapter": "verisign" + }, + "africa.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "ar.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "br.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "cn.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "co.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.net" + }, + "de.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "eu.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "gb.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "gr.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "hk.com": { + "_group": "udrregistry", + "_type": "private", + "host": "whois.registry.hk.com" + }, + "hu.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "jpn.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "kr.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "no.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "qc.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "ru.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "sa.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "se.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "uk.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "us.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "uy.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "za.com": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "comcast": { + "_type": "newgtld", + "host": "whois.nic.comcast" + }, + "commbank": { + "_type": "newgtld", + "host": "whois.nic.commbank" + }, + "community": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.community" + }, + "company": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.company" + }, + "compare": { + "_type": "newgtld", + "host": "whois.nic.compare" + }, + "computer": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.computer" + }, + "comsec": { + "_type": "newgtld", + "host": "whois.nic.comsec" + }, + "condos": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.condos" + }, + "construction": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.construction" + }, + "consulting": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.consulting" + }, + "contact": { + "_type": "newgtld", + "host": "whois.nic.contact" + }, + "contractors": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.contractors" + }, + "cooking": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.cooking" + }, + "cookingchannel": { + "_type": "newgtld", + "host": "whois.nic.cookingchannel" + }, + "cool": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cool" + }, + "coop": { + "host": "whois.nic.coop" + }, + "corsica": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-corsica.nic.fr" + }, + "country": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "coupon": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.coupon" + }, + "coupons": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.coupons" + }, + "courses": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" + }, + "cr": { + "host": "whois.nic.cr" + }, + "credit": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.credit" + }, + "creditcard": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.creditcard" + }, + "creditunion": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "cricket": { + "_type": "newgtld", + "host": "whois.nic.cricket" + }, + "crown": { + "_type": "newgtld", + "adapter": "none" + }, + "crs": { + "_type": "newgtld", + "adapter": "none" + }, + "cruise": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.cruise" + }, + "cruises": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.cruises" + }, + "csc": { + "_type": "newgtld", + "host": "whois.nic.csc" + }, + "cu": { + "adapter": "web", + "url": "http://www.nic.cu/" + }, + "cuisinella": { + "_type": "newgtld", + "host": "whois.nic.cuisinella" + }, + "cv": { + "adapter": "web", + "url": "http://www.dns.cv/" + }, + "cw": { + "adapter": "none" + }, + "cx": { + "host": "whois.nic.cx" + }, + "cy": { + "adapter": "web", + "url": "http://www.nic.cy/nslookup/online_database.php" + }, + "cymru": { + "_type": "newgtld", + "host": "whois.nic.cymru" + }, + "cyou": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.cyou" + }, + "cz": { + "host": "whois.nic.cz" + }, + "dabur": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "dad": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "dance": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.dance" + }, + "data": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.data" + }, + "date": { + "_type": "newgtld", + "host": "whois.nic.date" + }, + "dating": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.dating" + }, + "datsun": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" + }, + "day": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "dclk": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "dds": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.dds" + }, + "de": { + "host": "whois.denic.de", + "adapter": "formatted", + "format": "-T dn,ace %s" + }, + "com.de": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" + }, + "deal": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.deal" + }, + "dealer": { + "_type": "newgtld", + "adapter": "none" + }, + "deals": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.deals" + }, + "degree": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.degree" + }, + "delivery": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.delivery" + }, + "dell": { + "_type": "newgtld", + "adapter": "none" + }, + "deloitte": { + "_type": "newgtld", + "host": "whois.nic.deloitte" + }, + "delta": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.delta" + }, + "democrat": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.democrat" + }, + "dental": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.dental" + }, + "dentist": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.dentist" + }, + "desi": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.desi" + }, + "design": { + "_type": "newgtld", + "host": "whois.nic.design" + }, + "dev": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "dhl": { + "_type": "newgtld", + "adapter": "none" + }, + "diamonds": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.diamonds" + }, + "diet": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" + }, + "digital": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.digital" + }, + "direct": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.direct" + }, + "directory": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.directory" + }, + "discount": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.discount" + }, + "discover": { + "_type": "newgtld", + "adapter": "none" + }, + "dish": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.dish" + }, + "diy": { + "_type": "newgtld", + "host": "whois.nic.diy" + }, + "dj": { + "adapter": "web", + "url": "http://www.nic.dj/whois.php" + }, + "dk": { + "host": "whois.dk-hostmaster.dk", + "adapter": "formatted", + "format": "--show-handles %s" + }, + "dm": { + "host": "whois.nic.dm" + }, + "dnp": { + "_type": "newgtld", + "adapter": "none" + }, + "do": { + "adapter": "web", + "url": "http://www.nic.do/whois-h.php3" + }, + "docs": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "doctor": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.doctor" + }, + "dog": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.dog" + }, + "domains": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.domains" + }, + "doosan": { + "host": "whois.nic.xn--cg4bki" + }, + "dot": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.dot" + }, + "download": { + "_type": "newgtld", + "host": "whois.nic.download" + }, + "drive": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "dtv": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.dtv" + }, + "dubai": { + "_type": "newgtld", + "host": "whois.nic.dubai" + }, + "duck": { + "_type": "newgtld", + "host": "whois.nic.duck" + }, + "dunlop": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.dunlop" + }, + "dupont": { + "_type": "newgtld", + "adapter": "none" + }, + "durban": { + "_group": "zaregistry", + "_type": "newgtld", + "host": "durban-whois.registry.net.za" + }, + "dvag": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.dvag" + }, + "dvr": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" + }, + "dz": { + "host": "whois.nic.dz" + }, + "earth": { + "_type": "newgtld", + "adapter": "none" + }, + "eat": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "ec": { + "host": "whois.nic.ec" + }, + "eco": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.eco" + }, + "edeka": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".ge": { - "adapter": "web", - "url": "http://www.registration.ge/" + "edu": { + "host": "whois.educause.edu" }, - ".gf": { - "adapter": "web", - "url": "https://www.dom-enic.com/whois.html" + "education": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.education" }, - ".gg": { - "host": "whois.gg" + "ee": { + "host": "whois.tld.ee" }, - ".gh": { + "eg": { "adapter": "web", - "url": "http://www.nic.gh/customer/search_c.htm" + "url": "http://lookup.egregistry.eg/english.aspx" }, - ".gi": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "email": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.email" }, - ".gl": { - "host": "whois.nic.gl" + "emerck": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".gm": { - "adapter": "web", - "url": "http://www.nic.gm/htmlpages/whois.htm" + "energy": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.energy" + }, + "engineer": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.engineer" + }, + "engineering": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.engineering" + }, + "enterprises": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.enterprises" + }, + "epson": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".gn": { + "equipment": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.equipment" + }, + "er": { "adapter": "none" }, - ".gp": { - "adapter": "web", - "url": "https://www.dom-enic.com/whois.html" + "ericsson": { + "_type": "newgtld", + "host": "whois.nic.ericsson" }, - ".gq": { - "host": "whois.dominio.gq" + "erni": { + "_type": "newgtld", + "host": "whois.nic.erni" }, - ".gr": { - "adapter": "web", - "url": "https://grweb.ics.forth.gr/Whois?lang=en" + "es": { + "host": "whois.nic.es" }, - ".gs": { - "host": "whois.nic.gs" + "esq": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".gt": { - "adapter": "web", - "url": "http://www.gt/" + "estate": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.estate" }, - ".gu": { - "adapter": "web", - "url": "http://gadao.gov.gu/domainsearch.htm" + "esurance": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".gw": { - "adapter": "web", - "url": "http://nic.gw/en/whois/" + "et": { + "adapter": "none" }, - ".gy": { - "host": "whois.registry.gy" + "etisalat": { + "_group": "centralnic", + "host": "whois.centralnic.com" }, - ".hk": { - "host": "whois.hkirc.hk" + "eu": { + "host": "whois.eu" }, - ".hm": { - "host": "whois.registry.hm" + "eurovision": { + "_type": "newgtld", + "host": "whois.nic.eurovision" }, - ".hn": { - "host": "whois.nic.hn" + "eus": { + "_group": "coreregistry", + "_type": "newgtld", + "host": "whois.nic.eus" + }, + "events": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.events" + }, + "exchange": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.exchange" + }, + "expert": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.expert" + }, + "exposed": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.exposed" + }, + "express": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.express" + }, + "extraspace": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".hr": { - "host": "whois.dns.hr" + "fage": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".ht": { - "host": "whois.nic.ht" + "fail": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fail" }, - ".hu": { - "host": "whois.nic.hu" + "fairwinds": { + "_type": "newgtld", + "host": "whois.nic.fairwinds" }, - ".id": { - "host": "whois.pandi.or.id" + "faith": { + "_type": "newgtld", + "host": "whois.nic.faith" }, - ".ie": { - "host": "whois.domainregistry.ie" + "family": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.family" }, - ".il": { - "host": "whois.isoc.org.il" + "fan": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fan" }, - ".im": { - "host": "whois.nic.im" + "fans": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.fans" }, - ".in": { - "host": "whois.inregistry.nea" + "farm": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.farm" }, - ".io": { - "host": "whois.nic.io" + "farmers": { + "_type": "newgtld", + "adapter": "none" }, - ".iq": { - "host": "whois.cmc.iq" + "fashion": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.fashion" }, - ".ir": { - "host": "whois.nic.ir" + "fast": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.fast" }, - ".is": { - "host": "whois.isnic.is" + "fedex": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.fedex" }, - ".it": { - "host": "whois.nic.it" + "feedback": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.feedback" }, - ".je": { - "host": "whois.je" + "ferrari": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ferrari" }, - ".jm": { + "ferrero": { + "_type": "newgtld", "adapter": "none" }, - ".jo": { - "adapter": "web", - "url": "http://www.dns.jo/Whois.aspx" + "fi": { + "host": "whois.fi" }, - ".jp": { - "host": "whois.jprs.jp", - "adapter": "formatted", - "format": "%s/e" + "fiat": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".ke": { - "host": "whois.kenic.or.ke" + "fidelity": { + "_type": "newgtld", + "host": "whois.nic.fidelity" }, - ".kg": { - "host": "whois.domain.kg" + "fido": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".kh": { - "adapter": "none" + "film": { + "_type": "newgtld", + "host": "whois.nic.film" }, - ".ki": { - "host": "whois.nic.ki" + "final": { + "_group": "nicbr", + "_type": "newgtld", + "host": "whois.gtlds.nic.br" + }, + "finance": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.finance" + }, + "financial": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.financial" + }, + "fire": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.fire" + }, + "firestone": { + "_type": "newgtld", + "host": "whois.nic.firestone" + }, + "firmdale": { + "_type": "newgtld", + "host": "whois.nic.firmdale" }, - ".km": { + "fish": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fish" + }, + "fishing": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.fishing" + }, + "fit": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.fit" + }, + "fitness": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fitness" + }, + "fj": { + "host": "whois.usp.ac.fj" + }, + "fk": { "adapter": "none" }, - ".kn": { - "adapter": "web", - "url": "http://www.nic.kn/" + "flickr": { + "_type": "newgtld", + "adapter": "none" }, - ".kp": { + "flights": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.flights" + }, + "flir": { + "_type": "newgtld", "adapter": "none" }, - ".kr": { - "host": "whois.kr" + "florist": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.florist" }, - ".kw": { - "adapter": "web", - "url": "http://www.kw/" + "flowers": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".ky": { - "host": "whois.kyregistry.ky" + "fly": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".kz": { - "host": "whois.nic.kz" + "fm": { + "host": "whois.nic.fm" }, - ".la": { - "host": "whois.nic.la" + "fo": { + "host": "whois.nic.fo" }, - ".lb": { - "adapter": "web", - "url": "http://www.aub.edu.lb/lbdr/" + "foo": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".lc": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "food": { + "_type": "newgtld", + "adapter": "none" }, - ".li": { - "host": "whois.nic.li" + "foodnetwork": { + "_type": "newgtld", + "host": "whois.nic.foodnetwork" }, - ".lk": { - "host": "whois.nic.lk" + "football": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.football" }, - ".lr": { + "ford": { + "_type": "newgtld", "adapter": "none" }, - ".ls": { - "adapter": "web", - "url": "http://www.co.ls/co.asp" + "forex": { + "_type": "newgtld", + "host": "whois.nic.forex" }, - ".lt": { - "host": "whois.domreg.lt" + "forsale": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.forsale" }, - ".lu": { - "host": "whois.dns.lu" + "forum": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.forum" }, - ".lv": { - "host": "whois.nic.lv" + "foundation": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.foundation" }, - ".ly": { - "host": "whois.nic.ly" + "fox": { + "_type": "newgtld", + "host": "whois.nic.fox" }, - ".ma": { - "host": "whois.registre.ma" + "fr": { + "host": "whois.nic.fr" }, - ".mc": { - "adapter": "none" + "aeroport.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".md": { - "host": "whois.nic.md" + "avocat.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".me": { - "host": "whois.nic.me" + "chambagri.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mg": { - "host": "whois.nic.mg" + "chirurgiens-dentistes.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mh": { - "adapter": "none" + "experts-comptables.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mk": { - "host": "whois.marnet.mk" + "geometre-expert.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".ml": { - "host": "whois.dot.ml" + "medecin.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mm": { - "adapter": "none" + "notaires.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mn": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "pharmacien.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mo": { - "host": "whois.monic.mo" + "port.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mp": { - "adapter": "none" + "veterinaire.fr": { + "_group": "smallregistry", + "_type": "private", + "host": "whois.smallregistry.net" }, - ".mq": { - "adapter": "web", - "url": "https://www.dom-enic.com/whois.html" + "free": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.free" }, - ".mr": { - "adapter": "none" + "fresenius": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.fresenius" }, - ".ms": { - "host": "whois.nic.ms" + "frl": { + "_type": "newgtld", + "host": "whois.nic.frl" }, - ".mt": { - "adapter": "web", - "url": "https://www.nic.org.mt/dotmt/" + "frogans": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois.nic.frogans" }, - ".mu": { - "host": "whois.nic.mu" + "frontdoor": { + "_type": "newgtld", + "host": "whois.nic.frontdoor" }, - ".mv": { + "frontier": { + "_type": "newgtld", "adapter": "none" }, - ".mw": { - "adapter": "web", - "url": "http://www.registrar.mw/" + "ftr": { + "_type": "newgtld", + "adapter": "none" }, - ".mx": { - "host": "whois.nic.mx" + "fujitsu": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".my": { - "host": "whois.mynic.my" + "fujixerox": { + "_type": "newgtld", + "host": "whois.nic.fujixerox" + }, + "fun": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.fun" + }, + "fund": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fund" + }, + "furniture": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.furniture" + }, + "futbol": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.futbol" + }, + "fyi": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.fyi" + }, + "ga": { + "host": "whois.dot.ga" + }, + "gal": { + "_group": "coreregistry", + "_type": "newgtld", + "host": "whois.nic.gal" + }, + "gallery": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gallery" + }, + "gallo": { + "_type": "newgtld", + "host": "whois.nic.gallo" + }, + "gallup": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.gallup" + }, + "game": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".mz": { - "host": "whois.nic.mz" + "games": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.games" }, - ".na": { - "host": "whois.na-nic.com.na" + "gap": { + "_type": "newgtld", + "adapter": "none" }, - ".nc": { - "host": "whois.nc" + "garden": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.garden" }, - ".ne": { + "gb": { "adapter": "none" }, - ".nf": { - "host": "whois.nic.nf" + "gbiz": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".ng": { - "host": "whois.nic.net.ng" + "gd": { + "_group": "centralnic", + "host": "whois.nic.gd" }, - ".ni": { - "adapter": "web", - "url": "http://www.nic.ni/" + "gdn": { + "_type": "newgtld", + "host": "whois.nic.gdn" }, - ".nl": { - "host": "whois.domain-registry.nl" + "ge": { + "host": "whois.registration.ge" }, - ".no": { - "host": "whois.norid.no" + "gea": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".np": { - "adapter": "web", - "url": "http://register.mos.com.np/np-whois-lookup" + "gent": { + "_type": "newgtld", + "host": "whois.nic.gent" + }, + "genting": { + "_type": "newgtld", + "host": "whois.nic.genting" + }, + "george": { + "_type": "newgtld", + "host": "whois.nic.george" + }, + "gf": { + "host": "whois.mediaserv.net" + }, + "gg": { + "host": "whois.gg" + }, + "ggee": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.ggee" }, - ".nr": { + "gh": { "adapter": "web", - "url": "http://www.cenpac.net.nr/dns/whois.html" + "url": "http://www.nic.gh/customer/search_c.htm" }, - ".nu": { - "host": "whois.iis.nu" + "gi": { + "host": "whois.afilias-grs.info", + "adapter": "afilias" }, - ".nz": { - "host": "whois.srs.net.nz" + "gift": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".om": { - "host": "whois.registry.om" + "gifts": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gifts" + }, + "gives": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gives" + }, + "giving": { + "_type": "newgtld", + "host": "whois.nic.giving" + }, + "gl": { + "host": "whois.nic.gl" + }, + "glade": { + "_type": "newgtld", + "host": "whois.nic.glade" + }, + "glass": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.glass" }, - ".pa": { + "gle": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" + }, + "global": { + "_type": "newgtld", + "host": "whois.nic.global" + }, + "globo": { + "_group": "nicbr", + "_type": "newgtld", + "host": "whois.gtlds.nic.br" + }, + "gm": { "adapter": "web", - "url": "http://www.nic.pa/" + "url": "http://www.nic.gm/htmlpages/whois.htm" }, - ".pe": { - "host": "kero.yachay.pe" + "gmail": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".pf": { - "host": "whois.registry.pf" + "gmbh": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gmbh" }, - ".pg": { + "gmoregistry": { + "_group": "gmo", "adapter": "none" }, - ".ph": { - "adapter": "web", - "url": "http://www.dot.ph/whois" + "gmx": { + "_group": "knipp", + "_type": "newgtld", + "host": "whois-fe1.gmx.tango.knipp.de" }, - ".pk": { - "adapter": "web", - "url": "http://www.pknic.net.pk/" + "gn": { + "adapter": "none" }, - ".co.pl": { - "host": "whois.co.pl" + "godaddy": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".pl": { - "host": "whois.dns.pl" + "gold": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gold" }, - ".pm": { - "host": "whois.nic.fr" + "goldpoint": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.goldpoint" }, - ".pn": { - "adapter": "web", - "url": "http://www.pitcairn.pn/PnRegistry/" + "golf": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.golf" }, - ".post": { - "host": "whois.dotpostregistry.net" + "goo": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".pr": { - "host": "whois.nic.pr" + "goodyear": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.goodyear" }, - ".ps": { - "host": "whois.pnina.ps" + "goog": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".pt": { - "host": "whois.dns.pt" + "google": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".pw": { - "host": "whois.nic.pw" + "gop": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.gop" + }, + "got": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.got" }, - ".py": { + "gov": { + "host": "whois.dotgov.gov" + }, + "gp": { "adapter": "web", - "url": "http://www.nic.py/consulta-datos.php" + "url": "https://www.dom-enic.com/whois.html" }, - ".qa": { - "host": "whois.registry.qa" + "gq": { + "host": "whois.dominio.gq" }, - ".re": { - "host": "whois.nic.fr" + "gr": { + "adapter": "web", + "url": "https://grweb.ics.forth.gr/Whois?lang=en" }, - ".ro": { - "host": "whois.rotld.ro" + "grainger": { + "_type": "newgtld", + "adapter": "none" }, - ".rs": { - "host": "whois.rnids.rs" + "graphics": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.graphics" }, - ".edu.ru": { - "host": "whois.informika.ru" + "gratis": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gratis" + }, + "green": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" + }, + "gripe": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.gripe" + }, + "grocery": { + "_type": "newgtld", + "adapter": "none" + }, + "group": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.group" + }, + "gs": { + "host": "whois.nic.gs" + }, + "gt": { + "adapter": "web", + "url": "http://www.gt/" + }, + "gu": { + "adapter": "web", + "url": "http://gadao.gov.gu/domainsearch.htm" + }, + "guardian": { + "_type": "newgtld", + "adapter": "none" + }, + "gucci": { + "_type": "newgtld", + "adapter": "none" + }, + "guge": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".ru": { - "host": "whois.tcinet.ru" + "guide": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.guide" }, - ".rw": { - "adapter": "none" + "guitars": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".sa": { - "host": "whois.nic.net.sa" + "guru": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.guru" }, - ".sb": { - "host": "whois.nic.net.sb" + "gw": { + "adapter": "web", + "url": "http://nic.gw/en/whois/" }, - ".sc": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "gy": { + "host": "whois.registry.gy" }, - ".sd": { + "hair": { + "_type": "newgtld", "adapter": "none" }, - ".se": { - "host": "whois.iis.se" - }, - ".sg": { - "host": "whois.sgnic.sg" + "hamburg": { + "_type": "newgtld", + "host": "whois.nic.hamburg" }, - ".sh": { - "host": "whois.nic.sh" + "hangout": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".si": { - "host": "whois.register.si" + "haus": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.haus" }, - ".sj": { + "hbo": { + "_type": "newgtld", "adapter": "none" }, - ".sk": { - "host": "whois.sk-nic.sk" + "hdfc": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.hdfc" }, - ".sl": { - "host": "whois.nic.sl" + "hdfcbank": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.hdfcbank" }, - ".sm": { - "host": "whois.nic.sm" + "health": { + "_type": "newgtld", + "adapter": "none" }, - ".sn": { - "host": "whois.nic.sn" + "healthcare": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.healthcare" }, - ".so": { - "host": "whois.nic.so" + "help": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".sr": { - "adapter": "none" + "helsinki": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.helsinki" }, - ".st": { - "host": "whois.nic.st" + "here": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".su": { - "host": "whois.tcinet.ru" + "hermes": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".sv": { - "adapter": "web", - "url": "http://www.svnet.org.sv/" + "hgtv": { + "_type": "newgtld", + "host": "whois.nic.hgtv" }, - ".sx": { - "host": "whois.sx" + "hiphop": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".sy": { - "host": "whois.tld.sy" + "hisamitsu": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".sz": { - "adapter": "none" + "hitachi": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".tc": { - "host": "whois.nic.tc" + "hiv": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".td": { - "adapter": "web", - "url": "http://www.nic.td/" + "hk": { + "host": "whois.hkirc.hk" }, - ".tf": { - "host": "whois.nic.fr" + "inc.hk": { + "_group": "udrregistry", + "_type": "private", + "host": "whois.registry.hk.com" }, - ".tg": { - "adapter": "web", - "url": "http://www.nic.tg/" + "ltd.hk": { + "_group": "udrregistry", + "_type": "private", + "host": "whois.registry.hk.com" }, - ".th": { - "host": "whois.thnic.co.th" + "hkt": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.hkt" }, - ".tj": { - "adapter": "web", - "url": "http://www.nic.tj/whois.html" + "hm": { + "host": "whois.registry.hm" }, - ".tk": { - "host": "whois.dot.tk" + "hn": { + "host": "whois.nic.hn" }, - ".tl": { - "host": "whois.nic.tl" + "hockey": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.hockey" }, - ".tm": { - "host": "whois.nic.tm" + "holdings": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.holdings" }, - ".tn": { - "host": "whois.ati.tn" + "holiday": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.holiday" }, - ".to": { - "host": "whois.tonic.to" + "homedepot": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.homedepot" }, - ".tr": { - "host": "whois.nic.tr" + "homegoods": { + "_type": "newgtld", + "adapter": "none" }, - ".tt": { - "adapter": "web", - "url": "http://www.nic.tt/cgi-bin/search.pl" + "homes": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".tv": { - "host": "whois.nic.tv", - "adapter": "verisign" + "homesense": { + "_type": "newgtld", + "adapter": "none" }, - ".tw": { - "host": "whois.twnic.net.tw" + "honda": { + "_type": "newgtld", + "host": "whois.nic.honda" }, - ".tz": { - "host": "whois.tznic.or.tz" + "horse": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.horse" }, - ".in.ua": { - "host": "whois.in.ua" + "hospital": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.hospital" }, - ".ua": { - "host": "whois.ua" + "host": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.host" }, - ".ug": { - "host": "whois.co.ug" + "hosting": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".ac.uk": { - "host": "whois.ja.net" + "hot": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.hot" }, - ".bl.uk": { + "hoteles": { + "_type": "newgtld", "adapter": "none" }, - ".british-library.uk": { + "hotels": { + "_type": "newgtld", "adapter": "none" }, - ".gov.uk": { - "host": "whois.ja.net" - }, - ".icnet.uk": { + "hotmail": { + "_type": "newgtld", "adapter": "none" }, - ".jet.uk": { - "adapter": "none" + "house": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.house" }, - ".mod.uk": { - "adapter": "none" + "how": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".nhs.uk": { - "adapter": "none" + "hr": { + "host": "whois.dns.hr" }, - ".nls.uk": { + "hsbc": { + "_type": "newgtld", "adapter": "none" }, - ".parliament.uk": { - "adapter": "none" + "ht": { + "host": "whois.nic.ht" + }, + "hu": { + "host": "whois.nic.hu" + }, + "hughes": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.hughes" }, - ".police.uk": { + "hyatt": { + "_type": "newgtld", "adapter": "none" }, - ".uk": { - "host": "whois.nic.uk" + "hyundai": { + "_type": "newgtld", + "host": "whois.nic.hyundai" }, - ".us": { - "host": "whois.nic.us" + "ibm": { + "_type": "newgtld", + "host": "whois.nic.ibm" }, - ".com.uy": { - "adapter": "web", - "url": "https://nic.anteldata.com.uy/dns/consultaWhois/whois.action" + "icbc": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.icbc" }, - ".uy": { - "host": "whois.nic.org.uy" + "ice": { + "_type": "newgtld", + "host": "whois.nic.ice" }, - ".uz": { - "host": "whois.cctld.uz" + "icu": { + "_type": "newgtld", + "host": "whois.nic.icu" }, - ".va": { + "id": { + "host": "whois.id" + }, + "ie": { + "host": "whois.iedr.ie" + }, + "ieee": { + "_type": "newgtld", "adapter": "none" }, - ".vc": { - "host": "whois.afilias-grs.info", - "adapter": "afilias" + "ifm": { + "_type": "newgtld", + "host": "whois.nic.ifm" }, - ".ve": { - "host": "whois.nic.ve" + "ikano": { + "_type": "newgtld", + "host": "whois.ikano.tld-box.at" }, - ".vg": { - "host": "whois.nic.vg" + "il": { + "host": "whois.isoc.org.il" }, - ".vi": { - "adapter": "web", - "url": "https://secure.nic.vi/whois-lookup/" + "im": { + "host": "whois.nic.im" }, - ".vn": { - "adapter": "web", - "url": "http://www.vnnic.vn/en/domain" + "imamat": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".vu": { - "host": "vunic.vu" + "imdb": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.imdb" + }, + "immo": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.immo" + }, + "immobilien": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.immobilien" + }, + "in": { + "host": "whois.registry.in" + }, + "inc": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.nic.inc" + }, + "industries": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.industries" + }, + "infiniti": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".wf": { - "host": "whois.nic.fr" + "info": { + "host": "whois.afilias.net" }, - ".ws": { - "host": "whois.website.ws" + "ing": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".xxx": { - "host": "whois.nic.xxx" + "ink": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.ink" }, - ".ye": { - "adapter": "none" + "institute": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.institute" }, - ".yt": { - "host": "whois.nic.fr" + "insurance": { + "_type": "newgtld", + "host": "whois.nic.insurance" }, - ".ac.za": { - "host": "whois.ac.za" + "insure": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.insure" }, - ".alt.za": { - "host": "whois.alt.za" + "int": { + "host": "whois.iana.org" }, - ".co.za": { - "host": "whois.registry.net.za" + "intel": { + "_type": "newgtld", + "adapter": "none" }, - ".gov.za": { - "host": "whois.gov.za" + "international": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.international" }, - ".net.za": { - "host": "net-whois.registry.net.za" + "intuit": { + "_type": "newgtld", + "adapter": "none" }, - ".org.za": { - "host": "org-whois.registry.net.za" + "investments": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.investments" }, - ".web.za": { - "host": "web-whois.registry.net.za" + "io": { + "host": "whois.nic.io" }, - ".za": { + "ipiranga": { + "_type": "newgtld", "adapter": "none" }, - ".zm": { - "host": "whois.nic.zm" + "iq": { + "host": "whois.cmc.iq" + }, + "ir": { + "host": "whois.nic.ir" }, - ".zw": { - "adapter": "none" + "irish": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.irish" }, - - - ".xn--3e0b707e": { - "host": "whois.kr" + "is": { + "host": "whois.isnic.is" }, - ".xn--45brj9c": { - "host": "whois.inregistry.net" + "ismaili": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--80ao21a": { - "host": "whois.nic.kz" + "ist": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--90a3ac": { - "host": "whois.rnids.rs" + "istanbul": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--90ais": { - "host": "whois.cctld.by" + "it": { + "host": "whois.nic.it" }, - ".xn--clchc0ea0b2g2a9gcd": { - "host": "whois.sgnic.sg" + "itau": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--d1alf": { - "host": "whois.marnet.mk" + "itv": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--fiqs8s": { - "host": "cwhois.cnnic.cn" + "iveco": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.iveco" }, - ".xn--fiqz9s": { - "host": "cwhois.cnnic.cn" + "jaguar": { + "_type": "newgtld", + "host": "whois.nic.jaguar" }, - ".xn--fpcrj9c3d": { - "host": "whois.inregistry.net" + "java": { + "_type": "newgtld", + "host": "whois.nic.java" }, - ".xn--fzc2c9e2c": { - "host": "whois.nic.lk" + "jcb": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".xn--gecrj9c": { - "host": "whois.inregistry.net" + "jcp": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--h2brj9c": { - "host": "whois.inregistry.net" + "je": { + "host": "whois.je" }, - ".xn--j1amh": { - "host": "whois.dotukr.com" + "jeep": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--j6w193g": { - "host": "whois.hkirc.hk" + "jetzt": { + "_group": "donuts", + "_type": "newgtld", + "adapter": "none", + "host": "whois.nic.jetzt" + }, + "jewelry": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.jewelry" + }, + "jio": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.jio" + }, + "jll": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--kprw13d": { - "host": "whois.twnic.net.tw" + "jm": { + "adapter": "none" }, - ".xn--kpry57d": { - "host": "whois.twnic.net.tw" + "jmp": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--l1acc": { + "jnj": { + "_type": "newgtld", "adapter": "none" }, - ".xn--lgbbat1ad8j": { - "host": "whois.nic.dz" + "jo": { + "adapter": "web", + "url": "http://www.dns.jo/Whois.aspx" }, - ".xn--mgb9awbf": { - "host": "whois.registry.om" + "jobs": { + "host": "whois.nic.jobs", + "adapter": "verisign" }, - ".xn--mgba3a4f16a": { - "host": "whois.nic.ir" + "joburg": { + "_group": "zaregistry", + "_type": "newgtld", + "host": "joburg-whois.registry.net.za" }, - ".xn--mgbaam7a8h": { - "host": "whois.aeda.net.ae" + "jot": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.jot" }, - ".xn--mgbayh7gpa": { - "adapter": "web", - "url": "http://idn.jo/whois_a.aspx" + "joy": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.joy" }, - ".xn--mgbbh1a71e": { - "host": "whois.inregistry.net" + "jp": { + "host": "whois.jprs.jp", + "adapter": "formatted", + "format": "%s/e" }, - ".xn--mgbc0a9azcg": { + "jpmorgan": { + "_type": "newgtld", "adapter": "none" }, - ".xn--mgberp4a5d4ar": { - "host": "whois.nic.net.sa" - }, - ".xn--mgbpl2fh": { + "jprs": { + "_type": "newgtld", "adapter": "none" }, - ".xn--mgbtx2b": { - "host": "whois.cmc.iq" + "juegos": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".xn--mgbx4cd0ab": { - "host": "whois.mynic.my" + "juniper": { + "_type": "newgtld", + "host": "whois.nic.juniper" }, - ".xn--node": { - "host": "whois.itdc.ge" + "kaufen": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.kaufen" }, - ".xn--o3cw4h": { - "host": "whois.thnic.co.th" + "kddi": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.kddi" }, - ".xn--ogbpf8fl": { - "host": "whois.tld.sy" + "ke": { + "host": "whois.kenic.or.ke" }, - ".xn--p1ai": { - "host": "whois.tcinet.ru" + "kerryhotels": { + "_type": "newgtld", + "host": "whois.nic.kerryhotels" }, - ".xn--pgbs0dh": { + "kerrylogistics": { + "_type": "newgtld", + "host": "whois.nic.kerrylogistics" + }, + "kerryproperties": { + "_type": "newgtld", + "host": "whois.nic.kerryproperties" + }, + "kfh": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.kfh" + }, + "kg": { + "host": "whois.kg" + }, + "kh": { "adapter": "none" }, - ".xn--qxam": { - "adapter": "web", - "url": "https://grweb.ics.forth.gr/public/whois.jsp?lang=en" + "ki": { + "host": "whois.nic.ki" + }, + "kia": { + "_type": "newgtld", + "host": "whois.nic.kia" }, - ".xn--s9brj9c": { - "host": "whois.inregistry.net" + "kim": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".xn--wgbh1c": { - "host": "whois.dotmasr.eg" + "kinder": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--wgbl6a": { - "host": "whois.registry.qa" + "kindle": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.kindle" }, - ".xn--xkc2al3hye2a": { - "host": "whois.nic.lk" + "kitchen": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.kitchen" }, - ".xn--xkc2dl3a5ee0h": { - "host": "whois.inregistry.net" + "kiwi": { + "_type": "newgtld", + "host": "whois.nic.kiwi" }, - ".xn--y9a3aq": { - "host": "whois.amnic.net" + "km": { + "adapter": "none" }, - ".xn--yfro4i67o": { - "host": "whois.sgnic.sg" + "kn": { + "host": "whois.nic.kn" }, - ".xn--ygbi2ammx": { - "host": "whois.pnina.ps" + "koeln": { + "_group": "knipp", + "_type": "newgtld", + "host": "whois.ryce-rsp.com" }, - - - ".auction": { - "host": "whois.unitedtld.com" + "komatsu": { + "_type": "newgtld", + "host": "whois.nic.komatsu" }, - ".forsale": { - "host": "whois.unitedtld.com" + "kosher": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.kosher" }, - ".actor": { - "host": "whois.unitedtld.com" + "kp": { + "adapter": "none" }, - ".rocks": { - "host": "whois.unitedtld.com" + "kpmg": { + "_type": "newgtld", + "adapter": "none" }, - ".airforce": { - "host": "whois.unitedtld.com" + "kpn": { + "_type": "newgtld", + "adapter": "none" }, - ".haus": { - "host": "whois.unitedtld.com" + "kr": { + "host": "whois.kr" }, - ".moda": { - "host": "whois.unitedtld.com" + "krd": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".dance": { - "host": "whois.unitedtld.com" + "kred": { + "_type": "newgtld", + "adapter": "none" }, - ".democrat": { - "host": "whois.unitedtld.com" + "kuokgroup": { + "_type": "newgtld", + "host": "whois.nic.kuokgroup" }, - ".futbol": { - "host": "whois.unitedtld.com" + "kw": { + "adapter": "web", + "url": "http://www.kw/" }, - ".immobilien": { - "host": "whois.unitedtld.com" + "ky": { + "host": "whois.kyregistry.ky" }, - ".kaufen": { - "host": "whois.unitedtld.com" + "kyoto": { + "_type": "newgtld", + "host": "whois.nic.kyoto" }, - ".link": { - "host": "whois.unitedtld.com" + "kz": { + "host": "whois.nic.kz" }, - ".consulting": { - "host": "whois.unitedtld.com" + "la": { + "host": "whois.nic.la" }, - ".ninja": { - "host": "whois.unitedtld.com" + "lacaixa": { + "_type": "newgtld", + "host": "whois.nic.lacaixa" }, - ".reviews": { - "host": "whois.unitedtld.com" + "lamborghini": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".pub": { - "host": "whois.unitedtld.com" + "lamer": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.lamer" }, - ".social": { - "host": "whois.unitedtld.com" + "lancaster": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-lancaster.nic.fr" }, - ".kfh": { - "host": "whois.centralnic.com" + "lancia": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".protection": { - "host": "whois.centralnic.com" + "land": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.land" }, - ".ink": { - "host": "whois.nic.ink" + "landrover": { + "_type": "newgtld", + "host": "whois.nic.landrover" }, - ".theatre": { - "host": "whois.nic.theatre" + "lanxess": { + "_type": "newgtld", + "adapter": "none" }, - ".security": { - "host": "whois.nic.security" + "lasalle": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".stc": { - "host": "whois.centralnic.com" + "lat": { + "_type": "newgtld", + "host": "whois.nic.lat" }, - ".stcgroup": { - "host": "whois.centralnic.com" + "latino": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.latino" }, - ".xyz": { - "host": "whois.nic.xyz" + "latrobe": { + "_type": "newgtld", + "host": "whois.nic.latrobe" }, - ".space": { - "host": "whois.nic.space" + "law": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.law" }, - ".viva": { - "host": "whois.centralnic.com" + "lawyer": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.lawyer" }, - ".forum": { - "host": "whois.nic.forum" + "lb": { + "adapter": "web", + "url": "http://www.aub.edu.lb/lbdr/" }, - ".realty": { - "host": "whois.nic.realty" + "lc": { + "host": "whois.afilias-grs.info", + "adapter": "afilias" }, - ".feedback": { - "host": "whois.nic.feedback" + "lds": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.lds" }, - ".fans": { - "host": "whois.centralnic.com" + "lease": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.lease" }, - ".fan": { - "host": "whois.nic.fan" + "leclerc": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-leclerc.nic.fr" }, - ".online": { - "host": "whois.centralnic.com" + "lefrak": { + "_type": "newgtld", + "host": "whois.nic.lefrak" }, - ".love": { - "host": "whois.nic.love" + "legal": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.legal" }, - ".wme": { - "host": "whois.nic.wme" + "lego": { + "_type": "newgtld", + "host": "whois.nic.lego" }, - ".tech": { - "host": "whois.nic.tech" + "lexus": { + "_type": "newgtld", + "host": "whois.nic.lexus" }, - ".rent": { - "host": "whois.nic.rent" + "lgbt": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".tickets": { - "host": "whois.nic.tickets" + "li": { + "host": "whois.nic.li" + }, + "lidl": { + "_type": "newgtld", + "host": "whois.nic.lidl" }, - ".rest": { - "host": "whois.nic.rest" + "life": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.life" }, - ".site": { - "host": "whois.centralnic.com" + "lifeinsurance": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--ngbe9e0a": { - "host": "whois.centralnic.com" + "lifestyle": { + "_type": "newgtld", + "host": "whois.nic.lifestyle" }, - ".group": { - "host": "whois.donuts.co" + "lighting": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.lighting" }, - ".ltd": { - "host": "whois.donuts.co" + "like": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.like" }, - ".tires": { - "host": "whois.donuts.co" + "lilly": { + "_type": "newgtld", + "adapter": "none" }, - ".wine": { - "host": "whois.donuts.co" + "limited": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.limited" }, - ".vin": { - "host": "whois.donuts.co" + "limo": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.limo" }, - ".coupons": { - "host": "whois.donuts.co" + "lincoln": { + "_type": "newgtld", + "adapter": "none" }, - ".soccer": { - "host": "whois.donuts.co" + "linde": { + "_type": "newgtld", + "host": "whois.nic.linde" }, - ".fyi": { - "host": "whois.donuts.co" + "link": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".movie": { - "host": "whois.donuts.co" + "lipsy": { + "_type": "newgtld", + "host": "whois.nic.lipsy" }, - ".hockey": { - "host": "whois.donuts.co" + "live": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.live" }, - ".team": { - "host": "whois.donuts.co" + "living": { + "_type": "newgtld", + "adapter": "none" }, - ".run": { - "host": "whois.donuts.co" + "lixil": { + "_type": "newgtld", + "host": "whois.nic.lixil" }, - ".taxi": { - "host": "whois.donuts.co" + "lk": { + "host": "whois.nic.lk" }, - ".jewelry": { - "host": "whois.donuts.co" + "llc": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".show": { - "host": "whois.donuts.co" + "loan": { + "_type": "newgtld", + "host": "whois.nic.loan" }, - ".plus": { - "host": "whois.donuts.co" + "loans": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.loans" }, - ".tours": { - "host": "whois.donuts.co" + "locker": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.locker" }, - ".gold": { - "host": "whois.donuts.co" + "locus": { + "_type": "newgtld", + "host": "whois.nic.locus" }, - ".golf": { - "host": "whois.donuts.co" + "loft": { + "_type": "newgtld", + "adapter": "none" }, - ".express": { - "host": "whois.donuts.co" + "lol": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".cafe": { - "host": "whois.donuts.co" + "london": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.london" }, - ".theater": { - "host": "whois.donuts.co" + "lotte": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.lotte" }, - ".apartments": { - "host": "whois.donuts.co" + "lotto": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".partners": { - "host": "whois.donuts.co" + "love": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.love" }, - ".parts": { - "host": "whois.donuts.co" + "lpl": { + "_type": "newgtld", + "host": "whois.nic.lpl" }, - ".photography": { - "host": "whois.donuts.co" + "lplfinancial": { + "_type": "newgtld", + "host": "whois.nic.lplfinancial" }, - ".photos": { - "host": "whois.donuts.co" + "lr": { + "adapter": "none" }, - ".plumbing": { - "host": "whois.donuts.co" + "ls": { + "adapter": "web", + "url": "http://www.co.ls/co.asp" }, - ".productions": { - "host": "whois.donuts.co" + "lt": { + "host": "whois.domreg.lt" }, - ".properties": { - "host": "whois.donuts.co" + "ltd": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.ltd" }, - ".recipes": { - "host": "whois.donuts.co" + "ltda": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".rentals": { - "host": "whois.donuts.co" + "lu": { + "host": "whois.dns.lu" }, - ".repair": { - "host": "whois.donuts.co" + "lundbeck": { + "_type": "newgtld", + "host": "whois.nic.lundbeck" }, - ".report": { - "host": "whois.donuts.co" + "lupin": { + "_type": "newgtld", + "adapter": "none" }, - ".shoes": { - "host": "whois.donuts.co" + "luxe": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.luxe" }, - ".singles": { - "host": "whois.donuts.co" + "luxury": { + "_type": "newgtld", + "host": "whois.nic.luxury" }, - ".solar": { - "host": "whois.donuts.co" + "lv": { + "host": "whois.nic.lv" }, - ".solutions": { - "host": "whois.donuts.co" + "ly": { + "host": "whois.nic.ly" }, - ".supplies": { - "host": "whois.donuts.co" + "ma": { + "host": "whois.registre.ma" }, - ".supply": { - "host": "whois.donuts.co" + "macys": { + "_type": "newgtld", + "host": "whois.nic.macys" }, - ".support": { - "host": "whois.donuts.co" + "madrid": { + "_group": "corenic", + "_type": "newgtld", + "host": "whois.madrid.rs.corenic.net" }, - ".systems": { - "host": "whois.donuts.co" + "maif": { + "_type": "newgtld", + "adapter": "none" }, - ".technology": { - "host": "whois.donuts.co" + "maison": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.maison" }, - ".tienda": { - "host": "whois.donuts.co" + "makeup": { + "_type": "newgtld", + "host": "whois.nic.makeup" }, - ".tips": { - "host": "whois.donuts.co" + "man": { + "_type": "newgtld", + "host": "whois.nic.man" }, - ".today": { - "host": "whois.donuts.co" + "management": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.management" }, - ".xn--unup4y": { - "host": "whois.donuts.co" + "mango": { + "_group": "coreregistry", + "_type": "newgtld", + "host": "whois.nic.mango" }, - ".zone": { - "host": "whois.donuts.co" + "map": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".tools": { - "host": "whois.donuts.co" + "market": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.market" }, - ".training": { - "host": "whois.donuts.co" + "marketing": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.marketing" }, - ".vacations": { - "host": "whois.donuts.co" + "markets": { + "_type": "newgtld", + "host": "whois.nic.markets" }, - ".ventures": { - "host": "whois.donuts.co" + "marriott": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".viajes": { - "host": "whois.donuts.co" + "marshalls": { + "_type": "newgtld", + "adapter": "none" }, - ".villas": { - "host": "whois.donuts.co" + "maserati": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.maserati" }, - ".vision": { - "host": "whois.donuts.co" + "mattel": { + "_type": "newgtld", + "adapter": "none" }, - ".voyage": { - "host": "whois.donuts.co" + "mba": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.mba" }, - ".watch": { - "host": "whois.donuts.co" + "mc": { + "adapter": "none" }, - ".associates": { - "host": "whois.donuts.co" + "mckinsey": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.mckinsey" }, - ".capital": { - "host": "whois.donuts.co" + "md": { + "host": "whois.nic.md" }, - ".engineering": { - "host": "whois.donuts.co" + "me": { + "host": "whois.nic.me" }, - ".gripe": { - "host": "whois.donuts.co" + "med": { + "_type": "newgtld", + "host": "whois.nic.med" }, - ".lease": { - "host": "whois.donuts.co" + "media": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.media" }, - ".media": { - "host": "whois.donuts.co" + "meet": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".pictures": { - "host": "whois.donuts.co" + "melbourne": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".reisen": { - "host": "whois.donuts.co" + "meme": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".services": { - "host": "whois.donuts.co" + "memorial": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.memorial" }, - ".town": { - "host": "whois.donuts.co" + "men": { + "_type": "newgtld", + "host": "whois.nic.men" }, - ".toys": { - "host": "whois.donuts.co" + "menu": { + "_type": "newgtld", + "host": "whois.nic.menu" }, - ".university": { - "host": "whois.donuts.co" + "merckmsd": { + "_type": "newgtld", + "adapter": "none" }, - ".clinic": { - "host": "whois.donuts.co" + "metlife": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.metlife" }, - ".fitness": { - "host": "whois.donuts.co" + "mg": { + "host": "whois.nic.mg" }, - ".schule": { - "host": "whois.donuts.co" + "mh": { + "adapter": "none" }, - ".care": { - "host": "whois.donuts.co" + "miami": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.miami" }, - ".cash": { - "host": "whois.donuts.co" + "microsoft": { + "_type": "newgtld", + "adapter": "none" }, - ".dental": { - "host": "whois.donuts.co" + "mil": { + "adapter": "none" }, - ".discount": { - "host": "whois.donuts.co" + "mini": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.mini" }, - ".exchange": { - "host": "whois.donuts.co" + "mint": { + "_type": "newgtld", + "adapter": "none" }, - ".fail": { - "host": "whois.donuts.co" + "mit": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".financial": { - "host": "whois.donuts.co" + "mitsubishi": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".fund": { - "host": "whois.donuts.co" + "mk": { + "host": "whois.marnet.mk" }, - ".furniture": { - "host": "whois.donuts.co" + "ml": { + "host": "whois.dot.ml" }, - ".gratis": { - "host": "whois.donuts.co" + "mlb": { + "_type": "newgtld", + "adapter": "none" }, - ".investments": { - "host": "whois.donuts.co" + "mls": { + "_type": "newgtld", + "host": "whois.nic.mls" }, - ".limited": { - "host": "whois.donuts.co" + "mm": { + "adapter": "none" }, - ".surgery": { - "host": "whois.donuts.co" + "mma": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-mma.nic.fr" }, - ".tax": { - "host": "whois.donuts.co" + "mn": { + "host": "whois.nic.mn" }, - ".wtf": { - "host": "whois.donuts.co" + "mo": { + "host": "whois.monic.mo" }, - ".creditcard": { - "host": "whois.donuts.co" + "mobi": { + "_group": "afilias", + "host": "whois.afilias.net" }, - ".finance": { - "host": "whois.donuts.co" + "mobile": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.mobile" }, - ".insure": { - "host": "whois.donuts.co" + "moda": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.moda" }, - ".academy": { - "host": "whois.donuts.co" + "moe": { + "_type": "newgtld", + "host": "whois.nic.moe" }, - ".agency": { - "host": "whois.donuts.co" + "moi": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.moi" }, - ".bargains": { - "host": "whois.donuts.co" + "mom": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".bike": { - "host": "whois.donuts.co" + "monash": { + "_type": "newgtld", + "host": "whois.nic.monash" }, - ".boutique": { - "host": "whois.donuts.co" + "money": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.money" }, - ".builders": { - "host": "whois.donuts.co" + "monster": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.monster" }, - ".cab": { - "host": "whois.donuts.co" + "montblanc": { + "_type": "newgtld", + "adapter": "none" }, - ".camera": { - "host": "whois.donuts.co" + "mormon": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.mormon" }, - ".camp": { - "host": "whois.donuts.co" + "mortgage": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.mortgage" }, - ".cards": { - "host": "whois.donuts.co" + "moscow": { + "_type": "newgtld", + "host": "whois.nic.moscow" }, - ".careers": { - "host": "whois.donuts.co" + "moto": { + "_type": "newgtld", + "adapter": "none" }, - ".catering": { - "host": "whois.donuts.co" + "motorcycles": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".center": { - "host": "whois.donuts.co" + "mov": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".cheap": { - "host": "whois.donuts.co" + "movie": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.movie" }, - ".cleaning": { - "host": "whois.donuts.co" + "mp": { + "adapter": "none" }, - ".clothing": { - "host": "whois.donuts.co" + "mq": { + "host": "whois.mediaserv.net" }, - ".codes": { - "host": "whois.donuts.co" + "mr": { + "adapter": "none", + "host": "whois.nic.mr" }, - ".coffee": { - "host": "whois.donuts.co" + "ms": { + "host": "whois.nic.ms" }, - ".community": { - "host": "whois.donuts.co" + "msd": { + "_type": "newgtld", + "adapter": "none" }, - ".company": { - "host": "whois.donuts.co" + "mt": { + "adapter": "web", + "url": "https://www.nic.org.mt/dotmt/" }, - ".computer": { - "host": "whois.donuts.co" + "mtn": { + "_type": "newgtld", + "host": "whois.nic.mtn" }, - ".condos": { - "host": "whois.donuts.co" + "mtr": { + "_type": "newgtld", + "host": "whois.nic.mtr" }, - ".construction": { - "host": "whois.donuts.co" + "mu": { + "host": "whois.nic.mu" }, - ".contractors": { - "host": "whois.donuts.co" + "museum": { + "host": "whois.nic.museum" }, - ".cool": { - "host": "whois.donuts.co" + "mutual": { + "_type": "newgtld", + "adapter": "none" }, - ".cruises": { - "host": "whois.donuts.co" + "mv": { + "adapter": "none" }, - ".dating": { - "host": "whois.donuts.co" + "mw": { + "host": "whois.nic.mw" }, - ".diamonds": { - "host": "whois.donuts.co" + "mx": { + "host": "whois.mx" }, - ".directory": { - "host": "whois.donuts.co" + "my": { + "host": "whois.mynic.my" }, - ".domains": { - "host": "whois.donuts.co" + "mz": { + "host": "whois.nic.mz" }, - ".education": { - "host": "whois.donuts.co" + "na": { + "host": "whois.na-nic.com.na" }, - ".email": { - "host": "whois.donuts.co" + "nab": { + "_type": "newgtld", + "host": "whois.nic.nab" }, - ".enterprises": { - "host": "whois.donuts.co" + "nadex": { + "_type": "newgtld", + "host": "whois.nic.nadex" }, - ".equipment": { - "host": "whois.donuts.co" + "nagoya": { + "_type": "newgtld", + "host": "whois.nic.nagoya" }, - ".estate": { - "host": "whois.donuts.co" + "name": { + "host": "whois.nic.name", + "adapter": "formatted", + "format": "domain=%s" }, - ".events": { - "host": "whois.donuts.co" + "nationwide": { + "_type": "newgtld", + "host": "whois.nic.nationwide" }, - ".expert": { - "host": "whois.donuts.co" + "natura": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".exposed": { - "host": "whois.donuts.co" + "navy": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.navy" }, - ".farm": { - "host": "whois.donuts.co" + "nba": { + "_type": "newgtld", + "adapter": "none" }, - ".fish": { - "host": "whois.donuts.co" + "nc": { + "host": "whois.nc" }, - ".flights": { - "host": "whois.donuts.co" + "ne": { + "adapter": "none" }, - ".florist": { - "host": "whois.donuts.co" + "nec": { + "_type": "newgtld", + "host": "whois.nic.nec" }, - ".foundation": { - "host": "whois.donuts.co" + "net": { + "host": "whois.verisign-grs.com", + "adapter": "verisign" }, - ".gallery": { - "host": "whois.donuts.co" + "gb.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".glass": { - "host": "whois.donuts.co" + "hu.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".graphics": { - "host": "whois.donuts.co" + "in.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".guru": { - "host": "whois.donuts.co" + "jp.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".holdings": { - "host": "whois.donuts.co" + "se.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".holiday": { - "host": "whois.donuts.co" + "uk.net": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".house": { - "host": "whois.donuts.co" + "za.net": { + "host": "whois.za.net" }, - ".industries": { - "host": "whois.donuts.co" + "netbank": { + "_type": "newgtld", + "host": "whois.nic.netbank" }, - ".institute": { - "host": "whois.donuts.co" + "netflix": { + "_type": "newgtld", + "adapter": "none" }, - ".international": { - "host": "whois.donuts.co" + "network": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.network" }, - ".kitchen": { - "host": "whois.donuts.co" + "neustar": { + "_type": "newgtld", + "adapter": "none" }, - ".land": { - "host": "whois.donuts.co" + "new": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".lighting": { - "host": "whois.donuts.co" + "newholland": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.newholland" }, - ".limo": { - "host": "whois.donuts.co" + "news": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.news" }, - ".maison": { - "host": "whois.donuts.co" + "next": { + "_type": "newgtld", + "host": "whois.nic.next" }, - ".management": { - "host": "whois.donuts.co" + "nextdirect": { + "_type": "newgtld", + "host": "whois.nic.nextdirect" }, - ".marketing": { - "host": "whois.donuts.co" + "nexus": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".accountants": { - "host": "whois.donuts.co" + "nf": { + "host": "whois.nic.nf" }, - ".claims": { - "host": "whois.donuts.co" + "nfl": { + "_type": "newgtld", + "adapter": "none" }, - ".credit": { - "host": "whois.donuts.co" + "ng": { + "host": "whois.nic.net.ng" }, - ".digital": { - "host": "whois.donuts.co" + "ngo": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.publicinterestregistry.net" }, - ".church": { - "host": "whois.donuts.co" + "nhk": { + "_type": "newgtld", + "adapter": "none" }, - ".guide": { - "host": "whois.donuts.co" + "ni": { + "adapter": "web", + "url": "http://www.nic.ni/" }, - ".life": { - "host": "whois.donuts.co" + "nico": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.nico" }, - ".loans": { - "host": "whois.donuts.co" + "nike": { + "_type": "newgtld", + "adapter": "none" }, - ".bingo": { - "host": "whois.donuts.co" + "nikon": { + "_type": "newgtld", + "host": "whois.nic.nikon" }, - ".chat": { - "host": "whois.donuts.co" + "ninja": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.ninja" }, - ".style": { - "host": "whois.donuts.co" + "nissan": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".tennis": { - "host": "whois.donuts.co" + "nissay": { + "_type": "newgtld", + "host": "whois.nic.nissay" }, - ".casino": { - "host": "whois.donuts.co" + "nl": { + "host": "whois.domain-registry.nl" }, - ".school": { - "host": "whois.donuts.co" + "no": { + "host": "whois.norid.no" }, - ".football": { - "host": "whois.donuts.co" + "nokia": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".energy": { - "host": "whois.donuts.co" + "northwesternmutual": { + "_type": "newgtld", + "adapter": "none" }, - ".delivery": { - "host": "whois.donuts.co" + "norton": { + "_type": "newgtld", + "host": "whois.nic.norton" }, - ".direct": { - "host": "whois.donuts.co" + "now": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.now" }, - ".place": { - "host": "whois.donuts.co" + "nowruz": { + "_group": "agitsys", + "_type": "newgtld", + "host": "whois.nic.nowruz" }, - ".city": { - "host": "whois.donuts.co" + "nowtv": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.nowtv" }, - ".deals": { - "host": "whois.donuts.co" + "np": { + "adapter": "web", + "url": "http://register.mos.com.np/np-whois-lookup" }, - ".restaurant": { - "host": "whois.donuts.co" + "nr": { + "adapter": "web", + "url": "http://www.cenpac.net.nr/dns/whois.html" }, - ".sarl": { - "host": "whois.donuts.co" + "nra": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".network": { - "host": "whois.donuts.co" + "nrw": { + "_type": "newgtld", + "host": "whois.nic.nrw" }, - ".business": { - "host": "whois.donuts.co" + "ntt": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--vhquv": { - "host": "whois.donuts.co" + "nu": { + "host": "whois.iis.nu" }, - ".gifts": { - "host": "whois.donuts.co" + "nyc": { + "_type": "newgtld", + "host": "whois.nic.nyc" }, - ".immo": { - "host": "whois.donuts.co" + "nz": { + "host": "whois.srs.net.nz" }, - ".world": { - "host": "whois.donuts.co" + "obi": { + "_type": "newgtld", + "host": "whois.nic.obi" }, - ".pizza": { - "host": "whois.donuts.co" + "observer": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.observer" }, - ".coach": { - "host": "whois.donuts.co" + "off": { + "_type": "newgtld", + "host": "whois.nic.off" }, - ".works": { - "host": "whois.donuts.co" + "office": { + "_type": "newgtld", + "adapter": "none" }, - ".dog": { - "host": "whois.donuts.co" + "okinawa": { + "_type": "newgtld", + "host": "whois.nic.okinawa" }, - ".healthcare": { - "host": "whois.donuts.co" + "olayan": { + "_type": "newgtld", + "host": "whois.nic.olayan" }, - ".xn--czrs0t": { - "host": "whois.donuts.co" + "olayangroup": { + "_type": "newgtld", + "host": "whois.nic.olayangroup" }, - ".legal": { - "host": "whois.donuts.co" + "oldnavy": { + "_type": "newgtld", + "adapter": "none" }, - ".memorial": { - "host": "whois.donuts.co" + "ollo": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ollo" }, - ".money": { - "host": "whois.donuts.co" + "om": { + "host": "whois.registry.om" }, - ".salon": { - "host": "whois.donuts.co" + "omega": { + "_type": "newgtld", + "host": "whois.nic.omega" }, - ".mba": { - "host": "whois.donuts.co" + "one": { + "_type": "newgtld", + "host": "whois.nic.one" }, - ".xn--fjq720a": { - "host": "whois.donuts.co" + "ong": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.publicinterestregistry.net" }, - ".audi": { + "onl": { + "_group": "afiliassrs", + "_type": "newgtld", "host": "whois.afilias-srs.net" }, - ".star": { - "host": "whois.afilias-srs.net" + "online": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.online" }, - ".trv": { - "host": "whois.afilias-srs.net" + "onyourside": { + "_type": "newgtld", + "host": "whois.nic.onyourside" }, - ".redumbrella": { - "host": "whois.afilias-srs.net" + "ooo": { + "_type": "newgtld", + "host": "whois.nic.ooo" }, - ".travelers": { - "host": "whois.afilias-srs.net" + "open": { + "_type": "newgtld", + "adapter": "none" }, - ".bugatti": { - "host": "whois.afilias-srs.net" + "oracle": { + "_type": "newgtld", + "host": "whois.nic.oracle" }, - ".lamborghini": { - "host": "whois.afilias-srs.net" + "orange": { + "_type": "newgtld", + "host": "whois.nic.orange" }, - ".boehringer": { - "host": "whois.afilias-srs.net" + "org": { + "host": "whois.pir.org" }, - ".beats": { - "host": "whois.afilias-srs.net" + "ae.org": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".creditunion": { - "host": "whois.afilias-srs.net" + "eu.org": { + "host": "whois.eu.org" }, - ".apple": { - "host": "whois.afilias-srs.net" + "hk.org": { + "_group": "udrregistry", + "_type": "private", + "host": "whois.registry.hk.com" }, - ".cipriani": { - "host": "whois.afilias-srs.net" + "us.org": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".stockholm": { - "host": "whois.afilias-srs.net" + "za.org": { + "host": "whois.za.org" }, - ".zara": { - "host": "whois.afilias-srs.net" + "organic": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".stada": { + "orientexpress": { + "_group": "afiliassrs", + "_type": "newgtld", "host": "whois.afilias-srs.net" }, - ".ceb": { + "origin": { + "_group": "afiliassrs", + "_type": "newgtld", "host": "whois.afilias-srs.net" }, - ".fage": { - "host": "whois.afilias-srs.net" + "origins": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.origins" }, - ".irish": { - "host": "whois.afilias-srs.net" + "osaka": { + "_type": "newgtld", + "host": "whois.nic.osaka" }, - ".aco": { - "host": "whois.afilias-srs.net" + "otsuka": { + "_type": "newgtld", + "adapter": "none" }, - ".gea": { - "host": "whois.afilias-srs.net" + "ott": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ott" }, - ".nokia": { - "host": "whois.afilias-srs.net" + "ovh": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-ovh.nic.fr" }, - ".icbc": { - "host": "whois.afilias-srs.net" + "pa": { + "adapter": "web", + "url": "http://www.nic.pa/" }, - ".srl": { - "host": "whois.afilias-srs.net" + "page": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".thd": { - "host": "whois.afilias-srs.net" + "panasonic": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".jll": { - "host": "whois.afilias-srs.net" + "paris": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-paris.nic.fr" }, - ".lasalle": { - "host": "whois.afilias-srs.net" + "pars": { + "_group": "agitsys", + "_type": "newgtld", + "host": "whois.nic.pars" }, - ".homedepot": { - "host": "whois.afilias-srs.net" + "partners": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.partners" }, - ".sex": { - "host": "whois.afilias-srs.net" + "parts": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.parts" }, - ".ltda": { - "host": "whois.afilias-srs.net" + "party": { + "_type": "newgtld", + "host": "whois.nic.party" }, - ".nra": { - "host": "whois.afilias-srs.net" + "passagens": { + "_type": "newgtld", + "adapter": "none" }, - ".bnpparibas": { - "host": "whois.afilias-srs.net" + "pay": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.pay" }, - ".emerck": { - "host": "whois.afilias-srs.net" + "pccw": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.pccw" }, - ".cern": { - "host": "whois.afilias-srs.net" + "pe": { + "host": "kero.yachay.pe" }, - ".homes": { - "host": "whois.afilias-srs.net" + "pet": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".motorcycles": { - "host": "whois.afilias-srs.net" + "pf": { + "host": "whois.registry.pf" }, - ".vegas": { - "host": "whois.afilias-srs.net" + "pfizer": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--fiq228c5hs": { - "host": "whois.afilias-srs.net" + "pg": { + "adapter": "none" }, - ".xn--3ds443g": { - "host": "whois.afilias-srs.net" + "ph": { + "adapter": "web", + "url": "http://www.dot.ph/whois" }, - ".rich": { - "host": "whois.afilias-srs.net" + "pharmacy": { + "_type": "newgtld", + "adapter": "none" }, - ".onl": { - "host": "whois.afilias-srs.net" + "phd": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".redstone": { - "host": "whois.afilias-srs.net" + "philips": { + "_type": "newgtld", + "host": "whois.nic.philips" }, - ".yachts": { - "host": "whois.afilias-srs.net" + "phone": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.phone" }, - ".xn--estv75g": { - "host": "whois.afilias-srs.net" + "photo": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".xn--4gbrim": { - "host": "whois.afilias-srs.net" + "photography": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.photography" }, - ".hiv": { - "host": "whois.afilias-srs.net" + "photos": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.photos" }, - ".organic": { - "host": "whois.afilias-srs.net" + "physio": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.nic.physio" }, - ".xn--kput3i": { - "host": "whois.afilias-srs.net" + "pics": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".active": { - "host": "whois.afilias-srs.net" + "pictet": { + "_type": "newgtld", + "adapter": "none" }, - ".adult": { - "host": "whois.afilias-srs.net" + "pictures": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.pictures" }, - ".homes": { - "host": "whois.afilias-srs.net" + "pid": { + "_type": "newgtld", + "host": "whois.nic.pid" }, - ".lds": { - "host": "whois.afilias-srs.net" + "pin": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.pin" }, - ".mormon": { - "host": "whois.afilias-srs.net" + "ping": { + "_type": "newgtld", + "adapter": "none" }, - ".porn": { - "host": "whois.afilias-srs.net" + "pink": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".boats": { - "host": "whois.afilias-srs.net" + "pioneer": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".abbott": { - "host": "whois.afilias-srs.net" + "pizza": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.pizza" }, - ".xin": { - "host": "whois.afilias-srs.net" + "pk": { + "adapter": "web", + "url": "http://www.pknic.net.pk/" }, - ".scholarships": { - "host": "whois.afilias-srs.net" + "pl": { + "host": "whois.dns.pl" }, - ".cyou": { - "host": "whois.afilias-srs.net" + "co.pl": { + "host": "whois.co.pl" }, - ".sew": { - "host": "whois.afilias-srs.net" + "place": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.place" }, - ".shriram": { - "host": "whois.afilias-srs.net" + "play": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".marriott": { - "host": "whois.afilias-srs.net" + "playstation": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.playstation" }, - ".dabur": { - "host": "whois.afilias-srs.net" + "plumbing": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.plumbing" }, - ".hermes": { - "host": "whois.afilias-srs.net" + "plus": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.plus" }, - ".buy": { - "host": "whois.afilias-srs.net" + "pm": { + "host": "whois.nic.pm" }, - ".temasek": { - "host": "whois.afilias-srs.net" + "pn": { + "adapter": "web", + "url": "http://www.pitcairn.pn/PnRegistry/" }, - ".travelersinsurance": { - "host": "whois.afilias-srs.net" + "pnc": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.pnc" }, - ".bnl": { - "host": "whois.afilias-srs.net" + "pohl": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.pohl" }, - ".origin": { - "host": "whois.afilias-srs.net" + "poker": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".lamer": { - "host": "whois.afilias-srs.net" + "politie": { + "_type": "newgtld", + "host": "whois.nicpolitie" }, - ".storage": { + "porn": { + "_group": "afiliassrs", + "_type": "newgtld", "host": "whois.afilias-srs.net" }, - ".schaeffler": { - "host": "whois.afilias-srs.net" + "post": { + "host": "whois.dotpostregistry.net" }, - ".xn--jlq61u9w7b": { + "pr": { + "_group": "afiliassrs", "host": "whois.afilias-srs.net" }, - ".xn--b4w605ferd": { - "host": "whois.afilias-srs.net" + "pramerica": { + "_type": "newgtld", + "adapter": "none" + }, + "praxi": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--6frz82g": { - "host": "whois.afilias.net" + "press": { + "_type": "newgtld", + "host": "whois.nic.press" }, - ".kim": { - "host": "whois.afilias.net" + "prime": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.prime" }, - ".bet": { + "pro": { "host": "whois.afilias.net" }, - ".pet": { - "host": "whois.afilias.net" + "prod": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".blue": { - "host": "whois.afilias.net" + "productions": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.productions" }, - ".pink": { - "host": "whois.afilias.net" + "prof": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".red": { - "host": "whois.afilias.net" + "progressive": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".shiksha": { + "promo": { + "_group": "afilias", + "_type": "newgtld", "host": "whois.afilias.net" }, - ".vote": { - "host": "whois.afilias.net" + "properties": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.properties" }, - ".voto": { - "host": "whois.afilias.net" + "property": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".black": { - "host": "whois.afilias.net" + "protection": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.centralnic.com" }, - ".meet": { - "host": "whois.afilias.net" + "pru": { + "_type": "newgtld", + "adapter": "none" }, - ".poker": { - "host": "whois.afilias.net" + "prudential": { + "_type": "newgtld", + "adapter": "none" }, - ".green": { - "host": "whois.afilias.net" + "ps": { + "host": "whois.pnina.ps" }, - ".lotto": { - "host": "whois.afilias.net" + "pt": { + "host": "whois.dns.pt" }, - ".lgbt": { - "host": "whois.afilias.net" + "pub": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.pub" }, - ".autos": { - "host": "whois.afilias.net" + "pw": { + "host": "whois.nic.pw" }, - ".band": { - "host": "whois.rightside.co" + "pwc": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".family": { - "host": "whois.rightside.co" + "py": { + "adapter": "web", + "url": "http://www.nic.py/consulta-datos.php" }, - ".rip": { - "host": "whois.rightside.co" + "qa": { + "host": "whois.registry.qa" }, - ".sale": { - "host": "whois.rightside.co" + "qpon": { + "_type": "newgtld", + "adapter": "none" }, - ".video": { - "host": "whois.rightside.co" + "quebec": { + "_type": "newgtld", + "host": "whois.nic.quebec" }, - ".news": { - "host": "whois.rightside.co" + "quest": { + "_type": "newgtld", + "host": "whois.nic.quest" }, - ".degree": { - "host": "whois.rightside.co" + "qvc": { + "_type": "newgtld", + "adapter": "none" }, - ".mortgage": { - "host": "whois.rightside.co" + "racing": { + "_type": "newgtld", + "host": "whois.nic.racing" }, - ".attorney": { - "host": "whois.rightside.co" + "radio": { + "_type": "newgtld", + "host": "whois.nic.radio" }, - ".dentist": { - "host": "whois.rightside.co" + "raid": { + "_type": "newgtld", + "host": "whois.nic.raid" }, - ".lawyer": { - "host": "whois.rightside.co" + "re": { + "host": "whois.nic.re" }, - ".market": { - "host": "whois.rightside.co" + "read": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.read" }, - ".software": { - "host": "whois.rightside.co" + "realestate": { + "_type": "newgtld", + "host": "whois.nic.realestate" }, - ".vet": { - "host": "whois.rightside.co" + "realtor": { + "_type": "newgtld", + "adapter": "none" }, - ".army": { - "host": "whois.rightside.co" + "realty": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.realty" }, - ".navy": { - "host": "whois.rightside.co" + "recipes": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.recipes" }, - ".engineer": { - "host": "whois.rightside.co" + "red": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".gives": { - "host": "whois.rightside.co" + "redstone": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.redstone" }, - ".rehab": { - "host": "whois.rightside.co" + "redumbrella": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".republican": { - "host": "whois.rightside.co" + "rehab": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.rehab" }, - ".live": { - "host": "whois.rightside.co" + "reise": { + "_type": "newgtld", + "host": "whois.nic.reise" }, - ".studio": { - "host": "whois.rightside.co" + "reisen": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.reisen" }, - ".melbourne": { - "host": "whois.aridnrs.net.au" + "reit": { + "_type": "newgtld", + "host": "whois.nic.reit" }, - ".physio": { - "host": "whois.nic.physio" + "reliance": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.reliance" }, - ".krd": { - "host": "whois.aridnrs.net.au" + "ren": { + "_type": "newgtld", + "adapter": "none" }, - ".saxo": { - "host": "whois.aridnrs.net.au" + "rent": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.rent" }, - ".courses": { - "host": "whois.aridnrs.net.au" + "rentals": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.rentals" + }, + "repair": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.repair" + }, + "report": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.report" + }, + "republican": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.republican" + }, + "rest": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.rest" }, - ".epson": { - "host": "whois.aridnrs.net.au" + "restaurant": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.restaurant" }, - ".iinet": { - "host": "whois.aridnrs.net.au" + "review": { + "_type": "newgtld", + "host": "whois.nic.review" }, - ".car": { - "host": "whois.uniregistry.net" + "reviews": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.reviews" }, - ".game": { - "host": "whois.uniregistry.net" + "rexroth": { + "_type": "newgtld", + "host": "whois.nic.rexroth" }, - ".mom": { - "host": "whois.uniregistry.net" + "rich": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".blackfriday": { - "host": "whois.uniregistry.net" + "richardli": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.richardli" }, - ".lol": { - "host": "whois.uniregistry.net" + "ricoh": { + "_type": "newgtld", + "host": "whois.nic.ricoh" }, - ".auto": { - "host": "whois.uniregistry.net" + "rightathome": { + "_type": "newgtld", + "host": "whois.nic.rightathome" }, - ".cars": { - "host": "whois.uniregistry.net" + "ril": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ril" }, - ".flowers": { - "host": "whois.uniregistry.net" + "rio": { + "_group": "nicbr", + "_type": "newgtld", + "host": "whois.gtlds.nic.br" }, - ".hosting": { - "host": "whois.uniregistry.net" + "rip": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.rip" }, - ".help": { - "host": "whois.uniregistry.net" + "rmit": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".diet": { - "host": "whois.uniregistry.net" + "ro": { + "host": "whois.rotld.ro" }, - ".audio": { - "host": "whois.uniregistry.net" + "rocher": { + "_type": "newgtld", + "adapter": "none" }, - ".hiphop": { - "host": "whois.uniregistry.net" + "rocks": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.rocks" }, - ".juegos": { - "host": "whois.uniregistry.net" + "rodeo": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.rodeo" }, - ".property": { - "host": "whois.uniregistry.net" + "rogers": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".click": { - "host": "whois.uniregistry.net" + "room": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.room" }, - ".gift": { - "host": "whois.uniregistry.net" + "rs": { + "host": "whois.rnids.rs" }, - ".guitars": { - "host": "whois.uniregistry.net" + "rsvp": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".christmas": { - "host": "whois.uniregistry.net" + "ru": { + "host": "whois.tcinet.ru" }, - ".pics": { - "host": "whois.uniregistry.net" + "edu.ru": { + "host": "whois.informika.ru" }, - ".photo": { - "host": "whois.uniregistry.net" + "rugby": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.centralnic.com" }, - ".tattoo": { - "host": "whois.uniregistry.net" + "ruhr": { + "_type": "newgtld", + "host": "whois.nic.ruhr" }, - ".sexy": { - "host": "whois.uniregistry.net" + "run": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.run" }, - ".ads": { - "host": "domain-registry-whois.l.google.com" + "rw": { + "host": "whois.ricta.org.rw" }, - ".guge": { - "host": "domain-registry-whois.l.google.com" + "rwe": { + "_type": "newgtld", + "host": "whois.nic.rwe" }, - ".here": { - "host": "domain-registry-whois.l.google.com" + "ryukyu": { + "_type": "newgtld", + "host": "whois.nic.ryukyu" }, - ".esq": { - "host": "domain-registry-whois.l.google.com" + "sa": { + "host": "whois.nic.net.sa" }, - ".gmail": { - "host": "domain-registry-whois.l.google.com" + "saarland": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.saarland" }, - ".youtube": { - "host": "domain-registry-whois.l.google.com" + "safe": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.safe" }, - ".prod": { - "host": "domain-registry-whois.l.google.com" + "safety": { + "_type": "newgtld", + "adapter": "none" }, - ".gbiz": { - "host": "domain-registry-whois.l.google.com" + "sakura": { + "_type": "newgtld", + "adapter": "none" }, - ".how": { - "host": "domain-registry-whois.l.google.com" + "sale": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.sale" }, - ".android": { - "host": "domain-registry-whois.l.google.com" + "salon": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.salon" }, - ".foo": { - "host": "domain-registry-whois.l.google.com" + "samsclub": { + "_type": "newgtld", + "host": "whois.nic.samsclub" }, - ".soy": { - "host": "domain-registry-whois.l.google.com" + "samsung": { + "_type": "newgtld", + "host": "whois.nic.xn--cg4bki" }, - ".dad": { - "host": "domain-registry-whois.l.google.com" + "sandvik": { + "_type": "newgtld", + "host": "whois.nic.sandvik" }, - ".boo": { - "host": "domain-registry-whois.l.google.com" + "sandvikcoromant": { + "_type": "newgtld", + "host": "whois.nic.sandvikcoromant" }, - ".day": { - "host": "domain-registry-whois.l.google.com" + "sanofi": { + "_type": "newgtld", + "host": "whois.nic.sanofi" }, - ".eat": { - "host": "domain-registry-whois.l.google.com" + "sap": { + "_type": "newgtld", + "host": "whois.nic.sap" }, - ".mov": { - "host": "domain-registry-whois.l.google.com" + "sarl": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.sarl" }, - ".new": { - "host": "domain-registry-whois.l.google.com" + "sas": { + "_type": "newgtld", + "adapter": "none" }, - ".rsvp": { - "host": "domain-registry-whois.l.google.com" + "save": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.save" }, - ".meme": { - "host": "domain-registry-whois.l.google.com" + "saxo": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".zip": { - "host": "domain-registry-whois.l.google.com" + "sb": { + "host": "whois.nic.net.sb" }, - ".prof": { - "host": "domain-registry-whois.l.google.com" + "sbi": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.sbi" }, - ".nexus": { - "host": "domain-registry-whois.l.google.com" + "sbs": { + "_type": "newgtld", + "host": "whois.nic.sbs" }, - ".google": { - "host": "domain-registry-whois.l.google.com" + "sc": { + "host": "whois.afilias-grs.info", + "adapter": "afilias" }, - ".gle": { - "host": "domain-registry-whois.l.google.com" + "sca": { + "_type": "newgtld", + "host": "whois.nic.sca" }, - ".fly": { - "host": "domain-registry-whois.l.google.com" + "scb": { + "_type": "newgtld", + "host": "whois.nic.scb" }, - ".chrome": { - "host": "domain-registry-whois.l.google.com" + "schaeffler": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".channel": { - "host": "domain-registry-whois.l.google.com" + "schmidt": { + "_type": "newgtld", + "host": "whois.nic.schmidt" }, - ".cal": { - "host": "domain-registry-whois.l.google.com" + "scholarships": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.scholarships" }, - ".ing": { - "host": "domain-registry-whois.l.google.com" + "school": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.school" }, - ".xn--flw351e": { - "host": "domain-registry-whois.l.google.com" + "schule": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.schule" }, - ".xn--qcka1pmc": { - "host": "domain-registry-whois.l.google.com" + "schwarz": { + "_type": "newgtld", + "host": "whois.nic.schwarz" }, - ".dev": { - "host": "domain-registry-whois.l.google.com" + "science": { + "_type": "newgtld", + "host": "whois.nic.science" }, - ".docs": { - "host": "domain-registry-whois.l.google.com" + "scjohnson": { + "_type": "newgtld", + "host": "whois.nic.scjohnson" }, - ".dclk": { - "host": "domain-registry-whois.l.google.com" + "scor": { + "_type": "newgtld", + "host": "whois.nic.scor" }, - ".goog": { - "host": "domain-registry-whois.l.google.com" + "scot": { + "_group": "coreregistry", + "_type": "newgtld", + "host": "whois.nic.scot" }, - ".hangout": { - "host": "domain-registry-whois.l.google.com" + "sd": { + "adapter": "none" }, - ".page": { - "host": "domain-registry-whois.l.google.com" + "se": { + "host": "whois.iis.se" }, - ".xn--q9jyb4c": { - "host": "domain-registry-whois.l.google.com" + "com.se": { + "_group": "centralnic", + "_type": "private", + "host": "whois.centralnic.com" }, - ".app": { + "search": { + "_group": "google", + "_type": "newgtld", "host": "whois.nic.google" }, - ".play": { - "host": "whois.nic.google" + "seat": { + "_type": "newgtld", + "host": "whois.nic.seat" }, - ".drive": { - "host": "whois.nic.google" + "secure": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.secure" }, - ".jcb": { - "host": "whois.nic.gmo" + "security": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.security" }, - ".hitachi": { - "host": "whois.nic.gmo" + "seek": { + "_type": "newgtld", + "host": "whois.nic.seek" }, - ".goo": { - "host": "whois.nic.gmo" + "select": { + "_type": "newgtld", + "host": "whois.nic.select" }, - ".canon": { - "host": "whois.nic.canon" + "sener": { + "_type": "newgtld", + "adapter": "none" }, - ".ggee": { - "host": "whois.nic.ggee" + "services": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.services" }, - ".nico": { - "host": "whois.nic.nico" + "ses": { + "_type": "newgtld", + "host": "whois.nic.ses" }, - ".toshiba": { - "host": "whois.nic.toshiba" + "seven": { + "_type": "newgtld", + "host": "whois.nic.seven" }, - ".kddi": { - "host": "whois.nic.kddi" + "sew": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".fairwinds": { - "host": "whois.nic.fairwinds" + "sex": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".verisign": { - "host": "whois.nic.verisign" + "sexy": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".insurance": { - "host": "whois.nic.insurance" + "sfr": { + "_type": "newgtld", + "host": "whois.nic.sfr" }, - ".med": { - "host": "whois.nic.med" + "sg": { + "host": "whois.sgnic.sg" }, - ".norton": { - "host": "whois.nic.norton" + "sh": { + "host": "whois.nic.sh" }, - ".symantec": { - "host": "whois.nic.symantec" + "shangrila": { + "_type": "newgtld", + "host": "whois.nic.shangrila" }, - ".tab": { - "host": "whois.nic.tab" + "sharp": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".lotte": { - "host": "whois.nic.lotte" + "shaw": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".goldpoint": { - "host": "whois.nic.goldpoint" + "shell": { + "_type": "newgtld", + "host": "whois.nic.shell" }, - ".yodobashi": { - "host": "whois.nic.gmo" + "shia": { + "_group": "agitsys", + "_type": "newgtld", + "host": "whois.nic.shia" }, - ".datsun": { - "host": "whois.nic.gmo" + "shiksha": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".infiniti": { - "host": "whois.nic.gmo" + "shoes": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.shoes" + }, + "shop": { + "_type": "newgtld", + "host": "whois.nic.shop" + }, + "shopping": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.shopping" + }, + "shouji": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" + }, + "show": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.show" + }, + "showtime": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".mtpc": { - "host": "whois.nic.gmo" + "shriram": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".sharp": { - "host": "whois.nic.gmo" + "si": { + "host": "whois.register.si" }, - ".nissan": { - "host": "whois.nic.gmo" + "silk": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.silk" }, - ".pars": { - "host": "whois.agitsys.net" + "sina": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.sina" }, - ".xn--mgbt3dhd": { - "host": "whois.agitsys.net" + "singles": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.singles" }, - ".shia": { - "host": "whois.agitsys.net" + "site": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.site" }, - ".tci": { - "host": "whois.agitsys.net" + "sj": { + "adapter": "none" }, - ".nowruz": { - "host": "whois.agitsys.net" + "sk": { + "host": "whois.sk-nic.sk" }, - ".vip": { - "host": "whois-dub.mm-registry.com" + "ski": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".surf": { - "host": "whois-dub.mm-registry.com" + "skin": { + "_type": "newgtld", + "host": "whois.nic.skin" }, - ".law": { - "host": "whois-dub.mm-registry.com" + "sky": { + "_type": "newgtld", + "host": "whois.nic.sky" }, - ".horse": { - "host": "whois-dub.mm-registry.com" + "skype": { + "_type": "newgtld", + "adapter": "none" }, - ".garden": { - "host": "whois-dub.mm-registry.com" + "sl": { + "host": "whois.nic.sl" }, - ".fit": { - "host": "whois-dub.mm-registry.com" + "sling": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.sling" }, - ".rodeo": { - "host": "whois-dub.mm-registry.com" + "sm": { + "host": "whois.nic.sm" }, - ".vodka": { - "host": "whois-dub.mm-registry.com" + "smart": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.smart" }, - ".cooking": { - "host": "whois-dub.mm-registry.com" + "smile": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.smile" }, - ".country": { - "host": "whois-dub.mm-registry.com" + "sn": { + "host": "whois.nic.sn" }, - ".fishing": { - "host": "whois-dub.mm-registry.com" + "sncf": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-sncf.nic.fr" }, - ".horse": { - "host": "whois-dub.mm-registry.com" + "so": { + "host": "whois.nic.so" }, - ".miami": { - "host": "whois-dub.mm-registry.com" + "soccer": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.soccer" }, - ".wedding": { - "host": "whois-dub.mm-registry.com" + "social": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.social" }, - ".yoga": { - "host": "whois-dub.mm-registry.com" + "softbank": { + "_type": "newgtld", + "host": "whois.nic.softbank" }, - ".budapest": { - "host": "whois-dub.mm-registry.com" + "software": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.software" }, - ".casa": { - "host": "whois-dub.mm-registry.com" + "sohu": { + "_type": "newgtld", + "adapter": "none" }, - ".work": { - "host": "whois-dub.mm-registry.com" + "solar": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.solar" }, - ".fashion": { - "host": "whois-dub.mm-registry.com" + "solutions": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.solutions" }, - ".abogado": { - "host": "whois-dub.mm-registry.com" + "song": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.song" }, - ".beer": { - "host": "whois-dub.mm-registry.com" + "sony": { + "_type": "newgtld", + "host": "whois.nic.sony" }, - ".luxe": { - "host": "whois-dub.mm-registry.com" + "soy": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".bayern": { - "host": "whois-dub.mm-registry.com" + "space": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.space" }, - ".london": { - "host": "whois-lon.mm-registry.com" + "sport": { + "_type": "newgtld", + "host": "whois.nic.sport" }, - ".gop": { - "host": "whois-cl01.mm-registry.com" + "spot": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.spot" }, - ".broadway": { - "host": "whois-cl01.mm-registry.com" + "spreadbetting": { + "_type": "newgtld", + "host": "whois.nic.spreadbetting" }, - ".bradesco": { - "host": "whois-cl01.mm-registry.com" + "sr": { + "adapter": "none" }, - ".archi": { - "host": "whois.ksregistry.net" + "srl": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".saarland": { - "host": "whois.ksregistry.net" + "ss": { + "host": "whois.nic.ss" }, - ".desi": { - "host": "whois.ksregistry.net" + "st": { + "host": "whois.nic.st" }, - ".bio": { - "host": "whois.ksregistry.net" + "stada": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".bmw": { - "host": "whois.ksregistry.net" + "staples": { + "_type": "newgtld", + "adapter": "none" }, - ".mini": { - "host": "whois.ksregistry.net" + "star": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.star" }, - ".spiegel": { - "host": "whois.ksregistry.net" + "statebank": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.statebank" }, - ".tui": { - "host": "whois.ksregistry.net" + "statefarm": { + "_type": "newgtld", + "adapter": "none" }, - ".pohl": { - "host": "whois.ksregistry.net" + "stc": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.stc" }, - ".allfinanz": { - "host": "whois.ksregistry.net" + "stcgroup": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.stcgroup" }, - ".dvag": { - "host": "whois.ksregistry.net" + "stockholm": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--vermgensberatung-pwb": { - "host": "whois.ksregistry.net" + "storage": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.storage" }, - ".xn--vermgensberater-ctb": { - "host": "whois.ksregistry.net" + "store": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.store" }, - ".flsmidth": { - "host": "whois.ksregistry.net" + "stream": { + "_type": "newgtld", + "host": "whois.nic.stream" }, - ".zuerich": { - "host": "whois.ksregistry.net" + "studio": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.studio" }, - ".ski": { - "host": "whois.ksregistry.net" + "study": { + "_type": "newgtld", + "host": "whois.nic.study" }, - ".ngo": { - "host": "whois.publicinterestregistry.net" + "style": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.style" }, - ".ong": { - "host": "whois.publicinterestregistry.net" + "su": { + "host": "whois.tcinet.ru" }, - ".xn--c1avg": { - "host": "whois.publicinterestregistry.net" + "sucks": { + "_type": "newgtld", + "host": "whois.nic.sucks" }, - ".xn--i1b6b1a6a2e": { - "host": "whois.publicinterestregistry.net" + "supplies": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.supplies" }, - ".xn--nqv7f": { - "host": "whois.publicinterestregistry.net" + "supply": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.supply" }, - ".xn--nqv7fs00ema": { - "host": "whois.publicinterestregistry.net" + "support": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.support" }, - ".bostik": { - "host": "whois-bostik.nic.fr" + "surf": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.surf" }, - ".frogans": { - "host": "whois-frogans.nic.fr" + "surgery": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.surgery" }, - ".paris": { - "host": "whois-paris.nic.fr" + "suzuki": { + "_type": "newgtld", + "adapter": "none" }, - ".leclerc": { - "host": "whois-leclerc.nic.fr" + "sv": { + "adapter": "web", + "url": "http://www.svnet.org.sv/" }, - ".bzh": { - "host": "whois-bzh.nic.fr" + "swatch": { + "_type": "newgtld", + "host": "whois.nic.swatch" }, - ".ovh": { - "host": "whois-ovh.nic.fr" + "swiftcover": { + "_type": "newgtld", + "adapter": "none" }, - ".alsace": { - "host": "whois-alsace.nic.fr" + "swiss": { + "_type": "newgtld", + "host": "whois.nic.swiss" }, - ".aquarelle": { - "host": "whois-aquarelle.nic.fr" + "sx": { + "host": "whois.sx" }, - ".mma": { - "host": "whois-mma.nic.fr" + "sy": { + "host": "whois.tld.sy" }, - ".corsica": { - "host": "whois-corsica.nic.fr" + "sydney": { + "_type": "newgtld", + "host": "whois.nic.sydney" }, - ".sncf": { - "host": "whois-sncf.nic.fr" + "symantec": { + "_type": "newgtld", + "host": "whois.nic.symantec" }, - ".lancaster": { - "host": "whois-lancaster.nic.fr" + "systems": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.systems" }, - ".gmx": { - "host": "whois-fe1.gmx.tango.knipp.de" + "sz": { + "adapter": "none" }, - ".koeln": { - "host": "whois-fe1.pdt.koeln.tango.knipp.de" + "tab": { + "_type": "newgtld", + "host": "whois.nic.tab" }, - ".cologne": { - "host": "whois-fe1.pdt.cologne.tango.knipp.de" + "taipei": { + "_type": "newgtld", + "host": "whois.nic.taipei" }, - ".movistar": { - "host": "whois-fe.movistar.tango.knipp.de" + "talk": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.talk" }, - ".telefonica": { - "host": "whois-fe.telefonica.tango.knipp.de" + "taobao": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--80asehdb": { - "host": "whois.online.rs.corenic.net" + "target": { + "_type": "newgtld", + "adapter": "none" }, - ".xn--80aswg": { - "host": "whois.online.rs.corenic.net" + "tatamotors": { + "_type": "newgtld", + "host": "whois.nic.tatamotors" }, - ".madrid": { - "host": "whois.madrid.rs.corenic.net" + "tatar": { + "_type": "newgtld", + "host": "whois.nic.tatar" }, - ".xn--mgbab2bd": { - "host": "whois.bazaar.coreregistry.net" + "tattoo": { + "_group": "uniregistry", + "_type": "newgtld", + "host": "whois.uniregistry.net" }, - ".eus": { - "host": "whois.eus.coreregistry.net" + "tax": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tax" }, - ".gal": { - "host": "whois.gal.coreregistry.net" + "taxi": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.taxi" }, - ".mango": { - "host": "whois.mango.coreregistry.net" + "tc": { + "host": "whois.nic.tc" }, - ".scot": { - "host": "whois.scot.coreregistry.net" + "tci": { + "_group": "agitsys", + "_type": "newgtld", + "host": "whois.nic.tci" }, - ".capetown": { - "host": "capetown-whois.registry.net.za" + "td": { + "adapter": "web", + "url": "http://www.nic.td/" }, - ".durban": { - "host": "durban-whois.registry.net.za" + "tdk": { + "_type": "newgtld", + "adapter": "none" }, - ".joburg": { - "host": "joburg-whois.registry.net.za" + "team": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.team" }, - ".xn--55qx5d": { - "host": "whois.ngtld.cn" + "tech": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.tech" }, - ".xn--vuq861b": { - "host": "whois.ngtld.cn" + "technology": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.technology" }, - ".xn--io0a7i": { - "host": "whois.ngtld.cn" + "tel": { + "host": "whois.nic.tel" + }, + "temasek": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--1qqw23a": { - "host": "whois.ngtld.cn" + "tennis": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tennis" }, - ".xn--xhq521b": { - "host": "whois.ngtld.cn" + "teva": { + "_type": "newgtld", + "host": "whois.nic.teva" }, - ".wang": { - "host": "whois.gtld.knet.cn" + "tf": { + "host": "whois.nic.fr" }, - ".xn--3bst00m": { - "host": "whois.gtld.knet.cn" + "tg": { + "host": "whois.nic.tg" }, - ".xn--6qq986b3xl": { - "host": "whois.gtld.knet.cn" + "th": { + "host": "whois.thnic.co.th" }, - ".xn--czru2d": { - "host": "whois.gtld.knet.cn" + "thd": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.thd" }, - ".globo": { - "host": "whois.gtlds.nic.br" + "theater": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.theater" }, - ".bom": { - "host": "whois.gtlds.nic.br" + "theatre": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.theatre" }, - ".final": { - "host": "whois.gtlds.nic.br" + "tiaa": { + "_type": "newgtld", + "host": "whois.nic.tiaa" }, - ".rio": { - "host": "whois.gtlds.nic.br" + "tickets": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.tickets" }, - ".uol": { - "host": "whois.gtlds.nic.br" + "tienda": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tienda" }, - ".aarp": { - "host": "whois.nic.aarp" + "tiffany": { + "_type": "newgtld", + "host": "whois.nic.tiffany" }, - ".lat": { - "host": "whois.nic.lat" + "tiia": { + "host": "whois.nic.tiia" }, - ".barclaycard": { - "host": "whois.nic.barclaycard" + "tips": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tips" }, - ".barclays": { - "host": "whois.nic.barclays" + "tires": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tires" }, - ".design": { - "host": "whois.nic.design" + "tirol": { + "_type": "newgtld", + "host": "whois.nic.tirol" }, - ".ifm": { - "host": "whois.nic.ifm" + "tj": { + "adapter": "web", + "url": "http://www.nic.tj/whois.html" }, - ".java": { - "host": "whois.nic.java" + "tjmaxx": { + "_type": "newgtld", + "adapter": "none" }, - ".comsec": { - "host": "whois.nic.comsec" + "tjx": { + "_type": "newgtld", + "adapter": "none" }, - ".vana": { - "host": "whois.nic.vana" + "tk": { + "host": "whois.dot.tk" }, - ".lifestyle": { - "host": "whois.nic.lifestyle" + "tkmaxx": { + "_type": "newgtld", + "adapter": "none" }, - ".shell": { - "host": "whois.nic.shell" + "tl": { + "host": "whois.nic.tl" }, - ".oracle": { - "host": "whois.nic.oracle" + "tm": { + "host": "whois.nic.tm" }, - ".xn--mxtq1m": { - "host": "whois.nic.xn--mxtq1m" + "tmall": { + "_type": "newgtld", + "adapter": "none" }, - ".brother": { - "host": "whois.nic.brother" + "tn": { + "host": "whois.ati.tn" }, - ".rexroth": { - "host": "whois.nic.rexroth" + "to": { + "host": "whois.tonic.to" }, - ".erni": { - "host": "whois.nic.erni" + "today": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.today" }, - ".bauhaus": { - "host": "whois.nic.bauhaus" + "tokyo": { + "_type": "newgtld", + "host": "whois.nic.tokyo" }, - ".forex": { - "host": "whois.nic.forex" + "tools": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tools" }, - ".markets": { - "host": "whois.nic.markets" + "top": { + "_type": "newgtld", + "host": "whois.nic.top" }, - ".bosch": { - "host": "whois.nic.bosch" + "toray": { + "_type": "newgtld", + "host": "whois.nic.toray" }, - ".cfd": { - "host": "whois.nic.cfd" + "toshiba": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.toshiba" }, - ".spreadbetting": { - "host": "whois.nic.spreadbetting" + "total": { + "_group": "nicfr", + "_type": "newgtld", + "host": "whois-total.nic.fr" }, - ".cityeats": { - "host": "whois.nic.cityeats" + "tours": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.tours" }, - ".contact": { - "host": "whois.nic.contact" + "town": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.town" }, - ".pid": { - "host": "whois.nic.pid" + "toyota": { + "_type": "newgtld", + "host": "whois.nic.toyota" }, - ".weber": { - "host": "whois.nic.weber" + "toys": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.toys" }, - ".trading": { - "host": "whois.nic.trading" + "tr": { + "host": "whois.nic.tr" }, - ".mtn": { - "host": "whois.nic.mtn" + "trade": { + "_type": "newgtld", + "host": "whois.nic.trade" }, - ".bond": { - "host": "whois.nic.bond" + "trading": { + "_type": "newgtld", + "host": "whois.nic.trading" }, - ".bbc": { - "host": "whois.nic.bbc" + "training": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.training" }, - ".komatsu": { - "host": "whois.nic.komatsu" + "travel": { + "host": "whois.nic.travel" }, - ".sap": { - "host": "whois.nic.sap" + "travelchannel": { + "_type": "newgtld", + "host": "whois.nic.travelchannel" }, - ".afl": { - "host": "whois.nic.afl" + "travelers": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".seat": { - "host": "whois.nic.seat" + "travelersinsurance": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".broker": { - "host": "whois.nic.broker" + "trust": { + "_type": "newgtld", + "host": "whois.nic.trust" }, - ".swiss": { - "host": "whois.nic.swiss" + "trv": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".honda": { - "host": "whois.nic.honda" + "tt": { + "adapter": "web", + "url": "http://www.nic.tt/cgi-bin/search.pl" }, - ".bridgestone": { - "host": "whois.nic.bridgestone" + "tube": { + "_type": "newgtld", + "adapter": "none" }, - ".bentley": { - "host": "whois.nic.bentley" + "tui": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.tui" }, - ".toray": { - "host": "whois.nic.toray" + "tunes": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.tunes" }, - ".orange": { - "host": "whois.nic.orange" + "tushu": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.tushu" }, - ".men": { - "host": "whois.nic.men" + "tv": { + "host": "tvwhois.verisign-grs.com", + "adapter": "verisign" }, - ".buzz": { - "host": "whois.nic.buzz" + "tvs": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.tvs" }, - ".linde": { - "host": "whois.nic.linde" + "tw": { + "host": "whois.twnic.net.tw" }, - ".bar": { - "host": "whois.nic.bar" + "tz": { + "host": "whois.tznic.or.tz" }, - ".berlin": { - "host": "whois.nic.berlin" + "ua": { + "host": "whois.ua" }, - ".best": { - "host": "whois.nic.best" + "in.ua": { + "host": "whois.in.ua" }, - ".build": { - "host": "whois.nic.build" + "ubank": { + "_type": "newgtld", + "host": "whois.nic.ubank" }, - ".clubmed": { - "host": "whois.nic.clubmed" + "ubs": { + "_type": "newgtld", + "host": "whois.nic.ubs" }, - ".ceo": { - "host": "whois.nic.ceo" + "ug": { + "host": "whois.co.ug" }, - ".club": { - "host": "whois.nic.club" + "uk": { + "host": "whois.nic.uk" }, - ".kiwi": { - "host": "whois.nic.kiwi" + "ac.uk": { + "host": "whois.ja.net" }, - ".luxury": { - "host": "whois.nic.luxury" + "bl.uk": { + "adapter": "none" }, - ".menu": { - "host": "whois.nic.menu" + "british-library.uk": { + "adapter": "none" }, - ".obi": { - "host": "whois.nic.obi" + "gov.uk": { + "host": "whois.ja.net" }, - ".monash": { - "host": "whois.nic.monash" + "icnet.uk": { + "adapter": "none" }, - ".bms": { - "host": "whois.nic.bms" + "jet.uk": { + "adapter": "none" }, - ".moe": { - "host": "whois.nic.moe" + "mod.uk": { + "adapter": "none" }, - ".cfa": { - "host": "whois.nic.cfa" + "nhs.uk": { + "adapter": "none" }, - ".liaison": { - "host": "whois.nic.liaison" + "nls.uk": { + "adapter": "none" }, - ".ruhr": { - "host": "whois.nic.ruhr" + "parliament.uk": { + "adapter": "none" }, - ".xn--d1acj3b": { - "host": "whois.nic.xn--d1acj3b" + "police.uk": { + "adapter": "none" }, - ".nadex": { - "host": "whois.nic.nadex" + "unicom": { + "_type": "newgtld", + "adapter": "none" }, - ".versicherung": { - "host": "whois.nic.versicherung" + "university": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.university" }, - ".website": { - "host": "whois.nic.website" + "uno": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.uno" }, - ".global": { - "host": "whois.nic.global" + "uol": { + "_group": "nicbr", + "_type": "newgtld", + "host": "whois.gtlds.nic.br" }, - ".host": { - "host": "whois.nic.host" + "ups": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.ups" }, - ".press": { - "host": "whois.nic.press" + "us": { + "host": "whois.nic.us" }, - ".hamburg": { - "host": "whois.nic.hamburg" + "uy": { + "host": "whois.nic.org.uy" }, - ".brussels": { - "host": "whois.nic.brussels" + "com.uy": { + "adapter": "web", + "url": "https://nic.anteldata.com.uy/dns/consultaWhois/whois.action" }, - ".ceo": { - "host": "whois.nic.ceo" + "uz": { + "host": "whois.cctld.uz" }, - ".whoswho": { - "host": "whois.nic.whoswho" + "va": { + "adapter": "none" }, - ".sydney": { - "host": "whois.nic.sydney" + "vacations": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.vacations" }, - ".taipei": { - "host": "whois.nic.taipei" + "vana": { + "_type": "newgtld", + "host": "whois.nic.vana" }, - ".cancerresearch": { - "host": "whois.nic.cancerresearch" + "vanguard": { + "_type": "newgtld", + "host": "whois.nic.vanguard" }, - ".cuisinella": { - "host": "whois.nic.cuisinella" + "vc": { + "host": "whois.afilias-grs.info", + "adapter": "afilias" }, - ".schmidt": { - "host": "whois.nic.schmidt" + "ve": { + "host": "whois.nic.ve" }, - ".nrw": { - "host": "whois.nic.nrw" + "vegas": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".scb": { - "host": "whois.nic.scb" + "ventures": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.ventures" }, - ".lacaixa": { - "host": "whois.nic.lacaixa" + "verisign": { + "_type": "newgtld", + "host": "whois.nic.verisign" }, - ".vlaanderen": { - "host": "whois.nic.vlaanderen" + "versicherung": { + "_type": "newgtld", + "host": "whois.nic.versicherung" }, - ".sony": { - "host": "whois.nic.sony" + "vet": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.vet" }, - ".tirol": { - "host": "whois.nic.tirol" + "vg": { + "host": "whois.nic.vg" }, - ".wien": { - "host": "whois.nic.wien" + "vi": { + "adapter": "web", + "url": "https://secure.nic.vi/whois-lookup/" }, - ".wiki": { - "host": "whois.nic.wiki" + "viajes": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.viajes" }, - ".statoil": { - "host": "whois.nic.statoil" + "video": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.video" }, - ".nyc": { - "host": "whois.nic.nyc" + "vig": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".samsung": { - "host": "whois.nic.samsung" + "viking": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".doosan": { - "host": "whois.nic.doosan" + "villas": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.villas" }, - ".everbank": { - "host": "whois.nic.everbank" + "vin": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.vin" }, - ".amsterdam": { - "host": "whois.nic.amsterdam" + "vip": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.vip" }, - ".sucks": { - "host": "whois.nic.sucks" + "virgin": { + "_type": "newgtld", + "host": "whois.nic.virgin" }, - ".fans": { - "host": "whois.nic.fans" + "visa": { + "_type": "newgtld", + "host": "whois.nic.visa" }, - ".film": { - "host": "whois.nic.film" + "vision": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.vision" }, - ".wed": { - "host": "whois.nic.wed" + "viva": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.viva" }, - ".latrobe": { - "host": "whois.nic.latrobe" + "vivo": { + "_type": "newgtld", + "adapter": "none" }, - ".sky": { - "host": "whois.nic.sky" + "vlaanderen": { + "_type": "newgtld", + "host": "whois.nic.vlaanderen" }, - ".quebec": { - "host": "whois.nic.quebec" + "vn": { + "adapter": "web", + "url": "http://www.vnnic.vn/en/domain" }, - ".college": { - "host": "whois.nic.college" + "vodka": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.vodka" }, - ".career": { - "host": "whois.nic.career" + "volkswagen": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".moscow": { - "host": "whois.nic.moscow" + "volvo": { + "_type": "newgtld", + "host": "whois.nic.volvo" }, - ".kyoto": { - "host": "whois.nic.kyoto" + "vote": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".one": { - "host": "whois.nic.one" + "voting": { + "_type": "newgtld", + "host": "whois.voting.tld-box.at" }, - ".eurovision": { - "host": "whois.nic.eurovision" + "voto": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".bank": { - "host": "whois.nic.bank" + "voyage": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.voyage" }, - ".lidl": { - "host": "whois.nic.lidl" + "vu": { + "host": "vunic.vu" }, - ".osaka": { - "host": "whois.nic.osaka" + "vuelos": { + "_type": "newgtld", + "adapter": "none" }, - ".trust": { - "host": "whois.nic.trust" + "wales": { + "_type": "newgtld", + "host": "whois.nic.wales" }, - ".gent": { - "host": "whois.nic.gent" + "walmart": { + "_type": "newgtld", + "host": "whois.nic.walmart" }, - ".reit": { - "host": "whois.nic.reit" + "walter": { + "_type": "newgtld", + "host": "whois.nic.walter" }, - ".top": { - "host": "whois.nic.top" + "wang": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".wales": { - "host": "whois.nic.wales" + "wanggou": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.wanggou" }, - ".sca": { - "host": "whois.nic.sca" + "watch": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.watch" }, - ".tatar": { - "host": "whois.nic.tatar" + "watches": { + "_type": "newgtld", + "adapter": "none" }, - ".xerox": { - "host": "whois.nic.xerox" + "weather": { + "_type": "newgtld", + "adapter": "none" }, - ".cymru": { - "host": "whois.nic.cymru" + "weatherchannel": { + "_type": "newgtld", + "adapter": "none" }, - ".wtc": { - "host": "whois.nic.wtc" + "webcam": { + "_type": "newgtld", + "host": "whois.nic.webcam" }, - ".reise": { - "host": "whois.nic.reise" + "weber": { + "_type": "newgtld", + "host": "whois.nic.weber" }, - ".ibm": { - "host": "whois.nic.ibm" + "website": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.website" }, - ".ooo": { - "host": "whois.nic.ooo" + "wed": { + "_type": "newgtld", + "host": "whois.nic.wed" }, - ".icu": { - "host": "whois.nic.icu" + "wedding": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.wedding" }, - ".firmdale": { - "host": "whois.nic.firmdale" + "weibo": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.weibo" }, - ".cricket": { - "host": "whois.nic.cricket" + "weir": { + "_type": "newgtld", + "adapter": "none" }, - ".frl": { - "host": "whois.nic.frl" + "wf": { + "host": "whois.nic.wf" }, - ".study": { - "host": "whois.nic.study" + "whoswho": { + "_type": "newgtld", + "host": "whois.nic.whoswho" }, - ".schwarz": { - "host": "whois.nic.schwarz" + "wien": { + "_type": "newgtld", + "host": "whois.nic.wien" }, - ".doha": { - "host": "whois.nic.doha" + "wiki": { + "_type": "newgtld", + "host": "whois.nic.wiki" }, - ".nec": { - "host": "whois.nic.nec" + "williamhill": { + "_type": "newgtld", + "adapter": "none" }, - ".philips": { - "host": "whois.nic.philips" + "win": { + "_type": "newgtld", + "host": "whois.nic.win" }, - ".sandvik": { - "host": "whois.nic.sandvik" + "windows": { + "_type": "newgtld", + "adapter": "none" }, - ".hyundai": { - "host": "whois.nic.hyundai" + "wine": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.wine" }, - ".kia": { - "host": "whois.nic.kia" + "winners": { + "_type": "newgtld", + "adapter": "none" }, - ".seven": { - "host": "whois.nic.seven" + "wme": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.wme" }, - ".sandvikcoromant": { - "host": "whois.nic.sandvikcoromant" + "wolterskluwer": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.wolterskluwer" }, - ".walter": { - "host": "whois.nic.walter" + "woodside": { + "_type": "newgtld", + "host": "whois.nic.woodside" }, - ".bbva": { - "host": "whois.nic.bbva" + "work": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.work" }, - ".airtel": { - "host": "whois.nic.airtel" + "works": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.works" }, - ".barcelona": { - "host": "whois.nic.barcelona" + "world": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.world" }, - ".bcn": { - "host": "whois.nic.bcn" + "wow": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.wow" }, - ".aeg": { - "host": "whois.nic.aeg" + "ws": { + "host": "whois.website.ws" }, - ".arte": { - "host": "whois.nic.arte" + "wtc": { + "_type": "newgtld", + "host": "whois.nic.wtc" }, - ".genting": { - "host": "whois.nic.genting" + "wtf": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.wtf" }, - ".cba": { - "host": "whois.nic.cba" + "xbox": { + "_type": "newgtld", + "adapter": "none" }, - ".commbank": { - "host": "whois.nic.commbank" + "xerox": { + "_type": "newgtld", + "host": "whois.nic.xerox" }, - ".netbank": { - "host": "whois.nic.netbank" + "xfinity": { + "_type": "newgtld", + "host": "whois.nic.xfinity" }, - ".ricoh": { - "host": "whois.nic.ricoh" + "xihuan": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".starhub": { - "host": "whois.nic.starhub" + "xin": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xin" }, - ".vista": { - "host": "whois.nic.vista" + "xn--11b4c3d": { + "_type": "newgtld", + "host": "whois.nic.xn--11b4c3d" }, - ".jaguar": { - "host": "whois.nic.jaguar" + "xn--1ck2e1b": { + "_group": "amazonregistry", + "_type": "newgtld", + "adapter": "none" }, - ".landrover": { - "host": "whois.nic.landrover" + "xn--1qqw23a": { + "_group": "ngtld", + "_type": "newgtld", + "host": "whois.ngtld.cn" }, - ".rwe": { - "host": "whois.nic.rwe" + "xn--2scrj9c": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".vistaprint": { - "host": "whois.nic.vistaprint" + "xn--30rr7y": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".scor": { - "host": "whois.nic.scor" + "xn--3bst00m": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".accountant": { - "host": "whois.nic.accountant" + "xn--3ds443g": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".omega": { - "host": "whois.nic.omega" + "xn--3e0b707e": { + "host": "whois.kr" }, - ".swatch": { - "host": "whois.nic.swatch" + "xn--3hcrj9c": { + "host": "whois.registry.in" }, - ".bid": { - "host": "whois.nic.bid" + "xn--3oq18vl8pn36a": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xn--3oq18vl8pn36a" }, - ".date": { - "host": "whois.nic.date" + "xn--3pxu8k": { + "_type": "newgtld", + "host": "whois.nic.xn--3pxu8k" }, - ".download": { - "host": "whois.nic.download" + "xn--42c2d9a": { + "_type": "newgtld", + "host": "whois.nic.xn--42c2d9a" }, - ".faith": { - "host": "whois.nic.faith" + "xn--45br5cyl": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".loan": { - "host": "whois.nic.loan" + "xn--45brj9c": { + "host": "whois.registry.in" }, - ".firestone": { - "host": "whois.nic.firestone" + "xn--45q11c": { + "_type": "newgtld", + "adapter": "none" }, - ".party": { - "host": "whois.nic.party" + "xn--4gbrim": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".mtr": { - "host": "whois.nic.mtr" + "xn--54b7fta0cc": { + "adapter": "none" }, - ".virgin": { - "host": "whois.nic.virgin" + "xn--55qw42g": { + "_type": "newgtld", + "host": "whois.conac.cn" }, - ".racing": { - "host": "whois.nic.racing" + "xn--55qx5d": { + "_group": "ngtld", + "_type": "newgtld", + "host": "whois.ngtld.cn" }, - ".review": { - "host": "whois.nic.review" + "xn--5su34j936bgsg": { + "_type": "newgtld", + "host": "whois.nic.xn--5su34j936bgsg" }, - ".science": { - "host": "whois.nic.science" + "xn--5tzm5g": { + "_group": "afiliassrs", + "_type": "newgtld", + "adapter": "none", + "host": "whois.nic.xn--5tzm5g" }, - ".trade": { - "host": "whois.nic.trade" + "xn--6frz82g": { + "_group": "afilias", + "_type": "newgtld", + "host": "whois.afilias.net" }, - ".webcam": { - "host": "whois.nic.webcam" + "xn--6qq986b3xl": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".win": { - "host": "whois.nic.win" + "xn--80adxhks": { + "_type": "newgtld", + "host": "whois.nic.xn--80adxhks" }, - ".cloud": { - "host": "whois.nic.cloud" + "xn--80ao21a": { + "host": "whois.nic.kz" }, - ".ice": { - "host": "whois.nic.ice" + "xn--80aqecdr1a": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".lexus": { - "host": "whois.nic.lexus" + "xn--80asehdb": { + "_group": "corenic", + "_type": "newgtld", + "host": "whois.online.rs.corenic.net" }, - ".man": { - "host": "whois.nic.man" + "xn--80aswg": { + "_group": "corenic", + "_type": "newgtld", + "host": "whois.online.rs.corenic.net" }, - ".sanofi": { - "host": "whois.nic.sanofi" + "xn--8y0a063a": { + "_type": "newgtld", + "host": "whois.imena.bg" }, - ".tatamotors": { - "host": "whois.nic.tatamotors" + "xn--90a3ac": { + "host": "whois.rnids.rs" }, - ".toyota": { - "host": "whois.nic.toyota" + "xn--90ae": { + "adapter": "none" }, - ".lixil": { - "host": "whois.nic.lixil" + "xn--90ais": { + "host": "whois.cctld.by" }, - ".boots": { - "host": "whois.nic.boots" + "xn--9dbq2a": { + "_type": "newgtld", + "host": "whois.nic.xn--9dbq2a" }, - ".chanel": { - "host": "whois.nic.chanel" + "xn--9et52u": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".xperia": { - "host": "whois.nic.xperia" + "xn--9krt00a": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xn--9krt00a" }, - ".gdn": { - "host": "whois.nic.gdn" + "xn--b4w605ferd": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".giving": { - "host": "whois.nic.giving" + "xn--bck1b9a5dre4c": { + "_group": "amazonregistry", + "_type": "newgtld", + "adapter": "none" }, - ".seek": { - "host": "whois.nic.seek" + "xn--c1avg": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.publicinterestregistry.net" }, - ".csc": { - "host": "whois.nic.csc" + "xn--c2br7g": { + "_type": "newgtld", + "host": "whois.nic.xn--c2br7g" }, - ".sbs": { - "host": "whois.nic.sbs" + "xn--cck2b3b": { + "_group": "amazonregistry", + "_type": "newgtld", + "adapter": "none" }, - ".xn--efvy88h": { - "host": "whois.nic.xn--efvy88h" + "xn--cg4bki": { + "_type": "newgtld", + "host": "whois.kr" }, - ".xn--3pxu8k": { - "host": "whois.nic.xn--3pxu8k" + "xn--clchc0ea0b2g2a9gcd": { + "host": "whois.sgnic.sg" }, - ".xn--42c2d9a": { - "host": "whois.nic.xn--42c2d9a" + "xn--czrs0t": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.xn--czrs0t" }, - ".xn--9dbq2a": { - "host": "whois.nic.xn--9dbq2a" + "xn--czru2d": { + "_group": "knet", + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".xn--c2br7g": { - "host": "whois.nic.xn--c2br7g" + "xn--d1acj3b": { + "_type": "newgtld", + "host": "whois.nic.xn--d1acj3b" }, - ".xn--fhbei": { - "host": "whois.nic.xn--fhbei" + "xn--d1alf": { + "host": "whois.marnet.mk" }, - ".xn--j1aef": { - "host": "whois.nic.xn--j1aef" + "xn--e1a4c": { + "host": "whois.eu" }, - ".xn--mk1bu44c": { - "host": "whois.nic.xn--mk1bu44c" + "xn--eckvdtc9d": { + "_group": "amazonregistry", + "_type": "newgtld", + "adapter": "none" }, - ".xn--pssy2u": { - "host": "whois.nic.xn--pssy2u" + "xn--efvy88h": { + "_type": "newgtld", + "host": "whois.nic.xn--efvy88h" }, - ".xn--t60b56a": { - "host": "whois.nic.xn--t60b56a" + "xn--fct429k": { + "_group": "amazonregistry", + "_type": "newgtld", + "adapter": "none" }, - ".xn--tckwe": { - "host": "whois.nic.xn--tckwe" + "xn--fhbei": { + "_type": "newgtld", + "host": "whois.nic.xn--fhbei" }, - ".xn--ngbc5azd": { - "host": "whois.nic.xn--ngbc5azd" + "xn--fiq228c5hs": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".xn--80adxhks": { - "host": "whois.nic.xn--80adxhks" + "xn--fiq64b": { + "_type": "newgtld", + "host": "whois.gtld.knet.cn" }, - ".xn--kcrx77d1x4a": { - "host": "whois.nic.xn--kcrx77d1x4a" + "xn--fiqs8s": { + "host": "cwhois.cnnic.cn" }, - ".aaa": { - "adapter": "none" + "xn--fiqz9s": { + "host": "cwhois.cnnic.cn" }, - ".fox": { - "adapter": "none" + "xn--fjq720a": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.xn--fjq720a" }, - ".safety": { - "adapter": "none" + "xn--flw351e": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".statefarm": { - "adapter": "none" + "xn--fpcrj9c3d": { + "host": "whois.registry.in" }, - ".dealer": { - "adapter": "none" + "xn--fzc2c9e2c": { + "host": "whois.nic.lk" }, - ".mobily": { - "adapter": "none" + "xn--fzys8d69uvgm": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xn--fzys8d69uvgm" }, - ".xn--mgbb9fbpob": { - "adapter": "none" + "xn--g2xx48c": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".wanggou": { + "xn--gckr3f0f": { + "_group": "amazonregistry", + "_type": "newgtld", "adapter": "none" }, - ".sas": { - "adapter": "none" + "xn--gecrj9c": { + "host": "whois.registry.in" }, - ".analytics": { + "xn--gk3at1e": { + "_group": "amazonregistry", + "_type": "newgtld", "adapter": "none" }, - ".lincoln": { - "adapter": "none" + "xn--h2breg3eve": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".jmp": { - "adapter": "none" + "xn--h2brj9c": { + "host": "whois.registry.in" }, - ".ford": { - "adapter": "none" + "xn--h2brj9c8c": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".kpn": { - "adapter": "none" + "xn--hxt814e": { + "_type": "newgtld", + "host": "whois.nic.xn--hxt814e" }, - ".watches": { - "adapter": "none" + "xn--i1b6b1a6a2e": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.publicinterestregistry.net" }, - ".tushu": { + "xn--imr513n": { + "_type": "newgtld", "adapter": "none" }, - ".smile": { - "adapter": "none" + "xn--io0a7i": { + "_group": "ngtld", + "_type": "newgtld", + "host": "whois.ngtld.cn" }, - ".got": { - "adapter": "none" + "xn--j1aef": { + "_type": "newgtld", + "host": "whois.nic.xn--j1aef" }, - ".safe": { - "adapter": "none" + "xn--j1amh": { + "host": "whois.dotukr.com" }, - ".room": { - "adapter": "none" + "xn--j6w193g": { + "host": "whois.hkirc.hk" }, - ".read": { - "adapter": "none" + "xn--jlq61u9w7b": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xn--jlq61u9w7b" }, - ".zero": { + "xn--jvr189m": { + "_group": "amazonregistry", + "_type": "newgtld", "adapter": "none" }, - ".pin": { - "adapter": "none" + "xn--kcrx77d1x4a": { + "_type": "newgtld", + "host": "whois.nic.xn--kcrx77d1x4a" }, - ".like": { - "adapter": "none" + "xn--kprw13d": { + "host": "whois.twnic.net.tw" }, - ".joy": { - "adapter": "none" + "xn--kpry57d": { + "host": "whois.twnic.net.tw" }, - ".jot": { + "xn--kpu716f": { + "_type": "newgtld", "adapter": "none" }, - ".call": { - "adapter": "none" + "xn--kput3i": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.nic.xn--kput3i" }, - ".fast": { + "xn--l1acc": { "adapter": "none" }, - ".cirle": { - "adapter": "none" + "xn--lgbbat1ad8j": { + "host": "whois.nic.dz" }, - ".author": { - "adapter": "none" + "xn--mgb9awbf": { + "host": "whois.registry.om" }, - ".book": { + "xn--mgba3a3ejt": { + "_type": "newgtld", "adapter": "none" }, - ".bot": { - "adapter": "none" + "xn--mgba3a4f16a": { + "host": "whois.nic.ir" }, - ".sfr": { - "adapter": "none" + "xn--mgba7c0bbn0a": { + "_type": "newgtld", + "host": "whois.nic.xn--mgba7c0bbn0a" }, - ".grainger": { - "adapter": "none" + "xn--mgbaakc7dvf": { + "_group": "centralnic", + "host": "whois.centralnic.com" }, - ".rocher": { - "adapter": "none" + "xn--mgbaam7a8h": { + "host": "whois.aeda.net.ae" }, - ".moi": { - "adapter": "none" + "xn--mgbab2bd": { + "_group": "coreregistry", + "_type": "newgtld", + "host": "whois.nic.xn--mgbab2bd" }, - ".meo": { - "adapter": "none" + "xn--mgbah1a3hjkrd": { + "host": "whois.nic.mr" }, - ".gucci": { + "xn--mgbai9azgqp6j": { + "_type": "newgtld", "adapter": "none" }, - ".yamaxun": { - "adapter": "none" + "xn--mgbayh7gpa": { + "adapter": "web", + "url": "http://idn.jo/whois_a.aspx" }, - ".aramco": { - "adapter": "none" + "xn--mgbbh1a": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".dell": { - "adapter": "none" + "xn--mgbbh1a71e": { + "host": "whois.registry.in" }, - ".amica": { + "xn--mgbc0a9azcg": { "adapter": "none" }, - ".kinder": { - "adapter": "none" + "xn--mgbca7dzdo": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".ipiranga": { - "adapter": "none" + "xn--mgberp4a5d4ar": { + "host": "whois.nic.net.sa" }, - ".maif": { - "adapter": "none" + "xn--mgbgu82a": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".itau": { - "adapter": "none" + "xn--mgbi4ecexp": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".hoteles": { + "xn--mgbpl2fh": { "adapter": "none" }, - ".chloe": { - "adapter": "none" + "xn--mgbt3dhd": { + "_group": "agitsys", + "_type": "newgtld", + "host": "whois.nic.xn--mgbt3dhd" }, - ".piaget": { - "adapter": "none" + "xn--mgbtx2b": { + "host": "whois.cmc.iq" }, - ".bloomberg": { - "adapter": "none" + "xn--mgbx4cd0ab": { + "host": "whois.mynic.my" }, - ".yandex": { - "adapter": "none" + "xn--mix891f": { + "host": "whois.monic.mo" }, - ".praxi": { - "adapter": "none" + "xn--mk1bu44c": { + "_type": "newgtld", + "host": "whois.nic.xn--mk1bu44c" }, - ".ryukyu": { - "adapter": "none" + "xn--mxtq1m": { + "_type": "newgtld", + "host": "whois.nic.xn--mxtq1m" }, - ".yokohama": { - "adapter": "none" + "xn--ngbc5azd": { + "_type": "newgtld", + "host": "whois.nic.xn--ngbc5azd" }, - ".williamhill": { - "adapter": "none" + "xn--ngbe9e0a": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.xn--ngbe9e0a" }, - ".suzuki": { - "adapter": "none" + "xn--node": { + "host": "whois.itdc.ge" }, - ".realtor": { - "adapter": "none" + "xn--nqv7f": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.publicinterestregistry.net" }, - ".dnp": { - "adapter": "none" + "xn--nqv7fs00ema": { + "_group": "publicinterestregistry", + "_type": "newgtld", + "host": "whois.nic.xn--nqv7fs00ema" }, - ".jetzt": { + "xn--nyqy26a": { + "_type": "newgtld", "adapter": "none" }, - ".kred": { - "adapter": "none" + "xn--o3cw4h": { + "host": "whois.thnic.co.th" }, - ".nagoya": { - "adapter": "none" + "xn--ogbpf8fl": { + "host": "whois.tld.sy" }, - ".neustar": { + "xn--otu796d": { "adapter": "none" }, - ".okinawa": { - "adapter": "none" + "xn--p1acf": { + "_type": "newgtld", + "host": "whois.nic.xn--p1acf" }, - ".qpon": { - "adapter": "none" + "xn--p1ai": { + "host": "whois.tcinet.ru" }, - ".tokyo": { + "xn--pbt977c": { + "_type": "newgtld", "adapter": "none" }, - ".caravan": { + "xn--pgbs0dh": { "adapter": "none" }, - ".otsuka": { - "adapter": "none" + "xn--pssy2u": { + "_type": "newgtld", + "host": "whois.nic.xn--pssy2u" }, - ".axa": { - "adapter": "none" + "xn--q9jyb4c": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".weir": { - "adapter": "none" + "xn--qcka1pmc": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".sohu": { - "adapter": "none" + "xn--qxam": { + "adapter": "web", + "url": "https://grweb.ics.forth.gr/public/whois.jsp?lang=en" }, - ".ren": { + "xn--rhqv96g": { + "_type": "newgtld", "adapter": "none" }, - ".pharmacy": { + "xn--rovu88b": { + "_group": "amazonregistry", + "_type": "newgtld", "adapter": "none" }, - ".office": { - "adapter": "none" + "xn--rvc1e0am3e": { + "_type": "newgtld", + "host": "whois.registry.in" }, - ".skype": { - "adapter": "none" + "xn--s9brj9c": { + "host": "whois.registry.in" }, - ".bing": { - "adapter": "none" + "xn--ses554g": { + "_type": "newgtld", + "host": "whois.registry.knet.cn" }, - ".hotmail": { - "adapter": "none" + "xn--t60b56a": { + "_type": "newgtld", + "host": "whois.nic.xn--t60b56a" }, - ".microsoft": { - "adapter": "none" + "xn--tckwe": { + "_type": "newgtld", + "host": "whois.nic.xn--tckwe" }, - ".windows": { - "adapter": "none" + "xn--tiq49xqyj": { + "_group": "aridnrs", + "_type": "newgtld", + "host": "whois.aridnrs.net.au" }, - ".jlc": { - "adapter": "none" + "xn--unup4y": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.xn--unup4y" }, - ".accenture": { - "adapter": "none" + "xn--vermgensberater-ctb": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.xn--vermgensberater-ctb" }, - ".jprs": { - "adapter": "none" + "xn--vermgensberatung-pwb": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.xn--vermgensberatung-pwb" }, - ".crown": { - "adapter": "none" + "xn--vhquv": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.xn--vhquv" }, - ".panerai": { - "adapter": "none" + "xn--vuq861b": { + "_group": "ngtld", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".nhk": { - "adapter": "none" + "xn--w4r85el8fhu5dnra": { + "_type": "newgtld", + "host": "whois.nic.xn--w4r85el8fhu5dnra" }, - ".earth": { - "adapter": "none" + "xn--w4rs40l": { + "_type": "newgtld", + "host": "whois.nic.xn--w4rs40l" }, - ".crs": { - "adapter": "none" + "xn--wgbh1c": { + "host": "whois.dotmasr.eg" }, - ".xbox": { - "adapter": "none" + "xn--wgbl6a": { + "host": "whois.registry.qa" }, - ".azure": { - "adapter": "none" + "xn--xhq521b": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".cartier": { - "adapter": "none" + "xn--xkc2al3hye2a": { + "host": "whois.nic.lk" }, - ".ntt": { - "adapter": "none" + "xn--xkc2dl3a5ee0h": { + "host": "whois.registry.in" }, - ".cbn": { - "adapter": "none" + "xn--y9a3aq": { + "host": "whois.amnic.net" }, - ".pictet": { - "adapter": "none" + "xn--yfro4i67o": { + "host": "whois.sgnic.sg" }, - ".aig": { - "adapter": "none" + "xn--ygbi2ammx": { + "host": "whois.pnina.ps" }, - ".cisco": { - "adapter": "none" + "xn--zfr164b": { + "_type": "newgtld", + "host": "whois.conac.cn" }, - ".lupin": { - "adapter": "none" + "xxx": { + "host": "whois.nic.xxx" }, - ".hsbc": { - "adapter": "none" + "xyz": { + "_group": "centralnic", + "_type": "newgtld", + "host": "whois.nic.xyz" }, - ".ping": { - "adapter": "none" + "yachts": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".sapo": { + "yahoo": { + "_type": "newgtld", "adapter": "none" }, - ".iwc": { - "adapter": "none" + "yamaxun": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.yamaxun" }, - ".bible": { + "yandex": { + "_type": "newgtld", "adapter": "none" }, - ".sakura": { + "ye": { "adapter": "none" }, - ".montblanc": { - "adapter": "none" + "yodobashi": { + "_group": "gmo", + "_type": "newgtld", + "host": "whois.nic.gmo" }, - ".bharti": { - "adapter": "none" + "yoga": { + "_group": "mmregistry", + "_type": "newgtld", + "host": "whois.nic.yoga" }, - ".voting": { - "host": "whois.voting.tld-box.at" + "yokohama": { + "_type": "newgtld", + "host": "whois.nic.yokohama" }, - ".samsung": { - "host": "whois.nic.xn--cg4bki" + "you": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.you" }, - - - ".xn--mgba3a3ejt": { - "adapter": "none" + "youtube": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".xn--eckvdtc9d": { - "adapter": "none" + "yt": { + "host": "whois.nic.yt" }, - ".xn--kpu716f": { - "adapter": "none" + "yun": { + "_group": "teleinfo", + "_type": "newgtld", + "host": "whois.teleinfo.cn" }, - ".xn--pbt977c": { + "za": { "adapter": "none" }, - ".xn--rhqv96g": { - "adapter": "none" + "ac.za": { + "host": "whois.ac.za" }, - ".xn--45q11c": { - "adapter": "none" + "alt.za": { + "host": "whois.alt.za" }, - ".xn--imr513n": { - "adapter": "none" + "co.za": { + "host": "coza-whois.registry.net.za" }, - ".xn--nyqy26a": { - "adapter": "none" + "gov.za": { + "host": "whois.gov.za" }, - ".xn--9et52u": { - "host": "whois.nic.wang" + "net.za": { + "host": "net-whois.registry.net.za" }, - ".xn--55qw42g": { - "host": "whois.conac.cn" + "org.za": { + "host": "org-whois.registry.net.za" }, - ".xn--zfr164b": { - "host": "whois.conac.cn" + "web.za": { + "host": "web-whois.registry.net.za" }, - ".xn--cg4bki": { - "host": "whois.kr" + "zappos": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.zappos" }, - ".xn--p1acf": { - "host": "whois.nic.xn--p1acf" + "zara": { + "_group": "afiliassrs", + "_type": "newgtld", + "host": "whois.afilias-srs.net" }, - ".xn--hxt814e": { - "host": "whois.nic.xn--hxt814e" + "zero": { + "_group": "amazonregistry", + "_type": "newgtld", + "host": "whois.nic.zero" }, - ".xn--30rr7y": { - "host": "whois.nic.wang" + "zip": { + "_group": "google", + "_type": "newgtld", + "host": "whois.nic.google" }, - ".doosan": { - "host": "whois.nic.xn--cg4bki" + "zm": { + "host": "whois.zicta.zm" }, - ".xn--cg4bki": { - "host": "whois.kr" + "zone": { + "_group": "donuts", + "_type": "newgtld", + "host": "whois.nic.zone" }, - ".xn--fiq64b": { - "host": "whois.gtld.knet.cn" + "zuerich": { + "_group": "ksregistry", + "_type": "newgtld", + "host": "whois.nic.zuerich" }, - ".xn--ses554g": { - "host": "whois.registry.knet.cn" + "zw": { + "adapter": "none" } } diff --git a/lib/whois.rb b/lib/whois.rb index cdb970999..63336f0bc 100644 --- a/lib/whois.rb +++ b/lib/whois.rb @@ -1,19 +1,14 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ -require 'active_support/core_ext/array/extract_options' -require 'active_support/core_ext/array/wrap' -require 'active_support/core_ext/class/attribute' -require 'active_support/core_ext/kernel/singleton_class' -require 'active_support/core_ext/object/blank' -require 'active_support/core_ext/time/calculations' - require 'whois/version' require 'whois/errors' require 'whois/client' @@ -42,85 +37,44 @@ def lookup(object) Client.new.lookup(object) end - alias_method :whois, :lookup + alias whois lookup - def query(object) - deprecate("Whois.query is now Whois.lookup") - lookup(object) - end - # Checks whether the object represented by object is available. - # - # Warning: this method is only available if a Whois parser exists - # for the top level domain of object. - # If no parser exists for object, you'll receive a - # warning message and the method will return nil. - # This is a technical limitation. Browse the lib/whois/record/parsers - # folder to view all available parsers. - # - # @param [String] object The string to be sent as query parameter. - # It is intended to be a domain name, otherwise this method - # may return unexpected responses. - # @return [Boolean] - # - # @example - # Whois.available?("google.com") - # # => false - # - # @example - # Whois.available?("google-is-not-available-try-again-later.com") - # # => true - # + # @deprecated def available?(object) - result = lookup(object).available? + unless defined? Whois::Parser + warn("Whois.available? requires the gem `whois-parser`") + return + end + + deprecate(%{Whois.available? is deprecated. Call Whois.whois("#{object}").parser.available?}) + + result = lookup(object).parser.available? if result.nil? - warn "This method is not supported for this kind of object.\n" + + warn "This method is not supported for this kind of object.\n" \ "Use Whois.lookup('#{object}') instead." end result end - # Checks whether the object represented by object is registered. - # - # Warning: this method is only available if a Whois parser exists - # for the top level domain of object. - # If no parser exists for object, you'll receive a warning message - # and the method will return nil. - # This is a technical limitation. Browse the lib/whois/record/parsers folder - # to view all available parsers. - # - # @param [String] object The string to be sent as query parameter. - # It is intended to be a domain name, otherwise this method - # may return unexpected responses. - # @return [Boolean] - # - # @example - # Whois.registered?("google.com") - # # => true - # - # @example - # Whois.registered?("google-is-not-available-try-again-later.com") - # # => false - # + # @deprecated def registered?(object) - result = lookup(object).registered? + unless defined? Whois::Parser + warn("Whois.registered? requires the gem `whois-parser`") + return + end + + deprecate(%{Whois.registered? is deprecated. Call Whois.whois("#{object}").parser.registered?}) + + result = lookup(object).parser.registered? if result.nil? - warn "This method is not supported for this kind of object.\n" + + warn "This method is not supported for this kind of object.\n" \ "Use Whois.lookup('#{object}') instead." end result end - - # Echoes a deprecation warning message. - # - # @param [String] message The message to display. - # @return [void] - # - # @api private - # @private def deprecate(message = nil, callstack = caller) - message ||= "You are using deprecated behavior which will be removed from the next major or minor release." # warn("DEPRECATION WARNING: #{message} #{deprecation_caller_message(callstack)}") warn("DEPRECATION WARNING: #{message}") end @@ -135,12 +89,13 @@ def deprecate(message = nil, callstack = caller) # @api private # @private def bug!(error, message) - raise error, message.dup << - " Please report the issue at" << - " http://github.com/weppos/whois/issues" + raise error, message.dup << + " Please report the issue at" \ + " http://github.com/weppos/whois/issues" end - private + + private def deprecation_caller_message(callstack) file, line, method = extract_callstack(callstack) @@ -154,10 +109,10 @@ def deprecation_caller_message(callstack) end def extract_callstack(callstack) - gem_root = File.expand_path("../../../", __FILE__) + "/" + gem_root = "#{File.expand_path('../..', __dir__)}/" offending_line = callstack.find { |line| !line.start_with?(gem_root) } || callstack.first if offending_line - if md = offending_line.match(/^(.+?):(\d+)(?::in `(.*?)')?/) + if (md = offending_line.match(/^(.+?):(\d+)(?::in `(.*?)')?/)) md.captures else offending_line diff --git a/lib/whois/client.rb b/lib/whois/client.rb index c818f120a..28d3807b0 100644 --- a/lib/whois/client.rb +++ b/lib/whois/client.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -88,7 +90,7 @@ def initialize(settings = {}) # def lookup(object) string = object.to_s.downcase - Timeout::timeout(timeout) do + Timeout.timeout(timeout) do @server = Server.guess(string) @server.configure(settings) @server.lookup(string) diff --git a/lib/whois/errors.rb b/lib/whois/errors.rb index 1a9f2715c..215650372 100644 --- a/lib/whois/errors.rb +++ b/lib/whois/errors.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -69,7 +71,7 @@ class NoInterfaceError < InterfaceNotSupported # Raised when the class has found a server but it doesn't support the # standard WHOIS interface via port 43. This is the case of some - # specific domains that only provide a web–based WHOIS interface. (\x01) + # specific domains that only provide a web-based WHOIS interface. (\x01) class WebInterfaceError < InterfaceNotSupported # @return [String] The URL of the web-based WHOIS interface. @@ -87,48 +89,4 @@ def initialize(url) # @!endgroup - - # @!group Parser - - # Generic class for parser errors. - class ParserError < Error - end - - # Raised when the library hasn't been able to load a valid parser - # according to current settings and you're trying to access a property - # that requires a valid parser. - class ParserNotFound < ParserError - end - - # Raised when you are trying to access an attribute that has not been implemented. - class AttributeNotImplemented < ParserError - end - - # Raised when you are trying to access an attribute that is not supported. - class AttributeNotSupported < ParserError - end - - # @!endgroup - - - # @!group Response - - # Generic class for response errors. - class ResponseError < Error - end - - # Raised when attempting to access a property when the response is throttled. - # - # @see Whois::Record::Parser::Base#response_throttled? - class ResponseIsThrottled < ResponseError - end - - # Raised when attempting to access a property when the response is unavailable. - # - # @see Whois::Record::Parser::Base#response_unavailable? - class ResponseIsUnavailable < ResponseError - end - - # @!endgroup - end diff --git a/lib/whois/record.rb b/lib/whois/record.rb index 3ed12ce5a..93d7189f8 100644 --- a/lib/whois/record.rb +++ b/lib/whois/record.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -14,8 +16,6 @@ module Whois class Record - autoload :Parser, 'whois/record/parser' - # @return [Whois::Server] The server that originated this record. attr_reader :server @@ -35,17 +35,6 @@ def initialize(server, parts) end - # Checks if this class respond to given method. - # - # Overrides the default implementation to add support - # for {Parser::PROPERTIES} and {Parser::METHODS}. - # - # @return [Boolean] - # - def respond_to?(symbol, include_private = false) - respond_to_parser_method?(symbol) || super - end - # Returns a String representation of this record. # # @return [String] The record content. @@ -78,7 +67,7 @@ def ==(other) end end - alias_method :eql?, :== + alias eql? == # Invokes {#match} on record {#content} @@ -125,230 +114,6 @@ def content @content ||= parts.map(&:body).join("\n") end - # Lazy-loads and returns the parser proxy for current record. - # - # @return [Whois::Record::Parser] - # - def parser - @parser ||= Parser.new(self) - end - - # Checks if the property passed as symbol - # is supported in any of the parsers. - # - # @param [Symbol] property The name of the property to check. - # @return [Boolean] - # - # @see Whois::Record::Parser#property_any_supported? - # - def property_any_supported?(property) - parser.property_any_supported?(property) - end - - - # @!group Properties - - # Returns a Hash containing all supported properties for this record - # along with corresponding values. - # - # @return [{ Symbol => Object }] - # - def properties - hash = {} - Parser::PROPERTIES.each { |property| hash[property] = send(property) } - hash - end - - # @!endgroup - - - # @!group Methods - - # Shortcut for #registrant_contacts.first. - # - # @return [Whois::Record::Contact] - # If the property is supported and a contact exists. - # @return [nil] - # If the property is not supported or the contact doesn't exist. - # - # @see Whois::Record#registrant_contacts - # - def registrant_contact - if property_any_supported?(:registrant_contacts) - parser.registrant_contacts.first - end - end - - # Shortcut for #admin_contacts.first. - # - # @return [Whois::Record::Contact] - # If the property is supported and a contact exists. - # @return [nil] - # If the property is not supported or the contact doesn't exist. - # - # @see Whois::Record#admin_contacts - # - def admin_contact - if property_any_supported?(:admin_contacts) - parser.admin_contacts.first - end - end - - # Shortcut for #technical_contacts.first. - # - # @return [Whois::Record::Contact] - # If the property is supported and a contact exists. - # @return [nil] - # If the property is not supported or the contact doesn't exist. - # - # @see Whois::Record#technical_contacts - # - def technical_contact - if property_any_supported?(:technical_contacts) - parser.technical_contacts.first - end - end - - # Collects and returns all the contacts. - # - # @return [Array] - # - # @see Whois::Record::Parser#contacts - # - def contacts - parser.contacts - end - - # @!endgroup - - - # @!group Response - - # Checks whether this {Whois::Record} is different than +other+. - # - # Comparing the {Whois::Record} content is not as trivial as you may think. - # WHOIS servers can inject into the WHOIS response strings that changes at every request, - # such as the timestamp the request was generated or the number of requests left - # for your current IP. - # - # These strings causes a simple equal comparison to fail even if - # the registry data is the same. - # - # This method should provide a bulletproof way to detect whether this record - # changed compared with +other+. - # - # @param [Whois::Record] other The other record instance to compare. - # @return [Boolean] - # - # @see Whois::Record::Parser#changed? - # - def changed?(other) - !unchanged?(other) - end - - # The opposite of {#changed?}. - # - # @param [Whois::Record] other The other record instance to compare. - # @return [Boolean] - # - # @see Whois::Record::Parser#unchanged? - # - def unchanged?(other) - unless other.is_a?(self.class) - raise(ArgumentError, "Can't compare `#{self.class}' with `#{other.class}'") - end - - equal?(other) || parser.unchanged?(other.parser) - end - - - # Checks whether this is an incomplete response. - # - # @return [Boolean] - # - # @see Whois::Record::Parser#response_incomplete? - # - def response_incomplete? - parser.response_incomplete? - end - - # Checks whether this is a throttle response. - # - # @return [Boolean] - # - # @see Whois::Record::Parser#response_throttled? - # - def response_throttled? - parser.response_throttled? - end - - # Checks whether this is an unavailable response. - # - # @return [Boolean] - # - # @see Whois::Record::Parser#response_unavailable? - # - def response_unavailable? - parser.response_unavailable? - end - - # @!endgroup - - - private - - # @api private - def self.define_property_method(method) - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(*args, &block) - if property_any_supported?(:#{method}) - parser.#{method}(*args, &block) - end - end - RUBY - end - - # @api private - def self.define_method_method(method) - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(*args, &block) - if parser.respond_to?(:#{method}) - parser.#{method}(*args, &block) - end - end - RUBY - end - - # @api private - def self.define_question_method(method) - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}? - !#{method}.nil? - end - RUBY - end - - def respond_to_parser_method?(symbol) - name = symbol.to_s =~ /\?$/ ? symbol.to_s[0..-2] : symbol - Parser::PROPERTIES.include?(name.to_sym) || Parser::METHODS.include?(name.to_sym) - end - - # Delegates all method calls to the internal parser. - def method_missing(method, *args, &block) - if Parser::PROPERTIES.include?(method) - self.class.define_property_method(method) - send(method, *args, &block) - elsif Parser::METHODS.include?(method) - self.class.define_method_method(method) - send(method, *args, &block) - elsif method.to_s =~ /([a-z_]+)\?/ and (Parser::PROPERTIES + Parser::METHODS).include?($1.to_sym) - self.class.define_question_method($1) - send(method) - else - super - end - end - end end diff --git a/lib/whois/record/contact.rb b/lib/whois/record/contact.rb deleted file mode 100644 index 13f637615..000000000 --- a/lib/whois/record/contact.rb +++ /dev/null @@ -1,66 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/super_struct' - - -module Whois - class Record - - # Holds the details of a contact extracted from the WHOIS response. - # - # A contact is composed by the several attributes, - # accessible through corresponding getter / setter methods. - # - # Please note that a response is not required to provide - # all the attributes. When an attribute is not available, - # the corresponding value is set to nil. - # - # @attr [String] id - # @attr [String] type - # @attr [String] name - # @attr [String] organization - # @attr [String] address - # @attr [String] city - # @attr [String] zip - # @attr [String] state - # @attr [String] country - # @attr [String] country_code - # @attr [String] phone - # @attr [String] fax - # @attr [String] email - # @attr [String] url - e. g. to the contact form - # @attr [Time] created_on - # @attr [Time] updated_on - # - class Contact < SuperStruct.new(:id, :type, :name, :organization, - :address, :city, :zip, :state, :country, :country_code, - :phone, :fax, :email, :url, - :created_on, :updated_on) - - TYPE_REGISTRANT = 1 - TYPE_ADMINISTRATIVE = 2 - TYPE_TECHNICAL = 3 - TYPE_REGISTRAR = 9 - - - def self.const_missing(name) - case name - when :TYPE_ADMIN - Whois.deprecate("Whois::Record::Contact::TYPE_ADMIN is now Whois::Record::Contact::TYPE_ADMINISTRATIVE") - self.const_set(name, TYPE_ADMINISTRATIVE) - else - super - end - end - - end - - end -end diff --git a/lib/whois/record/nameserver.rb b/lib/whois/record/nameserver.rb deleted file mode 100644 index 407e7abfc..000000000 --- a/lib/whois/record/nameserver.rb +++ /dev/null @@ -1,48 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/super_struct' - - -module Whois - class Record - - # Holds the details of the Name Servers extracted from the WHOIS response. - # - # A name server is composed by the several attributes, - # accessible through corresponding getter / setter methods. - # - # Please note that a response is not required to provide - # all the attributes. When an attribute is not available, - # the corresponding value is set to nil. - # - # @attr [String] name - # @attr [String] ipv4 - # @attr [String] ipv6 - # - class Nameserver < SuperStruct.new(:name, :ipv4, :ipv6) - - # Returns a string representation of this object - # composed by the host +name+. - # - # @example - # Nameserver.new(:name => "ns.example.com").to_s - # # => "ns.example.com" - # Nameserver.new.to_s - # # => "" - # - # @return [String] The string representation. - def to_s - name.to_s - end - - end - - end -end diff --git a/lib/whois/record/parser.rb b/lib/whois/record/parser.rb deleted file mode 100644 index 8772757a0..000000000 --- a/lib/whois/record/parser.rb +++ /dev/null @@ -1,398 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -module Whois - class Record - - # The parsing controller that stays behind the {Whois::Record}. - # - # It provides object-oriented access to a WHOIS response. - # The list of properties and methods is available - # in the following constants: - # - # * {Whois::Record::Parser::METHODS} - # * {Whois::Record::Parser::PROPERTIES} - # - class Parser - - METHODS = [ - :contacts, - :changed?, :unchanged?, - # :response_incomplete?, :response_throttled?, :response_unavailable?, - # :referral_whois, :referral_url, - ] - - PROPERTIES = [ - :disclaimer, - :domain, :domain_id, - :status, :available?, :registered?, - :created_on, :updated_on, :expires_on, - :registrar, - :registrant_contacts, :admin_contacts, :technical_contacts, - :nameservers, - ] - - PROPERTY_STATE_NOT_IMPLEMENTED = :not_implemented - PROPERTY_STATE_NOT_SUPPORTED = :not_supported - PROPERTY_STATE_SUPPORTED = :supported - - - # Returns the proper parser instance for given part. - # The parser class is selected according to the - # value of the #host attribute for given part. - # - # @param [Whois::Record::Part] part The part to get the parser for. - # - # @return [Whois::Record::Parser::Base] - # An instance of the specific parser for given part. - # The instance is expected to be a child of {Whois::Record::Parser::Base}. - # - # @example - # - # # Parser for a known host - # Parser.parser_for("whois.example.com") - # # => # - # - # # Parser for an unknown host - # Parser.parser_for("missing.example.com") - # # => # - # - def self.parser_for(part) - parser_klass(part.host).new(part) - rescue LoadError - Parser.const_defined?("Blank") || autoload("blank") - Parser::Blank.new(part) - end - - # Detects the proper parser class according to given host - # and returns the class constant. - # - # This method autoloads missing parser classes. If you want to define - # a custom parser, simple make sure the class is loaded in the Ruby - # environment before this method is called. - # - # @param [String] host The server host. - # - # @return [Class] The instance of Class representing the parser Class - # corresponding to host. If host doesn't have - # a specific parser implementation, then returns - # the {Whois::Record::Parser::Blank} {Class}. - # The {Class} is expected to be a child of {Whois::Record::Parser::Base}. - # @raises LoadError If the class is not found. - # - # @example - # - # Parser.parser_klass("whois.example.com") - # # => Whois::Record::Parser::WhoisExampleCom - # - def self.parser_klass(host) - name = host_to_parser(host) - Parser.const_defined?(name) || autoload(host) - Parser.const_get(name) - end - - # Converts host to the corresponding parser class name. - # - # @param [String] host The server host. - # @return [String] The class name. - # - # @example - # - # Parser.host_to_parser("whois.nic.it") - # # => "WhoisNicIt" - # - # Parser.host_to_parser("whois.nic-info.it") - # # => "WhoisNicInfoIt" - # - def self.host_to_parser(host) - host.to_s.downcase. - gsub(/[.-]/, '_'). - gsub(/(?:^|_)(.)/) { $1.upcase }. - gsub(/\A(\d+)\z/) { "Host#{$1}" } - end - - # Requires the file at whois/record/parser/#{name}. - # - # @param [String] name The file name to load. - # - # @return [void] - # - def self.autoload(name) - require "whois/record/parser/#{name}" - end - - - # @return [Whois::Record] The record referenced by this parser. - attr_reader :record - - - # Initializes and return a new parser from +record+. - # - # @param [Whois::Record] record - # - def initialize(record) - @record = record - end - - # Checks if this class respond to given method. - # - # Overrides the default implementation to add support - # for {PROPERTIES} and {METHODS}. - # - # @return [Boolean] - def respond_to?(symbol, include_private = false) - respond_to_parser_method?(symbol) || super - end - - - # Returns an array with all host-specific parsers initialized for the parts - # contained into this parser. - # The array is lazy-initialized. - # - # @return [Array] - # - def parsers - @parsers ||= init_parsers - end - - # Checks if the property passed as symbol - # is supported in any of the parsers. - # - # @return [Boolean] - # - # @see Whois::Record::Parser::Base.property_supported? - # - def property_any_supported?(property) - parsers.any? { |parser| parser.property_supported?(property) } - end - - # Checks if the property passed as symbol - # is "not implemented" in any of the parsers. - # - # @return [Boolean] - # - def property_any_not_implemented?(property) - parsers.any? { |parser| parser.class.property_state?(property, Whois::Record::Parser::PROPERTY_STATE_NOT_IMPLEMENTED) } - end - - - # @!group Methods - - # Collects and returns all the contacts from all the record parts. - # - # @return [Array] - # - # @see Whois::Record#contacts - # @see Whois::Record::Parser::Base#contacts - # - def contacts - parsers.map(&:contacts).flatten - end - - # @!endgroup - - - # @!group Response - - # Loop through all the record parts to check - # if at least one part changed. - # - # @param [Whois::Record::Parser] other The other parser instance to compare. - # @return [Boolean] - # - # @see Whois::Record#changed? - # @see Whois::Record::Parser::Base#changed? - # - def changed?(other) - !unchanged?(other) - end - - # The opposite of {#changed?}. - # - # @param [Whois::Record::Parser] other The other parser instance to compare. - # @return [Boolean] - # - # @see Whois::Record#unchanged? - # @see Whois::Record::Parser::Base#unchanged? - # - def unchanged?(other) - unless other.is_a?(self.class) - raise(ArgumentError, "Can't compare `#{self.class}' with `#{other.class}'") - end - - equal?(other) || - parsers.size == other.parsers.size && all_in_parallel?(parsers, other.parsers) { |one, two| one.unchanged?(two) } - end - - - # Loop through all the parts to check if at least - # one part is an incomplete response. - # - # @return [Boolean] - # - # @see Whois::Record#response_incomplete? - # @see Whois::Record::Parser::Base#response_incomplete? - # - def response_incomplete? - any_is?(parsers, :response_incomplete?) - end - - # Loop through all the parts to check if at least - # one part is a throttle response. - # - # @return [Boolean] - # - # @see Whois::Record#response_throttled? - # @see Whois::Record::Parser::Base#response_throttled? - # - def response_throttled? - any_is?(parsers, :response_throttled?) - end - - # Loop through all the parts to check if at least - # one part is an unavailable response. - # - # @return [Boolean] - # - # @see Whois::Record#response_unavailable? - # @see Whois::Record::Parser::Base#response_unavailable? - # - def response_unavailable? - any_is?(parsers, :response_unavailable?) - end - - # @!endgroup - - - private - - # @api private - def self.define_property_method(method) - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(*args, &block) - delegate_property_to_parsers(:#{method}, *args, &block) - end - RUBY - end - - # @api private - def self.define_method_method(method) - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(*args, &block) - delegate_method_to_parsers(:#{method}, *args, &block) - end - RUBY - end - - def respond_to_parser_method?(symbol) - Parser::PROPERTIES.include?(symbol) || Parser::METHODS.include?(symbol) - end - - def method_missing(method, *args, &block) - if PROPERTIES.include?(method) - self.class.define_property_method(method) - send(method, *args, &block) - elsif METHODS.include?(method) - self.class.define_method_method(method) - send(method, *args, &block) - else - super - end - end - - def delegate_property_to_parsers(method, *args, &block) - if parsers.empty? - raise ParserError, "Unable to select a parser because the Record is empty" - elsif (parser = select_parser { |p| p.class.property_state?(method, PROPERTY_STATE_SUPPORTED) }) - parser.send(method, *args, &block) - elsif (parser = select_parser { |p| p.class.property_state?(method, PROPERTY_STATE_NOT_SUPPORTED) }) - parser.send(method, *args, &block) - else - raise AttributeNotImplemented, "Unable to find a parser for property `#{method}'" - end - end - - def delegate_method_to_parsers(method, *args, &block) - if parsers.empty? - raise ParserError, "Unable to select a parser because the Record is empty" - elsif (parser = select_parser { |p| p.respond_to?(method) }) - parser.send(method, *args, &block) - else - nil - end - end - - # Loops through all record parts, for each part - # tries to guess the appropriate parser object whenever available, - # and returns the final array of server-specific parsers. - # - # Parsers are initialized in reverse order for performance reason. - # - # @return [Array] An array of Class, - # where each item is the parts reverse-N specific parser {Class}. - # Each {Class} is expected to be a child of {Whois::Record::Parser::Base}. - # - # @example - # - # parser.parts - # # => [whois.foo.com, whois.bar.com] - # - # parser.parsers - # # => [Whois::Record::Parser::WhoisBarCom, Whois::Record::Parser::WhoisFooCom] - # - # @api private - def init_parsers - record.parts.reverse.map { |part| self.class.parser_for(part) } - end - - # Selects the first parser in {#parsers} where blocks evaluates to true. - # - # @return [Whois::Record::Parser::Base] - # The parser for which the block returns true. - # @return [nil] - # If the parser wasn't found. - # - # @yield [parser] - # - # @example - # - # select_parser { |parser| parser.class.property_state?(:nameserver, :any) } - # # => # - # select_parser { |parser| parser.class.property_state?(:nameservers, PROPERTY_STATE_SUPPORTED) } - # # => nil - # - # @api private - def select_parser(&block) - parsers.each do |parser| - return parser if block.call(parser) - end - nil - end - - # @api private - def all_in_parallel?(*args) - count = args.first.size - index = 0 - - while index < count - return false unless yield(*args.map { |arg| arg[index] }) - index += 1 - end - true - end - - # @api private - def any_is?(collection, symbol) - collection.any? { |item| item.is(symbol) } - end - - end - - end -end diff --git a/lib/whois/record/parser/base.rb b/lib/whois/record/parser/base.rb deleted file mode 100644 index 43fc95cfa..000000000 --- a/lib/whois/record/parser/base.rb +++ /dev/null @@ -1,399 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'time' -require 'whois/record/contact' -require 'whois/record/registrar' -require 'whois/record/nameserver' -require 'whois/record/scanners/scannable' - - -module Whois - class Record - class Parser - - # Represents the abstract base parser class for all - # server-specific parser implementations. - # - # NOTE. This class is for the most part auto-generated via meta programming. - # This is the reason why RDoc can't detect and document all available methods. - # - # @abstract - # - class Base - - class_attribute :_properties - self._properties = {} - - # Returns the status for the +property+ passed as symbol. - # - # @param [Symbol] property - # @return [Symbol, nil] - # - # @example Undefined property - # property_state(:disclaimer) - # # => nil - # - # @example Defined property - # property_register(:disclaimer, Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) {} - # property_state(:disclaimer) - # # => :supported - # - def self.property_state(property) - self._properties[property] - end - - # Check if the +property+ passed as symbol - # is registered in the registry for current parser. - # - # @param [Symbol] property - # @param [Symbol] status - # @return [Boolean] - # - # @example Not-registered property - # property_state?(:disclaimer) - # # => false - # - # @example Registered property - # property_register(:disclaimer) {} - # property_state?(:disclaimer) - # # => true - # - def self.property_state?(property, status = :any) - if status == :any - self._properties.key?(property) - else - self._properties[property] == status - end - end - - # Registers a property in the registry. - # - # @param [Symbol] property - # @param [Symbol] status - # - # @return [void] - # - def self.property_register(property, status) - self._properties = self._properties.merge({ property => status }) - end - - - # Registers a property as "not implemented" - # and defines the corresponding private _property_PROPERTY method. - # - # A "not implemented" property always raises a AttributeNotImplemented error - # when the property method is called. - # - # @param [Symbol] property - # @return [void] - # - # @example Defining a not implemented property - # # Defines a not implemented property called :disclaimer. - # property_not_implemented(:disclaimer) - # - def self.property_not_implemented(property) - property_register(property, Whois::Record::Parser::PROPERTY_STATE_NOT_IMPLEMENTED) - - class_eval(<<-RUBY, __FILE__, __LINE__ + 1) - def _property_#{property}(*args) - raise AttributeNotImplemented - end - - private :_property_#{property} - RUBY - end - - # Registers a property as "not supported" - # and defines the corresponding private _property_PROPERTY method. - # - # A "not supported" property always raises a AttributeNotSupported error - # when the property method is called. - # - # @param [Symbol] property - # @return [void] - # - # @example Defining an unsupported property - # # Defines an unsupported property called :disclaimer. - # property_not_supported(:disclaimer) - # - def self.property_not_supported(property) - property_register(property, Whois::Record::Parser::PROPERTY_STATE_NOT_SUPPORTED) - - class_eval(<<-RUBY, __FILE__, __LINE__ + 1) - def _property_#{property}(*args) - raise AttributeNotSupported - end - - private :_property_#{property} - RUBY - end - - # Registers a property as "supported" - # and defines the corresponding private _property_PROPERTY method. - # - # @param [Symbol] property - # @return [void] - # - # @example Defining a supported property - # # Defines a supported property called :disclaimer. - # property_supported(:disclaimer) do - # ... - # end - # - def self.property_supported(property, &block) - property_register(property, Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) - - define_method("_property_#{property}", &block) - private :"_property_#{property}" - end - - # Checks if the property passed as symbol - # is supported by the current parser. - # - # @param [Symbol] property The name of the property to check. - # @return [Boolean] - # - def property_supported?(property) - self.class.property_state?(property, Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) - end - - - - # @return [Whois::Record::Part] The part referenced by this parser. - attr_reader :part - - # Initializes a new parser with given +part+. - # - # @param [Whois::Record::Part] part - # - def initialize(part) - @part = part - @cached_properties = {} - end - - - # This is an internal method primary used as a common access point - # to get the content to be parsed as a string. - # - # The main reason behind this method is because, in the past, - # the internal representation of the data to be parsed changed - # several times, and I always had to rewrite all single parsers - # in order to reflect these changes. - # Now, as far as the parser access the data via the content method, - # there's no need to change each single implementation - # in case the content source changes. - # - # That said, the only constraints about this method - # is to return the data to be parsed as string. - # - # @return [String] The part body. - def content - part.body - end - - # Check if the parser respond to +symbol+ - # and calls the method if defined. - # The method referenced by the +symbol+ - # is supposed to be a question? method and to return a boolean. - # - # @param [Symbol] symbol - # @return [Boolean] - # - # @example - # is(:response_throttled?) - # # => true - # - # @api private - def is(symbol) - respond_to?(symbol) && send(symbol) - end - - # @api private - def validate! - raise ResponseIsThrottled if is(:response_throttled?) - raise ResponseIsUnavailable if is(:response_unavailable?) - end - - - # @!group Properties - - Whois::Record::Parser::PROPERTIES.each do |property| - class_eval(<<-RUBY, __FILE__, __LINE__ + 1) - def #{property}(*args) - handle_property(:#{property}, *args) - end - RUBY - - property_not_implemented(property) - end - - # @!endgroup - - - # @!group Methods - - # Collects and returns all the available contacts. - # - # @return [Array] - # - # @see Whois::Record#contacts - # @see Whois::Record::Parser#contacts - # - def contacts - [:registrant_contacts, :admin_contacts, :technical_contacts].inject([]) do |contacts, property| - contacts += send(property) if property_supported?(property) - contacts - end - end - - # @!endgroup - - - # @!group Response - - # Checks whether the content of this part is different than +other+. - # - # Comparing a WHOIS response is not as trivial as you may think. - # WHOIS servers can inject into the WHOIS response strings - # that changes at every request, such as the timestamp the request - # was generated or the number of requests left for your current IP. - # - # These strings causes a simple equal comparison to fail even if - # the registry data is the same. - # - # This method should provide a bulletproof way to detect - # whether this record changed compared with +other+. - # - # @param [Base] other The other parser instance to compare. - # @return [Boolean] - # - # @see Whois::Record#changed? - # @see Whois::Record::Parser#changed? - # - def changed?(other) - !unchanged?(other) - end - - # The opposite of {#changed?}. - # - # @param [Base] other The other parser instance to compare. - # @return [Boolean] - # - # @see Whois::Record#unchanged? - # @see Whois::Record::Parser#unchanged? - # - def unchanged?(other) - unless other.is_a?(self.class) - raise(ArgumentError, "Can't compare `#{self.class}' with `#{other.class}'") - end - - equal?(other) || - content_for_scanner == other.content_for_scanner - end - - - # Checks whether this is an incomplete response. - # - # @return [Boolean] - # - # @abstract This method is just a stub. - # Define it in your parser class. - # - # @see Whois::Record#response_incomplete? - # @see Whois::Record::Parser#response_incomplete? - # - def response_incomplete? - end - - # Checks whether this is a throttle response. - # - # @return [Boolean] - # - # @abstract This method is just a stub. - # Define it in your parser class. - # - # @see Whois::Record#response_throttled? - # @see Whois::Record::Parser#response_throttled? - # - def response_throttled? - end - - # Checks whether this response contains a message - # that can be reconducted to a "WHOIS Server Unavailable" status. - # - # Some WHOIS servers returns error messages - # when they are experiencing failures. - # - # @return [Boolean] - # - # @abstract This method is just a stub. - # Define it in your parser class. - # - # @see Whois::Record#response_unavailable? - # @see Whois::Record::Parser#response_unavailable? - # - def response_unavailable? - end - - # Let them be documented - undef response_incomplete? - undef response_throttled? - undef response_unavailable? - - # @!endgroup - - - protected - - def content_for_scanner - @content_for_scanner ||= content.to_s.gsub(/\r\n/, "\n") - end - - def cached_properties_fetch(key) - if !@cached_properties.key?(key) - @cached_properties[key] = yield - end - @cached_properties[key] - end - - - private - - def typecast(value, type) - if Array == type - Array.wrap(value) - else - value - end - end - - def handle_property(property, *args) - unless property_supported?(property) - return send(:"_property_#{property}", *args) - end - - cached_properties_fetch(property) do - validate! - value = send(:"_property_#{property}", *args) - - case property.to_s - when /_contacts$/, "nameservers" - typecast(value, Array) - else - value - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_afilias.rb b/lib/whois/record/parser/base_afilias.rb deleted file mode 100644 index caf2b2a32..000000000 --- a/lib/whois/record/parser/base_afilias.rb +++ /dev/null @@ -1,141 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_afilias' - - -module Whois - class Record - class Parser - - # Base parser for Afilias servers. - # - # @abstract - class BaseAfilias < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseAfilias - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - Array.wrap(node("Status")) - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Created On") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Last Updated On") do |value| - Time.parse(value) - end - end - - property_supported :expires_on do - node("Expiration Date") do |value| - Time.parse(value) - end - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - id, name = decompose_registrar(value) || - Whois.bug!(ParserError, "Unknown registrar format `#{value}'") - - Record::Registrar.new( - id: id, - name: name - ) - end - end - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).reject(&:empty?).map do |name| - Nameserver.new(:name => name.downcase) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = ["", "1", "2", "3"]. - map { |i| node("#{element} Street#{i}") }. - delete_if { |i| i.nil? || i.empty? }. - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country"), - :phone => node("#{element} Phone"), - :fax => node("#{element} FAX") || node("#{element} Fax"), - :email => node("#{element} Email") - ) - end - end - - def decompose_registrar(value) - if value =~ /(.+?) \((.+?)\)/ - [$2, $1] - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_afilias2.rb b/lib/whois/record/parser/base_afilias2.rb deleted file mode 100644 index 83531d983..000000000 --- a/lib/whois/record/parser/base_afilias2.rb +++ /dev/null @@ -1,138 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_afilias' - - -module Whois - class Record - class Parser - - # Base parser for Afilias servers. - # - # @abstract - class BaseAfilias2 < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseAfilias - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - Array.wrap(node("Domain Status")) - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Creation Date") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Updated Date") do |value| - Time.parse(value) - end - end - - property_supported :expires_on do - node("Registry Expiry Date") do |value| - Time.parse(value) - end - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - id, name = if value =~ /(.+?) \((.+?)\)/ - [$2, $1] - else - [node("Sponsoring Registrar IANA ID"), node("Sponsoring Registrar")] - end - - Record::Registrar.new({ - id: id, - name: name, - }) - end - end - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).reject(&:empty?).map do |name| - Nameserver.new(name: name.downcase) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = ["", "1", "2", "3"]. - map { |i| node("#{element} Street#{i}") }. - delete_if { |i| i.nil? || i.empty? }. - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country"), - :phone => node("#{element} Phone"), - :fax => node("#{element} FAX") || node("#{element} Fax"), - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_cocca.rb b/lib/whois/record/parser/base_cocca.rb deleted file mode 100644 index ad46ec428..000000000 --- a/lib/whois/record/parser/base_cocca.rb +++ /dev/null @@ -1,99 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Base parser for CoCCA servers. - # - # @abstract - class BaseCocca < Base - - class_attribute :status_mapping - - self.status_mapping = { - "active" => :registered, - "delegated" => :registered, - "not registered" => :available, - } - - - property_supported :domain do - content_for_scanner =~ /Query:\s+(.+?)\n/ - $1 || Whois.bug!(ParserError, "Unable to parse domain.") - end - - property_not_supported :domain_id - - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - status = $1.downcase - self.class.status_mapping[status] || Whois.bug!(ParserError, "Unknown status `#{status}'.") - else - Whois.bug!(ParserError, "Unable to parse status.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Modified:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expires:\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - if content_for_scanner =~ /Registrar Name: (.+)\n/ - Record::Registrar.new( - name: $1, - organization: nil, - url: content_for_scanner.slice(/Registration URL: (.+)\n/, 1) - ) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_cocca2.rb b/lib/whois/record/parser/base_cocca2.rb deleted file mode 100644 index 4ba02852e..000000000 --- a/lib/whois/record/parser/base_cocca2.rb +++ /dev/null @@ -1,100 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_cocca2.rb' - - -module Whois - class Record - class Parser - - # Base parser for CoCCA servers. - # - # @abstract - class BaseCocca2 < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseCocca2 - - - property_supported :domain do - node("Domain Name") - end - - property_supported :domain_id do - node("Domain ID") - end - - - # TODO: /pending delete/ => :redemption - # TODO: /pending purge/ => :redemption - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - case - when list.include?("no object found") - :available - when list.include?("ok") - :registered - else - Whois.bug!(ParserError, "Unknown status `#{list.join(", ")}'.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Creation Date") { |value| parse_time(value) } - end - - property_supported :updated_on do - node("Updated Date") { |value| parse_time(value) unless value.empty? } - end - - property_supported :expires_on do - node("Registry Expiry Date") { |value| parse_time(value) } - end - - - property_supported :registrar do - if node("Sponsoring Registrar") - Record::Registrar.new( - id: node("Sponsoring Registrar IANA ID").presence, - name: node("Sponsoring Registrar"), - url: node("Sponsoring Registrar URL").presence - ) - end - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Record::Nameserver.new(name: name) - end - end - - - private - - def parse_time(value) - Time.parse(value).change(usec: 0) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_icann_compliant.rb b/lib/whois/record/parser/base_icann_compliant.rb deleted file mode 100644 index c7c0c43a9..000000000 --- a/lib/whois/record/parser/base_icann_compliant.rb +++ /dev/null @@ -1,159 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Base parser for ICANN Compliant servers. - # - # @see http://www.icann.org/en/resources/registrars/raa/approved-with-specs-27jun13-en.htm#whois - # - # @author Simone Carletti - # @author Igor Dolzhikov - # - class BaseIcannCompliant < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseIcannCompliant - - - property_supported :domain do - node('Domain Name', &:downcase) - end - - property_supported :domain_id do - node('Registry Domain ID') - end - - - property_supported :status do - # status = Array.wrap(node('Domain Status')) - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node('status:available') - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node('Creation Date') do |value| - parse_time(value) - end - end - - property_supported :updated_on do - node('Updated Date') do |value| - parse_time(value) - end - end - - property_supported :expires_on do - node('Registrar Registration Expiration Date') do |value| - parse_time(value) - end - end - - - property_supported :registrar do - return unless node('Registrar') - Record::Registrar.new( - id: node('Registrar IANA ID'), - name: node('Registrar'), - organization: node('Registrar'), - url: node('Registrar URL'), - ) - end - - - property_supported :registrant_contacts do - build_contact('Registrant', Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact('Admin', Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact('Tech', Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node('Name Server') || node('Name Servers')).reject(&:empty?).map do |name| - Nameserver.new(name: name.downcase) - end - end - - - protected - - def build_contact(element, type) - node("#{element} Name") do - Record::Contact.new( - type: type, - id: node("Registry #{element} ID").presence, - name: value_for_property(element, 'Name'), - organization: contact_organization_attribute(element), - address: contact_address_attribute(element), - city: value_for_property(element, 'City'), - zip: value_for_property(element, 'Postal Code'), - state: value_for_property(element, 'State/Province'), - country_code: value_for_property(element, 'Country'), - phone: value_for_phone_property(element, 'Phone'), - fax: value_for_phone_property(element, 'Fax'), - email: value_for_property(element, 'Email') - ) - end - end - - def contact_organization_attribute(element) - value_for_property(element, 'Organization') - end - - def contact_address_attribute(element) - value_for_property(element, 'Street') - end - - - private - - def parse_time(value) - Time.parse(value) - end - - def value_for_phone_property(element, property) - [ - value_for_property(element, "#{property}"), - value_for_property(element, "#{property} Ext") - ].reject(&:empty?).join(' ext: ') - end - - def value_for_property(element, property) - Array.wrap(node("#{element} #{property}")).reject(&:empty?).join(', ') - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_icb.rb b/lib/whois/record/parser/base_icb.rb deleted file mode 100644 index 79c5ddf52..000000000 --- a/lib/whois/record/parser/base_icb.rb +++ /dev/null @@ -1,94 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - class BaseIcb < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if registered? - content_for_scanner.match(/^Domain : (.+)\n/)[1] - elsif available? - content_for_scanner.match(/^Domain (.+) is available/)[1] - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^Domain (.+?) is available/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiry : (.+?)\n/ - Time.parse($1) - end - end - - - property_not_supported :registrar - - property_supported :registrant_contacts do - lines = content_for_scanner.scan(/^Owner\s+: (.+)\n/).flatten - return if lines.empty? - - Record::Contact.new( - type: Record::Contact::TYPE_REGISTRANT, - name: lines[0], - organization: lines[1], - address: lines[2], - zip: nil, - state: lines[4], - city: lines[3], - country: lines[5] - ) - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/^NS \d\s+: (.+)/).flatten.map do |name| - Record::Nameserver.new(name: name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_iisse.rb b/lib/whois/record/parser/base_iisse.rb deleted file mode 100644 index 73bf7a1cc..000000000 --- a/lib/whois/record/parser/base_iisse.rb +++ /dev/null @@ -1,113 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_iisse' - - -module Whois - class Record - class Parser - - # Base parser for IIS.se servers. - class BaseIisse < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseIisse - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("domain") - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("created") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("expires") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("modified") { |value| Time.parse(value) unless value == "-" } - end - - - property_supported :registrar do - node("registrar") { |name| Record::Registrar.new(name: name) unless name == "-" } - end - - - property_supported :registrant_contacts do - build_contact(Whois::Record::Contact::TYPE_REGISTRANT, node("holder")) - end - - property_supported :admin_contacts do - build_contact(Whois::Record::Contact::TYPE_ADMINISTRATIVE, node("admin-c")) - end - - property_supported :technical_contacts do - build_contact(Whois::Record::Contact::TYPE_TECHNICAL, node("tech-c")) - end - - - # nserver: ns2.loopia.se - # nserver: ns2.loopia.se 93.188.0.21 - # - property_supported :nameservers do - node("nserver") do |values| - Array.wrap(values).map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(name: name, ipv4: ipv4) - end - end - end - - - private - - def build_contact(type, id) - return if id.nil? || id == "-" - - Record::Contact.new( - type: type, - id: id - ) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_shared1.rb b/lib/whois/record/parser/base_shared1.rb deleted file mode 100644 index 5ca3b3478..000000000 --- a/lib/whois/record/parser/base_shared1.rb +++ /dev/null @@ -1,110 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_shared1' - - -module Whois - class Record - class Parser - - # Shared parser 1. - # - # @abstract - class BaseShared1 < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseShared1 - - - property_not_supported :disclaimer - - - property_supported :domain do - node('Domain Name') - end - - property_not_supported :domain_id - - - property_supported :status do - if respond_to?(:reserved?) && reserved? - :reserved - else - Array.wrap(node("Status")) - end - end - - property_supported :available? do - !(respond_to?(:reserved?) && reserved?) && !!node('status:available') - end - - property_supported :registered? do - !(respond_to?(:reserved?) && reserved?) && !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - node('Registrar Name') do |name| - Record::Registrar.new( - :id => node('Registrar ID'), - :name => node('Registrar Name'), - :organization => node('Registrar Name') - ) - end - end - - - property_supported :registrant_contacts do - build_contact('Registrant', Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_not_supported :admin_contacts - - property_supported :technical_contacts do - build_contact('Tech', Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - node('Name Server') do |value| - ipv4s = node('Name Server IP') || Array.new(value.size) - value.zip(ipv4s).map do |name, ipv4| - Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - - private - - def build_contact(element, type) - node("#{element} Contact ID") do - Record::Contact.new( - :type => type, - :id => node("#{element} Contact ID"), - :name => node("#{element} Contact Name"), - :email => node("#{element} Contact Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_shared2.rb b/lib/whois/record/parser/base_shared2.rb deleted file mode 100644 index a7c318b3c..000000000 --- a/lib/whois/record/parser/base_shared2.rb +++ /dev/null @@ -1,129 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_shared2' - - -module Whois - class Record - class Parser - - # Shared parser 2. - # - # @abstract - class BaseShared2 < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseShared2 - - - # Actually the :disclaimer is supported, - # but extracting it with the current scanner - # would require too much effort. - # property_supported :disclaimer - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - node("Domain Status") { |value| Array.wrap(value) } - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Domain Registration Date") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("Domain Last Updated Date") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("Domain Expiration Date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |str| - Record::Registrar.new( - :id => node("Sponsoring Registrar IANA ID"), - :name => node("Sponsoring Registrar") - ) - end - end - - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Administrative Contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical Contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Nameserver.new(:name => name.downcase) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do |str| - address = (1..3). - map { |i| node("#{element} Address#{i}") }. - delete_if(&:nil?). - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country => node("#{element} Country"), - :country_code => node("#{element} Country Code"), - :phone => node("#{element} Phone Number"), - :fax => node("#{element} Facsimile Number"), - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_shared3.rb b/lib/whois/record/parser/base_shared3.rb deleted file mode 100644 index ba3cb2463..000000000 --- a/lib/whois/record/parser/base_shared3.rb +++ /dev/null @@ -1,129 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_shared3' - - -module Whois - class Record - class Parser - - # Shared parser 3. - # - # @abstract - class BaseShared3 < Base - include Scanners::Scannable - - self.scanner = Scanners::BaseShared3 - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("domain name", &:downcase) - end - - property_not_supported :domain_id - - - property_supported :status do - if respond_to?(:reserved?) && reserved? - :reserved - elsif available? - :available - else - :registered - end - end - - property_supported :available? do - !(respond_to?(:reserved?) && reserved?) && !!node("status:available") - end - - property_supported :registered? do - !(respond_to?(:reserved?) && reserved?) && !available? - end - - - property_supported :created_on do - node("created date") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("updated date") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("expiration date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("registrar") do |raw| - Record::Registrar.new( - :id => nil, - :name => node("registrar"), - :organization => nil, - :url => node("url") - ) - end - end - - property_supported :registrant_contacts do - build_contact("owner", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("tech", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - node("nameserver") do |array| - array.map do |name| - Nameserver.new(:name => name) - end - end - end - - - private - - def build_contact(element, type) - node("#{element}-contact") do |raw| - Record::Contact.new( - :type => type, - :id => node("#{element}-contact"), - :name => node("#{element}-name"), - :organization => node("#{element}-organization"), - :address => node("#{element}-street"), - :city => node("#{element}-city"), - :zip => node("#{element}-zip"), - :state => nil, - :country_code => node("#{element}-country"), - :phone => node("#{element}-phone"), - :fax => node("#{element}-fax"), - :email => node("#{element}-email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_verisign.rb b/lib/whois/record/parser/base_verisign.rb deleted file mode 100644 index 82cd8c2e2..000000000 --- a/lib/whois/record/parser/base_verisign.rb +++ /dev/null @@ -1,108 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/verisign' - - -module Whois - class Record - class Parser - - class BaseVerisign < Base - include Scanners::Scannable - - self.scanner = Scanners::Verisign - - - property_supported :disclaimer do - node("Disclaimer") - end - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - # node("Status") - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No match for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Creation Date") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("Updated Date") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("Registry Expiry Date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - Whois::Record::Registrar.new( - id: last_useful_item(node("Sponsoring Registrar IANA ID")), - name: last_useful_item(value), - url: referral_url - ) - end - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).reject { |value| value =~ /no nameserver/i }.map do |name| - Nameserver.new(name: name.downcase) - end - end - - - def referral_whois - node("Whois Server") - end - - def referral_url - last_useful_item(node("Referral URL")) - end - - - private - - # In case of "SPAM Response", the response contains more than one item - # for the same value and the value becomes an Array. - def last_useful_item(values) - values.is_a?(Array) ? values.last : values - end - - end - - end - end -end diff --git a/lib/whois/record/parser/base_whoisd.rb b/lib/whois/record/parser/base_whoisd.rb deleted file mode 100644 index e0d398e1a..000000000 --- a/lib/whois/record/parser/base_whoisd.rb +++ /dev/null @@ -1,147 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/base_whoisd' - - -module Whois - class Record - class Parser - - # Base parser for Whoisd servers. - # - # @abstract - class BaseWhoisd < Base - include Scanners::Scannable - - class_attribute :status_mapping - - self.status_mapping = { - "paid and in zone" => :registered, - "expired" => :expired, - } - self.scanner = Scanners::BaseWhoisd - - - property_supported :domain do - node('domain') - end - - property_not_supported :domain_id - - - property_supported :status do - node('status') do |value| - values = Array.wrap(value) - status = values.each do |s| - v = self.class.status_mapping[s.downcase] - break v if v - end - status || Whois.bug!(ParserError, "Unknown status `#{string}'.") - end || :available - end - - property_supported :available? do - !!node('status:available') - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node('registered') { |string| Time.parse(string) } - end - - property_supported :updated_on do - node('changed') { |string| Time.parse(string) } - end - - property_supported :expires_on do - node('expire') { |string| Time.parse(string) } - end - - - property_supported :registrar do - node('registrar') do |string| - Whois::Record::Registrar.new( - :id => string, - :name => string - ) - end - end - - property_supported :registrant_contacts do - node('registrant') do |value| - build_contact(value, Record::Contact::TYPE_REGISTRANT) - end - end - - property_supported :admin_contacts do - node('admin-c') do |value| - build_contact(value, Record::Contact::TYPE_ADMINISTRATIVE) - end - end - - property_supported :technical_contacts do - id = node_nsset['tech-c'] rescue nil - if id - build_contact(id, Record::Contact::TYPE_TECHNICAL) - end - end - - - property_supported :nameservers do - lines = node_nsset['nserver'] rescue nil - Array.wrap(lines).map do |line| - if line =~ /(.+) \((.+)\)/ - name = $1 - ipv4, ipv6 = $2.split(', ') - Record::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - - - private - - def node_nsset - node("node:nsset/#{node("nsset")}") - end - - def build_contact(element, type) - node("node:contact/#{element}") do |hash| - address = hash['street'] || hash['address'] - address = address.join("\n") if address.respond_to?(:join) - - Record::Contact.new( - :type => type, - :id => element, - :name => hash['name'], - :organization => hash['org'], - :address => address, - :city => hash['city'], - :zip => hash['postal code'], - :country_code => hash['country'], - :phone => hash['phone'], - :email => hash['e-mail'], - :created_on => Time.parse(hash['created']) - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/blank.rb b/lib/whois/record/parser/blank.rb deleted file mode 100644 index 495351de8..000000000 --- a/lib/whois/record/parser/blank.rb +++ /dev/null @@ -1,37 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # The Blank parser isn't a real parser. It's just a fake parser - # that acts as a parser but doesn't provide any special capability. - # - # It doesn't register itself in the parser_registry, - # it doesn't scan any string, it only exists to be initialized - # in case a record needs to create a parser for a WHOIS server - # not yet supported. - # - class Blank < Base - - Whois::Record::Parser::PROPERTIES.each do |method| - define_method(method) do - raise ParserNotFound, "Unable to find a parser for the server `#{part.host}'" - end - end - - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/capetown-whois.registry.net.za.rb b/lib/whois/record/parser/capetown-whois.registry.net.za.rb deleted file mode 100644 index 3ae365408..000000000 --- a/lib/whois/record/parser/capetown-whois.registry.net.za.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/za_central_registry' - - -module Whois - class Record - class Parser - - # Parser for the capetown-whois.registry.net.za server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class CapetownWhoisRegistryNetZa < ZaCentralRegistry - end - - end - end -end diff --git a/lib/whois/record/parser/ccwhois.ksregistry.net.rb b/lib/whois/record/parser/ccwhois.ksregistry.net.rb deleted file mode 100644 index e15ac19a8..000000000 --- a/lib/whois/record/parser/ccwhois.ksregistry.net.rb +++ /dev/null @@ -1,28 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared3' - - -module Whois - class Record - class Parser - - - # Parser for the ccwhois.ksregistry.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class CcwhoisKsregistryNet < BaseShared3 - end - - end - end -end diff --git a/lib/whois/record/parser/ccwhois.verisign-grs.com.rb b/lib/whois/record/parser/ccwhois.verisign-grs.com.rb deleted file mode 100644 index f36434206..000000000 --- a/lib/whois/record/parser/ccwhois.verisign-grs.com.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_verisign' - - -module Whois - class Record - class Parser - - # Parser for the ccwhois.verisign-grs.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class CcwhoisVerisignGrsCom < BaseVerisign - end - - end - end -end diff --git a/lib/whois/record/parser/durban-whois.registry.net.za.rb b/lib/whois/record/parser/durban-whois.registry.net.za.rb deleted file mode 100644 index 0127c8af2..000000000 --- a/lib/whois/record/parser/durban-whois.registry.net.za.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/za_central_registry' - - -module Whois - class Record - class Parser - - # Parser for the durban-whois.registry.net.za server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class DurbanWhoisRegistryNetZa < ZaCentralRegistry - end - - end - end -end diff --git a/lib/whois/record/parser/example.rb b/lib/whois/record/parser/example.rb deleted file mode 100644 index 9aebb6f0b..000000000 --- a/lib/whois/record/parser/example.rb +++ /dev/null @@ -1,166 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.example.com server. - #-- - # In case you are not implementing all the methods, - # please add the following statement to the class docblock. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # ++ - class Example < Base - - # Gets the registry disclaimer that comes with the record. - # - # Returns a String with the disclaimer if available, - # nil otherwise. - property_supported :disclaimer do - nil - end - - - # Gets the domain name as stored by the registry. - # - # Returns a String with the domain name if available, - # nil otherwise. - property_supported :domain do - nil - end - - # Gets the unique domain ID as stored by the registry. - # - # Returns a String with the domain ID if available, - # nil otherwise. - property_supported :domain_id do - nil - end - - - # Gets the record status or statuses. - # - # Returns a String/Array with the record status if available, - # nil otherwise. - property_supported :status do - nil - end - - # Checks whether this record is available. - # - # Returns true/false depending whether this record is available. - property_supported :available? do - nil - end - - # Checks whether this record is registered. - # - # Returns true/false depending this record is available. - property_supported :registered? do - nil - end - - - # Gets the date the record was created, - # according to the registry record. - # - # Returns a Time object representing the date the record was created or - # nil otherwise. - property_supported :created_on do - nil - end - - # Gets the date the record was last updated, - # according to the registry record. - # - # Returns a Time object representing the date the record was last updated or - # nil if not available. - property_supported :updated_on do - nil - end - - # Gets the date the record is set to expire, - # according to the registry record. - # - # Returns a Time object representing the date the record is set to expire or - # nil if not available. - property_supported :expires_on do - nil - end - - - # Gets the registrar object containing the registrar details - # extracted from the registry record. - # - # Returns an instance of Whois::Record::Registrar representing the registrar or - # nil if not available. - property_supported :registrar do - nil - end - - - # Gets the registrant contact object containing the details of the record owner - # extracted from the registry record. - # - # Returns an instance of Whois::Record::Contact representing the registrant contact or - # nil if not available. - property_supported :registrant_contacts do - nil - end - - # Gets the administrative contact object containing the details of the record administrator - # extracted from the registry record. - # - # Returns an instance of Whois::Record::Contact representing the administrative contact or - # nil if not available. - property_supported :admin_contacts do - nil - end - - # Gets the technical contact object containing the details of the technical representative - # extracted from the registry record. - # - # Returns an instance of Whois::Record::Contact representing the technical contact or - # nil if not available. - property_supported :technical_contacts do - nil - end - - - # Gets the list of name server entries for this record, - # extracted from the registry record. - # - # @example - # nameserver - # # => [] - # - # @example - # nameserver - # # => [ - # # #, - # # # - # # ] - # - # @return [Array] - property_supported :nameservers do - [] - end - - end - - end - end -end diff --git a/lib/whois/record/parser/jobswhois.verisign-grs.com.rb b/lib/whois/record/parser/jobswhois.verisign-grs.com.rb deleted file mode 100644 index ec3b033e0..000000000 --- a/lib/whois/record/parser/jobswhois.verisign-grs.com.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_verisign' - - -module Whois - class Record - class Parser - - # Parser for the jobswhois.verisign-grs.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class JobswhoisVerisignGrsCom < BaseVerisign - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/joburg-whois.registry.net.za.rb b/lib/whois/record/parser/joburg-whois.registry.net.za.rb deleted file mode 100644 index d5ac59784..000000000 --- a/lib/whois/record/parser/joburg-whois.registry.net.za.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/za_central_registry' - - -module Whois - class Record - class Parser - - # Parser for the joburg-whois.registry.net.za server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class JoburgWhoisRegistryNetZa < ZaCentralRegistry - end - - end - end -end diff --git a/lib/whois/record/parser/kero.yachay.pe.rb b/lib/whois/record/parser/kero.yachay.pe.rb deleted file mode 100644 index d8c707671..000000000 --- a/lib/whois/record/parser/kero.yachay.pe.rb +++ /dev/null @@ -1,88 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the kero.yachay.pe server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class KeroYachayPe < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - # NEWSTATUS suspended (https://github.com/weppos/whois/issues/5) - when "suspended" - :registered - when "not registered" - :available - when "inactive" - :inactive - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - Whois.bug!(ParserError, "Unable to parse status.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # Looup quota exceeded. - # - def response_throttled? - !content_for_scanner.match(/Looup quota exceeded./).nil? - end - - end - - end - end -end diff --git a/lib/whois/record/parser/org-whois.registry.net.za.rb b/lib/whois/record/parser/org-whois.registry.net.za.rb deleted file mode 100644 index 4d77f61d7..000000000 --- a/lib/whois/record/parser/org-whois.registry.net.za.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/za_central_registry' - - -module Whois - class Record - class Parser - - # - # = whois.org.za parser - # - # Parser for the whois.org.za server. - # - class OrgWhoisRegistryNetZa < ZaCentralRegistry - end - - end - end -end diff --git a/lib/whois/record/parser/whois.1und1.info.rb b/lib/whois/record/parser/whois.1und1.info.rb deleted file mode 100644 index c06de5237..000000000 --- a/lib/whois/record/parser/whois.1und1.info.rb +++ /dev/null @@ -1,30 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.1und1.info server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class Whois1und1Info < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Domain (.+) is not registered here.\n/ - } - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/whois.35.com.rb b/lib/whois/record/parser/whois.35.com.rb deleted file mode 100644 index 833ca0d7e..000000000 --- a/lib/whois/record/parser/whois.35.com.rb +++ /dev/null @@ -1,26 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - -require 'whois/record/parser/base_icann_compliant' - -module Whois - class Record - class Parser - - # Parser for the whois.35.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class Whois35Com < BaseIcannCompliant - end - - end - end -end - diff --git a/lib/whois/record/parser/whois.aeda.net.ae.rb b/lib/whois/record/parser/whois.aeda.net.ae.rb deleted file mode 100644 index 55563b769..000000000 --- a/lib/whois/record/parser/whois.aeda.net.ae.rb +++ /dev/null @@ -1,66 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.aeda.net.ae server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAedaNetAe < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "ok" then :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - content_for_scanner.strip == "No Data Found" - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.aero.rb b/lib/whois/record/parser/whois.aero.rb deleted file mode 100644 index 846f9acfb..000000000 --- a/lib/whois/record/parser/whois.aero.rb +++ /dev/null @@ -1,59 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.aero server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAero < BaseAfilias - - self.scanner = Scanners::BaseAfilias, { - pattern_reserved: /^Name is restricted from registration\n/, - } - - - property_supported :status do - if reserved? - :reserved - else - Array.wrap(node("Domain Status")) - end - end - - - property_supported :updated_on do - node("Updated On") do |value| - Time.parse(value) - end - end - - property_supported :expires_on do - node("Expires On") do |value| - Time.parse(value) - end - end - - # NEWPROPERTY - def reserved? - !!node("status:reserved") - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.afilias-grs.info.rb b/lib/whois/record/parser/whois.afilias-grs.info.rb deleted file mode 100644 index 22bd1336f..000000000 --- a/lib/whois/record/parser/whois.afilias-grs.info.rb +++ /dev/null @@ -1,23 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.afilias-grs.info server. - class WhoisAfiliasGrsInfo < BaseAfilias - end - - end - end -end diff --git a/lib/whois/record/parser/whois.afilias.net.rb b/lib/whois/record/parser/whois.afilias.net.rb deleted file mode 100644 index bcc163c70..000000000 --- a/lib/whois/record/parser/whois.afilias.net.rb +++ /dev/null @@ -1,28 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias2' - - -module Whois - class Record - class Parser - - # Parser for the whois.afilias.net server. - class WhoisAfiliasNet < BaseAfilias2 - - self.scanner = Scanners::BaseAfilias, { - pattern_disclaimer: /^Access to/ - } - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ai.rb b/lib/whois/record/parser/whois.ai.rb deleted file mode 100644 index e5237623a..000000000 --- a/lib/whois/record/parser/whois.ai.rb +++ /dev/null @@ -1,64 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.ai server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAi < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Domain (.+?) not registred/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Nameservers\n((.+\n)+)\n/ - $1.split("\n").select { |e| e =~ /Server Hostname/ }.map do |line| - Record::Nameserver.new(:name => line.split(":").last.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.amnic.net.rb b/lib/whois/record/parser/whois.amnic.net.rb deleted file mode 100644 index a9dee4b21..000000000 --- a/lib/whois/record/parser/whois.amnic.net.rb +++ /dev/null @@ -1,81 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.amnic.net server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAmnicNet < Base - - property_supported :status do - if content_for_scanner =~ /\s+Status:\s+(.+)\n/ - case $1.downcase - when "active" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /\s+Registered:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /\s+Last modified:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /\s+Expires:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /DNS servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ascio.com.rb b/lib/whois/record/parser/whois.ascio.com.rb deleted file mode 100644 index 5a223627f..000000000 --- a/lib/whois/record/parser/whois.ascio.com.rb +++ /dev/null @@ -1,31 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.ascio.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAscioCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Object not found\n/ - } - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ati.tn.rb b/lib/whois/record/parser/whois.ati.tn.rb deleted file mode 100644 index ddd851ae7..000000000 --- a/lib/whois/record/parser/whois.ati.tn.rb +++ /dev/null @@ -1,118 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.ati.tn.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.ati.tn server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAtiTn < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisAtiTn - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain") - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Acivated") { |value| Time.parse(value) } - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - node("Registrar") do |value| - Record::Registrar.new( - :id => nil, - :name => value - ) - end - end - - property_supported :registrant_contacts do - build_contact("Owner", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin.", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech.", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("NameServers")).map do |line| - name, ipv4 = line.match(/(.+)\. \[(.+)\]/)[1, 2] - Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - - private - - def build_contact(element, type) - node("#{element} Name") do - Record::Contact.new( - type: type, - name: node("#{element} Name"), - address: node("#{element} Address"), - phone: node("#{element} Tel"), - fax: node("#{element} Fax"), - email: node("#{element} Email"), - created_on: node("#{element} Created") { |value| Time.parse(value) }, - updated_on: node("#{element} Updated") { |value| Time.parse(value) if value != "None" } - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.audns.net.au.rb b/lib/whois/record/parser/whois.audns.net.au.rb deleted file mode 100644 index c1cf04ffb..000000000 --- a/lib/whois/record/parser/whois.audns.net.au.rb +++ /dev/null @@ -1,121 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.audns.net.au.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.audns.net.au server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAudnsNetAu < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisAudnsNetAu - - - property_not_supported :disclaimer - - - property_supported :domain do - node("Domain Name") - end - - property_not_supported :domain_id - - - # == Values for Status - # - # @see http://www.auda.org.au/policies/auda-2002-28/ - # @see http://www.auda.org.au/policies/auda-2006-07/ - # - property_supported :status do - Array.wrap(node("Status")) - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - node("Last Modified") { |value| Time.parse(value) } - end - - property_not_supported :expires_on - - - property_supported :registrar do - node("Registrar ID") do |str| - Record::Registrar.new( - :id => str, - :name => node("Registrar Name") - ) - end - end - - - property_supported :registrant_contacts do - contact = build_contact("Registrant Contact", Record::Contact::TYPE_REGISTRANT) - contact.organization = node("Registrant") if contact - contact - end - - property_not_supported :admin_contacts - - property_supported :technical_contacts do - build_contact("Tech Contact", Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Record::Nameserver.new(:name => name) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do |str| - Record::Contact.new( - :type => type, - :id => str, - :name => node("#{element} Name"), - :organization => nil, - :address => nil, - :city => nil, - :zip => nil, - :state => nil, - :country => nil, - :phone => nil, - :fax => nil, - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ax.rb b/lib/whois/record/parser/whois.ax.rb deleted file mode 100644 index 18642e47b..000000000 --- a/lib/whois/record/parser/whois.ax.rb +++ /dev/null @@ -1,66 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.ax server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisAx < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No records matching .+ found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server \d:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.biz.rb b/lib/whois/record/parser/whois.biz.rb deleted file mode 100644 index 0be0ba006..000000000 --- a/lib/whois/record/parser/whois.biz.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared2' - - -module Whois - class Record - class Parser - - # Parser for the whois.biz server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisBiz < BaseShared2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.bnnic.bn.rb b/lib/whois/record/parser/whois.bnnic.bn.rb deleted file mode 100644 index d7802a214..000000000 --- a/lib/whois/record/parser/whois.bnnic.bn.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.bnnic.bn server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisBnnicBn < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^Domain Not Found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Creation Date:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Modified Date:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.strip.scan(/(.+) \((.+)\)/).flatten - Record::Nameserver.new(name: name.strip.downcase, ipv4: ipv4.split(",").first) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.cat.rb b/lib/whois/record/parser/whois.cat.rb deleted file mode 100644 index edf15f97b..000000000 --- a/lib/whois/record/parser/whois.cat.rb +++ /dev/null @@ -1,79 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.cat parser - # - # Parser for the whois.cat server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisCat < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - Array.wrap($1.split(", ")) - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Object (.*?) NOT FOUND/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created On:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Updated On:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.*)\n/ - Time.parse($1) - end - end - - # Nameservers are listed in the following formats: - # - # Name Server: dns2.gencat.cat 83.247.132.4 - # Name Server: dns.gencat.net - # - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.cctld.by.rb b/lib/whois/record/parser/whois.cctld.by.rb deleted file mode 100644 index fc887b3e1..000000000 --- a/lib/whois/record/parser/whois.cctld.by.rb +++ /dev/null @@ -1,96 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.cctld.by.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.cctld.by server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - # @author Aliaksei Kliuchnikau - class WhoisCctldBy < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisCctldBy - - - property_not_supported :disclaimer - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Creation Date") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("Updated Date") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("Expiration Date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Registrar") do |registrar| - Record::Registrar.new( - :id => registrar, - :name => registrar, - :organization => registrar - ) - end - end - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Nameserver.new(:name => name.downcase) - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.cctld.uz.rb b/lib/whois/record/parser/whois.cctld.uz.rb deleted file mode 100644 index a18de6f45..000000000 --- a/lib/whois/record/parser/whois.cctld.uz.rb +++ /dev/null @@ -1,83 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.cctld.uz parser - # - # Parser for the whois.cctld.uz server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisCctldUz < Base - - property_supported :status do - if content_for_scanner =~ /^Status: (.+?)\n/ - case $1.downcase - when "active" then :registered - when "reserved" then :reserved - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /not found in database/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Creation Date:(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Updated Date:(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.+)\n/ - Time.parse($1) unless $1 == '-' - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain servers in listed order:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip.chomp(".")) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.centralnic.com.rb b/lib/whois/record/parser/whois.centralnic.com.rb deleted file mode 100644 index d80341493..000000000 --- a/lib/whois/record/parser/whois.centralnic.com.rb +++ /dev/null @@ -1,142 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.centralnic.com.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.centralnic.com server. - class WhoisCentralnicCom < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisCentralnicCom - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain Name") { |str| str.downcase } - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - # OK, RENEW PERIOD, ... - Array.wrap( - node("Status") || - node("Domain Status") - ) - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Created On") { |str| Time.parse(str) } || - node("Creation Date") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("Last Updated On") { |str| Time.parse(str) } || - node("Updated Date") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("Expiration Date") { |str| Time.parse(str) } || - node("Registry Expiry Date") { |str| Time.parse(str) } - end - - - property_supported :registrar do - node("Sponsoring Registrar ID") do - Record::Registrar.new( - :id => node("Sponsoring Registrar ID"), - :name => nil, - :organization => node("Sponsoring Registrar Organization"), - :url => node("Sponsoring Registrar Website") - ) - end || - node("Sponsoring Registrar IANA ID") do - Record::Registrar.new( - :id => node("Sponsoring Registrar IANA ID"), - :name => node("Sponsoring Registrar"), - :organization => nil, - :url => nil - ) - end - end - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Record::Nameserver.new(:name => name.downcase.chomp(".")) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = [nil, 1, 2, 3]. - map { |i| node("#{element} Street#{i}") }. - delete_if { |i| i.nil? || i.empty? }. - join("\n") - address = nil if address.empty? - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country"), - :phone => node("#{element} Phone"), - :fax => node("#{element} FAX") || node("#{element} Fax"), - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.cira.ca.rb b/lib/whois/record/parser/whois.cira.ca.rb deleted file mode 100644 index 9dbb55a73..000000000 --- a/lib/whois/record/parser/whois.cira.ca.rb +++ /dev/null @@ -1,194 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.cira.ca.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.cira.ca server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisCiraCa < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisCiraCa - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain name") - end - - property_not_supported :domain_id - - - property_supported :status do - if content_for_scanner =~ /Domain status:\s+(.+?)\n/ - case node("Domain status", &:downcase) - when "registered" - :registered - when "redemption" - :registered - when "auto-renew grace" - :registered - when "to be released" - :registered - when "pending delete" - :registered - when "available" - :available - when "unavailable" - :invalid - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - Whois.bug!(ParserError, "Unable to parse status.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Creation date") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("Updated date") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("Expiry date") { |str| Time.parse(str) } - end - - - property_supported :registrar do - node("Registrar") do |hash| - Record::Registrar.new( - id: hash["Number"], - name: hash["Name"], - organization: hash["Name"] - ) - end - end - - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Administrative contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("nserver")).map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - - # Nameservers are listed in the following formats: - # - # ns1.google.com - # ns2.google.com - # - # ns1.google.com 216.239.32.10 - # ns2.google.com 216.239.34.10 - # - property_supported :nameservers do - Array.wrap(node("field:nameservers")).map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - - # Attempts to detect and returns the version. - # - # TODO: This is very empiric. - # Use the available status in combination with the creation date label. - # - # NEWPROPERTY - def version - cached_properties_fetch :version do - version = if content_for_scanner =~ /^% \(c\) (.+?) Canadian Internet Registration Authority/ - case $1 - when "2007" then "1" - when "2010" then "2" - end - end - version || Whois.bug!(ParserError, "Unable to detect version.") - end - end - - # NEWPROPERTY - def valid? - cached_properties_fetch(:valid?) do - !invalid? - end - end - - # NEWPROPERTY - def invalid? - cached_properties_fetch(:invalid?) do - status == :invalid - end - end - - - private - - def build_contact(element, type) - node(element) do |hash| - Record::Contact.new( - :type => type, - :id => nil, - :name => hash["Name"], - :organization => nil, - :address => hash["Postal address"], - :city => nil, - :zip => nil, - :state => nil, - :country => nil, - :phone => hash["Phone"], - :fax => hash["Fax"], - :email => hash["Email"] - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.cmc.iq.rb b/lib/whois/record/parser/whois.cmc.iq.rb deleted file mode 100644 index 417c643ab..000000000 --- a/lib/whois/record/parser/whois.cmc.iq.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.cmc.iq server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisCmcIq < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.cnnic.cn.rb b/lib/whois/record/parser/whois.cnnic.cn.rb deleted file mode 100644 index f1aacba5a..000000000 --- a/lib/whois/record/parser/whois.cnnic.cn.rb +++ /dev/null @@ -1,110 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.cnnic.cn.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.cnnic.cn server. - class WhoisCnnicCn < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisCnnicCn - - - property_not_supported :disclaimer - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("ROID") - end - - - property_supported :status do - Array.wrap node("Domain Status") - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !reserved? && !available? - end - - - property_supported :created_on do - node("Registration Time") { |value| Time.parse(value) } - end - - property_not_supported :updated_on - - property_supported :expires_on do - node("Expiration Time") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - Record::Registrar.new( - :id => value, - :name => value - ) - end - end - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Administrative", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_not_supported :technical_contacts - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Nameserver.new(name: name.downcase) - end - end - - - # NEWPROPERTY - def reserved? - !!node("status:reserved") - end - - - private - - def build_contact(element, type) - node("#{element}") do |value| - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => value, - :email => node("#{element} Contact Email") - ) - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.co.ca.rb b/lib/whois/record/parser/whois.co.ca.rb deleted file mode 100644 index b82c965e2..000000000 --- a/lib/whois/record/parser/whois.co.ca.rb +++ /dev/null @@ -1,78 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.co.ca parser - # - # Parser for the whois.co.ca server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisCoCa < Base - - property_supported :status do - case - when available? then :available - when reserved? then :reserved - else :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^(.+) is available/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /date_approved:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /date_renewal:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/ns[\d]_hostname:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - - # NEWPROPERTY - def reserved? - !!(content_for_scanner =~ /^Domain is not available or is reserved by the registry/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.co.pl.rb b/lib/whois/record/parser/whois.co.pl.rb deleted file mode 100644 index 6ca13add3..000000000 --- a/lib/whois/record/parser/whois.co.pl.rb +++ /dev/null @@ -1,84 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.co.pl parser - # - # Parser for the whois.co.pl server. - # - class WhoisCoPl < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if content_for_scanner =~ /domain:\s+(.+?)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% Unfortunately, No Results Were Found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_not_supported :registrar - - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.co.ug.rb b/lib/whois/record/parser/whois.co.ug.rb deleted file mode 100644 index 773934085..000000000 --- a/lib/whois/record/parser/whois.co.ug.rb +++ /dev/null @@ -1,84 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.co.ug server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - # @author Simone Carletti - # @author Moritz Heidkamp - # - class WhoisCoUg < Base - - property_supported :status do - if content_for_scanner =~ /^Status:\s+(.+?)\n/ - case $1.downcase - when 'active' - :registered - when 'unconfirmed' - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No entries found for the selected source/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered:\s+(.+)$/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Updated:\s+(.+)$/ - DateTime.strptime($1, '%d/%m/%Y %H:%M:%S').to_time - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiry:\s(.+)$/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.comlaude.com.rb b/lib/whois/record/parser/whois.comlaude.com.rb deleted file mode 100644 index bc8ca10dd..000000000 --- a/lib/whois/record/parser/whois.comlaude.com.rb +++ /dev/null @@ -1,115 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.comlaude.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisComlaudeCom < Base - - property_not_supported :status - - # The server is contacted only in case of a registered domain. - property_supported :available? do - false - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered: (.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expires: (.+)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - Record::Registrar.new( - :name => "NOM IQ LTD (DBA COM LAUDE)", - :url => "http://www.comlaude.com" - ) - end - - property_supported :registrant_contacts do - build_contact('Registrant Contact:', Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact('Admin Contact:', Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact('Technical Contact:', Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - if content_for_scanner =~ /Nameservers:\n((?:\s*[^\s\n]+\n)+)\n/ - $1.split("\n").map do |line| - Record::Nameserver.new(:name => line.strip) - end - end - end - - - private - - def build_contact(element, type) - match = content_for_scanner.slice(/#{element}\n((.+\n)*)\n\n/, 1) - return unless match - - lines = match.split("\n").map(&:strip) - - # 0 Domain Manager - # 1 Nom-IQ Ltd dba Com Laude - # 2nd Floor, 28-30 Little Russell Street - # London WC1A 2HN - # United Kingdom - # Phone: +44.2078360070 - # Fax: +44.2078360070 - # Email: admin@comlaude.com - Record::Contact.new( - :type => type, - :name => lines[0], - :organization => lines[1], - :address => nil, - :city => nil, - :state => nil, - :zip => nil, - :country => nil, - :phone => match.slice(/Phone: (.*)/, 1), - :email => match.slice(/Email: (.*)/, 1), - :fax => match.slice(/Fax: (.*)/, 1), - ) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.corporatedomains.com.rb b/lib/whois/record/parser/whois.corporatedomains.com.rb deleted file mode 100644 index a7549d7da..000000000 --- a/lib/whois/record/parser/whois.corporatedomains.com.rb +++ /dev/null @@ -1,30 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.markmonitor.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisCorporatedomainsCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No match for/ - } - end - - end - end -end diff --git a/lib/whois/record/parser/whois.denic.de.rb b/lib/whois/record/parser/whois.denic.de.rb deleted file mode 100644 index b4a9e1bfa..000000000 --- a/lib/whois/record/parser/whois.denic.de.rb +++ /dev/null @@ -1,166 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.denic.de.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.denic.de server. - # - # @author Simone Carletti - # @author Aaron Mueller - # - class WhoisDenicDe < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisDenicDe - - - property_supported :disclaimer do - node("Disclaimer") - end - - - property_supported :domain do - node("Domain") - end - - property_not_supported :domain_id - - - property_supported :status do - case node("Status") - when "connect" - :registered - when "free" - :available - when "invalid" - :invalid - # NEWSTATUS inactive - # The domain is registered, but there is not DNS entry for it. - when "failed" - :registered - else - if response_error? - # NEWSTATUS invalid - :invalid - else - Whois.bug!(ParserError, "Unknown status `#{node("Status")}'.") - end - end - end - - property_supported :available? do - !invalid? && node("Status") == "free" - end - - property_supported :registered? do - !invalid? && !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - node("Changed") { |value| Time.parse(value) } - end - - property_not_supported :expires_on - - - property_supported :registrar do - node("Zone-C") do |raw| - Record::Registrar.new( - :id => nil, - :name => raw["name"], - :organization => raw["organization"], - :url => nil - ) - end - end - - property_supported :registrant_contacts do - build_contact("Holder", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin-C", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech-C", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - # Nameservers are listed in the following formats: - # - # Nserver: ns1.prodns.de. 213.160.64.75 - # Nserver: ns1.prodns.de. - # - property_supported :nameservers do - node("Nserver") do |values| - values.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(name: name, ipv4: ipv4) - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # % Error: 55000000002 Connection refused; access control limit reached. - # - def response_throttled? - !!node("response:throttled") - end - - def response_error? - !!node("response:error") - end - - - def version - cached_properties_fetch :version do - if content_for_scanner =~ /^% Version: (.+)$/ - $1 - end - end - end - - # NEWPROPERTY invalid? - def invalid? - cached_properties_fetch :invalid? do - node("Status") == "invalid" || - response_error? - end - end - - - private - - def build_contact(element, type) - node(element) do |raw| - Record::Contact.new(raw) do |c| - c.type = type - end - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.dk-hostmaster.dk.rb b/lib/whois/record/parser/whois.dk-hostmaster.dk.rb deleted file mode 100644 index 9a183e3a7..000000000 --- a/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +++ /dev/null @@ -1,82 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dk-hostmaster.dk server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - # @author Simone Carletti - # @author Mikkel Kristensen - # - class WhoisDkHostmasterDk < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - when "deactivated" - :expired - when "reserved" - :reserved - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No entries found for the selected source/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expires:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Hostname:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dns.be.rb b/lib/whois/record/parser/whois.dns.be.rb deleted file mode 100644 index e2737ed4a..000000000 --- a/lib/whois/record/parser/whois.dns.be.rb +++ /dev/null @@ -1,122 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dns.be server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDnsBe < Base - - property_supported :domain do - content_for_scanner.slice(/Domain:\s+(.+?)\n/, 1) - end - - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "available" - :available - when "not available" - :registered - when "quarantine" - :redemption - when "out of service" - :redemption - when "not allowed" - :invalid - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - Whois.bug!(ParserError, "Unable to parse status.") - end - end - - property_supported :available? do - !invalid? && (status == :available) - end - - property_supported :registered? do - !invalid? && !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - if (match = content_for_scanner.match(/Registrar:\s+Name:(.+?)\s*Website:(.+?)\n/)) - name, url = match.to_a[1..2] - Record::Registrar.new(name: name.strip, url: url.strip) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Nameservers:\s((.+\n)+)\n/ - $1.split("\n").map do |line| - if line.strip =~ /(.+) \((.+)\)/ - Record::Nameserver.new(:name => $1, :ipv4 => $2) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - def response_throttled? - !!(content_for_scanner =~ /^% (Excessive querying|Maximum queries per hour reached)/) || - response_blocked? - end - - # Checks whether the server has been blocked. - # - # @return [Boolean] - def response_blocked? - !!(content_for_scanner =~ /^-3: IP address blocked/) - end - - - # NEWPROPERTY - def invalid? - cached_properties_fetch(:invalid?) do - status == :invalid - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dns.hr.rb b/lib/whois/record/parser/whois.dns.hr.rb deleted file mode 100644 index f3c7096f8..000000000 --- a/lib/whois/record/parser/whois.dns.hr.rb +++ /dev/null @@ -1,99 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.dns.hr.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.dns.hr server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDnsHr < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisDnsHr - - - property_not_supported :disclaimer - - - property_supported :domain do - node("domain") - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_supported :expires_on do - node("expires") { |value| Time.parse(value) } - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - node("descr") do |array| - _, zip, city = array[2].match(/([\d\s]+) (.+)/).to_a - Record::Contact.new( - :type => Whois::Record::Contact::TYPE_REGISTRANT, - :id => nil, - :name => array[0], - :organization => nil, - :address => array[1], - :city => city, - :zip => zip, - :state => nil, - :country => nil, - :phone => nil, - :fax => nil, - :email => nil - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dns.lu.rb b/lib/whois/record/parser/whois.dns.lu.rb deleted file mode 100644 index 8f7d1631b..000000000 --- a/lib/whois/record/parser/whois.dns.lu.rb +++ /dev/null @@ -1,128 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dns.lu server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDnsLu < Base - - property_supported :status do - if content_for_scanner =~ /domaintype:\s+(.+)\n/ - case $1.downcase - when "active" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /% No such domain/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /registered:\s+(.*)\n/ - # Force the parser to use the dd/mm/yyyy format. - Time.utc(*$1.split("/").reverse) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - if name = value_for_key('registrar-name') - Record::Registrar.new( - name: name, - url: value_for_key('registrar-url'), - ) - end - end - - property_supported :registrant_contacts do - build_contact('org', Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact('adm', Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact('tec', Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - values_for_key('nserver').map do |line| - if line =~ /(.+) \[(.+)\]/ - Record::Nameserver.new(name: $1, ipv4: $2) - else - Record::Nameserver.new(name: line) - end - end - end - - - private - - def build_contact(element, type) - if name = value_for_key('%s-name' % element) - Record::Contact.new( - type: type, - id: nil, - name: name, - address: value_for_key('%s-address' % element), - city: value_for_key('%s-city' % element), - zip: value_for_key('%s-zipcode' % element), - country_code: value_for_key('%s-country' % element), - email: value_for_key('%s-email' % element) - ) - end - end - - def value_for_key(key) - values = values_for_key(key) - if values.size > 1 - values.join(', ') - else - values.first - end - end - - def values_for_key(key) - content_for_scanner.scan(/#{key}:\s+(.+)\n/).flatten - end - - end - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/whois.dns.pl.rb b/lib/whois/record/parser/whois.dns.pl.rb deleted file mode 100644 index a8cdccf2e..000000000 --- a/lib/whois/record/parser/whois.dns.pl.rb +++ /dev/null @@ -1,153 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dns.pl server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDnsPl < Base - - property_supported :domain do - if content_for_scanner =~ /DOMAIN NAME:\s+(.+)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No information available about domain name/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /last modified:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /renewal date:\s+(.+?)\n/ && $1 != "not defined" - Time.parse($1) - end - end - - - property_supported :registrar do - match = content_for_scanner.slice(/REGISTRAR:\n((.+\n)+)\n/, 1) - return unless match - - lines = match.split("\n") - Record::Registrar.new( - :name => lines[0] - ) - end - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_supported :technical_contacts do - build_contact("TECHNICAL CONTACT", Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - content_for_scanner.scan(/nameservers:\s+(.+)\n(.+)\n/).flatten.map do |line| - line.strip! - if line =~ /(.+) \[(.+)\]/ - Record::Nameserver.new(:name => $1.chomp("."), :ipv4 => $2) - else - Record::Nameserver.new(:name => line.chomp(".")) - end - end - end - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # Looup quota exceeded. - # - def response_throttled? - !!(content_for_scanner =~ /^request limit exceeded for/) - end - - - private - - def build_contact(element, type) - match = content_for_scanner.slice(/#{element}:\n((.+\n)+)\n/, 1) - return unless match - - values = parse_contact_block(match.split("\n")) - zip, city = values["city"].match(/(.+?) (.+)/)[1..2] - - Record::Contact.new( - :type => type, - :id => values["handle"], - :name => nil, - :organization => values["company"], - :address => values["street"], - :city => city, - :zip => zip, - :state => nil, - :country_code => values["location"], - :phone => values["phone"], - :fax => values["fax"], - :email => nil - ) - end - - def parse_contact_block(lines) - key = nil - hash = {} - lines.each do |line| - if line =~ /(.+):(.+)/ - hash[key = $1] = $2.strip - else - hash[key] += "\n#{line.strip}" - end - end - hash - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dns.pt.rb b/lib/whois/record/parser/whois.dns.pt.rb deleted file mode 100644 index 0683393ec..000000000 --- a/lib/whois/record/parser/whois.dns.pt.rb +++ /dev/null @@ -1,79 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dns.pt server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDnsPt < Base - - property_supported :status do - if content_for_scanner =~ /^Estado \/ Status:\s+(.+)\n/ - case $1.downcase - when "active" - :registered - when "reserved" - :reserved - when "tech-pro" - :inactive - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^.* no match$/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ / Creation Date .+?:\s+(.+)\n/ - Time.utc(*$1.split("/").reverse) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ / Expiration Date .+?:\s+(.+)\n/ - Time.utc(*$1.split("/").reverse) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(?:.*)\s+NS\s+(.+?)\.\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.domain-registry.nl.rb b/lib/whois/record/parser/whois.domain-registry.nl.rb deleted file mode 100644 index dd01d3813..000000000 --- a/lib/whois/record/parser/whois.domain-registry.nl.rb +++ /dev/null @@ -1,125 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.domain-registry.nl server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDomainRegistryNl < Base - - # == Values for Status - # - # - free: the .nl domain name is still available for registration - # - withdrawn: the .nl domain name is barred from registration - # - excluded: the .nl domain name is excluded from registration - # - requested: an application for the .nl domain name is being processed - # - active: the .nl domain name has already been registered. (If you want to know who has registered the name, tick the ‘Extended search’ box. You will then be shown more information about whoever has registered the name.) - # - inactive: the .nl domain name has already been registered, but has not yet been added to the .nl zone file. (If you want to know who has registered the name, tick the ‘Extended search’ box. You will then be shown more information about whoever has registered the name.) - # - in quarantine: this .nl domain name's registration has been cancelled. Following cancellation, a domain name is placed in quarantine for forty days. - # - # @see https://www.sidn.nl/en/whois/ - # @see https://www.sidn.nl/en/about-nl/whois/looking-up-a-domain-name/ - # - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - when "in quarantine" - :redemption - when "inactive" - :inactive - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - status != :available - end - - - property_supported :created_on do - if content_for_scanner =~ /Date registered:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record last updated:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Domain nameservers:\n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # whois.domain-registry.nl: only 1 request per second allowed, try again later - # - # @example - # whois.domain-registry.nl: daily whois-limit exceeded - # - def response_throttled? - case content_for_scanner - when /^#{Regexp.escape("whois.domain-registry.nl: only 1 request per second allowed, try again later")}/ - true - when /^#{Regexp.escape("whois.domain-registry.nl: daily whois-limit exceeded")}/ - true - else - false - end - end - - # Checks whether this response contains a message - # that can be reconducted to a "WHOIS Server Unavailable" status. - # - # @return [Boolean] - def response_unavailable? - !!(content_for_scanner =~ /Server too busy, try again later/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.domain.kg.rb b/lib/whois/record/parser/whois.domain.kg.rb deleted file mode 100644 index 46dfc4dc9..000000000 --- a/lib/whois/record/parser/whois.domain.kg.rb +++ /dev/null @@ -1,78 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.domain.kg - # - # Parser for the whois.domain.kg server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisDomainKg < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /This domain is available for registration/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Record created: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record last updated on (.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Record expires on (.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name servers in the listed order:\n\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.domainregistry.ie.rb b/lib/whois/record/parser/whois.domainregistry.ie.rb deleted file mode 100644 index 21b038a11..000000000 --- a/lib/whois/record/parser/whois.domainregistry.ie.rb +++ /dev/null @@ -1,123 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.domainregistry.ie.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.domainregistry.ie server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDomainregistryIe < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisDomainregistryIe - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("domain") - end - - property_not_supported :domain_id - - - property_supported :status do - case node("ren-status", &:downcase) - when /^active/ - :registered - when nil - if node("status:pending") - :registered - else - :available - end - else - Whois.bug!(ParserError, "Unknown status `#{node("status")}'.") - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("registration") { |value| Time.parse(value) } - end - - property_not_supported :updated_on - - property_supported :expires_on do - node("renewal") { |value| Time.parse(value) } - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - node("descr") do |array| - Record::Contact.new( - :type => Whois::Record::Contact::TYPE_REGISTRANT, - :id => nil, - :name => array[0] - ) - end - end - - property_supported :admin_contacts do - build_contact("admin-c", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("tech-c", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("nserver")).map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - - private - - def build_contact(element, type) - Array.wrap(node(element)).map do |id| - next unless (contact = node("field:#{id}")) - Record::Contact.new( - :type => type, - :id => id, - :name => contact["person"] - ) - end.compact - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.domreg.lt.rb b/lib/whois/record/parser/whois.domreg.lt.rb deleted file mode 100644 index a72ecf26f..000000000 --- a/lib/whois/record/parser/whois.domreg.lt.rb +++ /dev/null @@ -1,70 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.domreg.lt parser - # - # Parser for the whois.domreg.lt server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisDomregLt < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.*)\n/ - $1.to_sym - end - end - - property_supported :available? do - (status == :available) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(.+)\n/).flatten.map do |line| - if line =~ /(.+)\t\[(.+)\]/ - Record::Nameserver.new(:name => $1, :ipv4 => $2) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.donuts.co.rb b/lib/whois/record/parser/whois.donuts.co.rb deleted file mode 100644 index 18ea83705..000000000 --- a/lib/whois/record/parser/whois.donuts.co.rb +++ /dev/null @@ -1,64 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.donuts.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDonutsCo < BaseIcannCompliant - - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Domain not found\.\n/ - } - - - property_supported :domain_id do - node('Domain ID') - end - - - property_supported :expires_on do - node('Registry Expiry Date') do |value| - Time.parse(value) - end - end - - - property_supported :registrar do - return unless node('Sponsoring Registrar') - Record::Registrar.new( - id: node('Sponsoring Registrar IANA ID'), - name: node('Sponsoring Registrar'), - organization: node('Sponsoring Registrar') - ) - end - - - private - - def build_contact(element, type) - if (contact = super) - contact.id = node("#{element} ID") - end - contact - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dot.cf.rb b/lib/whois/record/parser/whois.dot.cf.rb deleted file mode 100644 index 5c20649cf..000000000 --- a/lib/whois/record/parser/whois.dot.cf.rb +++ /dev/null @@ -1,73 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dot.cf server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDotCf < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /domain name not known/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain registered:\s(.+)\n/ - Time.strptime($1, "%m/%d/%Y") - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Record will expire on:\s(.+)\n/ - value = $1.strip - Time.strptime(value, "%m/%d/%Y") if value.present? - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain Nameservers:\n((.+\n)+)\s+\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(name: name.strip.downcase) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dot.tk.rb b/lib/whois/record/parser/whois.dot.tk.rb deleted file mode 100644 index 38ecf8936..000000000 --- a/lib/whois/record/parser/whois.dot.tk.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dot.tk server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDotTk < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /domain name not known/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain registered:\s(.+)\n/ - Time.strptime($1, "%m/%d/%Y") - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Record will expire on:\s(.+)\n/ - Time.strptime($1, "%m/%d/%Y") - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain Nameservers:\n((.+\n)+)\s+\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(name: name.strip.downcase) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dotgov.gov.rb b/lib/whois/record/parser/whois.dotgov.gov.rb deleted file mode 100644 index d1ed241af..000000000 --- a/lib/whois/record/parser/whois.dotgov.gov.rb +++ /dev/null @@ -1,63 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.dotgov.gov server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDotgovGov < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !registered? - end - - property_supported :registered? do - !!(content_for_scanner =~ /Domain Name:/) - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dotmobiregistry.net.rb b/lib/whois/record/parser/whois.dotmobiregistry.net.rb deleted file mode 100644 index f39f1c06e..000000000 --- a/lib/whois/record/parser/whois.dotmobiregistry.net.rb +++ /dev/null @@ -1,23 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.dotmobiregistry.net server. - class WhoisDotmobiregistryNet < BaseAfilias - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dotpostregistry.net.rb b/lib/whois/record/parser/whois.dotpostregistry.net.rb deleted file mode 100644 index fcb3ddfea..000000000 --- a/lib/whois/record/parser/whois.dotpostregistry.net.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.dotpostregistry.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDotpostregistryNet < BaseAfilias - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dotproregistry.net.rb b/lib/whois/record/parser/whois.dotproregistry.net.rb deleted file mode 100644 index 4b5635613..000000000 --- a/lib/whois/record/parser/whois.dotproregistry.net.rb +++ /dev/null @@ -1,41 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.dotproregistry.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDotproregistryNet < BaseAfilias - - property_supported :status do - if reserved? - :reserved - else - super() - end - end - - # NEWPROPERTY - def reserved? - !!content_for_scanner.match(/Governmental Reserved Name/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.dreamhost.com.rb b/lib/whois/record/parser/whois.dreamhost.com.rb deleted file mode 100644 index 138f0586b..000000000 --- a/lib/whois/record/parser/whois.dreamhost.com.rb +++ /dev/null @@ -1,25 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - -require 'whois/record/parser/base_icann_compliant' - -module Whois - class Record - class Parser - - # Parser for the whois.dreamhost.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisDreamhostCom < BaseIcannCompliant - end - - end - end -end diff --git a/lib/whois/record/parser/whois.educause.edu.rb b/lib/whois/record/parser/whois.educause.edu.rb deleted file mode 100644 index 1867eb7c5..000000000 --- a/lib/whois/record/parser/whois.educause.edu.rb +++ /dev/null @@ -1,202 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.educause.edu server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisEducauseEdu < Base - - property_supported :disclaimer do - if content_for_scanner =~ /\A((.*\n)+)\n--------------------------\n/ - $1 - else - Whois.bug!(ParserError, "Unable to parse disclaimer.") - end - end - - - property_supported :domain do - if content_for_scanner =~ /Domain Name:\s(.+?)\n/ - $1.downcase - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No Match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain record activated:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Domain record last updated:\s+(.+?)\n/ - Time.parse($1) unless $1 == 'unknown' - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Domain expires:\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_not_supported :registrar - - property_supported :registrant_contacts do - build_contact_registrant("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Administrative Contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical Contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers: \n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name.downcase, :ipv4 => ipv4) - end - end - end - - - private - - # [NAME] | EMPTY - # [ROLE]? - # [ORGANIZATION] - # [ADDRESS]* - # [CITY, ST ZIP] - # [COUNTRY] - # [PHONE] - # [EMAIL] - def build_contact(element, type) - if content_for_scanner =~ /#{element}:\n+((.+\n)+)\n/ - lines = $1.split("\n").map(&:strip) - items = lines.dup - - # Extract variables - - # items.shift if items[0].strip == '' - - v13 = items.delete_at(-1) - - v11 = items.delete_at(-1) - - v9 = items.delete_at(-1) - - v6 = items.delete_at(-1) - if v6 =~ /([^\n,]+),\s([A-Z]{2})(?:\s(\d{5}(?:-\d{4})?))/ - v6, v7, v8 = $1, $2, $3 - end - - v4 = [] - until items[0] =~ /^\d+/ || items.empty? - v4 << items.shift - end - v4 = v4.join("\n") - - v5 = items.empty? ? nil : items.join("\n") - - # Create Contact - - Record::Contact.new( - :type => type, - :name => v4, - :organization => nil, - :address => v5, - :city => v6, - :state => v7, - :zip => v8, - :country => v9, - :phone => v11, - :email => v13 - ) - end - end - - # [ORGANIZATION] - # [ADDRESS]* - # [CITY, ST ZIP] | [CITY] - # [COUNTRY] - def build_contact_registrant(element, type) - if content_for_scanner =~ /#{element}:\n((.+\n)+)\n/ - lines = $1.split("\n").map(&:strip) - items = lines.dup - - # Extract variables - - v9 = items.delete_at(-1) - - v4 = items.delete_at(0) - - v6 = items.delete_at(-1) - if v6 =~ /([^\n,]+),\s([A-Z]{2})(?:\s(\d{5}))/ - v6, v7, v8 = $1, $2, $3 - end - - v5 = items.empty? ? nil : items.join("\n") - - # Create Contact - - Record::Contact.new( - :type => type, - :name => nil, - :organization => v4, - :address => v5, - :city => v6, - :state => v7, - :zip => v8, - :country => v9 - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.eenet.ee.rb b/lib/whois/record/parser/whois.eenet.ee.rb deleted file mode 100755 index a377ef84f..000000000 --- a/lib/whois/record/parser/whois.eenet.ee.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.eenet.ee server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - # @deprecated The official .ee TLD host is now whois.tld.ee. - # This parser only exists for BC. - # - class WhoisEenetEe < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^NOT FOUND:/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Record created on (.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record changed on (.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Domain servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip.chomp(".")) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.enom.com.rb b/lib/whois/record/parser/whois.enom.com.rb deleted file mode 100644 index 0ee1bb937..000000000 --- a/lib/whois/record/parser/whois.enom.com.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.enom.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisEnomCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Domain not found\.\n/ - } - - property_supported :updated_on do - node('Updated Date') do |value| - parse_time(value) unless value.empty? - end - end - end - - end - end -end diff --git a/lib/whois/record/parser/whois.eu.org.rb b/lib/whois/record/parser/whois.eu.org.rb deleted file mode 100644 index 87b0d8514..000000000 --- a/lib/whois/record/parser/whois.eu.org.rb +++ /dev/null @@ -1,60 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.eu.org parser - # - # Parser for the whois.eu.org server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisEuOrg < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Key not found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.eu.rb b/lib/whois/record/parser/whois.eu.rb deleted file mode 100644 index d5adee448..000000000 --- a/lib/whois/record/parser/whois.eu.rb +++ /dev/null @@ -1,132 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.eu server. - # - class WhoisEu < Base - - property_supported :domain do - if content_for_scanner =~ /Domain:\s+(.+)\n/ - "#{$1.downcase}.eu" - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Status:\s+AVAILABLE/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - if content_for_scanner =~ /Registrar:\s((.+\n)+)\n/ - lines = $1 - Record::Registrar.new( - name: lines.slice(/Name:\s+(.+)/, 1), - url: lines.slice(/Website:\s+(.+)/, 1) - ) - end - end - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - # Technical Contact - # - # Technical: - # Name: DNS Admin - # Organisation: Google Inc. - # Language: en - # Phone: +1.6506234000 - # Fax: +1.6506188571 - # Email: dns-admin@google.com - # - property_supported :technical_contacts do - if content_for_scanner =~ /Technical:\s((.+\n)+)\n/ - lines = $1 - Record::Contact.new( - :type => Record::Contact::TYPE_TECHNICAL, - :id => nil, - :name => lines.slice(/Name:\s*(.*)/, 1), - :organization => lines.slice(/Organisation:\s*(.*)/, 1), - :phone => lines.slice(/Phone:\s*(.*)/, 1), - :fax => lines.slice(/Fax:\s*(.*)/, 1), - :email => lines.slice(/Email:\s*(.*)/, 1) - ) - end - end - - - # Nameservers are listed in the following formats: - # - # Name servers: - # dns1.servicemagic.eu - # dns2.servicemagic.eu - # - # Name servers: - # dns1.servicemagic.eu (91.121.133.61) - # dns2.servicemagic.eu (91.121.103.77) - # - property_supported :nameservers do - if content_for_scanner =~ /Name\sservers:\s((.+\n)+)\n/ - $1.split("\n").map do |line| - if line.strip =~ /(.+) \((.+)\)/ - Record::Nameserver.new(:name => $1, :ipv4 => $2) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # -1: Still in grace period, wait 7777777 seconds - # - def response_throttled? - !!(content_for_scanner =~ /Still in grace period/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.fi.rb b/lib/whois/record/parser/whois.fi.rb deleted file mode 100644 index a298c0372..000000000 --- a/lib/whois/record/parser/whois.fi.rb +++ /dev/null @@ -1,119 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.fi.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.fi server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisFi < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisFi - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("domain") - end - - property_not_supported :domain_id - - - property_supported :status do - if reserved? - :reserved - elsif registered? - case node("status", &:downcase) - when "granted" - :registered - when "grace period" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{node("status")}'.") - end - else - :available - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("created") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("modified") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("expires") { |value| Time.parse(value) } - end - - - property_not_supported :registrar - - property_supported :registrant_contacts do - node("descr") do |array| - address = node("address") - - Record::Contact.new( - type: Record::Contact::TYPE_REGISTRANT, - id: array[1], - name: address[0], - organization: array[0], - address: address[1], - zip: address[2], - city: address[3], - phone: node("phone") - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - Array.wrap(node("nserver")).map do |line| - Record::Nameserver.new(name: line.split(" ").first) - end - end - - # NEWPROPERTY - def reserved? - !!content_for_scanner.match(/Domain not available/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.gandi.net.rb b/lib/whois/record/parser/whois.gandi.net.rb deleted file mode 100644 index 953042d20..000000000 --- a/lib/whois/record/parser/whois.gandi.net.rb +++ /dev/null @@ -1,32 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.gandi.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisGandiNet < BaseIcannCompliant - - property_supported :available? do - content_for_scanner == "\n" - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.gg.rb b/lib/whois/record/parser/whois.gg.rb deleted file mode 100644 index 31f74193c..000000000 --- a/lib/whois/record/parser/whois.gg.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.gg server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisGg < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.godaddy.com.rb b/lib/whois/record/parser/whois.godaddy.com.rb deleted file mode 100644 index 71bc06472..000000000 --- a/lib/whois/record/parser/whois.godaddy.com.rb +++ /dev/null @@ -1,113 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.godaddy.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisGodaddyCom < Base - - property_not_supported :status - - # The server is contacted only in case of a registered domain. - property_supported :available? do - false - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Creation Date: (.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Updated* Date: (.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date: (.+)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - Record::Registrar.new( - name: content_for_scanner[/Registrar: (.+)\n/, 1], - url: content_for_scanner[/Registrar URL: (.+)\n/, 1], - ) - end - - property_supported :registrant_contacts do - build_contact('Registrant', Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact('Admin', Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact('Tech', Record::Contact::TYPE_TECHNICAL) - end - - property_supported :nameservers do - content_for_scanner.scan(/Name Server: (.+)\n/).map do |line| - Record::Nameserver.new(name: line[0].strip) - end - end - - private - - def build_contact(element, type) - Record::Contact.new( - type: type, - id: nil, - name: value_for_property(element, 'Name'), - organization: value_for_property(element, 'Organization'), - address: value_for_property(element, 'Street'), - city: value_for_property(element, 'City'), - zip: value_for_property(element, 'Postal Code'), - state: value_for_property(element, 'State/Province'), - country: value_for_property(element, 'Country'), - phone: value_for_property(element, 'Phone'), - fax: value_for_property(element, 'Fax'), - email: value_for_property(element, 'Email') - ) - end - - def value_for_property(element, property) - matches = content_for_scanner.scan(/#{element} #{property}:\s(.+)\n/) - value = matches.collect(&:first).join(', ') - if value == "" - nil - else - value - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.gov.za.rb b/lib/whois/record/parser/whois.gov.za.rb deleted file mode 100644 index 4ea2c9f7c..000000000 --- a/lib/whois/record/parser/whois.gov.za.rb +++ /dev/null @@ -1,64 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.gov.za parser - # - # Parser for the whois.gov.za server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisGovZa < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No match found for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Date : (.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.hkirc.hk.rb b/lib/whois/record/parser/whois.hkirc.hk.rb deleted file mode 100644 index 32c2dbb9c..000000000 --- a/lib/whois/record/parser/whois.hkirc.hk.rb +++ /dev/null @@ -1,73 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.hkirc.hk server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisHkircHk < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - content_for_scanner.strip == 'The domain has not been registered.' - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain Name Commencement Date:\s(.+?)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiry Date:\s(.+?)\n/ - time = $1.strip - Time.parse(time) unless time == 'null' - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers Information:\n\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip.downcase) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.iana.org.rb b/lib/whois/record/parser/whois.iana.org.rb deleted file mode 100644 index 1a10e6ff0..000000000 --- a/lib/whois/record/parser/whois.iana.org.rb +++ /dev/null @@ -1,104 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/iana' - - -module Whois - class Record - class Parser - - # Parser for the whois.iana.org server. - class WhoisIanaOrg < Base - include Scanners::Scannable - - self.scanner = Scanners::Iana - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /This query returned 0 objects|organisation: Not assigned/) - end - - property_supported :registered? do - !available? - end - - - # TODO: registrar - - property_supported :registrant_contacts do - build_contact("organisation", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("administrative", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("technical", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :created_on do - node("dates") { |raw| Time.parse(raw["created"]) if raw.has_key? "created" } - end - - property_supported :updated_on do - node("dates") { |raw| Time.parse(raw["changed"]) if raw.has_key? "changed" } - end - - property_not_supported :expires_on - - - property_supported :nameservers do - node("nameservers") do |raw| - (raw["nserver"] || "").split("\n").map do |line| - name, ipv4 = line.downcase.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - - private - - def build_contact(element, type) - node(element) do |raw| - if raw["organisation"] != "Not assigned" - address = (raw["address"] || "").split("\n") - Record::Contact.new( - :type => type, - :name => raw["name"], - :organization => raw["organisation"], - :address => address[0], - :city => address[1], - :zip => address[2], - :country => address[3], - :phone => raw["phone"], - :fax => raw["fax-no"], - :email => raw["e-mail"] - ) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.iis.nu.rb b/lib/whois/record/parser/whois.iis.nu.rb deleted file mode 100644 index 31f9349ee..000000000 --- a/lib/whois/record/parser/whois.iis.nu.rb +++ /dev/null @@ -1,28 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/base_iisse' - - -module Whois - class Record - class Parser - - # Parser for the whois.iis.nu server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisIisNu < BaseIisse - end - - end - end -end diff --git a/lib/whois/record/parser/whois.iis.se.rb b/lib/whois/record/parser/whois.iis.se.rb deleted file mode 100644 index 9ed281191..000000000 --- a/lib/whois/record/parser/whois.iis.se.rb +++ /dev/null @@ -1,28 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/base_iisse' - - -module Whois - class Record - class Parser - - # Parser for the whois.iis.se server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisIisSe < BaseIisse - end - - end - end -end diff --git a/lib/whois/record/parser/whois.in.ua.rb b/lib/whois/record/parser/whois.in.ua.rb deleted file mode 100644 index a90f74880..000000000 --- a/lib/whois/record/parser/whois.in.ua.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.in.ua server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisInUa < Base - - property_supported :status do - if content_for_scanner =~ /status:\s+(.+?)\n/ - case $1.split("-").first.downcase - when "ok" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No records found for object/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.*)\n/ - time = $1.split(" ").last - Time.strptime(time, "%Y%m%d%H%M%S") - end - end - - property_supported :expires_on do - if content_for_scanner =~ /status:\s+(.*)\n/ - time = $1.split(" ").last - Time.strptime(time, "%Y%m%d%H%M%S") - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(name: name.strip.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.inregistry.net.rb b/lib/whois/record/parser/whois.inregistry.net.rb deleted file mode 100644 index 9ae24ddad..000000000 --- a/lib/whois/record/parser/whois.inregistry.net.rb +++ /dev/null @@ -1,29 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.inregistry.net server. - class WhoisInregistryNet < BaseAfilias - - self.scanner = Scanners::BaseAfilias, { - # Disclaimer starts with "Access to" in .in servers - pattern_disclaimer: /^Access to/ - } - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.isnic.is.rb b/lib/whois/record/parser/whois.isnic.is.rb deleted file mode 100644 index 16c8c5a76..000000000 --- a/lib/whois/record/parser/whois.isnic.is.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.isnic.is parser - # - # Parser for the whois.isnic.is server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisIsnicIs < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No entries found for query/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /expires:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.isoc.org.il.rb b/lib/whois/record/parser/whois.isoc.org.il.rb deleted file mode 100644 index 1e1e9b1db..000000000 --- a/lib/whois/record/parser/whois.isoc.org.il.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.isoc.org.il parser - # - # Parser for the whois.isoc.org.il server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisIsocOrgIl < Base - - property_supported :status do - if content_for_scanner =~ /status:\s+(.*?)\n/ - case $1.downcase - when "transfer locked" - :registered - when "transfer allowed" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - # TODO: first changed record - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.+)\n/ - t = content_for_scanner.scan(/changed:\s+(?:.+?) (\d+) \(.+\)\n/).flatten.last - Time.parse(t) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ja.net.rb b/lib/whois/record/parser/whois.ja.net.rb deleted file mode 100644 index b5a3c6763..000000000 --- a/lib/whois/record/parser/whois.ja.net.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.ja.net server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisJaNet < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No such domain (.+)/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /^Entry created:\n\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /^Entry updated:\n\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /^Renewal date:\n\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.strip.downcase.split("\t") - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.je.rb b/lib/whois/record/parser/whois.je.rb deleted file mode 100644 index a4e50b5b6..000000000 --- a/lib/whois/record/parser/whois.je.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca' - - -module Whois - class Record - class Parser - - # Parser for the whois.je server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisJe < BaseCocca - end - - end - end -end diff --git a/lib/whois/record/parser/whois.jprs.jp.rb b/lib/whois/record/parser/whois.jprs.jp.rb deleted file mode 100644 index 38911829f..000000000 --- a/lib/whois/record/parser/whois.jprs.jp.rb +++ /dev/null @@ -1,105 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.jprs.jp server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisJprsJp < Base - - property_supported :status do - if content_for_scanner =~ /\[Status\]\s+(.+)\n/ - case $1.downcase - when "active" - :registered - when "reserved" - :reserved - when "to be suspended" - :redemption - when "suspended" - :expired - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - elsif content_for_scanner =~ /\[State\]\s+(.+)\n/ - case $1.split(" ").first.downcase - when "connected", "registered" - :registered - when "deleted" - :suspended - when "reserved" - :reserved - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match!!/) - end - - property_supported :registered? do - !available? - end - - - # TODO: timezone ('Asia/Tokyo') - property_supported :created_on do - if content_for_scanner =~ /\[(?:Created on|Registered Date)\][ \t]+(.*)\n/ - ($1.empty?) ? nil : Time.parse($1) - end - end - - # TODO: timezone ('Asia/Tokyo') - property_supported :updated_on do - if content_for_scanner =~ /\[Last Updated?\][ \t]+(.*)\n/ - ($1.empty?) ? nil : Time.parse($1) - end - end - - # TODO: timezone ('Asia/Tokyo') - property_supported :expires_on do - if content_for_scanner =~ /\[(?:Expires on|State)\][ \t]+(.*)\n/ - ($1.empty?) ? nil : Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/\[Name Server\][\s\t]+([^\s\n]+?)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - - # NEWPROPERTY - def reserved? - status == :reserved - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.kenic.or.ke.rb b/lib/whois/record/parser/whois.kenic.or.ke.rb deleted file mode 100644 index a9a01d93d..000000000 --- a/lib/whois/record/parser/whois.kenic.or.ke.rb +++ /dev/null @@ -1,93 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.kenic.or.ke server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisKenicOrKe < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - when "not registered" - :available - when "this whois server does not have any records for that zone." - :invalid - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - Whois.bug!(ParserError, "Unable to parse status.") - end - end - - property_supported :available? do - !invalid? && status == :available - end - - property_supported :registered? do - !invalid? && !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Modified:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expires:\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - - # NEWPROPERTY - def invalid? - cached_properties_fetch(:invalid?) do - status == :invalid - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.kr.rb b/lib/whois/record/parser/whois.kr.rb deleted file mode 100644 index a93ab10ac..000000000 --- a/lib/whois/record/parser/whois.kr.rb +++ /dev/null @@ -1,81 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.kr server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisKr < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^Above domain name is not registered to KRNIC/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registered Date\s+:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Updated Date\s+:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date\s+:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/^\w+ Name Server\n((?:.+\n)+)\n/).flatten.map do |group| - Record::Nameserver.new.tap do |nameserver| - if group =~ /\s+Host Name\s+:\s+(.+)\n/ - nameserver.name = $1 - end - if group =~ /\s+IP Address\s+:\s+(.+)\n/ - nameserver.ipv4 = $1 - end - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.markmonitor.com.rb b/lib/whois/record/parser/whois.markmonitor.com.rb deleted file mode 100644 index d5e4cc6c7..000000000 --- a/lib/whois/record/parser/whois.markmonitor.com.rb +++ /dev/null @@ -1,38 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.markmonitor.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisMarkmonitorCom < BaseIcannCompliant - - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No match for/, - pattern_throttled: /^You have exceeded your quota of queries\./, - } - - - def response_throttled? - !!node("response:throttled") - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.monic.mo.rb b/lib/whois/record/parser/whois.monic.mo.rb deleted file mode 100644 index 8102118ad..000000000 --- a/lib/whois/record/parser/whois.monic.mo.rb +++ /dev/null @@ -1,85 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.monic.mo server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisMonicMo < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if content_for_scanner =~ /Domain Name:\s+(.+)\n/ - $1.downcase - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match for/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - if content_for_scanner =~ /Registrar:\s+(.+)\n/ - Record::Registrar.new( - :name => $1 - ) - end - end - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.museum.rb b/lib/whois/record/parser/whois.museum.rb deleted file mode 100644 index 8d77cba74..000000000 --- a/lib/whois/record/parser/whois.museum.rb +++ /dev/null @@ -1,81 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.museum parser - # - # Parser for the whois.museum server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisMuseum < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /NOT FOUND/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created On:(.*?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Updated On:(.*?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:(.*?)\n/ - Time.parse($1) - end - end - - # Nameservers are listed in the following formats: - # - # Name Server: nic.frd.se - # Name Server: nic.museum 130.242.24.5 - # - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.mynic.my.rb b/lib/whois/record/parser/whois.mynic.my.rb deleted file mode 100644 index baf35cbdd..000000000 --- a/lib/whois/record/parser/whois.mynic.my.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.mynic.my server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - class WhoisMynicMy < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Domain Name [^ ]+ does not exist in database/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /\[Record Created\]\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /\[Record Last Modified\]\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /\[Record Expired\]\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/\[(?:Primary|Secondary) Name Server\](?:.+?)\n(.+\n)/).flatten.map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.na-nic.com.na.rb b/lib/whois/record/parser/whois.na-nic.com.na.rb deleted file mode 100644 index 2cfc34e64..000000000 --- a/lib/whois/record/parser/whois.na-nic.com.na.rb +++ /dev/null @@ -1,23 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.na-nic.com.na server. - class WhoisNaNicComNa < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nc.rb b/lib/whois/record/parser/whois.nc.rb deleted file mode 100644 index 2254f9c94..000000000 --- a/lib/whois/record/parser/whois.nc.rb +++ /dev/null @@ -1,124 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.nc.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nc server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNc < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisNc - - - property_not_supported :disclaimer - - - property_supported :domain do - node("Domain") - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Created on") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("Last updated on") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("Expires on") { |value| Time.parse(value) } - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - node("Registrant name") do |str| - address = [] - index = 1 - while line = node("Registrant address #{index}") - address << line - index += 1 - end - - lines = address.dup - country = lines[-1] =~ /(\d+)/ ? nil : lines.pop - zip, city = lines.pop.match(/(\d+) (.+)/)[1, 2] - - Record::Contact.new( - :type => Whois::Record::Contact::TYPE_REGISTRANT, - :id => nil, - :name => node("Registrant name"), - :organization => nil, - :address => lines.join("\n"), - :city => city, - :zip => zip, - :state => nil, - :country => country, - :phone => nil, - :fax => nil, - :email => nil - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - nameservers = [] - index = 1 - while line = node("Domain server #{index}") - nameservers << line - index += 1 - end - - nameservers.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.netcom.cm.rb b/lib/whois/record/parser/whois.netcom.cm.rb deleted file mode 100644 index 4423a8afc..000000000 --- a/lib/whois/record/parser/whois.netcom.cm.rb +++ /dev/null @@ -1,28 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca' - - -module Whois - class Record - class Parser - - # Parser for the whois.netcom.cm server. - class WhoisNetcomCm < BaseCocca - - self.status_mapping.merge!({ - "suspended" => :registered - }) - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.networksolutions.com.rb b/lib/whois/record/parser/whois.networksolutions.com.rb deleted file mode 100644 index 5ad9a9e27..000000000 --- a/lib/whois/record/parser/whois.networksolutions.com.rb +++ /dev/null @@ -1,39 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.networksolutions.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNetworksolutionsCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No match for "[\w\.]+"\.\n/ - } - - private - - def build_contact(element, type) - if (contact = super) && !contact.state.present? - contact.state = node("#{element} State") - end - contact - end - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ac.rb b/lib/whois/record/parser/whois.nic.ac.rb deleted file mode 100644 index d096cbfd4..000000000 --- a/lib/whois/record/parser/whois.nic.ac.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ac server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicAc < BaseIcb - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.af.rb b/lib/whois/record/parser/whois.nic.af.rb deleted file mode 100644 index 81d4fa999..000000000 --- a/lib/whois/record/parser/whois.nic.af.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.af server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicAf < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ag.rb b/lib/whois/record/parser/whois.nic.ag.rb deleted file mode 100644 index 4ac55f8fa..000000000 --- a/lib/whois/record/parser/whois.nic.ag.rb +++ /dev/null @@ -1,23 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ag server. - class WhoisNicAg < BaseAfilias - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.as.rb b/lib/whois/record/parser/whois.nic.as.rb deleted file mode 100644 index 0919f3ade..000000000 --- a/lib/whois/record/parser/whois.nic.as.rb +++ /dev/null @@ -1,65 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.as server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicAs < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /NOT FOUND/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - nil # TODO - end - - property_not_supported :updated_on - - property_supported :expires_on do - nil # TODO - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name servers:\n((.+\n)+)\n/ - $1.strip.split("\n").map do |line| - name, ipv4, ipv6 = line.strip.split(/\s+/) - Record::Nameserver.new(name: name, ipv4: ipv4, ipv6: ipv6) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.asia.rb b/lib/whois/record/parser/whois.nic.asia.rb deleted file mode 100644 index 4477ccdd6..000000000 --- a/lib/whois/record/parser/whois.nic.asia.rb +++ /dev/null @@ -1,109 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.asia server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicAsia < BaseAfilias - - self.scanner = Scanners::BaseAfilias, { - pattern_reserved: /^Reserved by DotAsia\n/, - } - - - property_supported :status do - if reserved? - :reserved - else - Array.wrap(node("Domain Status")) - end - end - - - property_supported :created_on do - node("Domain Create Date") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Domain Last Updated Date") do |value| - Time.parse(value) - end - end - - property_supported :expires_on do - node("Domain Expiration Date") do |value| - Time.parse(value) - end - end - - - property_supported :admin_contacts do - build_contact("Administrative", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Nameservers")).reject(&:empty?).map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - - # NEWPROPERTY - def reserved? - !!node("status:reserved") - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = ["", "2", "3"]. - map { |i| node("#{element} Address#{i}") }. - delete_if(&:empty?). - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country/Economy"), - :phone => node("#{element} Phone"), - :fax => node("#{element} FAX"), - :email => node("#{element} E-mail") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.at.rb b/lib/whois/record/parser/whois.nic.at.rb deleted file mode 100644 index 0720cddda..000000000 --- a/lib/whois/record/parser/whois.nic.at.rb +++ /dev/null @@ -1,66 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.at server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicAt < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /% nothing found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.bj.rb b/lib/whois/record/parser/whois.nic.bj.rb deleted file mode 100644 index 28c9457ef..000000000 --- a/lib/whois/record/parser/whois.nic.bj.rb +++ /dev/null @@ -1,128 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.bj server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicBj < Base - - - property_not_supported :disclaimer - - - property_supported :domain do - if section =~ /Domain Name:\s+(.+)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No records matching/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if section =~ /Created:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if section =~ /Updated:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - if section =~ /Name:\s+(.+)\n/ - Record::Contact.new( - type: Whois::Record::Contact::TYPE_REGISTRANT, - name: $1 - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - (1..4).map do |i| - section =~ /Name Server #{i}:\s+(.+)\n/ ? Record::Nameserver.new(name: $1) : nil - end.compact - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = ["", "2", "3"]. - map { |i| node("#{element} Address#{i}") }. - delete_if(&:empty?). - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country/Economy"), - :phone => node("#{element} Phone"), - :fax => node("#{element} FAX"), - :email => node("#{element} E-mail") - ) - end - end - - def section - return @section if @section - @section = content_for_scanner =~ /((?:Domain:.+\n)(?:.+:.+\n)+)\n/ ? $1 : "" - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.bo.rb b/lib/whois/record/parser/whois.nic.bo.rb deleted file mode 100644 index 3d003eef6..000000000 --- a/lib/whois/record/parser/whois.nic.bo.rb +++ /dev/null @@ -1,75 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.bo server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicBo < Base - - property_supported :domain do - if content_for_scanner =~ /Dominio:(.*)\n/ - $1.strip - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - domain.nil? - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Fecha de registro:(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Fecha de vencimiento:(.*)\n/ - Time.parse($1) - end - end - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.cd.rb b/lib/whois/record/parser/whois.nic.cd.rb deleted file mode 100644 index 71c8dd8d1..000000000 --- a/lib/whois/record/parser/whois.nic.cd.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.cd server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicCd < BaseCocca2 - - property_supported :status do - if node("Domain ID") - :registered - else - :available - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ch.rb b/lib/whois/record/parser/whois.nic.ch.rb deleted file mode 100644 index 17d65d7b4..000000000 --- a/lib/whois/record/parser/whois.nic.ch.rb +++ /dev/null @@ -1,111 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - -module Whois - class Record - class Parser - - # - # = whois.nic.ch parser - # - # Parser for the whois.nic.ch server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicCh < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /We do not have an entry/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - # Registrant is given in the following format: - # - # Holder of domain name: - # Name - # Address line 1 - # Address line 2 - # Address line n - # Contractual Language: language - # - property_supported :registrant_contacts do - if content_for_scanner =~ /Holder of domain name:\n(.+?)\n(.+?)\nContractual Language:.*\n\n/m - Record::Contact.new({ :name => $1, :address => $2, :type => Whois::Record::Contact::TYPE_REGISTRANT }) - end - end - - # Technical contact is given in the following format: - # - # Technical contact: - # Name - # Address line 1 - # Address line 2 - # Address line n - # - property_supported :technical_contacts do - if content_for_scanner =~ /Technical contact:\n(.+?)\n(.+?)\n\n/m - Record::Contact.new({ :name => $1, :address => $2, :type => Whois::Record::Contact::TYPE_TECHNICAL }) - end - end - - property_not_supported :admin_contacts - - # Nameservers are listed in the following formats: - # - # ns1.citrin.ch - # ns1.citrin.ch [193.247.72.8] - # - property_supported :nameservers do - if content_for_scanner =~ /Name servers:\n((.+\n)+)(?:\n|\z)/ - list = {} - order = [] - $1.split("\n").map do |line| - if line =~ /(.+)\t\[(.+)\]/ - name, ip = $1, $2 - order << name unless order.include?(name) - list[name] ||= Record::Nameserver.new(:name => name) - list[name].ipv4 = ip if Whois::Server.valid_ipv4?(ip) - list[name].ipv6 = ip if Whois::Server.valid_ipv6?(ip) - else - order << line unless order.include?(line) - list[line] ||= Record::Nameserver.new(:name => line) - end - end - order.map { |name| list[name] } - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ci.rb b/lib/whois/record/parser/whois.nic.ci.rb deleted file mode 100644 index b6c8a0a59..000000000 --- a/lib/whois/record/parser/whois.nic.ci.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.ci parser - # - # Parser for the whois.nic.ci server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicCi < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^Domain (.+?) not found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created: (.+?)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiration date: (.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.cl.rb b/lib/whois/record/parser/whois.nic.cl.rb deleted file mode 100644 index 95dd59814..000000000 --- a/lib/whois/record/parser/whois.nic.cl.rb +++ /dev/null @@ -1,73 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.cl parser - # - # Parser for the whois.nic.cl server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicCl < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^(.+?): no existe$/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - # TODO: custom date format with foreign month names - # property_supported :updated_on do - # if content_for_scanner =~ /changed:\s+(.*)\n/ - # Time.parse($1.split(" ", 2).last) - # end - # end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Servidores de nombre \(Domain servers\):\n((.+\n)+)\n/ - $1.split("\n").map do |line| - line.strip! - line =~ /(.+) \((.+)\)/ - Record::Nameserver.new(:name => $1, :ipv4 => $2) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.co.rb b/lib/whois/record/parser/whois.nic.co.rb deleted file mode 100644 index a276d90fd..000000000 --- a/lib/whois/record/parser/whois.nic.co.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.co server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicCo < BaseShared2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.college.rb b/lib/whois/record/parser/whois.nic.college.rb deleted file mode 100644 index 4676ec839..000000000 --- a/lib/whois/record/parser/whois.nic.college.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/whois.centralnic.com' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.college server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicCollege < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.coop.rb b/lib/whois/record/parser/whois.nic.coop.rb deleted file mode 100644 index 9a359bbd0..000000000 --- a/lib/whois/record/parser/whois.nic.coop.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.coop parser - # - # Parser for the whois.nic.coop server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicCoop < Base - - property_supported :status do - content_for_scanner.scan(/Status:\s+(.+?)\n/).flatten - end - - property_supported :available? do - !!(content_for_scanner =~ /No domain records were found to match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last updated:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiry Date:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Host Name:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.cx.rb b/lib/whois/record/parser/whois.nic.cx.rb deleted file mode 100644 index 3a3e46b52..000000000 --- a/lib/whois/record/parser/whois.nic.cx.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.cx server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicCx < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.cz.rb b/lib/whois/record/parser/whois.nic.cz.rb deleted file mode 100644 index 90adda4dd..000000000 --- a/lib/whois/record/parser/whois.nic.cz.rb +++ /dev/null @@ -1,188 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.nic.cz.rb' - -module Whois - class Record - class Parser - - - # Parser for the whois.nic.cz server. - # - class WhoisNicCz < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisNicCz - - property_supported :disclaimer do - node "field:disclaimer" - end - - property_supported :domain do - node("domain") { |str| str.downcase } - end - - property_not_supported :domain_id - - property_supported :status do - Array.wrap(node("status")).map do |line| - case line.downcase - when "no entries found" - :available - when "paid and in zone" - :registered - when "delete prohibited","delete forbidden" - :server_delete_prohibited - when "registration renewal prohibited","registration renewal forbidden" - :server_renew_prohibited - when "sponsoring registrar change prohibited","sponsoring registrar change forbidden" - :server_transfer_prohibited - when "update prohibited" - :server_update_prohibited - when "registrant change prohibited","registrant change forbidden" - :server_registrant_change_prohibited - when "domain blocked" - :server_blocked - when "domain is administratively kept out of zone" - :server_out_zone_manual - when "domain is administratively kept in zone" - :server_in_zone_manual - when "expired" - :expired - when "domain is not generated into zone" - :out_of_zone - when "the domain isn't generated in the zone" - :out_of_zone - when "the domain is administratively kept out of zone" - :out_of_zone - when "the domain is administratively kept in zone" - :kept_in_zone - when "renewal forbidden" - :renewal_forbidden - when "deletion forbidden" - :deletion_forbidden - when "to be deleted" - :delete_candidate - when "update forbidden" - :update_forbidden - when "sponsoring registrar change forbidden" - :update_forbidden - when "administratively blocked" - :server_administratively_blocked - else - Whois.bug!(ParserError, "Unknown status `#{line}'.") - end - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - property_supported :created_on do - node("registered") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("changed") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("expire") { |str| Time.parse(str) } - end - - property_supported :registrar do - node("registrar") do |str| - Record::Registrar.new( - :id => str, - :name => str - ) - end - end - - property_supported :registrant_contacts do - build_contact(node("registrant"), Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - Array.wrap(node("admin-c")).collect do |handle| - build_contact(handle, Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - end - - property_supported :technical_contacts do - contacts = [] - node("nsset-#{node('nsset')}") {|str| contacts << str["tech-c"]} - contacts.flatten.collect { |c| - build_contact(c, Whois::Record::Contact::TYPE_TECHNICAL) - } - end - - property_supported :nameservers do - node("nsset-#{node('nsset')}") do |str| - str['nserver'].flatten.map do |line| - if line =~ /(.+) \((.+)\)/ - name = $1 - ipv4, ipv6 = $2.split(', ') - Record::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - end - - def response_throttled? - !!node("response:throttled") - end - - # # Initializes a new {Scanners::WhoisNicCz} instance - # # passing the {#content_for_scanner} - # # and calls +parse+ on it. - # # - # # @return [Hash] - # def parse - # Scanners::WhoisNicCz.new().parse(content_for_scanner) - # end - - private - - def build_contact(element, type) - node("contact-#{element}") do |str| - address = str["address"].kind_of?(Array) ? str["address"].join("\n") : str["address"] - Record::Contact.new( - :id => element, - :type => type, - :name => str["name"], - :organization => str["org"], - :address => address, - :email => str["e-mail"], - :phone => str["phone"], - :fax => str["fax-no"], - # :city => address[1], - # :zip => address[2], - # :state => address[3], - # :country_code => address[4], - :created_on => str["created"] ? Time.parse(str["created"]) : nil, - :updated_on => str["changed"] ? Time.parse(str["changed"]) : nil - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.design.rb b/lib/whois/record/parser/whois.nic.design.rb deleted file mode 100644 index 166d76add..000000000 --- a/lib/whois/record/parser/whois.nic.design.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/whois.centralnic.com' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.design server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicDesign < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.dm.rb b/lib/whois/record/parser/whois.nic.dm.rb deleted file mode 100644 index 625d4735c..000000000 --- a/lib/whois/record/parser/whois.nic.dm.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared3' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.dm server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicDm < BaseShared3 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.dz.rb b/lib/whois/record/parser/whois.nic.dz.rb deleted file mode 100644 index 36824997f..000000000 --- a/lib/whois/record/parser/whois.nic.dz.rb +++ /dev/null @@ -1,60 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.dz parser - # - # Parser for the whois.nic.dz server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicDz < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^NO OBJECT FOUND!$/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ec.rb b/lib/whois/record/parser/whois.nic.ec.rb deleted file mode 100644 index 68d88b927..000000000 --- a/lib/whois/record/parser/whois.nic.ec.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/base_cocca' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ec server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicEc < BaseCocca - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - super() - else - registrar ? :registered : :available - # Whois.bug!(ParserError, "Unable to parse status.") - end - end - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.es.rb b/lib/whois/record/parser/whois.nic.es.rb deleted file mode 100644 index c8556651d..000000000 --- a/lib/whois/record/parser/whois.nic.es.rb +++ /dev/null @@ -1,107 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.es server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicEs < Base - - property_supported :domain do - if content_for_scanner =~ /Domain Name:\s+(.+)\n/ - $1.downcase - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /There is no information available on the domain consulted/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Creation Date:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - Record::Registrar.new( - :name => 'ES-NIC', - :organization => 'ES-NIC Delegated Internet Registry for Spain', - ) - end - - - property_supported :registrant_contacts do - if content_for_scanner =~ /Registrant Name:\s+(.+)\n/ - Record::Contact.new( - type: Whois::Record::Contact::TYPE_REGISTRANT, - id: nil, - name: $1.to_s.strip, - organization: nil, - address: nil, - city: nil, - zip: nil, - state: nil, - country: nil, - phone: nil, - fax: nil, - email: nil - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server \d{1}:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(name: name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.fo.rb b/lib/whois/record/parser/whois.nic.fo.rb deleted file mode 100644 index a42be1d25..000000000 --- a/lib/whois/record/parser/whois.nic.fo.rb +++ /dev/null @@ -1,45 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_whoisd' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.fo server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicFo < BaseWhoisd - - property_not_supported :registrar - - # whois.nic.fo is using an old whoisd version. - property_supported :technical_contacts do - node('tech-c') do |value| - build_contact(value, Record::Contact::TYPE_TECHNICAL) - end - end - - - # whois.nic.fo is using an old whoisd version. - property_supported :nameservers do - Array.wrap(node('nserver')).map do |line| - Record::Nameserver.new(:name => line.strip) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.fr.rb b/lib/whois/record/parser/whois.nic.fr.rb deleted file mode 100644 index a84c02c49..000000000 --- a/lib/whois/record/parser/whois.nic.fr.rb +++ /dev/null @@ -1,176 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.fr server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicFr < Base - - property_supported :status do - if content_for_scanner =~ /status:\s+(.+)\n/ - case $1.downcase - when "active" then :registered - when "registered" then :registered - when "redemption" then :redemption - when "blocked" then :inactive - # The 'frozen' status seems to be a status - # where a registered domain is placed to prevent changes - # and/or when changes can't be made. - when "frozen" then :registered - # The 'not_open' status seems to indicate a domain - # that is already reserved and can't be registered directly. - # This is the case of second level names. - when "not_open" then :reserved - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No entries found in the AFNIC Database/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.+)\n/ - d, m, y = $1.split("/") - Time.parse("#{y}-#{m}-#{d}") - end - end - - property_supported :updated_on do - if content_for_scanner =~ /last-update:\s+(.+)\n/ - d, m, y = $1.split("/") - Time.parse("#{y}-#{m}-#{d}") - end - end - - # TODO: Use anniversary - property_not_supported :expires_on - - - property_supported :registrant_contacts do - parse_contact("holder-c", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - parse_contact("admin-c", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - parse_contact("tech-c", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |line| - if line =~ /(.+) \[(.+)\]/ - name = $1 - ips = $2.split(/\s+/) - ipv4 = ips.find { |ip| Whois::Server.valid_ipv4?(ip) } - ipv6 = ips.find { |ip| Whois::Server.valid_ipv6?(ip) } - Record::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6) - else - Record::Nameserver.new(:name => line) - end - end - end - - # Checks whether the response has been throttled. - # - # @return [Boolean] - def response_throttled? - !!(content_for_scanner =~ /^%% Too many requests\.{3}/) - end - - - private - - MULTIVALUE_KEYS = %w( address ) - - def parse_contact(element, type) - return unless content_for_scanner =~ /#{element}:\s+(.+)\n/ - - id = $1 - content_for_scanner.scan(/nic-hdl:\s+#{id}\n((.+\n)+)\n/).any? || - Whois.bug!(ParserError, "Unable to parse contact block for nic-hdl: #{id}") - values = build_hash($1.scan(/(.+?):\s+(.+?)\n/)) - - if values["type"] == "ORGANIZATION" - name = nil - organization = values["contact"] - address = values["address"].join("\n") - else - name = values["contact"] - if values["address"].nil? - organization = nil - address = nil - elsif values["address"].size > 2 - organization = values["address"][0] - address = values["address"][1..-1].join("\n") - else - organization = nil - address = values["address"].join("\n") - end - end - - updated_on = values["changed"] ? Time.utc(*values["changed"].split(" ").first.split("/").reverse) : nil - - Record::Contact.new({ - :type => type, - :id => id, - :name => name, - :organization => organization, - :address => address, - :country_code => values["country"], - :phone => values["phone"], - :fax => values["fax-no"], - :email => values["e-mail"], - :updated_on => updated_on, - }) - end - - def build_hash(tokens) - {}.tap do |hash| - tokens.each do |key, value| - if MULTIVALUE_KEYS.include?(key) - hash[key] ||= [] - hash[key] << value - else - hash[key] = value - end - end - end - end - - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.gd.rb b/lib/whois/record/parser/whois.nic.gd.rb deleted file mode 100644 index dc93be9ae..000000000 --- a/lib/whois/record/parser/whois.nic.gd.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared3' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.gd server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicGd < BaseShared3 - - # NEWPROPERTY - def reserved? - !!content_for_scanner.match(/RESTRICTED/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.gl.rb b/lib/whois/record/parser/whois.nic.gl.rb deleted file mode 100644 index 356e5d73a..000000000 --- a/lib/whois/record/parser/whois.nic.gl.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.gl server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicGl < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.gs.rb b/lib/whois/record/parser/whois.nic.gs.rb deleted file mode 100644 index fa0e47b5c..000000000 --- a/lib/whois/record/parser/whois.nic.gs.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.gs server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicGs < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.hn.rb b/lib/whois/record/parser/whois.nic.hn.rb deleted file mode 100644 index cb8c16218..000000000 --- a/lib/whois/record/parser/whois.nic.hn.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.hn server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicHn < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ht.rb b/lib/whois/record/parser/whois.nic.ht.rb deleted file mode 100644 index da1165b24..000000000 --- a/lib/whois/record/parser/whois.nic.ht.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ht server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicHt < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.hu.rb b/lib/whois/record/parser/whois.nic.hu.rb deleted file mode 100644 index 03efaa3a3..000000000 --- a/lib/whois/record/parser/whois.nic.hu.rb +++ /dev/null @@ -1,80 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.hu server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicHu < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if content_for_scanner =~ /domain:\s+(.+)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /\/ No match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /record created:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :registrar - - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.im.rb b/lib/whois/record/parser/whois.nic.im.rb deleted file mode 100644 index 0ccfd7389..000000000 --- a/lib/whois/record/parser/whois.nic.im.rb +++ /dev/null @@ -1,68 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.im parser - # - # Parser for the whois.nic.im server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicIm < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /was not found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiry Date:\s+(.*?)\n/ - Time.parse($1.gsub("/", "-")) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.chomp(".")) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.io.rb b/lib/whois/record/parser/whois.nic.io.rb deleted file mode 100644 index 868562825..000000000 --- a/lib/whois/record/parser/whois.nic.io.rb +++ /dev/null @@ -1,50 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.io server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicIo < BaseIcb - - property_supported :domain do - if reserved? - nil - else - super() - end - end - - property_supported :status do - if reserved? - :reserved - else - super() - end - end - - - # NEWPROPERTY - def reserved? - !!content_for_scanner.match(/^Domain reserved\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ir.rb b/lib/whois/record/parser/whois.nic.ir.rb deleted file mode 100644 index 256697bbf..000000000 --- a/lib/whois/record/parser/whois.nic.ir.rb +++ /dev/null @@ -1,68 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.ir parser - # - # Parser for the whois.nic.ir server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicIr < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /%ERROR:101: no entries found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /last-updated:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.it.rb b/lib/whois/record/parser/whois.nic.it.rb deleted file mode 100644 index 4fd643851..000000000 --- a/lib/whois/record/parser/whois.nic.it.rb +++ /dev/null @@ -1,161 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.nic.it.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.it server. - class WhoisNicIt < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisNicIt - - - property_supported :disclaimer do - node("Disclaimer") - end - - - property_supported :domain do - node("Domain") { |str| str.downcase } - end - - property_not_supported :domain_id - - - property_supported :status do - case s = node("Status").to_s.downcase - when /^ok/, /\bclient/ - :registered - when "grace-period", "no-provider" - :registered - when /^pendingupdate/ - :registered - when /^pendingtransfer/ - :registered - when /redemption\-/ - :redemption - when "pending-delete" - :redemption - # The domain will be deleted in 5 days - when /^pendingdelete/ - :redemption - when "unassignable" - :unavailable - when "reserved" - :reserved - when "available" - :available - when /^inactive/ - :inactive - else - Whois.bug!(ParserError, "Unknown status `#{s}'.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? && - !unavailable? - end - - # NEWPROPERTY - def unavailable? - status == :unavailable - end - - - property_supported :created_on do - node("Created") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("Last Update") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("Expire Date") { |str| Time.parse(str) } - end - - - property_supported :registrar do - node("Registrar") do |str| - Record::Registrar.new( - id: str["Name"], - name: str["Name"], - organization: str["Organization"], - url: str["Web"] - ) - end - end - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin Contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical Contacts", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Nameservers")).map do |name| - Record::Nameserver.new(:name => name) - end - end - - - # Checks whether this response contains a message - # that can be reconducted to a "WHOIS Server Unavailable" status. - # - # @return [Boolean] - def response_unavailable? - !!node("response:unavailable") - end - - - private - - def build_contact(element, type) - node(element) do |str| - address = (str["Address"] || "").split("\n") - company = address.size == 6 ? address.shift : nil - Record::Contact.new( - :id => str["ContactID"], - :type => type, - :name => str["Name"], - :organization => str["Organization"] || company, - :address => address[0], - :city => address[1], - :zip => address[2], - :state => address[3], - :country_code => address[4], - :created_on => str["Created"] ? Time.parse(str["Created"]) : nil, - :updated_on => str["Last Update"] ? Time.parse(str["Last Update"]) : nil - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ki.rb b/lib/whois/record/parser/whois.nic.ki.rb deleted file mode 100644 index d5cb912e0..000000000 --- a/lib/whois/record/parser/whois.nic.ki.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ki server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicKi < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.kz.rb b/lib/whois/record/parser/whois.nic.kz.rb deleted file mode 100644 index fca1237e6..000000000 --- a/lib/whois/record/parser/whois.nic.kz.rb +++ /dev/null @@ -1,69 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.kz server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - class WhoisNicKz < Base - - property_supported :status do - if content_for_scanner =~ /Domain status : ((.+\n)+)\s+\n/ - $1.split("\n").map { |value| value.split("-").first.strip } - else - nil - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Nothing found for this query/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain created: (.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last modified : (.+)\n/ && !(value = $1).empty? - Time.parse(value) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/^\w+ server\.+:\s(.*)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.la.rb b/lib/whois/record/parser/whois.nic.la.rb deleted file mode 100644 index ce960becf..000000000 --- a/lib/whois/record/parser/whois.nic.la.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/whois.centralnic.com.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.la server. - # - # It aliases the whois.centralnic.com parser because - # the .LA TLD is powered by Centralnic. - class WhoisNicLa < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.li.rb b/lib/whois/record/parser/whois.nic.li.rb deleted file mode 100644 index 62174e7dc..000000000 --- a/lib/whois/record/parser/whois.nic.li.rb +++ /dev/null @@ -1,66 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.li parser - # - # Parser for the whois.nic.li server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicLi < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /We do not have an entry in our database matching your query\./) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Name servers:\n((.+\n)+)(?:\n|\z)/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.lk.rb b/lib/whois/record/parser/whois.nic.lk.rb deleted file mode 100644 index 98f264cbd..000000000 --- a/lib/whois/record/parser/whois.nic.lk.rb +++ /dev/null @@ -1,111 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.lk server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicLk < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if content_for_scanner =~ /Domain Name:\n\s+(.+)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^This Domain is not available/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created on\.+:(.+)\n/ - Time.parse($1) unless $1 == "null" - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record last updated on\.+:(.+)\n/ - Time.parse($1) unless $1 == "null" - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expires on\.+:(.+)\n/ - Time.parse($1) - end - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - if content_for_scanner =~ /Registrant:\n\s+(.+)\n/ - Record::Contact.new( - :type => Whois::Record::Contact::TYPE_REGISTRANT, - :id => nil, - :name => $1, - :organization => nil, - :address => nil, - :city => nil, - :zip => nil, - :state => nil, - :country => nil, - :country_code => nil, - :phone => nil, - :fax => nil, - :email => nil - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - property_supported :nameservers do - if content_for_scanner =~ /Domain Servers in listed order:\n((?:.+\n)+)/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip.chomp(".")) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.lv.rb b/lib/whois/record/parser/whois.nic.lv.rb deleted file mode 100644 index 81ac4869e..000000000 --- a/lib/whois/record/parser/whois.nic.lv.rb +++ /dev/null @@ -1,69 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # = whois.nic.lv parser - # - # Parser for the whois.nic.lv server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicLv < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Status: free/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /Changed:\s+(.+)\n/ - # Hack to remove usec. Do you know a better way? - # Time.utc(*Time.parse($1).to_a) - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/Nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ly.rb b/lib/whois/record/parser/whois.nic.ly.rb deleted file mode 100644 index 2953933dc..000000000 --- a/lib/whois/record/parser/whois.nic.ly.rb +++ /dev/null @@ -1,78 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.ly parser - # - # Parser for the whois.nic.ly server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicLy < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - (content_for_scanner.strip == "Not found") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Updated:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expired:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain servers in listed order:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.md.rb b/lib/whois/record/parser/whois.nic.md.rb deleted file mode 100644 index c65d06d9f..000000000 --- a/lib/whois/record/parser/whois.nic.md.rb +++ /dev/null @@ -1,96 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.md parser - # - # Parser for the whois.nic.md server. - # - class WhoisNicMd < Base - - property_not_supported :disclaimer - - - property_supported :domain do - if content_for_scanner =~ /Domain name:\s(.+?)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner.strip == "No match for") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s(.+?)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expiration date:\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - if content_for_scanner =~ /Registrant:\s+(.+?)\n/ - Record::Contact.new( - :type => Whois::Record::Contact::TYPE_REGISTRANT, - :name => $1 - ) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/Name server:\s(.+?)\n/).flatten.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.me.rb b/lib/whois/record/parser/whois.nic.me.rb deleted file mode 100644 index d61f26d06..000000000 --- a/lib/whois/record/parser/whois.nic.me.rb +++ /dev/null @@ -1,87 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.me server. - class WhoisNicMe < BaseAfilias - - property_supported :status do - Array.wrap(node("Domain Status")) - end - - - property_supported :created_on do - node("Domain Create Date") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Domain Last Updated Date") do |value| - Time.parse(value) unless value.empty? - end - end - - property_supported :expires_on do - node("Domain Expiration Date") do |value| - Time.parse(value) - end - end - - - property_supported :nameservers do - Array.wrap(node("Nameservers")).reject(&:empty?).map do |name| - Record::Nameserver.new(name: name.downcase) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = ["", "2", "3"]. - map { |i| node("#{element} Address#{i}") }. - delete_if(&:empty?). - join("\n") - - Record::Contact.new( - type: type, - id: node("#{element} ID"), - name: node("#{element} Name"), - organization: node("#{element} Organization"), - address: address, - city: node("#{element} City"), - zip: node("#{element} Postal Code"), - state: node("#{element} State/Province"), - country_code: node("#{element} Country/Economy"), - phone: node("#{element} Phone"), - fax: node("#{element} FAX"), - email: node("#{element} E-mail") - ) - end - end - - def decompose_registrar(value) - if value =~ /^(.+?) ([^\s]+)$/ - [$2, $1] - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.mg.rb b/lib/whois/record/parser/whois.nic.mg.rb deleted file mode 100644 index aa7e29fc3..000000000 --- a/lib/whois/record/parser/whois.nic.mg.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.mg server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicMg < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ms.rb b/lib/whois/record/parser/whois.nic.ms.rb deleted file mode 100644 index 82e13448f..000000000 --- a/lib/whois/record/parser/whois.nic.ms.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.ms server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicMs < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.mu.rb b/lib/whois/record/parser/whois.nic.mu.rb deleted file mode 100644 index 3034d4b55..000000000 --- a/lib/whois/record/parser/whois.nic.mu.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.mu server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicMu < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.mx.rb b/lib/whois/record/parser/whois.nic.mx.rb deleted file mode 100644 index 7085c9230..000000000 --- a/lib/whois/record/parser/whois.nic.mx.rb +++ /dev/null @@ -1,81 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.mx parser - # - # Parser for the whois.nic.mx server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicMx < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Object_Not_Found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created On:\s+(.*)\n/ - Time.parse($1) - end - end - - # FIXME: the response contains localized data - # Expiration Date: 10-may-2011 - # Last Updated On: 15-abr-2010 <-- - # property_supported :updated_on do - # if content_for_scanner =~ /Last Updated On:\s+(.*)\n/ - # Time.parse($1) - # end - # end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.scan(/DNS:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.name.rb b/lib/whois/record/parser/whois.nic.name.rb deleted file mode 100644 index 6ff8d9774..000000000 --- a/lib/whois/record/parser/whois.nic.name.rb +++ /dev/null @@ -1,70 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.name server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicName < Base - - property_supported :status do - content_for_scanner.scan(/Domain Status:\s+(.+?)\n/).flatten - end - - property_supported :available? do - !!(content_for_scanner =~ /^No match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created On: (.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Updated On: (.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expires On: (.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.net.ng.rb b/lib/whois/record/parser/whois.nic.net.ng.rb deleted file mode 100644 index c23ac53cc..000000000 --- a/lib/whois/record/parser/whois.nic.net.ng.rb +++ /dev/null @@ -1,29 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.net.ng server. - class WhoisNicNetNg < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.net.sa.rb b/lib/whois/record/parser/whois.nic.net.sa.rb deleted file mode 100644 index 5fd379336..000000000 --- a/lib/whois/record/parser/whois.nic.net.sa.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.net.sa server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicNetSa < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^No Match for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created on: (.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Updated on: (.+)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(name: name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.net.sb.rb b/lib/whois/record/parser/whois.nic.net.sb.rb deleted file mode 100644 index 41eb74ef7..000000000 --- a/lib/whois/record/parser/whois.nic.net.sb.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.net.sb server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicNetSb < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.nf.rb b/lib/whois/record/parser/whois.nic.nf.rb deleted file mode 100644 index cf09cbaa8..000000000 --- a/lib/whois/record/parser/whois.nic.nf.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.nf server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicNf < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.org.uy.rb b/lib/whois/record/parser/whois.nic.org.uy.rb deleted file mode 100644 index 41a0cd2eb..000000000 --- a/lib/whois/record/parser/whois.nic.org.uy.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.org.uy server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicOrgUy < Base - - property_supported :status do - if content_for_scanner =~ /Estatus del dominio: (.+?)\n/ - case $1.downcase - when "activo" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match for "(.+?)"/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Fecha de Creacion: (.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Ultima Actualizacion: (.+)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Servidor\(es\) de Nombres de Dominio:\n\n((.+\n)+)\n/ - $1.scan(/-\s(.*?)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.pr.rb b/lib/whois/record/parser/whois.nic.pr.rb deleted file mode 100644 index 0d0184820..000000000 --- a/lib/whois/record/parser/whois.nic.pr.rb +++ /dev/null @@ -1,86 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.pr server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicPr < Base - - property_supported :domain do - if content_for_scanner =~ /^Domain:\s+(.+)\n/ - $1 - elsif content_for_scanner =~ /^The domain (.+?) is not registered\.\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^The domain (.+?) is not registered\.\n/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created On:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expires On:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_not_supported :registrar - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - content_for_scanner.scan(/DNS:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.priv.at.rb b/lib/whois/record/parser/whois.nic.priv.at.rb deleted file mode 100644 index 38978487b..000000000 --- a/lib/whois/record/parser/whois.nic.priv.at.rb +++ /dev/null @@ -1,64 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.priv.at parser - # - # Parser for the whois.nic.priv.at server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicPrivAt < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No entries found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.+)\n/ - Time.parse($1.strip.split(" ").last) - end - end - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.pw.rb b/lib/whois/record/parser/whois.nic.pw.rb deleted file mode 100644 index 35b2d29fe..000000000 --- a/lib/whois/record/parser/whois.nic.pw.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/whois.centralnic.com.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.pw server. - # - # It aliases the whois.centralnic.com parser because - # the .PW TLD is powered by Centralnic. - class WhoisNicPw < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.sh.rb b/lib/whois/record/parser/whois.nic.sh.rb deleted file mode 100644 index 3539939a5..000000000 --- a/lib/whois/record/parser/whois.nic.sh.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.sh server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicSh < BaseIcb - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.sl.rb b/lib/whois/record/parser/whois.nic.sl.rb deleted file mode 100644 index 102c91e2c..000000000 --- a/lib/whois/record/parser/whois.nic.sl.rb +++ /dev/null @@ -1,78 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.sl parser - # - # Parser for the whois.nic.sl server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicSl < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Domain not found, marked private, or error in your query/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /^Registration Date:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /^Last Updated:\s+(.+)\n/ - if $1 != "0000-00-00" - Time.parse($1) - end - end - end - - property_supported :expires_on do - if content_for_scanner =~ /^Expiration Date:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.sm.rb b/lib/whois/record/parser/whois.nic.sm.rb deleted file mode 100644 index fa9f1de26..000000000 --- a/lib/whois/record/parser/whois.nic.sm.rb +++ /dev/null @@ -1,78 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.sm parser - # - # Parser for the whois.nic.sm server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicSm < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" then :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - (content_for_scanner.strip == "No entries found.") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Registration date: (.+)\n/ - Time.utc(*$1.split('/').reverse) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Update: (.+)\n/ - Time.utc(*$1.split('/').reverse) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /DNS Servers:\n((.*\n)+)(?:\n|\z)/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.sn.rb b/lib/whois/record/parser/whois.nic.sn.rb deleted file mode 100644 index 33389154b..000000000 --- a/lib/whois/record/parser/whois.nic.sn.rb +++ /dev/null @@ -1,115 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.sn parser - # - # Parser for the whois.nic.sn server. - # - class WhoisNicSn < Base - - property_not_supported :disclaimer - - property_supported :domain do - if registered? and content_for_scanner =~ /Domain:\s+(.+)\n/ - $1 - elsif available? and content_for_scanner =~ /Domain (.+?) not found/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Domain (.+?) not found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.+)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :registrar do - if content_for_scanner =~ /Registrar:\s+(.+)\n/ - Whois::Record::Registrar.new( - :id => $1, - :name => $1 - ) - end - end - - - property_supported :registrant_contacts do - if content_for_scanner =~ /Owner's handle:\s+(.+)\n/ - build_contact($1, Whois::Record::Contact::TYPE_REGISTRANT) - end - end - - property_supported :admin_contacts do - if content_for_scanner =~ /Administrative Contact's handle:\s+(.+)\n/ - build_contact($1, Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - end - - property_supported :technical_contacts do - if content_for_scanner =~ /Technical Contact's handle:\s+(.+)\n/ - build_contact($1, Whois::Record::Contact::TYPE_TECHNICAL) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - - private - - def build_contact(string, type) - Record::Contact.new( - :type => type, - :id => string, - :name => string - ) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.so.rb b/lib/whois/record/parser/whois.nic.so.rb deleted file mode 100644 index 503d68aad..000000000 --- a/lib/whois/record/parser/whois.nic.so.rb +++ /dev/null @@ -1,72 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.so parser - # - # Parser for the whois.nic.so server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicSo < Base - - property_supported :status do - content_for_scanner.scan(/Status:\s+(.+?)\n/).flatten - end - - property_supported :available? do - !!(content_for_scanner =~ /^Not found: (.+?)$/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Creation Date:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last Updated On:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Expiration Date:\s+(.+)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.space.rb b/lib/whois/record/parser/whois.nic.space.rb deleted file mode 100644 index 3bdf801b8..000000000 --- a/lib/whois/record/parser/whois.nic.space.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/whois.centralnic.com' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.space server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicSpace < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.st.rb b/lib/whois/record/parser/whois.nic.st.rb deleted file mode 100644 index a0ef66146..000000000 --- a/lib/whois/record/parser/whois.nic.st.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.st parser - # - # Parser for the whois.nic.st server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicSt < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No entries found for domain/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /\s+Creation Date:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /\s+Updated Date:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n?/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tc.rb b/lib/whois/record/parser/whois.nic.tc.rb deleted file mode 100644 index a82cf2e1e..000000000 --- a/lib/whois/record/parser/whois.nic.tc.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tc server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTc < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tech.rb b/lib/whois/record/parser/whois.nic.tech.rb deleted file mode 100644 index 14267128a..000000000 --- a/lib/whois/record/parser/whois.nic.tech.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/whois.centralnic.com' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tech server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTech < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tel.rb b/lib/whois/record/parser/whois.nic.tel.rb deleted file mode 100644 index 0f49df13e..000000000 --- a/lib/whois/record/parser/whois.nic.tel.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tel server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTel < BaseShared2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tl.rb b/lib/whois/record/parser/whois.nic.tl.rb deleted file mode 100644 index 695af61a3..000000000 --- a/lib/whois/record/parser/whois.nic.tl.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tl server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTl < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tm.rb b/lib/whois/record/parser/whois.nic.tm.rb deleted file mode 100644 index 00e30aa2a..000000000 --- a/lib/whois/record/parser/whois.nic.tm.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tm server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTm < BaseIcb - - property_not_supported :expires_on - - - property_not_supported :nameservers - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tr.rb b/lib/whois/record/parser/whois.nic.tr.rb deleted file mode 100644 index 6a34de434..000000000 --- a/lib/whois/record/parser/whois.nic.tr.rb +++ /dev/null @@ -1,161 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tr server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTr < Base - - property_not_supported :disclaimer - - - property_not_supported :domain - - property_not_supported :domain_id - - - property_supported :status do - # NEWSTATUS invalid - if invalid? - :invalid - elsif available? - :available - else - :registered - end - end - - property_supported :available? do - !invalid? && !!(content_for_scanner =~ /No match found for "(.+)"/) - end - - property_supported :registered? do - !invalid? && !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created on\.+:\s+(.+)\n/ - time = Time.parse($1) - Time.utc(time.year, time.month, time.day) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expires on\.+:\s+(.+)\n/ - time = Time.parse($1) - Time.utc(time.year, time.month, time.day) - end - end - - - property_not_supported :registrar - - - property_supported :registrant_contacts do - textblock = content_for_scanner.slice(/^\*\* Registrant:\n((?:\s+.+\n)+)/, 1) - return unless textblock - - lines = textblock.lines.map(&:strip) - - name = lines[0] - address = lines[1..2].delete_if(&:blank?).join("\n") - city, country = if (lines[3] == "Out of Turkey,") - [nil, lines[4]] - else - [lines[3].chomp(","), lines[4]] - end - - Record::Contact.new( - type: Record::Contact::TYPE_REGISTRANT, - name: name, - address: address, - city: city, - country: country, - email: lines[5], - phone: lines[6], - fax: lines[7] - ) - end - - property_supported :admin_contacts do - build_contact("Administrative Contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical Contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain Servers:\n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - end - - - def response_error? - content_for_scanner =~ /Invalid input/ - end - - - # NEWPROPERTY invalid? - def invalid? - cached_properties_fetch :invalid? do - response_error? - end - end - - - private - - def build_contact(element, type) - textblock = content_for_scanner.slice(/^\*\* #{element}:\n((?:.+\n)+)\n/, 1) - return unless textblock - - lines = [] - textblock.lines.each do |line| - if line =~ /^\s+.+/ - lines.last.last << "\n" << line.strip - else - lines << line.match(/([^\t]+)\t+:\s+(.+)/).to_a[1..2] - end - end - lines = Hash[lines] - - Record::Contact.new( - type: type, - id: lines["NIC Handle"], - name: lines["Person"], - organization: lines["Organization Name"], - address: lines["Address"], - phone: lines["Phone"], - fax: lines["Fax"] - ) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.travel.rb b/lib/whois/record/parser/whois.nic.travel.rb deleted file mode 100644 index c3c6b3ead..000000000 --- a/lib/whois/record/parser/whois.nic.travel.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.travel server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTravel < BaseShared2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.tv.rb b/lib/whois/record/parser/whois.nic.tv.rb deleted file mode 100644 index b67bd0e0c..000000000 --- a/lib/whois/record/parser/whois.nic.tv.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_verisign' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.tv server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicTv < BaseVerisign - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.uk.rb b/lib/whois/record/parser/whois.nic.uk.rb deleted file mode 100644 index 4de73078c..000000000 --- a/lib/whois/record/parser/whois.nic.uk.rb +++ /dev/null @@ -1,179 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.uk server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see http://www.nominet.org.uk/other/whois/detailedinstruct/ - # - class WhoisNicUk < Base - - # == Values for Status - # - # @see http://www.nominet.org.uk/registrars/systems/data/regstatus/ - # @see http://www.nominet.org.uk/registrants/maintain/renew/status/ - # - property_supported :status do - if content_for_scanner =~ /\s+Registration status:\s+(.+?)\n/ - case $1.downcase - when "registered until expiry date." - :registered - when "registration request being processed." - :registered - when "renewal request being processed." - :registered - when "no longer required" - :registered - when "no registration status listed." - :reserved - # NEWSTATUS redemption (https://github.com/weppos/whois/issues/5) - when "renewal required." - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - elsif invalid? - :invalid - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /This domain name has not been registered/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /\s+Registered on:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /\s+Last updated:\s+(.+)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /\s+Expiry date:\s+(.+)\n/ - Time.parse($1) - end - end - - - # @see http://www.nic.uk/other/whois/instruct/ - property_supported :registrar do - if content_for_scanner =~ /Registrar:\n((.+\n)+)\n/ - content = $1.strip - id = name = org = url = nil - - if content =~ /Tag =/ - name, id = (content =~ /(.+) \[Tag = (.+)\]/) && [$1.strip, $2.strip] - org, name = name.split(" t/a ") - url = (content =~ /URL: (.+)/) && $1.strip - elsif content =~ /This domain is registered directly with Nominet/ - name = "Nominet" - org = "Nominet UK" - url = "http://www.nic.uk/" - end - - Record::Registrar.new( - :id => id, - :name => name || org, - :organization => org, - :url => url - ) - end - end - - - property_supported :registrant_contacts do - if content_for_scanner =~ /Registrant's address:\n((.+\n)+)\n/ - lines = $1.split("\n").map(&:strip) - address = lines[0..-5] - city = lines[-4] - state = lines[-3] - zip = lines[-2] - country = lines[-1] - - Record::Contact.new( - :type => Record::Contact::TYPE_REGISTRANT, - :name => content_for_scanner[/Registrant:\n\s*(.+)\n/, 1], - :address => address.join("\n"), - :city => city, - :state => state, - :zip => zip, - :country => country - ) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name servers:\n((.+\n)+)\n/ - $1.split("\n").reject { |value| value =~ /No name servers listed/ }.map do |line| - name, ipv4, ipv6 = line.strip.split(/\s+/) - Record::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6) - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # The WHOIS query quota for 127.0.0.1 has been exceeded - # and will be replenished in 50 seconds. - # - def response_throttled? - !!(content_for_scanner =~ /The WHOIS query quota for .+ has been exceeded/) - end - - - # NEWPROPERTY - def valid? - cached_properties_fetch(:valid?) do - !invalid? - end - end - - # NEWPROPERTY - def invalid? - cached_properties_fetch(:invalid?) do - !!(content_for_scanner =~ /This domain cannot be registered/) - end - end - - # NEWPROPERTY - # def suspended? - # end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.us.rb b/lib/whois/record/parser/whois.nic.us.rb deleted file mode 100644 index 229b387f3..000000000 --- a/lib/whois/record/parser/whois.nic.us.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.us server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNicUs < BaseShared2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.ve.rb b/lib/whois/record/parser/whois.nic.ve.rb deleted file mode 100644 index 2809add1f..000000000 --- a/lib/whois/record/parser/whois.nic.ve.rb +++ /dev/null @@ -1,89 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.nic.ve parser - # - # Parser for the whois.nic.ve server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisNicVe < Base - - property_supported :status do - if content_for_scanner =~ /Estatus del dominio: (.+?)\n/ - case $1.downcase - when "activo" - :registered - when "suspendido" - :inactive - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match for "(.+?)"/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Fecha de Creacion: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Ultima Actualizacion: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /Fecha de Vencimiento: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :nameservers do - if content_for_scanner =~ /Servidor\(es\) de Nombres de Dominio:\n\n((.+\n)+)\n/ - $1.scan(/-\s(.*?)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name) - end - end - end - - - # NEWPROPERTY - # def suspended? - # end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.xxx.rb b/lib/whois/record/parser/whois.nic.xxx.rb deleted file mode 100644 index 94449e7c3..000000000 --- a/lib/whois/record/parser/whois.nic.xxx.rb +++ /dev/null @@ -1,44 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias2' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.xxx server. - class WhoisNicXxx < BaseAfilias2 - - self.scanner = Scanners::BaseAfilias, { - pattern_disclaimer: /^Access to/, - pattern_reserved: /^Reserved by ICM Registry\n/, - } - - - property_supported :status do - if reserved? - :reserved - else - super() - end - end - - - # NEWPROPERTY - def reserved? - !!node("status:reserved") - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.nic.xyz.rb b/lib/whois/record/parser/whois.nic.xyz.rb deleted file mode 100644 index b147a3d5b..000000000 --- a/lib/whois/record/parser/whois.nic.xyz.rb +++ /dev/null @@ -1,22 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/whois.centralnic.com.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.nic.xyz server. - class WhoisNicXyz < WhoisCentralnicCom - end - end - end -end diff --git a/lib/whois/record/parser/whois.norid.no.rb b/lib/whois/record/parser/whois.norid.no.rb deleted file mode 100644 index 1e092cb05..000000000 --- a/lib/whois/record/parser/whois.norid.no.rb +++ /dev/null @@ -1,63 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.norid.no server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisNoridNo < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No match/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Last updated:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.pairnic.com.rb b/lib/whois/record/parser/whois.pairnic.com.rb deleted file mode 100644 index cd352b631..000000000 --- a/lib/whois/record/parser/whois.pairnic.com.rb +++ /dev/null @@ -1,30 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.pairnic.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisPairnicCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No matching domain name found\.\n/ - } - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/whois.pandi.or.id.rb b/lib/whois/record/parser/whois.pandi.or.id.rb deleted file mode 100644 index ef4bce4fe..000000000 --- a/lib/whois/record/parser/whois.pandi.or.id.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/parser/whois.centralnic.com.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.pandi.or.id server. - # - # It aliases the whois.centralnic.com parser because - # it looks like the response is the same of Centralnic. - class WhoisPandiOrId < WhoisCentralnicCom - end - - end - end -end diff --git a/lib/whois/record/parser/whois.pir.org.rb b/lib/whois/record/parser/whois.pir.org.rb deleted file mode 100644 index 065e93c3e..000000000 --- a/lib/whois/record/parser/whois.pir.org.rb +++ /dev/null @@ -1,92 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_afilias' -require 'whois/record/scanners/whois.pir.org.rb' - -module Whois - class Record - class Parser - - # Parser for the whois.pir.org server. - class WhoisPirOrg < BaseAfilias - - self.scanner = Scanners::WhoisPirOrg - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # WHOIS LIMIT EXCEEDED - SEE WWW.PIR.ORG/WHOIS FOR DETAILS - # - def response_throttled? - !!node("response:throttled") - end - - property_supported :status do - Array.wrap(node("Domain Status")) - end - - property_supported :registrar do - node('Sponsoring Registrar') do |name| - Record::Registrar.new( - id: node('Sponsoring Registrar IANA ID'), - name: node('Sponsoring Registrar') - ) - end - end - - property_supported :created_on do - node("Creation Date") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Updated Date") do |value| - Time.parse(value) - end - end - - property_supported :expires_on do - node("Registry Expiry Date") do |value| - Time.parse(value) - end - end - - def build_contact(element, type) - node("#{element} ID") do - address = [node("#{element} Street")] - address = (address + (1..3).map { |i| node("#{element} Street#{i}") }). - delete_if { |i| i.nil? || i.empty? }. - join("\n") - - Record::Contact.new( - :type => type, - :id => node("#{element} ID"), - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => address, - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :state => node("#{element} State/Province"), - :country_code => node("#{element} Country"), - :phone => node("#{element} Phone"), - :fax => node("#{element} Fax"), - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.pnina.ps.rb b/lib/whois/record/parser/whois.pnina.ps.rb deleted file mode 100644 index 72c8ad7a6..000000000 --- a/lib/whois/record/parser/whois.pnina.ps.rb +++ /dev/null @@ -1,33 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.pnina.ps server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisPninaPs < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.register.bg.rb b/lib/whois/record/parser/whois.register.bg.rb deleted file mode 100644 index 491abeb2f..000000000 --- a/lib/whois/record/parser/whois.register.bg.rb +++ /dev/null @@ -1,85 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.register.bg server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegisterBg < Base - - property_supported :status do - if content_for_scanner =~ /registration status:\s+(.+?)\n/ - case $1.downcase - when "registered" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /Domain name (.+?) does not exist/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /activated on:\s+(.*?)\n/ - # Time.parse("30/06/2003 00:00:00") - # => ArgumentError: argument out of range - Time.parse($1.gsub("/", "-")) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /expires at:\s+(.*?)\n/ - # Time.parse("30/06/2003 00:00:00") - # => ArgumentError: argument out of range - Time.parse($1.gsub("/", "-")) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /NAME SERVER INFORMATION:\n((.+\n)+)\s+\n/ - $1.split("\n").map do |line| - if line =~ /(.+) \((.+)\)/ - Record::Nameserver.new(:name => $1, :ipv4 => $2) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.register.com.rb b/lib/whois/record/parser/whois.register.com.rb deleted file mode 100644 index 15516f77a..000000000 --- a/lib/whois/record/parser/whois.register.com.rb +++ /dev/null @@ -1,32 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.register.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegisterCom < BaseIcannCompliant - property_supported :updated_on do - node('Updated Date') do |value| - parse_time(value) unless value.empty? - end - end - end - - end - end -end diff --git a/lib/whois/record/parser/whois.register.si.rb b/lib/whois/record/parser/whois.register.si.rb deleted file mode 100644 index a906a8cac..000000000 --- a/lib/whois/record/parser/whois.register.si.rb +++ /dev/null @@ -1,75 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.register.si server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegisterSi < Base - - property_supported :status do - if content_for_scanner =~ /status:\s+(.+)\n/ - statuses = $1.downcase.split(",").map(&:strip) - if statuses.include?("server_update_prohibited") - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /% No entries found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /expire:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/nameserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(name: name.strip) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registre.ma.rb b/lib/whois/record/parser/whois.registre.ma.rb deleted file mode 100644 index 186d315af..000000000 --- a/lib/whois/record/parser/whois.registre.ma.rb +++ /dev/null @@ -1,65 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.registre.ma parser - # - # Parser for the whois.registre.ma server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisRegistreMa < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^%error 230 No Objects Found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /domain:Created:(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /domain:Updated:(.+?)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registro.br.rb b/lib/whois/record/parser/whois.registro.br.rb deleted file mode 100644 index 772f224f0..000000000 --- a/lib/whois/record/parser/whois.registro.br.rb +++ /dev/null @@ -1,75 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.registro.br parser - # - # Parser for the whois.registro.br server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisRegistroBr < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match for domain/) - end - - property_supported :registered? do - !available? - end - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.+?)(\s+#.+)?\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /expires:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.strip.split(" ") - Record::Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registry.gy.rb b/lib/whois/record/parser/whois.registry.gy.rb deleted file mode 100644 index f7bedf2db..000000000 --- a/lib/whois/record/parser/whois.registry.gy.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.registry.gy server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegistryGy < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registry.hm.rb b/lib/whois/record/parser/whois.registry.hm.rb deleted file mode 100644 index db28c0e44..000000000 --- a/lib/whois/record/parser/whois.registry.hm.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.registry.hm parser - # - # Parser for the whois.registry.hm server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisRegistryHm < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^Domain not found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Domain creation date: (.+?)\n/ - # Change dd/mm/yy to yyyy-mm-dd to prevent - # argument out of range - Time.parse($1.split("/").reverse.join("-")) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Domain expiration date: (.+?)\n/ - Time.parse($1.split("/").reverse.join("-")) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server: ([^\s]+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registry.net.za.rb b/lib/whois/record/parser/whois.registry.net.za.rb deleted file mode 100644 index f5c5e8bde..000000000 --- a/lib/whois/record/parser/whois.registry.net.za.rb +++ /dev/null @@ -1,145 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.registry.net.za' - - -module Whois - class Record - class Parser - - # Parser for the whois.registry.za.net server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegistryNetZa < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisRegistryNetZa - - - property_supported :disclaimer do - node("node:disclaimer") - end - - - property_supported :domain do - node("node:domain") - end - - property_not_supported :domain_id - - - property_supported :status do - # node("node:status") - if registered? - :registered - else - :available - end - end - - property_supported :available? do - node("status:available") ? true : false - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("node:dates") do |array| - array[0] =~ /Registration Date:\s*(\d{4}-\d{2}-\d{2})/ - parse_date($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - node("node:dates") do |array| - array[1] =~ /Renewal Date:\s*(\d{4}-\d{2}-\d{2})/ - parse_date($1) - end - end - - - property_supported :registrar do - node("node:registrar") do |text| - value = text.lines.first - Whois::Record::Registrar.new(name: value.strip) - end - end - - - property_supported :registrant_contacts do - node("node:registrant_details") do |node| - build_contact(node) - end - end - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_supported :nameservers do - node("node:nameservers") do |array| - Array.wrap(array).map do |nameserver| - Record::Nameserver.new(:name => nameserver) - end - end - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # -1: Please go away for 90 Seconds - # - def response_throttled? - !!(content_for_scanner =~ /Please go away for \d+ Seconds/) - end - - private - - def build_contact(node) - lines = node.dup - - fax, phone, email = 3.times.map { lines.pop.split(":", 2).last.strip.presence } - name = lines.delete_if(&:blank?).join("\n") - - Record::Contact.new( - type: Whois::Record::Contact::TYPE_REGISTRANT, - name: name, - address: Array.wrap(node("node:registrant_address")).join("\n"), - phone: phone, - fax: fax, - email: email - ) - end - - def parse_date(date_string) - Time.parse(date_string) if date_string - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registry.om.rb b/lib/whois/record/parser/whois.registry.om.rb deleted file mode 100644 index 0573c0fa3..000000000 --- a/lib/whois/record/parser/whois.registry.om.rb +++ /dev/null @@ -1,42 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared1' - - -module Whois - class Record - class Parser - - # Parser for the whois.registry.om server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegistryOm < BaseShared1 - - self.scanner = Scanners::BaseShared1, { - pattern_reserved: /^Restricted\n/ - } - - - property_supported :updated_on do - node("Last Modified") { |value| Time.parse(value) } - end - - - def reserved? - !!node('status:reserved') - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.registry.qa.rb b/lib/whois/record/parser/whois.registry.qa.rb deleted file mode 100644 index 5137c4f05..000000000 --- a/lib/whois/record/parser/whois.registry.qa.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_shared1' - - -module Whois - class Record - class Parser - - # Parser for the whois.registry.qa server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRegistryQa < BaseShared1 - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ripe.net.rb b/lib/whois/record/parser/whois.ripe.net.rb deleted file mode 100644 index 528b74291..000000000 --- a/lib/whois/record/parser/whois.ripe.net.rb +++ /dev/null @@ -1,70 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.ripe.net parser - # - # Parser for the whois.ripe.net server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisRipeNet < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /%ERROR:101: no entries found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - # Nameservers are listed in the following formats: - # - # nserver: ns.nic.mc - # nserver: ns.nic.mc 195.78.6.131 - # - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name.downcase, :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.rnids.rs.rb b/lib/whois/record/parser/whois.rnids.rs.rb deleted file mode 100644 index 1a514eb12..000000000 --- a/lib/whois/record/parser/whois.rnids.rs.rb +++ /dev/null @@ -1,136 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.rnids.rs.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.rnids.rs server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRnidsRs < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisRnidsRs - - - property_not_supported :disclaimer - - - property_supported :domain do - node("Domain name") { |str| str.chomp(".") } - end - - property_not_supported :domain_id - - - property_supported :status do - case node("Domain status", &:downcase) - when nil - :available - when 'active' - :registered - when 'locked' - :registered - when 'in transfer' - :registered - when 'expired' - :expired - else - Whois.bug!(ParserError, "Unknown status `#{node("Domain status")}'.") - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Registration date") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("Modification date") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("Expiration date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Registrar") do |str| - Record::Registrar.new( - :id => nil, - :name => node("Registrar") - ) - end - end - - - property_supported :registrant_contacts do - build_contact("Owner", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Administrative contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Technical contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("DNS")).map do |line| - name, ipv4 = line.split(/ - ?/).map(&:strip) - name.chomp!(".") - Nameserver.new(:name => name, :ipv4 => ipv4) - end - end - - - private - - def build_contact(element, type) - node(element) do |hash| - Record::Contact.new( - :type => type, - :id => nil, - :name => hash[element], - :organization => nil, - :address => hash["Address"], - :city => nil, - :zip => nil, - :state => nil, - :country => nil, - :country_code => nil, - :phone => nil, - :fax => nil, - :email => nil - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.rotld.ro.rb b/lib/whois/record/parser/whois.rotld.ro.rb deleted file mode 100644 index fb641feb4..000000000 --- a/lib/whois/record/parser/whois.rotld.ro.rb +++ /dev/null @@ -1,67 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.rotld.ro server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRotldRo < Base - - property_supported :status do - if content_for_scanner =~ /Domain Status:\s(.+?)\n/ - case $1.downcase - when "ok", "updateprohibited" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No entries found/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_supported :nameservers do - content_for_scanner.scan(/Nameserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(name: name) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.rrpproxy.net.rb b/lib/whois/record/parser/whois.rrpproxy.net.rb deleted file mode 100644 index eb493ba04..000000000 --- a/lib/whois/record/parser/whois.rrpproxy.net.rb +++ /dev/null @@ -1,34 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.rrpproxy.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisRrpproxyNet < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No match for "[\w\.]+"\.\n/ - } - - - property_not_supported :expires_on - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.safenames.net.rb b/lib/whois/record/parser/whois.safenames.net.rb deleted file mode 100644 index 93caffaa5..000000000 --- a/lib/whois/record/parser/whois.safenames.net.rb +++ /dev/null @@ -1,50 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.safenames.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisSafenamesNet < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^No match for "[\w\.]+"\.\n/ - } - - property_supported :created_on do - node('Created Date') do |value| - parse_time(value) - end - end - - - private - - def contact_organization_attribute(element) - value_for_property(element, 'Organisation') - end - - def contact_address_attribute(element) - address = (1..2). - map { |i| node("#{element} Address Line #{i}") }. - compact.join("\n").chomp - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.schlund.info.rb b/lib/whois/record/parser/whois.schlund.info.rb deleted file mode 100644 index 9c210331d..000000000 --- a/lib/whois/record/parser/whois.schlund.info.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.schlund.info server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisSchlundInfo < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Domain [\w\.]+ is not registered here\.\n/ - } - - property_supported :updated_on do - node('Updated Date') do |value| - parse_time(value) unless value.empty? - end - end - end - - end - end -end diff --git a/lib/whois/record/parser/whois.sgnic.sg.rb b/lib/whois/record/parser/whois.sgnic.sg.rb deleted file mode 100644 index 766afb6f8..000000000 --- a/lib/whois/record/parser/whois.sgnic.sg.rb +++ /dev/null @@ -1,89 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.sgnic.sg parser - # - # Parser for the whois.sgnic.sg server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisSgnicSg < Base - - property_supported :status do - content_for_scanner.scan(/^\s+Domain Status:\s+(.+?)\n/).flatten - end - - property_supported :available? do - !!(content_for_scanner.strip == "Domain Not Found") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /^\s+Creation Date:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /^\s+Expiration Date:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/ - values = case value = $1.downcase - # schema-1 - when /^(?:\s+([\w.-]+)\n){2,}/ - value.scan(/\s+([\w.-]+)\n/).map do |match| - { :name => match[0] } - end - when /^(?:\s+([\w.-]+)\s+\((.+)\)\n){2,}/ - value.scan(/\s+([\w.-]+)\s+\((.+)\)\n/).map do |match| - { :name => match[0], :ipv4 => match[1] } - end - # schema-2 - when /^(?:\s+([\w.-]+)){2,}/ - value.strip.split(/\s+/).map do |name| - { :name => name } - end - else - Whois.bug!(ParserError, "Unknown nameservers format `#{value}'") - end - - values.map do |params| - Record::Nameserver.new(params) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.sk-nic.sk.rb b/lib/whois/record/parser/whois.sk-nic.sk.rb deleted file mode 100644 index 7c3d6ab36..000000000 --- a/lib/whois/record/parser/whois.sk-nic.sk.rb +++ /dev/null @@ -1,137 +0,0 @@ -#-- - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.sk-nic.sk.rb' -require 'active_support' -require 'active_support/core_ext' - -module Whois - class Record - class Parser - - class WhoisSkNicSk < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisSkNicSk - - property_supported :domain do - node("Domain") { |str| str.downcase } - end - - property_not_supported :domain_id - - property_supported :status do - if content_for_scanner =~ /^EPP Status:\s+(.+)\n/ - statuses = $1.downcase.split(",").collect { |s| s.strip } - if statuses.include?("ok") - return :registered - elsif statuses.include?("redemptionperiod") - return :expired - elsif statuses.include?("clientrenewprohibited") - return :registered - elsif statuses.include?("clientdeleteprohibited") - return :registered - elsif statuses.include?("clientupdateprohibited") - return :registered - elsif statuses.include?("clienttransferprohibited") - return :registered - elsif statuses.include?("clienthold") - return :registered - elsif statuses.include?("inactive") - return :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - return :available - end - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - property_supported :created_on do - node("Created") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("Updated") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("Valid Until") { |str| - if status != :expired - Time.parse(str) - else - Time.parse(str) - 42.days - end - } - end - - property_supported :nameservers do - if not node?("Nameserver") - return [] - else - node("Nameserver").map do |line| - if line =~ /(.+) \((.+)\)/ - name = $1 - ipv4, ipv6 = $2.split(', ') - Record::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6) - else - Record::Nameserver.new(:name => line.strip) - end - end - end - end - - property_supported :registrar do - build_contact(node("Registrar"), Whois::Record::Contact::TYPE_REGISTRAR) - end - - property_supported :registrant_contacts do - build_contact(node("Registrant"), Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact(node("Admin Contact"), Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact(node("Tech Contact"), Whois::Record::Contact::TYPE_TECHNICAL) - end - - def response_throttled? - !!node("response:throttled") - end - private - - def build_contact(element, type) - node("Contact-#{element}") do |hash| - Record::Contact.new( - :id => hash["Contact"] || hash["Registrar"], - :type => type, - :name => hash["Name"], - :organization => hash["Organization"], - :email => hash["Email"], - :phone => hash["Phone"], - :address => hash["Street"], - :city => hash["City"], - :zip => hash["Postal Code"], - :country_code => hash["Country Code"], - :created_on => hash["Created"] ? Time.parse(hash["Created"]) : nil, - :updated_on => (hash["Updated"] && hash["Updated"] != "0000-00-00") ? Time.parse(hash["Updated"]) : nil - ) - end - end - - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.smallregistry.net.rb b/lib/whois/record/parser/whois.smallregistry.net.rb deleted file mode 100644 index a0671b260..000000000 --- a/lib/whois/record/parser/whois.smallregistry.net.rb +++ /dev/null @@ -1,133 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.smallregistry.net.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.smallregistry.net server. - # - # @author Mathieu Arnold - # - class WhoisSmallregistryNet < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisSmallregistryNet - - - property_supported :disclaimer do - node("field:disclaimer") do |alpha| - alpha.scan(/# (.+)\n/).flatten.map do |beta| - token = beta.strip - token.gsub!(/\s+/, " ") - end.join(" ").gsub!(/(\s{2})/, "\n") - end - end - - - property_supported :domain do - node("name") - end - - property_not_supported :domain_id - - - property_supported :status do - if node?("status:available") - :available - else - case node("status") - when "ACTIVE" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{node("field:status")}'.") - end - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("created") { |str| Time.parse(str) } - end - - property_supported :updated_on do - node("updated") { |str| Time.parse(str) } - end - - property_supported :expires_on do - node("expired") { |str| Time.parse(str) } - end - - - property_supported :registrar do - node("registrar") do |hash| - v1, v2, v3, v4 = hash.values_at('nil', 'name', 'name', 'web') - Registrar.new( - :id => v1, - :name => v2, - :organization => v3, - :url => v4 - ) - end - end - - property_supported :registrant_contacts do - build_contact("registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("administrative_contact", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("technical_contact", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("name_servers")).map do |hash| - Record::Nameserver.new(:name => hash) - end - end - - - private - - def build_contact(element, type) - node(element) do |hash| - Record::Contact.new( - :type => type, - :id => hash['nic-handle'], - :name => hash['name'], - :organization => hash['company'], - :address => hash['address'], - :phone => hash['phone'], - :fax => hash['fax'], - :email => hash['mobile'], - :updated_on => Time.parse(hash['updated']) - ) - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.srs.net.nz.rb b/lib/whois/record/parser/whois.srs.net.nz.rb deleted file mode 100644 index 6c10cefcb..000000000 --- a/lib/whois/record/parser/whois.srs.net.nz.rb +++ /dev/null @@ -1,161 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.srs.net.nz.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.srs.net.nz server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisSrsNetNz < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisSrsNetNz - - - property_supported :domain do - node("domain_name") - end - - property_not_supported :domain_id - - - # @see http://dnc.org.nz/content/srs-whois-spec-1.0.html - property_supported :status do - node("query_status") do |value| - case value.downcase - when "200 active" - :registered - # The domain is no longer active but is in the period prior - # to being released for general registrations - when "210 pendingrelease" - :redemption - when "220 available" - :available - when "404 request denied" - :error - when /invalid characters/ - :invalid - else - Whois.bug!(ParserError, "Unknown status `#{value}'.") - end - end || Whois.bug!(ParserError, "Unable to parse status.") - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - status == :registered || status == :redemption - end - - - property_supported :created_on do - node("domain_dateregistered") { |value| Time.parse(value) } - end - - property_supported :updated_on do - node("domain_datelastmodified") { |value| Time.parse(value) } - end - - property_supported :expires_on do - node("domain_datebilleduntil") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("registrar_name") do |value| - Record::Registrar.new( - name: value - ) - end - end - - property_supported :registrant_contacts do - build_contact("registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("technical", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - (1..4).map do |i| - node("ns_name_0#{i}") { |value| Record::Nameserver.new(name: value) } - end.compact - end - - - # Checks whether the response has been throttled. - # - # @return [Boolean] - # - # @example - # query_status: 440 Request Denied - # - def response_throttled? - cached_properties_fetch(:response_throttled?) do - node("query_status") == "440 Request Denied" - end - end - - - # NEWPROPERTY - def valid? - cached_properties_fetch(:valid?) do - !invalid? - end - end - - # NEWPROPERTY - def invalid? - cached_properties_fetch(:invalid?) do - status == :invalid - end - end - - - private - - def build_contact(element, type) - node("#{element}_contact_name") do - Record::Contact.new( - type: type, - id: nil, - name: node("#{element}_contact_name"), - address: node("#{element}_contact_address1"), - city: node("#{element}_contact_city"), - zip: node("#{element}_contact_postalcode"), - state: node("#{element}_contact_province"), - country: node("#{element}_contact_country"), - phone: node("#{element}_contact_phone"), - fax: node("#{element}_contact_fax"), - email: node("#{element}_contact_email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.sx.rb b/lib/whois/record/parser/whois.sx.rb deleted file mode 100644 index 20f7029a9..000000000 --- a/lib/whois/record/parser/whois.sx.rb +++ /dev/null @@ -1,134 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.sx.rb' - - -module Whois - class Record - class Parser - - # Parser for the whois.sx server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisSx < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisSx - - - property_supported :disclaimer do - node("field:disclaimer") - end - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_supported :domain_id do - node("Domain ID") - end - - - property_supported :status do - case (s = node("Domain Status", &:downcase)) - when "available" - :available - when "ok" - :registered - when "premium name" - :unavailable - else - Whois.bug!(ParserError, "Unknown status `#{s}'.") - end - end - - property_supported :available? do - status == :available - end - - property_supported :registered? do - status == :registered - end - - - property_supported :created_on do - node("Creation Date") { |value| parse_time(value) } - end - - property_supported :updated_on do - node("Updated Date") { |value| parse_time(value) } - end - - property_supported :expires_on do - node("Registry Expiry Date") { |value| parse_time(value) } - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - Record::Registrar.new( - :name => value - ) - end - end - - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("Admin", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("Tech", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).map do |name| - Record::Nameserver.new(:name => name) - end - end - - - private - - def parse_time(value) - # Hack to remove usec. Do you know a better way? - Time.utc(*Time.parse(value).to_a) - end - - def build_contact(element, type) - node("#{element} ID") do |id| - Record::Contact.new( - :type => type, - :id => id, - :name => node("#{element} Name"), - :organization => node("#{element} Organization"), - :address => node("#{element} Street"), - :city => node("#{element} City"), - :zip => node("#{element} Postal Code"), - :country => node("#{element} Country"), - :email => node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.tcinet.ru.rb b/lib/whois/record/parser/whois.tcinet.ru.rb deleted file mode 100644 index 6320840e1..000000000 --- a/lib/whois/record/parser/whois.tcinet.ru.rb +++ /dev/null @@ -1,116 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.tcinet.ru server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisTcinetRu < Base - - property_supported :domain do - if content_for_scanner =~ /domain:\s+(.+?)\n/ - $1.downcase - end - end - - property_not_supported :domain_id - - - property_supported :status do - if content_for_scanner =~ /state:\s+(.+?)\n/ - $1.split(",").map(&:strip) - else - [] - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No entries found/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /paid-till:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - if content_for_scanner =~ /registrar:\s+(.*)\n/ - Record::Registrar.new( - :id => $1 - ) - end - end - - - property_supported :admin_contacts do - url = content_for_scanner[/admin-contact:\s+(.+)\n/, 1] - email = content_for_scanner[/e-mail:\s+(.+)\n/, 1] - contact = if url or email - Record::Contact.new( - :type => Record::Contact::TYPE_ADMINISTRATIVE, - :url => url, - :email => email, - :name => content_for_scanner[/person:\s+(.+)\n/, 1], - :organization => content_for_scanner[/org:\s+(.+)\n/, 1], - :phone => content_for_scanner[/phone:\s+(.+)\n/, 1], - :fax => content_for_scanner[/fax-no:\s+(.+)\n/, 1] - ) - end - Array.wrap(contact) - end - - property_not_supported :registrant_contacts - - property_not_supported :technical_contacts - - - # Nameservers are listed in the following formats: - # - # nserver: ns.masterhost.ru. - # nserver: ns.masterhost.ru. 217.16.20.30 - # - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |line| - name, ipv4 = line.split(/\s+/) - Record::Nameserver.new(:name => name.chomp("."), :ipv4 => ipv4) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.thnic.co.th.rb b/lib/whois/record/parser/whois.thnic.co.th.rb deleted file mode 100644 index 241447224..000000000 --- a/lib/whois/record/parser/whois.thnic.co.th.rb +++ /dev/null @@ -1,81 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.thnic.co.th parser - # - # Parser for the whois.thnic.co.th server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisThnicCoTh < Base - - property_supported :status do - if content_for_scanner =~ /Status: (.+?)\n/ - case $1.downcase - when "active" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No match for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /^Created date: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /^Updated date: (.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /^Exp date: (.+?)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - content_for_scanner.scan(/Name Server:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(:name => name.downcase) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.tld.ee.rb b/lib/whois/record/parser/whois.tld.ee.rb deleted file mode 100644 index 35d4cabe7..000000000 --- a/lib/whois/record/parser/whois.tld.ee.rb +++ /dev/null @@ -1,136 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.tld.ee' - -module Whois - class Record - class Parser - - # Parser for the whois.tld.ee server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisTldEe < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisTldEe - - - property_supported :disclaimer do - node('field:disclaimer').to_s.strip - end - - - property_supported :domain do - if (content_for_scanner =~ /^Domain:\nname:\s+(.+)\n/) - $1.to_s.strip.downcase - end - end - - property_not_supported :domain_id - - - property_supported :status do - if content_for_scanner =~ /status:\s+(.+?)\n/ - case $1 - when 'ok (paid and in zone)' - :registered - when 'expired' - :expired - else - $1 - end - else - :available - end - end - - property_supported :available? do - !!node('status:available') - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /registered:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /changed:\s+(.+?)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /expire:\s+(.+?)\n/ - Time.parse($1) - end - end - - - property_supported :registrar do - node('Registrar') do |hash| - Record::Registrar.new( - name: hash['name'], - organization: hash['name'], - url: hash['url'] - ) - end - end - - property_supported :registrant_contacts do - build_contact('Registrant', Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact('Administrative contact', Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact('Technical contact', Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - node('Name servers') do |hash| - Array.wrap(hash['nserver']).map do |name| - Nameserver.new(name: name.downcase) - end - end - end - - - private - - def build_contact(element, type) - node(element) do |hash| - el_size = Array.wrap(hash['name']).size - - (0...el_size).map do |i| - Record::Contact.new( - type: type, - name: Array.wrap(hash['name'])[i], - email: Array.wrap(hash['email'])[i], - updated_on: Time.parse(Array.wrap(hash['changed'])[i]) - ) - end - end - end - - end - end - end -end diff --git a/lib/whois/record/parser/whois.tld.sy.rb b/lib/whois/record/parser/whois.tld.sy.rb deleted file mode 100644 index 8bc6f8d7b..000000000 --- a/lib/whois/record/parser/whois.tld.sy.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois.tld.sy server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisTldSy < BaseCocca2 - - property_supported :status do - list = Array.wrap(node("Domain Status")).map(&:downcase) - list.include?("available") ? :available : super() - end - - - property_not_supported :updated_on - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.tonic.to.rb b/lib/whois/record/parser/whois.tonic.to.rb deleted file mode 100644 index daeb838ff..000000000 --- a/lib/whois/record/parser/whois.tonic.to.rb +++ /dev/null @@ -1,88 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.tonic.to server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - class WhoisTonicTo < Base - - property_not_supported :disclaimer - - - property_not_supported :domain - - property_not_supported :domain_id - - - property_supported :status do - if response_incomplete? - :incomplete - else - if available? - :available - else - :registered - end - end - end - - property_supported :available? do - (!response_incomplete? && !!(content_for_scanner =~ /No match for/)) - end - - property_supported :registered? do - (!response_incomplete? && !available?) - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_not_supported :expires_on - - - property_not_supported :registrar - - - property_not_supported :registrant_contacts - - property_not_supported :admin_contacts - - property_not_supported :technical_contacts - - - property_not_supported :nameservers - - - # Very often the .to server returns a partial response, - # which is a response containing an empty line. - # It seems to be a very poorly-designed throttle mechanism. - # - # @return [Boolean] - # - # @see Whois::Record::Parser::Base#response_incomplete? - # - def response_incomplete? - content_for_scanner.strip == "" - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.tucows.com.rb b/lib/whois/record/parser/whois.tucows.com.rb deleted file mode 100644 index d573ae65c..000000000 --- a/lib/whois/record/parser/whois.tucows.com.rb +++ /dev/null @@ -1,30 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.tucows.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisTucowsCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^ No match for/ - } - end - - end - end -end diff --git a/lib/whois/record/parser/whois.twnic.net.tw.rb b/lib/whois/record/parser/whois.twnic.net.tw.rb deleted file mode 100644 index 4b2203eb2..000000000 --- a/lib/whois/record/parser/whois.twnic.net.tw.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.twnic.net.tw - # - # Parser for the whois.twnic.net.tw server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisTwnicNetTw < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner.strip == "No Found") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Record created on ([^ ]+) .+\n/ - Time.parse($1) - end - end - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Record expires on ([^ ]+) .+\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain servers in listed order:\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.tznic.or.tz.rb b/lib/whois/record/parser/whois.tznic.or.tz.rb deleted file mode 100644 index 5e8387608..000000000 --- a/lib/whois/record/parser/whois.tznic.or.tz.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_whoisd' - - -module Whois - class Record - class Parser - - # Parser for the whois.tznic.or.tz server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisTznicOrTz < BaseWhoisd - end - - end - end -end diff --git a/lib/whois/record/parser/whois.ua.rb b/lib/whois/record/parser/whois.ua.rb deleted file mode 100644 index 70bbb0535..000000000 --- a/lib/whois/record/parser/whois.ua.rb +++ /dev/null @@ -1,242 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.ua server. - class WhoisUa < Base - - class Uaepp - attr_reader :parent, :content - - def initialize(parent, content) - @parent = parent - @content = content - end - - def status - if content =~ /status:\s+(.+?)\n/ - case (s = $1.downcase) - when "ok", "clienthold", "autorenewgraceperiod", "clienttransferprohibited" - :registered - when "redemptionperiod", "pendingdelete" - :redemption - else - Whois.bug!(ParserError, "Unknown status `#{s}'.") - end - else - :available - end - end - - def created_on - if content =~ /created:\s+(.+)\n/ - Time.parse($1) - end - end - - def updated_on - if content =~ /modified:\s+(.+)\n/ - Time.parse($1) - end - end - - def expires_on - if content =~ /expires:\s+(.+)\n/ - Time.parse($1) - end - end - - - def build_contact(element, type) - contact_ids = content.scan(/#{element}:\s+(.+)\n/).flatten - return if contact_ids.empty? - - contact_ids.map do |contact_id| - textblock = content.slice(/contact-id:\s+#{contact_id}\n((?:.+\n)+)\n/, 1) - - address = textblock.scan(/address:\s+(.+)\n/).flatten - address = address.reject { |a| a == "n/a" } - - Record::Contact.new( - type: type, - id: contact_id, - name: textblock.slice(/person:\s+(.+)\n/, 1), - organization: textblock.slice(/organization:\s+(.+)\n/, 1), - address: address.join("\n"), - zip: nil, - state: nil, - city: nil, - country: textblock.slice(/country:\s+(.+)\n/, 1), - phone: textblock.slice(/phone:\s+(.+)\n/, 1), - fax: textblock.slice(/fax:\s+(.+)\n/, 1), - email: textblock.slice(/e-mail:\s+(.+)\n/, 1), - created_on: Time.parse(textblock.slice(/created:\s+(.+)\n/, 1)) - ) - end - end - end - - class Uanic - attr_reader :parent, :content - - def initialize(parent, content) - @parent = parent - @content = content - end - - def status - if content =~ /status:\s+(.+?)\n/ - case (s = $1.downcase) - when /^ok-until/ - :registered - else - Whois.bug!(ParserError, "Unknown status `#{s}'.") - end - else - :available - end - end - - def created_on - if content =~ /created:\s+(.+)\n/ - time = $1.split(" ").last - Time.parse(time) - end - end - - def updated_on - if content =~ /changed:\s+(.+)\n/ - time = $1.split(" ").last - Time.parse(time) - end - end - - def expires_on - if content =~ /status:\s+(.+)\n/ - time = $1.split(" ").last - Time.parse(time) - end - end - - - def build_contact(element, type) - contact_ids = content.scan(/#{element}:\s+(.+)\n/).flatten - return if contact_ids.empty? - - contact_ids.map do |contact_id| - textblock = content.slice(/nic-handle:\s+#{contact_id}\n((?:.+\n)+)\n/, 1) - - address = textblock.scan(/address:\s+(.+)\n/).flatten - zip = nil - zip = address[1].slice!(/\s+\d{5}/).strip if address[1] =~ /\s+\d{5}/ - zip = address[1].slice!(/\d{5}\s+/).strip if address[1] =~ /\d{5}\s+/ - state = nil - state = address[1].slice!(/\s+[A-Z]{2}\z/).strip if address[1] =~ /\s+[A-Z]{2}\z/ - - Record::Contact.new( - type: type, - id: contact_id, - name: nil, - organization: textblock.scan(/organization:\s+(.+)\n/).join("\n"), - address: address[0], - zip: zip, - state: state, - city: address[1], - country: address[2], - phone: textblock.slice(/phone:\s+(.+)\n/, 1), - fax: textblock.slice(/fax-no:\s+(.+)\n/, 1), - email: textblock.slice(/e-mail:\s+(.+)\n/, 1), - updated_on: (Time.parse($1.split(" ").last) if textblock =~ /changed:\s+(.+)\n/) - ) - end - end - end - - - property_supported :domain do - if content_for_scanner =~ /domain:\s+(.+)\n/ - $1 - end - end - - property_not_supported :domain_id - - - property_supported :status do - subparser.status - end - - property_supported :available? do - !!(content_for_scanner =~ /^% No entries found for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - subparser.created_on - end - - property_supported :updated_on do - subparser.updated_on - end - - property_supported :expires_on do - subparser.expires_on - end - - - property_not_supported :registrar - - property_supported :registrant_contacts do - subparser.build_contact("registrant", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :admin_contacts do - subparser.build_contact("admin-c", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - subparser.build_contact("tech-c", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - content_for_scanner.scan(/nserver:\s+(.+)\n/).flatten.map do |name| - Record::Nameserver.new(name: name.strip) - end - end - - - private - - def subparser - @subparser ||= begin - source = content_for_scanner.slice(/source:\s+(.+)\n/, 1) - if source == "UANIC" - Uanic.new(self, content_for_scanner) - else - Uaepp.new(self, content_for_scanner) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.udag.net.rb b/lib/whois/record/parser/whois.udag.net.rb deleted file mode 100644 index 98beca5b3..000000000 --- a/lib/whois/record/parser/whois.udag.net.rb +++ /dev/null @@ -1,30 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.udag.net server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisUdagNet < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^We could not find the requested domain on our system/ - } - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/parser/whois.uniregistry.net.rb b/lib/whois/record/parser/whois.uniregistry.net.rb deleted file mode 100644 index 1506d553c..000000000 --- a/lib/whois/record/parser/whois.uniregistry.net.rb +++ /dev/null @@ -1,68 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.donuts.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisUniregistryNet < BaseIcannCompliant - - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: />>> Domain \".+\" is available/ - } - - - property_supported :domain_id do - node('Domain ID') - end - - - property_supported :expires_on do - node('Registry Expiry Date') do |value| - parse_time(value) - end - end - - - property_supported :registrar do - return unless node('Sponsoring Registrar') - Record::Registrar.new( - id: node('Sponsoring Registrar IANA ID'), - name: node('Sponsoring Registrar'), - organization: node('Sponsoring Registrar') - ) - end - - - private - - def build_contact(element, type) - if (contact = super) - contact.id = node("#{element} ID") - end - contact - end - - def parse_time(value) - Time.parse(value).change(usec: 0) - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.usp.ac.fj.rb b/lib/whois/record/parser/whois.usp.ac.fj.rb deleted file mode 100644 index c823d0ecb..000000000 --- a/lib/whois/record/parser/whois.usp.ac.fj.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.usp.ac.fj server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisUspAcFj < Base - - property_supported :status do - if content_for_scanner =~ /Status:\s+(.+?)\n/ - case $1.downcase - when "active" - :registered - else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") - end - else - :available - end - end - - property_supported :available? do - !!(content_for_scanner =~ /^The domain (.+?) was not found!$/) - end - - property_supported :registered? do - !available? - end - - - property_not_supported :created_on - - property_not_supported :updated_on - - property_supported :expires_on do - if content_for_scanner =~ /Expires:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Domain servers:\n\n((.+\n)+)\n/ - $1.split("\n").map do |line| - name, ipv4 = line.strip.split(/\s+/) - Record::Nameserver.new(name: name.downcase, ipv4: ipv4) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.verisign-grs.com.rb b/lib/whois/record/parser/whois.verisign-grs.com.rb deleted file mode 100644 index a4b46d7eb..000000000 --- a/lib/whois/record/parser/whois.verisign-grs.com.rb +++ /dev/null @@ -1,51 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_verisign' - - -module Whois - class Record - class Parser - - # Parser for the whois.verisign-grs.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisVerisignGrsCom < BaseVerisign - - property_supported :expires_on do - node("Expiration Date") { |value| Time.parse(value) } - end - - - property_supported :registrar do - node("Registrar") do |value| - Whois::Record::Registrar.new( - id: last_useful_item(node("Sponsoring Registrar IANA ID")), - name: last_useful_item(value), - url: referral_url - ) - end - end - - # Checks whether this response contains a message - # that can be reconducted to a "WHOIS Server Unavailable" status. - # - # @return [Boolean] - def response_unavailable? - !!node("response:unavailable") - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.website.ws.rb b/lib/whois/record/parser/whois.website.ws.rb deleted file mode 100644 index e46771d9d..000000000 --- a/lib/whois/record/parser/whois.website.ws.rb +++ /dev/null @@ -1,76 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # Parser for the whois.website.ws server. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisWebsiteWs < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No match for/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /\s+Domain Created:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /\s+Domain Last Updated:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :expires_on do - if content_for_scanner =~ /\s+Domain Currently Expires:\s+(.*)\n/ - Time.parse($1) - end - end - - - property_supported :nameservers do - if content_for_scanner =~ /Current Nameservers:\n\n((.+\n)+)\n/ - $1.split("\n").map do |name| - Record::Nameserver.new(name: name.strip.downcase) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.wildwestdomains.com.rb b/lib/whois/record/parser/whois.wildwestdomains.com.rb deleted file mode 100644 index d006876b5..000000000 --- a/lib/whois/record/parser/whois.wildwestdomains.com.rb +++ /dev/null @@ -1,37 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the whois.wildwestdomains.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisWildwestdomainsCom < BaseIcannCompliant - self.scanner = Scanners::BaseIcannCompliant, { - pattern_available: /^Domain (.+) is not registered here.\n/ - } - - property_supported :updated_on do - node('Update Date') do |value| - parse_time(value) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.yoursrs.com.rb b/lib/whois/record/parser/whois.yoursrs.com.rb deleted file mode 100644 index cdaaa667e..000000000 --- a/lib/whois/record/parser/whois.yoursrs.com.rb +++ /dev/null @@ -1,127 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' -require 'whois/record/scanners/whois.yoursrs.com' - - -module Whois - class Record - class Parser - - # Parser for the whois.yoursrs.com server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class WhoisYoursrsCom < Base - include Scanners::Scannable - - self.scanner = Scanners::WhoisYoursrsCom - - - property_supported :domain do - node("Domain Name", &:downcase) - end - - property_not_supported :domain_id - - - property_supported :status do - Array.wrap(node("Status")) - end - - property_supported :available? do - !!node("status:available") - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - node("Created On") do |value| - Time.parse(value) - end - end - - property_supported :updated_on do - node("Last Updated On") do |value| - Time.parse(value) unless value.empty? - end - end - - property_supported :expires_on do - node("Expiration Date") do |value| - Time.parse(value) - end - end - - - property_supported :registrar do - node("Sponsoring Registrar") do |value| - Record::Registrar.new( - name: value - ) - end - end - - - property_supported :registrant_contacts do - build_contact("Registrant", Whois::Record::Contact::TYPE_REGISTRANT) - end - - property_supported :admin_contacts do - build_contact("ADMIN", Whois::Record::Contact::TYPE_ADMINISTRATIVE) - end - - property_supported :technical_contacts do - build_contact("TECH", Whois::Record::Contact::TYPE_TECHNICAL) - end - - - property_supported :nameservers do - Array.wrap(node("Name Server")).reject(&:empty?).map do |name| - Nameserver.new(name: name.downcase) - end - end - - - private - - def build_contact(element, type) - node("#{element} ID") do - address = (1..3). - map { |i| node("#{element} Street#{i}") }. - delete_if { |i| i.nil? || i.empty? }. - join("\n") - - Record::Contact.new( - type: type, - id: node("#{element} ID"), - name: node("#{element} Name"), - organization: node("#{element} Organization"), - address: address, - city: node("#{element} City"), - zip: node("#{element} Postal Code"), - state: node("#{element} State"), - country_code: node("#{element} Country"), - phone: node("#{element} Phone"), - fax: node("#{element} Fax"), - email: node("#{element} Email") - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.za.net.rb b/lib/whois/record/parser/whois.za.net.rb deleted file mode 100644 index 2174e2cb0..000000000 --- a/lib/whois/record/parser/whois.za.net.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.za.net parser - # - # Parser for the whois.za.net server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisZaNet < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No such domain:/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Record Created\s+:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record Last Updated\s+:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Domain Name Servers listed in order:\n\n((.+\n)+)\n/ - $1.split("\n").reject { |value| value.strip.empty? }.map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois.za.org.rb b/lib/whois/record/parser/whois.za.org.rb deleted file mode 100644 index 75206ea8f..000000000 --- a/lib/whois/record/parser/whois.za.org.rb +++ /dev/null @@ -1,74 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base' - - -module Whois - class Record - class Parser - - # - # = whois.za.org parser - # - # Parser for the whois.za.org server. - # - # NOTE: This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - # See WhoisNicIt parser for an explanation of all available methods - # and examples. - # - class WhoisZaOrg < Base - - property_supported :status do - if available? - :available - else - :registered - end - end - - property_supported :available? do - !!(content_for_scanner =~ /No such domain:/) - end - - property_supported :registered? do - !available? - end - - - property_supported :created_on do - if content_for_scanner =~ /Record Created\s+:\s+(.*)\n/ - Time.parse($1) - end - end - - property_supported :updated_on do - if content_for_scanner =~ /Record Last Updated\s+:\s+(.*)\n/ - Time.parse($1) - end - end - - property_not_supported :expires_on - - - property_supported :nameservers do - if content_for_scanner =~ /Domain Name Servers listed in order:\n\n((.+\n)+)\n/ - $1.split("\n").reject { |value| value.strip.empty? }.map do |name| - Record::Nameserver.new(:name => name.strip) - end - end - end - - end - - end - end -end diff --git a/lib/whois/record/parser/whois1.nic.bi.rb b/lib/whois/record/parser/whois1.nic.bi.rb deleted file mode 100644 index 56c89ddd5..000000000 --- a/lib/whois/record/parser/whois1.nic.bi.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_cocca2' - - -module Whois - class Record - class Parser - - # Parser for the whois1.nic.bi server. - # - # @see Whois::Record::Parser::Example - # The Example parser for the list of all available methods. - # - class Whois1NicBi < BaseCocca2 - end - - end - end -end diff --git a/lib/whois/record/parser/za_central_registry.rb b/lib/whois/record/parser/za_central_registry.rb deleted file mode 100644 index ff9b2d328..000000000 --- a/lib/whois/record/parser/za_central_registry.rb +++ /dev/null @@ -1,70 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/parser/base_icann_compliant' - - -module Whois - class Record - class Parser - - # Parser for the ZA Central Registry servers. - # - class ZaCentralRegistry < BaseIcannCompliant - - property_supported :domain_id do - node('Domain ID') - end - - property_supported :expires_on do - node('Registry Expiry Date') do |value| - parse_time(value) - end - end - - property_supported :registrar do - return unless node("Sponsoring Registrar") - Record::Registrar.new( - id: node('Sponsoring Registrar IANA ID'), - name: node('Sponsoring Registrar'), - organization: node('Sponsoring Registrar'), - ) - end - - property_supported :available? do - !node("Creation Date") - end - - - private - - def build_contact(element, type) - node("#{element} Name") do - Record::Contact.new( - type: type, - id: node("#{element} ID").presence, - name: value_for_property(element, 'Name'), - organization: value_for_property(element, 'Organization'), - address: value_for_property(element, 'Street'), - city: value_for_property(element, 'City'), - zip: value_for_property(element, 'Postal Code'), - state: value_for_property(element, 'State/Province'), - country_code: value_for_property(element, 'Country'), - phone: value_for_phone_property(element, 'Phone'), - fax: value_for_phone_property(element, 'Fax'), - email: value_for_property(element, 'Email') - ) - end - end - - end - - end - end -end diff --git a/lib/whois/record/part.rb b/lib/whois/record/part.rb index 045017021..339159d4c 100644 --- a/lib/whois/record/part.rb +++ b/lib/whois/record/part.rb @@ -1,15 +1,14 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ -require 'whois/record/super_struct' - - module Whois class Record @@ -23,7 +22,25 @@ class Record # @attr [String] body The body containing the WHOIS output. # @attr [String] host The host which returned the body. # - class Part < SuperStruct.new(:body, :host) + Part = Struct.new(:body, :host) do + def initialize(*args) + if args.first.is_a? Hash + initialize_with_hash(args.first) + elsif args.size.zero? + super + else + raise ArgumentError + end + yield(self) if block_given? + end + + private + + def initialize_with_hash(attributes = {}) + attributes.each do |key, value| + self[key] = value + end + end end end diff --git a/lib/whois/record/registrar.rb b/lib/whois/record/registrar.rb deleted file mode 100644 index 0aa3fb9c7..000000000 --- a/lib/whois/record/registrar.rb +++ /dev/null @@ -1,34 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/super_struct' - - -module Whois - class Record - - # Holds the details of the Registrar extracted from the WHOIS response. - # - # A registrar is composed by the several attributes, - # accessible through corresponding getter / setter methods. - # - # Please note that a response is not required to provide - # all the attributes. When an attribute is not available, - # the corresponding value is set to nil. - # - # @attr [String] id - # @attr [String] name - # @attr [String] organization - # @attr [String] url - # - class Registrar < SuperStruct.new(:id, :name, :organization, :url) - end - - end -end diff --git a/lib/whois/record/scanners/base.rb b/lib/whois/record/scanners/base.rb deleted file mode 100644 index dd468c65b..000000000 --- a/lib/whois/record/scanners/base.rb +++ /dev/null @@ -1,126 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -module Whois - class Record - module Scanners - - class Base - - class_attribute :tokenizers - self.tokenizers = [] - - def self.tokenizer(name, &block) - define_method(name, &block) - end - - - attr_reader :settings - - def initialize(settings = nil) - @settings = settings || {} - end - - def parse(content) - # The temporary store. - # Scanners may use this to store pointers, states or other flags. - @tmp = {} - - # A super-simple AST store. - @ast = {} - - @input = StringScanner.new(content) - tokenize until @input.eos? - - @ast - end - - - tokenizer :skip_empty_line do - @input.skip(/^\n/) - end - - tokenizer :skip_blank_line do - @input.skip(/^[\s]*\n/) - end - - tokenizer :skip_newline do - @input.skip(/\n/) - end - - # Scan a key/value pair and stores the result in the current target. - # target is the global @ast if no '_section' is set, else '_section' is used. - tokenizer :scan_keyvalue do - if @input.scan(/(.+?):(.*?)(\n|\z)/) - key, value = @input[1].strip, @input[2].strip - target = @tmp['_section'] ? (@ast[@tmp['_section']] ||= {}) : @ast - - if target[key].nil? - target[key] = value - else - target[key] = Array.wrap(target[key]) - target[key] << value - end - end - end - - protected - - def _scan_lines_to_array(pattern) - results = [] - while @input.scan(pattern) - @input[1].strip - results << @input[1].strip - end - results - end - - def _scan_lines_to_hash(pattern) - results = {} - while @input.scan(pattern) - results.merge! @input[1].strip => @input[2].strip - end - results - end - - def _scan_keyvalues(pattern) - results = [] - while @input.scan(/(.+?):(.*?)\n/) - key, value = @input[1].strip, @input[2].strip - if results[key].nil? - results[key] = value - else - results[key] = Array.wrap(results[key]) - results[key] << value - end - end - end - - private - - def tokenize - tokenizers.each do |tokenizer| - return if send(tokenizer) - end - unexpected_token - end - - def unexpected_token - error!("Unexpected token") - end - - def error!(message) - raise ParserError, "#{message}: #{@input.peek(@input.string.length)}" - end - - end - - end - end -end \ No newline at end of file diff --git a/lib/whois/record/scanners/base_afilias.rb b/lib/whois/record/scanners/base_afilias.rb deleted file mode 100644 index e149b7896..000000000 --- a/lib/whois/record/scanners/base_afilias.rb +++ /dev/null @@ -1,63 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the Afilias-based records. - class BaseAfilias < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_reserved, - :scan_throttled, - :scan_disclaimer, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.scan(/^NOT FOUND\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_reserved do - if settings[:pattern_reserved] && @input.scan(settings[:pattern_reserved]) - @ast["status:reserved"] = true - end - end - - # .ORG - tokenizer :scan_throttled do - if @input.match?(/^WHOIS LIMIT EXCEEDED/) - @ast["response:throttled"] = true - @input.skip(/^.+\n/) - end - end - - tokenizer :scan_disclaimer do - if settings[:pattern_disclaimer] - if @input.match?(settings[:pattern_disclaimer]) - @ast["field:disclaimer"] = _scan_lines_to_array(/^(.+)\n/).join(" ") - end - elsif @input.pos == 0 && @input.match?(/^(.+\n){3,}\n/) - @ast["field:disclaimer"] = _scan_lines_to_array(/^(.+)\n/).join(" ") - end - end - end - - end - end -end diff --git a/lib/whois/record/scanners/base_cocca2.rb b/lib/whois/record/scanners/base_cocca2.rb deleted file mode 100644 index 5ab8eebdf..000000000 --- a/lib/whois/record/scanners/base_cocca2.rb +++ /dev/null @@ -1,55 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class BaseCocca2 < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_disclaimer, - :skip_lastupdate, - :skip_token_additionalsection, - :scan_keyvalue, - ] - - - DISCLAIMER_MATCHES = [ - "TERMS OF USE:", # global - "Terminos de Uso:", # whois.nic.hn - "The data in the WHOIS database of Meridian", # whois.meridiantld.net - "This information is provided", # whois.gg - ] - - tokenizer :scan_disclaimer do - if @input.match?(/^#{DISCLAIMER_MATCHES.join("|")}/) - @ast["field:disclaimer"] = @input.scan_until(/>>>/) || - # special handler for whois.nic.cx exception - @input.scan_until(/\Z/) - end - end - - tokenizer :skip_lastupdate do - @input.skip(/>>>(.+?)<<<\n/) - end - - tokenizer :skip_token_additionalsection do - @input.skip(/Additional Section\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_icann_compliant.rb b/lib/whois/record/scanners/base_icann_compliant.rb deleted file mode 100644 index fcdd68f27..000000000 --- a/lib/whois/record/scanners/base_icann_compliant.rb +++ /dev/null @@ -1,57 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the Icann Compliant-based records. - class BaseIcannCompliant < Base - - self.tokenizers += [ - :skip_head, - :scan_available, - :scan_throttled, - :skip_empty_line, - :skip_blank_line, - :scan_keyvalue, - :skip_end, - ] - - tokenizer :scan_available do - if settings[:pattern_available] && @input.skip_until(settings[:pattern_available]) - @ast['status:available'] = true - end - end - - tokenizer :scan_throttled do - if settings[:pattern_throttled] && @input.skip_until(settings[:pattern_throttled]) - @ast['response:throttled'] = true - end - end - - tokenizer :skip_head do - if @input.skip_until(/Domain Name:/) - @input.scan(/\s?(.+)\n/) - @ast["Domain Name"] = @input[1].strip - end - end - - tokenizer :skip_end do - @input.terminate - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_iisse.rb b/lib/whois/record/scanners/base_iisse.rb deleted file mode 100644 index c1ccdabce..000000000 --- a/lib/whois/record/scanners/base_iisse.rb +++ /dev/null @@ -1,48 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the IIS.se company. - class BaseIisse < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_disclaimer, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^(domain )?"(.+)" not found.+\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/# Copyright/) - lines = [] - while @input.scan(/#(.*)\n\n?/) - lines << @input[1].strip unless @input[1].strip == "" - end - @ast["field:disclaimer"] = lines.join(" ") - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_shared1.rb b/lib/whois/record/scanners/base_shared1.rb deleted file mode 100644 index 5c30f3e37..000000000 --- a/lib/whois/record/scanners/base_shared1.rb +++ /dev/null @@ -1,43 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class BaseShared1 < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_reserved, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^No Data Found\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_reserved do - if settings[:pattern_reserved] && @input.scan(settings[:pattern_reserved]) - @ast["status:reserved"] = true - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_shared2.rb b/lib/whois/record/scanners/base_shared2.rb deleted file mode 100644 index 19898fb5c..000000000 --- a/lib/whois/record/scanners/base_shared2.rb +++ /dev/null @@ -1,47 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class BaseShared2 < Base - - self.tokenizers += [ - :skip_blank_line, - :scan_available, - :scan_keyvalue, - :skip_lastupdate, - :skip_fuffa, - ] - - - tokenizer :scan_available do - if @input.scan(/^Not found: (.+)\n/) - @ast["Domain Name"] = @input[1] - @ast["status:available"] = true - end - end - - tokenizer :skip_lastupdate do - @input.skip(/>>>(.+?)<<<\n/) - end - - tokenizer :skip_fuffa do - @input.skip(/^\S(.+)\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_shared3.rb b/lib/whois/record/scanners/base_shared3.rb deleted file mode 100644 index 73837afa2..000000000 --- a/lib/whois/record/scanners/base_shared3.rb +++ /dev/null @@ -1,49 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class BaseShared3 < Base - - self.tokenizers += [ - :scan_disclaimer, - :skip_empty_line, - :skip_comment, - :scan_available, - :scan_keyvalue, - ] - - - tokenizer :skip_comment do - @input.skip(/^;.*\n/) - end - - tokenizer :scan_available do - if @input.skip(/^not found.+\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.pos == 0 && @input.match?(/^;.*/) - @ast["field:disclaimer"] = _scan_lines_to_array(/^;(.*)\n/).join(" ") - @ast["field:disclaimer"].gsub!(" ", "\n") - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/base_whoisd.rb b/lib/whois/record/scanners/base_whoisd.rb deleted file mode 100644 index ed4326100..000000000 --- a/lib/whois/record/scanners/base_whoisd.rb +++ /dev/null @@ -1,56 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for Whoisd-based records. - class BaseWhoisd < Base - - self.tokenizers += [ - :scan_available, - :skip_comment, - :scan_section, - :scan_keyvalue, - :skip_empty_line, - ] - - - tokenizer :scan_available do - if @input.skip(/^%ERROR:101: no entries found/) - @ast['status:available'] = true - end - end - - tokenizer :scan_section do - if @input.scan(/\n(contact|nsset|keyset):\s+(.+)\n/) - @tmp["_section"] = "node:#{@input[1]}/#{@input[2].strip}" - while scan_keyvalue - end - @tmp.delete("_section") - end - end - - tokenizer :todo_content do - @input.scan(/(.*)\n/) - end - - tokenizer :skip_comment do - @input.skip(/^%.*\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/iana.rb b/lib/whois/record/scanners/iana.rb deleted file mode 100644 index 54dcd47ad..000000000 --- a/lib/whois/record/scanners/iana.rb +++ /dev/null @@ -1,101 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class Iana < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_disclaimer, - :scan_section, - ] - - - tokenizer :scan_disclaimer do - if @input.match?(/^\%(.*?)\n/) - @ast["Disclaimer"] = _scan_lines_to_array(/\%(.*?)\n/).select { |line| line =~ /\w+/ }.join(" ") - end - end - - tokenizer :scan_section do - if @input.scan(/^(.+):(.+)\n/) - - # Adapt the section's name depending on the first line - section = case @input[1].strip - when 'contact' - @input[2].strip # use the contact type name as identifier - when 'created', 'changed' - 'dates' - when 'nserver' - 'nameservers' - else - @input[1].strip # Default name is the first label found - end - - content = parse_section_pairs - @input.match?(/\n+/) || error("Unexpected end of section") - @ast[section] = content - end - end - - - private - - def parse_section_pairs - # Sets by default the firsts values found in the section parsing bellow - section_name, section_value = @input[1].strip, @input[2].strip - #contents = {section_name => section_value} - - contents = {} - - while content = parse_section_pair - contents.merge!(content) - end - - if contents.has_key? section_name - contents[section_name].insert(0, "#{section_value}\n") - else - contents[section_name] = section_value - end - - if !contents.empty? - contents - else - false - end - end - - def parse_section_pair - if @input.scan(/^(.+):\s*(.+)\n/) - key = @input[1].strip - values = [@input[2].strip] - - while value = parse_section_pair_newlinevalue(key) - values << value - end - { key => values.join("\n") } - end - end - - def parse_section_pair_newlinevalue(key) - if @input.scan(/^#{key}:\s*(.+)\n/) - @input[1].strip - end - end - - end - end - end -end \ No newline at end of file diff --git a/lib/whois/record/scanners/scannable.rb b/lib/whois/record/scanners/scannable.rb deleted file mode 100644 index b6d852b2f..000000000 --- a/lib/whois/record/scanners/scannable.rb +++ /dev/null @@ -1,77 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'strscan' - - -module Whois - class Record - module Scanners - - # The Scannable module tries to emulate a super-simple Abstract Syntax Tree structure - # including method for accessing ast nodes. - # - # == Usage - # - # Include the Scannable module and set the `self.scanner` value. - # - # class ParserFoo - # include Scannable - # - # self.scanner = ScannerFoo - # end - # - # Now you can access the AST using the node method. - # - # node "created_on" - # # => "2009-12-12" - # - # node? "created_on" - # # => true - # - # node? "created_at" - # # => false - # - module Scannable - - def self.included(base) - base.class_attribute :scanner - end - - def node(key) - if block_given? - value = ast[key] - value = yield(value) unless value.nil? - value - else - ast[key] - end - end - - def node?(key) - !ast[key].nil? - end - - def parse - scanner = self.scanner.is_a?(Array) ? self.scanner.first : self.scanner - settings = self.scanner.is_a?(Array) ? self.scanner.last : {} - scanner.new(settings).parse(content_for_scanner) - end - - private - - def ast - @ast ||= parse - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/verisign.rb b/lib/whois/record/scanners/verisign.rb deleted file mode 100644 index 54d5ecdbb..000000000 --- a/lib/whois/record/scanners/verisign.rb +++ /dev/null @@ -1,112 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class Verisign < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_response_unavailable, - :scan_available, - :scan_disclaimer, - :scan_notice, - :scan_keyvalue_indented, - :skip_ianaservice, - :skip_lastupdate, - :skip_fuffa, - ] - - - tokenizer :scan_response_unavailable do - # Check if the string starts with /* - # If it does, match until the end of all /* lines - # or the end of the file and check for the content. - # - # Flag the block as visited to force the scanner to ignore this tokenizer - # if already used and the content didn't match the unavailable message. - if @input.match?(/^\*\n/) && !visited? - p = /^[^\*]|\z/ - y = @input.check_until(p) =~ /^\* Sorry, the Whois database is currently down/ - - if y - @input.skip_until(p) - @ast["response:unavailable"] = true - else - visited! - end - end - end - - tokenizer :scan_available do - if @input.scan(/No match for "(.+?)"\.\n/) - @ast["Domain Name"] = @input[1].strip - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/^TERMS OF USE:/) - @ast["Disclaimer"] = _scan_lines_to_array(/(.+)\n/).join(" ") - end - end - - tokenizer :scan_notice do - if @input.match?(/^NOTICE:/) - @ast["Notice"] = _scan_lines_to_array(/(.+)\n/).join(" ") - end - end - - tokenizer :scan_keyvalue_indented do - if @input.scan(/\s+(.+?):(.*?)\n/) - key, value = @input[1].strip, @input[2].strip - if @ast[key].nil? - @ast[key] = value - else - @ast[key] = [@ast[key]] unless @ast[key].is_a?(Array) - @ast[key] << value - end - end - end - - tokenizer :skip_lastupdate do - @input.skip(/>>>(.+?)<<<\n/) - end - - tokenizer :skip_fuffa do - @input.scan(/^\S(.+)(?:\n|\z)/) - end - - tokenizer :skip_ianaservice do - if @input.match?(/IANA Whois Service/) - @ast["IANA"] = true - @input.terminate - end - end - - private - - def visited? - !!@tmp["visited:#{@input.pos}"] - end - - def visited! - @tmp["visited:#{@input.pos}"] = true - nil - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.ati.tn.rb b/lib/whois/record/scanners/whois.ati.tn.rb deleted file mode 100644 index ba24b0f19..000000000 --- a/lib/whois/record/scanners/whois.ati.tn.rb +++ /dev/null @@ -1,44 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.ati.tn record. - class WhoisAtiTn < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_disclaimer, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^Domain (.+) not found/) - @ast["status:available"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/^All rights reserved/) - @ast["field:disclaimer"] = _scan_lines_to_array(/(.+)\n/).join("\n") - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.audns.net.au.rb b/lib/whois/record/scanners/whois.audns.net.au.rb deleted file mode 100644 index 34c5c8e29..000000000 --- a/lib/whois/record/scanners/whois.audns.net.au.rb +++ /dev/null @@ -1,37 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.audns.net.au record. - class WhoisAudnsNetAu < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^No Data Found\n/) - @ast["status:available"] = true - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.cctld.by.rb b/lib/whois/record/scanners/whois.cctld.by.rb deleted file mode 100644 index dc1f370a6..000000000 --- a/lib/whois/record/scanners/whois.cctld.by.rb +++ /dev/null @@ -1,47 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.cctld.by server. - # - # @author Aliaksei Kliuchnikau - class WhoisCctldBy < Base - - self.tokenizers += [ - :skip_empty_line, - :skip_dash_line, - :scan_available, - :scan_keyvalue, - :skip_provider_signature, - ] - - tokenizer :scan_available do - if @input.skip(/^Object does not exist/) - @ast["status:available"] = true - end - end - - tokenizer :skip_dash_line do - @input.skip(/^-+\n/) - end - - tokenizer :skip_provider_signature do - @input.scan(/^(.+)\n/) - end - - end - end - end -end diff --git a/lib/whois/record/scanners/whois.centralnic.com.rb b/lib/whois/record/scanners/whois.centralnic.com.rb deleted file mode 100644 index 7d0ac1dad..000000000 --- a/lib/whois/record/scanners/whois.centralnic.com.rb +++ /dev/null @@ -1,44 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.centralnic.com record. - class WhoisCentralnicCom < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_disclaimer, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^DOMAIN NOT FOUND\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/^\S([^:]+)\n/) - @ast["field:disclaimer"] = _scan_lines_to_array(/(.+)\n/).join(" ") - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.cira.ca.rb b/lib/whois/record/scanners/whois.cira.ca.rb deleted file mode 100644 index e7986f5e3..000000000 --- a/lib/whois/record/scanners/whois.cira.ca.rb +++ /dev/null @@ -1,84 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.cira.ca record. - class WhoisCiraCa < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_disclaimer, - :skip_comment, - :scan_header, - :scan_keyvalue, - :scan_nameserver, - ] - - - tokenizer :scan_disclaimer do - if @input.match?(/^% Use of CIRA/) - @ast["field:disclaimer"] = _scan_lines_to_array(/^%(.*)\n/).join("\n") - end - end - - tokenizer :scan_header do - if @input.scan(/^(.+?):\n/) - @tmp["group"] = @input[1] - end - end - - tokenizer :scan_keyvalue do - if @input.scan(/^(.+?):(.*?)\n/) - start = @input[1] - key, value = start.strip, @input[2].strip - - # This is a nested key - target = if start.index(" ") == 0 - error!("Expected group.") if @tmp["group"].nil? - @ast[@tmp["group"]] ||= {} - @ast[@tmp["group"]] - else - @tmp.delete("group") - @ast - end - - more = _scan_lines_to_array(/^\s{#{start.size}}(.+)\n/) - value = more.unshift(value).join("\n") unless more.empty? - - if target[key].nil? - target[key] = value - else - target[key] = Array.wrap(target[key]) - target[key] << value - end - end - end - - tokenizer :scan_nameserver do - if @input.scan(/^\s+(.+?)\n/) && @tmp["group"] == "Name servers" - @ast["field:nameservers"] ||= [] - @ast["field:nameservers"] << @input[1].strip - end - end - - tokenizer :skip_comment do - @input.skip(/^%.*\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.cnnic.cn.rb b/lib/whois/record/scanners/whois.cnnic.cn.rb deleted file mode 100644 index 4ebb0bc13..000000000 --- a/lib/whois/record/scanners/whois.cnnic.cn.rb +++ /dev/null @@ -1,54 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.cnnic.cn record. - class WhoisCnnicCn < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_reserved, - :scan_reserved_list, - :scan_available, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.match?(/^no matching record/) - @ast["status:available"] = true - @input.scan_until(/\n/) - end - end - - tokenizer :scan_reserved do - if @input.match?(/^The domain you requested is prohibited/) - @ast["status:reserved"] = true - @input.scan_until(/\n/) - end - end - - tokenizer :scan_reserved_list do - if @input.scan(/^Sorry, The domain you requested is in the reserved list/) - @ast["status:reserved"] = true - @input.scan_until(/\n/) - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.denic.de.rb b/lib/whois/record/scanners/whois.denic.de.rb deleted file mode 100644 index c429773ec..000000000 --- a/lib/whois/record/scanners/whois.denic.de.rb +++ /dev/null @@ -1,108 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class WhoisDenicDe < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_response_throttled, - :scan_response_error, - :scan_disclaimer, - :scan_pair, - :scan_contact, - :skip_db_time, - ] - - - tokenizer :scan_response_throttled do - if @input.match?(/^% Error: 55000000002/) - @ast["response:throttled"] = true - @input.skip(/^.+\n/) - end - end - - tokenizer :scan_response_error do - if @input.match?(/^% Error: 55000000010/) - @ast["response:error"] = true - @input.skip(/^.+\n/) - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/% Copyright \(c\) *\d{4} by DENIC\n/) - @input.scan_until(/% Terms and Conditions of Use\n/) - lines = [] - while @input.match?(/%/) && @input.scan(/%(.*)\n/) - lines << @input[1].strip unless @input[1].strip == "" - end - @ast["Disclaimer"] = lines.join(" ") - end - end - - tokenizer :scan_pair do - parse_pair(@ast) - end - - tokenizer :scan_contact do - if @input.scan(/\[(.*)\]\n/) - contact_name = @input[1] - contact = {} - while parse_pair(contact) - end - @ast[contact_name] = { - "id" => nil, - "name" => contact['Name'], - "organization" => contact['Organisation'], - "address" => contact['Address'], - "city" => contact['City'], - "zip" => contact['PostalCode'], - "state" => nil, - "country" => contact['Country'], - "country_code" => contact['CountryCode'], - "phone" => contact['Phone'], - "fax" => contact['Fax'], - "email" => contact['Email'], - "created_on" => nil, - "updated_on" => contact['Changed'] - } - end - end - - tokenizer :skip_db_time do - @input.skip(/^% DB time is (.+)\n/) - end - - - private - - def parse_pair(store) - if @input.scan(/([^ \[]*):(.*)\n/) - key, value = @input[1].strip, @input[2].strip - if store[key].nil? - store[key] = value - else - store[key].is_a?(Array) || store[key] = [store[key]] - store[key] << value - end - store - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.dns.hr.rb b/lib/whois/record/scanners/whois.dns.hr.rb deleted file mode 100644 index bac750de3..000000000 --- a/lib/whois/record/scanners/whois.dns.hr.rb +++ /dev/null @@ -1,37 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.dns.hr record. - class WhoisDnsHr < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.skip(/^%ERROR: no entries found\n/) - @ast["status:available"] = true - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.domainregistry.ie.rb b/lib/whois/record/scanners/whois.domainregistry.ie.rb deleted file mode 100644 index 4d4106e64..000000000 --- a/lib/whois/record/scanners/whois.domainregistry.ie.rb +++ /dev/null @@ -1,58 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.domainregistry.ie server. - class WhoisDomainregistryIe < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_disclaimer, - :scan_contact, - :scan_keyvalue, - :scan_available, - :skip_application_pending, - ] - - tokenizer :scan_available do - if @input.skip(/^% Not Registered - .+\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/^% Rights restricted by copyright/) - @ast["field:disclaimer"] = _scan_lines_to_array(/^%(.+)\n/).join("\n") - end - end - - tokenizer :scan_contact do - if @input.match?(/^person:/) - lines = _scan_lines_to_hash(/(.+?):(.*?)\n/) - @ast["field:#{lines['nic-hdl']}"] = lines - end - end - - tokenizer :skip_application_pending do - if @input.match?(/^% Application Pending/) - _scan_lines_to_array(/^%(.+)\n/) - @ast["status:pending"] = true - end - end - - end - end - end -end diff --git a/lib/whois/record/scanners/whois.fi.rb b/lib/whois/record/scanners/whois.fi.rb deleted file mode 100644 index ce6c34baf..000000000 --- a/lib/whois/record/scanners/whois.fi.rb +++ /dev/null @@ -1,51 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.fi record. - class WhoisFi < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_disclaimer, - :scan_keyvalue, - :scan_reserved - ] - - - tokenizer :scan_available do - if @input.skip(/^Domain not found/) - @ast["status:available"] = true - end - end - - tokenizer :scan_reserved do - if @input.skip(/^Domain not available/) - @ast["status:reserved"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/^More information/) - @ast["field:disclaimer"] = @input.scan_until(/(.*)\n\n/).strip - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.nc.rb b/lib/whois/record/scanners/whois.nc.rb deleted file mode 100644 index 589a6a2c1..000000000 --- a/lib/whois/record/scanners/whois.nc.rb +++ /dev/null @@ -1,44 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.nc record. - class WhoisNc < Base - - self.tokenizers += [ - :skip_empty_line, - :skip_more, - :scan_available, - :scan_keyvalue, - ] - - - MORES = ['Whois \.NC', 'more details on'] - - tokenizer :scan_available do - if @input.skip(/^No entries found .+\n/) - @ast["status:available"] = true - end - end - - tokenizer :skip_more do - MORES.any? { |more| @input.skip(/^#{more}.*\n/) } - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.nic.cz.rb b/lib/whois/record/scanners/whois.nic.cz.rb deleted file mode 100644 index 11d69b8f0..000000000 --- a/lib/whois/record/scanners/whois.nic.cz.rb +++ /dev/null @@ -1,107 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - -module Whois - class Record - module Scanners - - # Scanner for the whois.nic.cz server. - class WhoisNicCz < Base - - self.tokenizers += [ - :scan_disclaimer, - :skip_whois_server_version, - :skip_timestamp, - :skip_empty_line, - :scan_available, - :scan_to_be_deleted, - :skip_empty_comment, - :skip_secondardy_available, - :scan_sections, - :scan_response_throttled, - ] - - tokenizer :scan_disclaimer do - if @input.match?(/^% \(c\) .+ CZ.NIC, z.s.p.o./) - lines = @input.scan_until(/%\s?\n%\s?\n/) - lines = lines.split("\n").collect{|s| s.gsub(/^%\s?/,'')} - @ast["field:disclaimer"] = lines.join("\n") - end - end - - tokenizer :skip_whois_server_version do - @input.skip(/^% Whoisd Server Version: (.+)\n/) - end - - tokenizer :skip_timestamp do - @input.skip(/^% Timestamp: (.+)\n/) - end - - tokenizer :scan_available do - if @input.scan(/^%ERROR:101: no entries found\n/) - @ast["status:available"] = true - @ast["status"] = "No entries found" - end - end - - tokenizer :scan_to_be_deleted do - if @input.scan(/^domain: .+?\nstatus:\s+?To be deleted\n/) - @ast["status"] = "To be deleted" - end - end - - tokenizer :skip_empty_comment do - @input.skip(/^%\s?\n/) - end - - tokenizer :skip_secondardy_available do - @input.skip(/% No entries found.\n/) - end - - tokenizer :scan_response_throttled do - if @input.match?(/Your connection limit exceeded\. Please slow down and try again later/) - @ast["response:throttled"] = true - @input.skip(/^.+\n/) - end - end - - tokenizer :scan_sections do - if @input.match?(/^(domain|contact|nsset|keyset):\s+(.+?)\n/) - section = @input[1] - handle = @input[2] - @content = {} - while @input.match?(/\A[a-z].+?: .*?\n/) && @input.scan(/\A([a-z].+?): (.*?)\n/) - key, value = @input[1].strip, @input[2].strip - if (key == 'address' || key == 'name') && - while @input.match?(/\A([[[:upper:]][[:lower:]][[:digit:]][[:space:]]]*?)\n/) && @input.scan(/\A([[[:upper:]][[:lower:]][[:digit:]][[:space:]]]*?)\n/) - value = [value, @input[1]].join(" ") - end - end - if @content[key].nil? - @content[key] = value - else - @content[key] = Array.wrap(@content[key]) - @content[key] << value - end - break if @input.skip(/^\n/) - end - if section=="domain" - @ast.merge!(@content) - else - @ast["#{section}-#{handle}"]=@content - end - end - end - - end - end - end -end diff --git a/lib/whois/record/scanners/whois.nic.it.rb b/lib/whois/record/scanners/whois.nic.it.rb deleted file mode 100644 index 1d438edc5..000000000 --- a/lib/whois/record/scanners/whois.nic.it.rb +++ /dev/null @@ -1,104 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class WhoisNicIt < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_response_unavailable, - :scan_disclaimer, - :scan_keyvalue, - :scan_section, - ] - - - tokenizer :scan_response_unavailable do - if @input.scan(/Service temporarily unavailable\.\n/) - @ast["response:unavailable"] = true - end - end - - tokenizer :scan_disclaimer do - if @input.match?(/\*(.*?)\*\n/) - @ast["Disclaimer"] = _scan_lines_to_array(/\*(.*?)\*\n/).select { |line| line =~ /\w+/ }.join(" ") - end - end - - tokenizer :scan_section do - if @input.scan(/([^:]+?)\n/) - section = @input[1].strip - content = parse_section_pairs || - parse_section_items - @input.match?(/\n+/) || error!("Unexpected end of section") - @ast[section] = content - end - end - - - private - - def parse_section_items - if @input.match?(/(\s+)([^:]+?)\n/) - items = [] - indentation = @input[1].length - while item = parse_section_items_item(indentation) - items << item - end - items - end - end - - def parse_section_items_item(indentation) - if @input.scan(/\s{#{indentation}}(.+)\n/) - @input[1] - end - end - - def parse_section_pairs - contents = {} - while content = parse_section_pair - contents.merge!(content) - end - if !contents.empty? - contents - else - false - end - end - - def parse_section_pair - if @input.scan(/(\s+)(.+?):(\s+)(.*?)\n/) - key = @input[2].strip - values = [@input[4].strip] - indentation = @input[1].length + @input[2].length + 1 + @input[3].length - while value = parse_section_pair_newlinevalue(indentation) - values << value - end - { key => values.join("\n") } - end - end - - def parse_section_pair_newlinevalue(indentation) - if @input.scan(/\s{#{indentation}}(.+)\n/) - @input[1] - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.pir.org.rb b/lib/whois/record/scanners/whois.pir.org.rb deleted file mode 100644 index cdd5a671a..000000000 --- a/lib/whois/record/scanners/whois.pir.org.rb +++ /dev/null @@ -1,29 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the Afilias-based records. - class WhoisPirOrg < BaseAfilias - - tokenizer :scan_disclaimer do - if @input.match?(/^Access to/) - @ast["field:disclaimer"] = _scan_lines_to_array(/^(.+)\n/).join(" ") - end - end - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.registry.net.za.rb b/lib/whois/record/scanners/whois.registry.net.za.rb deleted file mode 100644 index dbdb08297..000000000 --- a/lib/whois/record/scanners/whois.registry.net.za.rb +++ /dev/null @@ -1,104 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class WhoisRegistryNetZa < Base - self.tokenizers += [ - :scan_availability, - :scan_domain, - :scan_registrant_details, - :scan_registrant_address, - :scan_registrar_details, - :scan_dates, - :scan_status, - :scan_pending_timer_events, - :scan_nameservers, - :scan_disclaimer - ] - - tokenizer :scan_availability do - if @input.scan_until(/^Available\n$/m) - @ast["status:available"] = true - end - end - - tokenizer :scan_domain do - if find_heading("Domain Name") - @ast["node:domain"] = content_in_category - end - end - - tokenizer :scan_registrant_details do - if find_heading("Registrant") - @ast["node:registrant_details"] = content_in_category - end - end - - tokenizer :scan_registrant_address do - if find_heading("Registrant's Address") - @ast["node:registrant_address"] = content_in_category - end - end - - tokenizer :scan_registrar_details do - if find_heading("Registrar") - @ast["node:registrar"] = content_in_category - end - end - - tokenizer :scan_dates do - if find_heading("Relevant Dates") - @ast["node:dates"] = content_in_category - end - end - - tokenizer :scan_status do - if find_heading("Domain Status") - @ast["node:status"] = content_in_category - end - end - - tokenizer :scan_pending_timer_events do - if find_heading("Pending Timer Events") - @ast["node:pending_timer_events"] = content_in_category - end - end - - tokenizer :scan_nameservers do - if find_heading("Name Servers") - @ast["node:nameservers"] = content_in_category - end - end - - tokenizer :scan_disclaimer do - @input.skip_until(/\n--\n/m) - @ast["node:disclaimer"] = @input.scan_until(/.*$/m) - end - - private - - def content_in_category - lines = _scan_lines_to_array(/ (.*)\n/) - lines.size == 1 ? lines.first : lines - end - - def find_heading(heading_name) - @input.skip_until(/ #{heading_name}:\n/) - end - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.rnids.rs.rb b/lib/whois/record/scanners/whois.rnids.rs.rb deleted file mode 100644 index 69ff89fc4..000000000 --- a/lib/whois/record/scanners/whois.rnids.rs.rb +++ /dev/null @@ -1,64 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.rnids.rs record. - class WhoisRnidsRs < Base - - self.tokenizers += [ - :scan_available, - :skip_comment, - :flag_section_start, - :scan_keyvalue, - :flag_section_end, - :skip_empty_line, - :skip_privacy, - ] - - - SECTIONS = ["Owner", "Administrative contact", "Technical contact"] - - tokenizer :scan_available do - if @input.scan(/^%ERROR:103: Domain is not registered/) - @ast["status:available"] = true - end - end - - tokenizer :flag_section_start do - if SECTIONS.any? { |section| @input.check(/^(#{section}):/) } - @tmp['_section'] = @input[1] - end - false - end - - tokenizer :flag_section_end do - if @input.match?(/^\n/) - @tmp.delete('_section') - end - end - - tokenizer :skip_comment do - @input.skip(/^%.*\n/) - end - - tokenizer :skip_privacy do - @input.skip(/^Whois privacy has been activated for domain.\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.smallregistry.net.rb b/lib/whois/record/scanners/whois.smallregistry.net.rb deleted file mode 100644 index 3b86aec2d..000000000 --- a/lib/whois/record/scanners/whois.smallregistry.net.rb +++ /dev/null @@ -1,61 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' -require 'yaml' - -module Whois - class Record - module Scanners - - # Scanner for the whois.smallregistry.net record. - class WhoisSmallregistryNet < Base - - self.tokenizers += [ - :scan_yaml_header, - :scan_disclaimer, - :scan_request_time, - :scan_available, - :scan_body, - ] - - tokenizer :scan_yaml_header do - # skip the YAML prelude - @input.scan(/^---.*\n/) - end - - tokenizer :scan_disclaimer do - if @input.match?(/^#/) && disclaimer = @input.scan_until(/^#\n/) - @ast["field:disclaimer"] = disclaimer - end - end - - tokenizer :scan_request_time do - if @input.scan(/^# (\d+-\d+-\d+T.*)\n/) - @ast["field:request_time"] = @input[1].strip - end - end - - tokenizer :scan_available do - if @input.scan(/^# Object not found.*\n/) - @ast["status:available"] = true - end - end - - tokenizer :scan_body do - str = @input.rest - str.gsub!(/ (![\w]+) \n/, " \n") # remove custom types - @ast.merge! YAML.load(str) - @input.terminate - end - - end - end - end -end diff --git a/lib/whois/record/scanners/whois.srs.net.nz.rb b/lib/whois/record/scanners/whois.srs.net.nz.rb deleted file mode 100644 index a2fe52be9..000000000 --- a/lib/whois/record/scanners/whois.srs.net.nz.rb +++ /dev/null @@ -1,35 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.srs.net.nz record. - class WhoisSrsNetNz < Base - - self.tokenizers += [ - :skip_empty_line, - :skip_comment, - :scan_keyvalue, - ] - - - tokenizer :skip_comment do - @input.skip(/^%.*\n/) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.sx.rb b/lib/whois/record/scanners/whois.sx.rb deleted file mode 100644 index 06828f04a..000000000 --- a/lib/whois/record/scanners/whois.sx.rb +++ /dev/null @@ -1,49 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class WhoisSx < Base - - self.tokenizers += [ - :skip_blank_line, - :scan_available, - :scan_keyvalue, - :skip_lastupdate, - :scan_disclaimer, - ] - - - tokenizer :scan_available do - if @input.scan(/^Status: (.+) \(No match for domain "(.+)"\)\n/) - @ast["Domain Status"] = @input[1] - @ast["Domain Name"] = @input[2] - end - end - - tokenizer :skip_lastupdate do - @input.skip(/>>>(.+?)<<<\n/) - end - - tokenizer :scan_disclaimer do - if @input.match?(/^% WHOIS LEGAL STATEMENT/) - @ast["field:disclaimer"] = _scan_lines_to_array(/%(.*)\n/).map(&:strip).join("\n") - end - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.tld.ee.rb b/lib/whois/record/scanners/whois.tld.ee.rb deleted file mode 100644 index 053ae0fcf..000000000 --- a/lib/whois/record/scanners/whois.tld.ee.rb +++ /dev/null @@ -1,57 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - -require 'whois/record/scanners/base' - -module Whois - class Record - module Scanners - - # Scanner for WhoisTldEe-based records. - class WhoisTldEe < Base - - self.tokenizers += [ - :scan_available, - :skip_head, - :scan_section, - :skip_empty_line, - :scan_disclaimer - ] - - - tokenizer :scan_available do - if @input.skip(/^Domain not found/) - @ast['status:available'] = true - end - end - - tokenizer :scan_section do - if @input.scan(/^(Domain|Registrant|Administrative contact|Technical contact|Registrar|Name servers|DNSSEC):?\n/) - @tmp['_section'] = @input[1] - while scan_keyvalue - end - @tmp.delete('_section') - end - end - - tokenizer :skip_head do - @input.skip(/^Estonia .ee Top Level Domain WHOIS server\n\n/) - end - - tokenizer :skip_end do - @input.skip(/^More information at http:\/\/internet.ee\n?/) - end - - tokenizer :scan_disclaimer do - @input.skip_until(/^(Estonia .ee Top Level Domain WHOIS server)/m) - @ast['field:disclaimer'] = @input[1] << @input.scan_until(/.*$/m) - end - end - end - end -end diff --git a/lib/whois/record/scanners/whois.tucows.com.rb b/lib/whois/record/scanners/whois.tucows.com.rb deleted file mode 100644 index 83b46ff2b..000000000 --- a/lib/whois/record/scanners/whois.tucows.com.rb +++ /dev/null @@ -1,35 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - # Scanner for the whois.tucows.com record. - class WhoisTucowsCom < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_disclaimer, - :scan_keyvalue, - ] - - tokenizer :scan_disclaimer do - @input.skip_until(/The Data in the Tucows Registrar/m) - @ast["field:disclaimer"] = 'The Data in the Tucows Registrar' << @input.scan_until(/.*$/m) - end - - end - - end - end -end diff --git a/lib/whois/record/scanners/whois.yoursrs.com.rb b/lib/whois/record/scanners/whois.yoursrs.com.rb deleted file mode 100644 index bb9371cc5..000000000 --- a/lib/whois/record/scanners/whois.yoursrs.com.rb +++ /dev/null @@ -1,36 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'whois/record/scanners/base' - - -module Whois - class Record - module Scanners - - class WhoisYoursrsCom < Base - - self.tokenizers += [ - :skip_empty_line, - :scan_available, - :scan_keyvalue, - ] - - - tokenizer :scan_available do - if @input.scan(/^No match for [\w\.]+/) - @ast["status:available"] = true - end - end - - end - - end - end -end diff --git a/lib/whois/record/super_struct.rb b/lib/whois/record/super_struct.rb deleted file mode 100644 index 4e829d548..000000000 --- a/lib/whois/record/super_struct.rb +++ /dev/null @@ -1,62 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2015 Simone Carletti -#++ - - -require 'ostruct' - - -# SuperStruct is an enhanced version of the Ruby Standard library {Struct}. -# -# Compared with the original version, it provides the following additional features: -# * ability to initialize an instance from Hash -# * ability to pass a block on creation -# -class SuperStruct < Struct - - # Overwrites the standard {Struct} initializer - # to add the ability to create an instance from a {Hash} of parameters. - # - # @overload initialize({ Symbol => Object }) - # Initializes the object with a key/value hash. - # @param [{ Symbol => Object }] values - # @return [SuperStruct] - # @overload initialize([ value1, value1, ... ]) - # Initializes the object with given values. - # @param [Array] values - # @return [SuperStruct] - # @overload initialize(value1, value1, ...) - # Initializes the object with given values. - # @return [SuperStruct] - # - # @yield self - # - # @example - # attributes = { :foo => 1, :bar => "baz" } - # Struct.new(attributes) - # # => # - # - def initialize(*args) - if args.first.is_a? Hash - initialize_with_hash(args.first) - elsif args.size == 0 - super - else - raise ArgumentError - end - yield(self) if block_given? - end - -private - - def initialize_with_hash(attributes = {}) - attributes.each do |key, value| - self[key] = value - end - end - -end \ No newline at end of file diff --git a/lib/whois/server.rb b/lib/whois/server.rb index fa584f32f..c390ff736 100644 --- a/lib/whois/server.rb +++ b/lib/whois/server.rb @@ -1,15 +1,26 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ require 'ipaddr' require 'json' -require 'whois/server/adapters/base' +require "whois/server/adapters/base" +require "whois/server/adapters/arin" +require "whois/server/adapters/arpa" +require "whois/server/adapters/afilias" +require "whois/server/adapters/formatted" +require "whois/server/adapters/none" +require "whois/server/adapters/not_implemented" +require "whois/server/adapters/standard" +require "whois/server/adapters/verisign" +require "whois/server/adapters/web" module Whois @@ -25,306 +36,362 @@ class Server # WHOIS server adapters. Each adapter is a subclass of {Whois::Server::Adapters::Base}, # customized to handle WHOIS queries for a type or a group of servers. module Adapters - autoload :Base, "whois/server/adapters/base" - autoload :Arin, "whois/server/adapters/arin" - autoload :Arpa, "whois/server/adapters/arpa" - autoload :Afilias, "whois/server/adapters/afilias" - autoload :Formatted, "whois/server/adapters/formatted" - autoload :None, "whois/server/adapters/none" - autoload :NotImplemented, "whois/server/adapters/not_implemented" - autoload :Standard, "whois/server/adapters/standard" - autoload :Verisign, "whois/server/adapters/verisign" - autoload :Web, "whois/server/adapters/web" end + # @return [Array] the definition types + TYPES = [ + TYPE_TLD = :tld, + TYPE_IPV4 = :ipv4, + TYPE_IPV6 = :ipv6, + TYPE_ASN16 = :asn16, + TYPE_ASN32 = :asn32, + ].freeze + + # Empty hash constant used to save allocation for definitions with empty settings. + EMPTY_HASH = {}.freeze + private_constant :EMPTY_HASH + + class << self + + # Clears the definition and reset them to an empty list. + # + # @return [void] + def clear_definitions + @definitions = {} + end - # The WHOIS server definitions. - # - # @return [{ Symbol => Array }] The definition Hash. - # @private - @@definitions = {} - - # Searches the +/definitions+ folder for definition files and loads them. - # This method is automatically invoked when this file is parsed - # by the Ruby interpreter (scroll down to the bottom of this file). - # - # @return [void] - def self.load_definitions - Dir[File.expand_path("../../../data/*.json", __FILE__)].each { |f| load_json(f) } - end + # Searches the +/definitions+ folder for definition files and loads them. + # This method is automatically invoked when this file is parsed + # by the Ruby interpreter (scroll down to the bottom of this file). + # + # @return [void] + def load_definitions + clear_definitions + Dir[File.expand_path('../../data/*.json', __dir__)].each { |f| load_json(f) } + end - # Loads the definitions from a JSON file. - # - # @param [String] file The path to the definition file. - # - # @return [void] - def self.load_json(file) - type = File.basename(file, File.extname(file)).to_sym - JSON.load(File.read(file)).each do |allocation, settings| - define(type, allocation, settings.delete("host"), Hash[settings.map { |k,v| [k.to_sym, v] }]) + # Loads the definitions from a JSON file. + # + # @param [String] file The path to the definition file. + # + # @return [void] + def load_json(file) + type = File.basename(file, File.extname(file)).to_sym + JSON.parse(File.read(file)).each do |allocation, settings| + next if allocation == "_" + + settings.reject! { |k, _| k.start_with?("_") } + host = settings.delete("host") + host = intern_string(host) if host + options = if settings.empty? + EMPTY_HASH + else + settings.map { |k, v| [k.to_sym, v.is_a?(String) ? intern_string(v) : v] }.to_h.freeze + end + define(type, allocation, host, options) + end end - end - # Lookup and returns the definition list for given type, - # or all definitions if type is nil. - # - # @param [Symbol] type The type of WHOIS server to lookup. - # Known values are :tld, :ipv4, :ipv6. - # - # @return [{ Symbol => Array }] - # The definition Hash if +type+ is +nil+. - # @return [Array] - # The definitions for given +type+ if +type+ is not +nil+ and +type+ exists. - # @return [nil] - # The definitions for given +type+ if +type+ is not +nil+ and +type+ doesn't exist. - # - # @example Return the definition database. - # - # Whois::Server.definitions - # # => { :tld => [...], :ipv4 => [], ... } - # - # @example Return the definitions for given key. - # - # Whois::Server.definitions(:tld) - # # => [...] - # - # Whois::Server.definitions(:invalid) - # # => nil - # - def self.definitions(type = nil) - if type.nil? - @@definitions - else - @@definitions[type] + # Lookup and returns the definition list for given `type`. + # + # @param [Symbol] type The type of WHOIS server to lookup. + # See Whois::Server::TYPES for valid types. + # + # @return [{ Symbol => Array }] + # The definition Hash if +type+ is +nil+. + # @return [Array] + # The definitions for given +type+ if +type+ is not +nil+ and +type+ exists. + # + # @example Return the definitions for given key. + # + # Whois::Server.definitions(:tld) + # # => [...] + # + # Whois::Server.definitions(:invalid) + # # => nil + # + def definitions(type) + TYPES.include?(type) or + raise(ArgumentError, "`#{type}` is not a valid definition type") + + _definitions(type).values end - end - # Defines a new server for :type queries. - # - # @param [Symbol] type - # The type of WHOIS server to define. - # Known values are :tld, :ipv4, :ipv6. - # @param [String] allocation - # The allocation, range or hostname, this server is responsible for. - # @param [String, nil] host - # The server hostname. Use nil if unknown or not available. - # @param [Hash] options Optional definition properties. - # @option options [Class] :adapter (Whois::Server::Adapters::Standard) - # This option has a special meaning and determines the adapter Class to use. - # Defaults to {Whois::Server::Adapters::Standard} unless specified. - # All the other options are passed directly to the adapter which can decide how to use them. - # - # @return [void] - # - # @example - # - # # Define a server for the .it extension - # Whois::Server.define :tld, ".it", "whois.nic.it" - # - # # Define a new server for an range of IPv4 addresses - # Whois::Server.define :ipv4, "61.192.0.0/12", "whois.nic.ad.jp" - # - # # Define a new server for an range of IPv6 addresses - # Whois::Server.define :ipv6, "2001:2000::/19", "whois.ripe.net" - # - # # Define a new server with a custom adapter - # Whois::Server.define :tld, ".test", nil, - # :adapter => Whois::Server::Adapter::None - # - # # Define a new server with a custom adapter and options - # Whois::Server.define :tld, ".ar", nil, - # :adapter => Whois::Server::Adapters::Web, - # :url => "http://www.nic.ar/" - # - def self.define(type, allocation, host, options = {}) - @@definitions[type] ||= [] - @@definitions[type] << [allocation, host, options] - end + # Defines a new server for :type queries. + # + # @param [Symbol] type + # The type of WHOIS server to define. + # Known values are :tld, :ipv4, :ipv6. + # @param [String] allocation + # The allocation, range or hostname, this server is responsible for. + # @param [String, nil] host + # The server hostname. Use nil if unknown or not available. + # @param [Hash] options Optional definition properties. + # @option options [Class] :adapter (Whois::Server::Adapters::Standard) + # This option has a special meaning and determines the adapter Class to use. + # Defaults to {Whois::Server::Adapters::Standard} unless specified. + # All the other options are passed directly to the adapter which can decide how to use them. + # + # @return [void] + # + # @example + # + # # Define a server for the .it extension + # Whois::Server.define :tld, "it", "whois.nic.it" + # + # # Define a new server for an range of IPv4 addresses + # Whois::Server.define :ipv4, "61.192.0.0/12", "whois.nic.ad.jp" + # + # # Define a new server for an range of IPv6 addresses + # Whois::Server.define :ipv6, "2001:2000::/19", "whois.ripe.net" + # + # # Define a new server with a custom adapter + # Whois::Server.define :tld, "test", nil, + # :adapter => Whois::Server::Adapter::None + # + # # Define a new server with a custom adapter and options + # Whois::Server.define :tld, "ar", nil, + # :adapter => Whois::Server::Adapters::Web, + # :url => "http://www.nic.ar/" + # + def define(type, allocation, host, options = EMPTY_HASH) + TYPES.include?(type) or + raise(ArgumentError, "`#{type}` is not a valid definition type") + + _definitions(type)[allocation] = [allocation, host, options.freeze] + end - # Creates a new server adapter from given arguments - # and returns the server instance. - # - # By default, returns a new {Whois::Server::Adapters::Standard} instance. - # You can customize the behavior passing a custom adapter class - # as :adapter option. - # - # Whois::Server.factory :tld, ".it", "whois.nic.it" - # # => # - # - # Whois::Server.factory :tld, ".it", "whois.nic.it", - # :option => Whois::Servers::Adapter::Custom - # # => # - # - # Please note that any adapter is responsible for a limited set - # of queries, which should be included in the range of the allocation parameter. - # Use {Whois::Server.guess} if you are not sure which adapter - # is the right one for a specific string. - # - # @param [Symbol] type - # The type of WHOIS server to define. - # Known values are :tld, :ipv4, :ipv6. - # @param [String] allocation - # The allocation, range or hostname, this server is responsible for. - # @param [String, nil] host - # The server hostname. Use nil if unknown or not available. - # @param [Hash] options Optional definition properties. - # @option options [Class] :adapter (Whois::Server::Adapters::Standard) - # This option has a special meaning and determines the adapter Class to use. - # Defaults to {Whois::Server::Adapters::Standard} unless specified. - # All the other options are passed directly to the adapter which can decide how to use them. - # - # @return [Whois::Server::Adapters::Standard] - # An adapter that can be used to perform queries. - # - def self.factory(type, allocation, host, options = {}) - options = options.dup - adapter = options.delete(:adapter) || Adapters::Standard - adapter = Adapters.const_get(camelize(adapter)) unless adapter.respond_to?(:new) - adapter.new(type, allocation, host, options) - end + # Creates a new server adapter from given arguments + # and returns the server instance. + # + # By default, returns a new {Whois::Server::Adapters::Standard} instance. + # You can customize the behavior passing a custom adapter class + # as :adapter option. + # + # Whois::Server.factory :tld, "it", "whois.nic.it" + # # => # + # + # Whois::Server.factory :tld, "it", "whois.nic.it", + # :option => Whois::Servers::Adapter::Custom + # # => # + # + # Please note that any adapter is responsible for a limited set + # of queries, which should be included in the range of the allocation parameter. + # Use {Whois::Server.guess} if you are not sure which adapter + # is the right one for a specific string. + # + # @param [Symbol] type + # The type of WHOIS server to define. + # Known values are :tld, :ipv4, :ipv6. + # @param [String] allocation + # The allocation, range or hostname, this server is responsible for. + # @param [String, nil] host + # The server hostname. Use nil if unknown or not available. + # @param [Hash] options Optional definition properties. + # @option options [Class] :adapter (Whois::Server::Adapters::Standard) + # This option has a special meaning and determines the adapter Class to use. + # Defaults to {Whois::Server::Adapters::Standard} unless specified. + # All the other options are passed directly to the adapter which can decide how to use them. + # + # @return [Whois::Server::Adapters::Base] + # a server adapter that can be used to perform queries. + def factory(type, allocation, host, options = {}) + options = options.dup + adapter = options.delete(:adapter) || Adapters::Standard + adapter = Adapters.const_get(camelize(adapter)) unless adapter.respond_to?(:new) + adapter.new(type, allocation, host, options) + end - # Parses string and tries to guess the right server. - # - # It successfully detects the following query types: - # * ipv6 - # * ipv4 - # * top level domains (e.g. .com, .net, .it) - # * domain names (e.g. google.com, google.net, google.it) - # * emails - # - # Note that not all query types actually have a corresponding adapter. - # For instance, the following request will result in a - # {Whois::ServerNotSupported} exception. - # - # Whois::Server.guess "mail@example.com" - # - # - # @param [String] string - # @return [Whois::Server::Adapters::Base] - # The adapter that can be used to perform - # WHOIS queries for string. - # - # @raise [Whois::ServerNotFound] - # When unable to find an appropriate WHOIS adapter - # for string. Most of the cases, the string - # haven't been recognised as one of the supported query types. - # @raise [Whois::ServerNotSupported] - # When the string type is detected, - # but the object type doesn't have any supported WHOIS adapter associated. - # - def self.guess(string) - # Top Level Domain match - if matches_tld?(string) - return factory(:tld, ".", "whois.iana.org") - end + # Parses string and tries to guess the right server. + # + # It successfully detects the following query types: + # * ipv6 + # * ipv4 + # * top level domains (e.g. .com, .net, .it) + # * domain names (e.g. google.com, google.net, google.it) + # * emails + # + # Note that not all query types actually have a corresponding adapter. + # For instance, the following request will result in a + # {Whois::ServerNotSupported} exception. + # + # Whois::Server.guess "mail@example.com" + # + # + # @param string [String] + # @return [Whois::Server::Adapters::Base] + # a server adapter that can be used to perform queries. + # + # @raise [Whois::AllocationUnknown] + # when the input is an IP, but the IP doesn't have a specific known allocation + # that matches one of the existing server definitions. + # @raise [Whois::ServerNotFound] + # when unable to find an appropriate WHOIS adapter. In most of the cases, the input + # is not recognised as one of the supported query types. + # @raise [Whois::ServerNotSupported] + # when the string type is detected, + # but the object type doesn't have any supported WHOIS adapter associated. + def guess(string) + # Top Level Domain match + return factory(:tld, ".", "whois.iana.org") if matches_tld?(string) + + # IP address (secure match) + return find_for_ip(string) if matches_ip?(string) + + # Email Address (secure match) + return find_for_email(string) if matches_email?(string) + + # Domain Name match + if (server = find_for_domain(string)) + return server + end - # IP address (secure match) - if matches_ip?(string) - return find_for_ip(string) - end + # ASN match + return find_for_asn(string) if matches_asn?(string) - # Email Address (secure match) - if matches_email?(string) - return find_for_email(string) + # Game Over + raise ServerNotFound, "Unable to find a WHOIS server for `#{string}'" end - # Domain Name match - if server = find_for_domain(string) - return server + + # Searches for definition that matches given IP. + # + # @param string [String] + # @return [Whois::Server::Adapters::Base, nil] + # a server adapter that can be used to perform queries. + # @raise [Whois::AllocationUnknown] + # when the IP doesn't have a specific known allocation + # that matches one of the existing server definitions. + def find_for_ip(string) + begin + ip = IPAddr.new(string) + type = ip.ipv4? ? TYPE_IPV4 : TYPE_IPV6 + _definitions(type).each do |_, definition| + return factory(type, *definition) if IPAddr.new(definition.first).include?(ip) + end + rescue ArgumentError + # continue + nil + end + raise AllocationUnknown, "IP Allocation for `#{string}' unknown" end - # ASN match - if matches_asn?(string) - return find_for_asn(string) + # Searches for definition that matches given email. + # + # @param string [String] + # @raise [Whois::ServerNotSupported] + # emails are not supported. + def find_for_email(string) + raise ServerNotSupported, "No WHOIS server is known for email objects" end - # Game Over - raise ServerNotFound, "Unable to find a WHOIS server for `#{string}'" - end + # Searches for definition that matches given domain. + # + # @param string [String] + # @return [Whois::Server::Adapters::Base, nil] + # a server adapter that can be used to perform queries. + def find_for_domain(string) + token = string + defs = _definitions(TYPE_TLD) + + while token != "" + if (found = defs[token]) + return factory(:tld, *found) + else + index = token.index(".") + break if index.nil? + + token = token[(index + 1)..-1] + end + end + nil + end - private + # Searches for definition that matches given ASN string. + # + # @param string [String] + # @return [Whois::Server::Adapters::Base, nil] + # a server adapter that can be used to perform queries. + # @raise [Whois::AllocationUnknown] + # when the IP doesn't have a specific known allocation + # that matches one of the existing server definitions. + def find_for_asn(string) + asn = string[/\d+/].to_i + asn_type = asn <= 65_535 ? TYPE_ASN16 : TYPE_ASN32 + _definitions(asn_type).each do |_, definition| + if (range = definition.first.split.map(&:to_i)) && asn >= range.first && asn <= range.last + return factory(asn_type, *definition) + end + end + raise AllocationUnknown, "Unknown AS number - `#{asn}'." + end - def self.camelize(string) - string.to_s.split("_").collect(&:capitalize).join - end + private - def self.matches_tld?(string) - string =~ /^\.(xn--)?[a-z0-9]+$/ - end + def _definitions(type = nil) + if type.nil? + @definitions + else + @definitions[type] ||= {} + end + end - def self.matches_ip?(string) - valid_ipv4?(string) || valid_ipv6?(string) - end + if String.method_defined?(:-@) + def intern_string(string) + -string + end + else + def intern_string(string) + string.freeze + end + end - def self.matches_email?(string) - string =~ /@/ - end + def camelize(string) + string.to_s.split("_").collect(&:capitalize).join + end - def self.matches_asn?(string) - string =~ /^as\d+$/i - end + def matches_tld?(string) + string.match?(/^\.(xn--)?[a-z0-9]+$/) + end - def self.find_for_ip(string) - begin - ip = IPAddr.new(string) - type = ip.ipv4? ? :ipv4 : :ipv6 - definitions(type).each do |definition| - if IPAddr.new(definition.first).include?(ip) - return factory(type, *definition) - end - end - rescue ArgumentError - # continue + def matches_ip?(string) + valid_ipv4?(string) || valid_ipv6?(string) end - raise AllocationUnknown, "IP Allocation for `#{string}' unknown. Server definitions might be outdated." - end - def self.find_for_email(string) - raise ServerNotSupported, "No WHOIS server is known for email objects" - end + def matches_email?(string) + string.include?('@') + end - def self.find_for_domain(string) - definitions(:tld).each do |definition| - return factory(:tld, *definition) if /#{Regexp.escape(definition.first)}$/ =~ string + def matches_asn?(string) + string.match?(/^as\d+$/i) end - nil - end - def self.find_for_asn(string) - asn = string[/\d+/].to_i - asn_type = asn <= 65535 ? :asn16 : :asn32 - definitions(asn_type).each do |definition| - if (range = definition.first.split.map(&:to_i)) && asn >= range.first && asn <= range.last - return factory(asn_type, *definition) + def valid_ipv4?(addr) + if (m = /\A(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\Z/.match(addr)) + return m.captures.all? { |i| i.to_i < 256 } end - end - raise AllocationUnknown, "Unknown AS number - `#{asn}'." - end + false + end - def self.valid_ipv4?(addr) - if /\A(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\Z/ =~ addr - return $~.captures.all? {|i| i.to_i < 256} + def valid_ipv6?(addr) + # IPv6 (normal) + return true if addr.match?(/\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*\Z/) + return true if addr.match?(/\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*)?\Z/) + return true if addr.match?(/\A::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*)?\Z/) + # IPv6 (IPv4 compat) + return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:/ =~ addr && valid_ipv4?(Regexp.last_match.post_match) + return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:)?/ =~ addr && valid_ipv4?(Regexp.last_match.post_match) + return true if /\A::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:)?/ =~ addr && valid_ipv4?(Regexp.last_match.post_match) + + false end - false - end - def self.valid_ipv6?(addr) - # IPv6 (normal) - return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*\Z/ =~ addr - return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*)?\Z/ =~ addr - return true if /\A::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*)?\Z/ =~ addr - # IPv6 (IPv4 compat) - return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:/ =~ addr && valid_ipv4?($') - return true if /\A[\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:)?/ =~ addr && valid_ipv4?($') - return true if /\A::([\dA-Fa-f]{1,4}(:[\dA-Fa-f]{1,4})*:)?/ =~ addr && valid_ipv4?($') - false end - end end diff --git a/lib/whois/server/adapters/afilias.rb b/lib/whois/server/adapters/afilias.rb index d7bf4302c..64f03f495 100644 --- a/lib/whois/server/adapters/afilias.rb +++ b/lib/whois/server/adapters/afilias.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -29,7 +31,7 @@ def request(string) response = query_the_socket(string, host) buffer_append response, host - if options[:referral] != false && referral = extract_referral(response) + if options[:referral] != false && (referral = extract_referral(response)) response = query_the_socket(string, referral) buffer_append(response, referral) end @@ -39,9 +41,10 @@ def request(string) private def extract_referral(response) - if response =~ /Domain Name:/ - response.slice(/Whois Server:(\S+)/, 1) - end + return unless (match = response.match(/Registrar WHOIS Server:(.+?)$/)) + + server = match[match.size - 1].strip + server.empty? ? nil : server end end diff --git a/lib/whois/server/adapters/arin.rb b/lib/whois/server/adapters/arin.rb index 40b1ef423..59107e747 100644 --- a/lib/whois/server/adapters/arin.rb +++ b/lib/whois/server/adapters/arin.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -38,10 +40,11 @@ def request(string) private def extract_referral(response) - return unless response =~ /ReferralServer:\s*r?whois:\/\/([\w.-]+)(?::(\d+))?/ + return unless response =~ %r{ReferralServer:\s*r?whois://([\w.-]+)(?::(\d+))?} + { - host: $1, - port: $2 ? $2.to_i : nil + host: Regexp.last_match(1), + port: Regexp.last_match(2) ? Regexp.last_match(2).to_i : nil, } end diff --git a/lib/whois/server/adapters/arpa.rb b/lib/whois/server/adapters/arpa.rb index e2cbda587..d76ba7c61 100644 --- a/lib/whois/server/adapters/arpa.rb +++ b/lib/whois/server/adapters/arpa.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -22,25 +24,24 @@ def request(string) private - # "127.1.168.192.in-addr.arpa" => "192.168.1.127" - # "1.168.192.in-addr.arpa" => "192.168.1.0" - # "168.192.in-addr.arpa" => "192.168.0.0" - # "192.in-addr.arpa" => "192.0.0.0" - # "in-addr.arpa" => "0.0.0.0" - def inaddr_to_ip(string) - unless /^([0-9]{1,3}\.?){0,4}in-addr\.arpa$/ =~ string - raise ServerError, "Invalid .in-addr.arpa address" + # "127.1.168.192.in-addr.arpa" => "192.168.1.127" + # "1.168.192.in-addr.arpa" => "192.168.1.0" + # "168.192.in-addr.arpa" => "192.168.0.0" + # "192.in-addr.arpa" => "192.0.0.0" + # "in-addr.arpa" => "0.0.0.0" + def inaddr_to_ip(string) + raise ServerError, "Invalid .in-addr.arpa address" unless string.match?(/^([0-9]{1,3}\.?){0,4}in-addr\.arpa$/) + + a, b, c, d = string.scan(/[0-9]{1,3}\./).reverse + [a, b, c, d].map do |token| + token = (token || 0).to_i + if token <= 255 && token >= 0 + token + else + raise ServerError, "Invalid .in-addr.arpa token `#{token}'" end - a, b, c, d = string.scan(/[0-9]{1,3}\./).reverse - [a, b, c, d].map do |token| - token = (token ||= 0).to_i - if token <= 255 && token >= 0 - token - else - raise ServerError, "Invalid .in-addr.arpa token `#{token}'" - end - end.join(".") - end + end.join(".") + end end diff --git a/lib/whois/server/adapters/base.rb b/lib/whois/server/adapters/base.rb index e7c5d8609..dfc1ecdb7 100644 --- a/lib/whois/server/adapters/base.rb +++ b/lib/whois/server/adapters/base.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -17,15 +19,19 @@ class Server module Adapters class Base + class << self + def query_handler + @query_handler ||= SocketHandler.new + end + + attr_writer :query_handler + end # Default WHOIS request port. DEFAULT_WHOIS_PORT = 43 # Default bind hostname. DEFAULT_BIND_HOST = "0.0.0.0" - class_attribute :query_handler - self.query_handler = SocketHandler.new - # @return [Symbol] The type of WHOIS server. attr_reader :type # @return [String] The allocation this server is responsible for. @@ -42,15 +48,10 @@ class Base attr_reader :buffer - # @param [Symbol] type - # The type of WHOIS adapter to define. - # Known values are :tld, :ipv4, :ipv6. - # @param [String] allocation - # The allocation, range or hostname, this server is responsible for. - # @param [String, nil] host - # The server hostname. Use nil if unknown or not available. - # @param [Hash] options Optional adapter properties. - # + # @param type [Symbol] the type of WHOIS adapter to define. Known values are :tld, :ipv4, :ipv6, + # @param allocation [String] the allocation, range or hostname, this server is responsible for. + # @param host [String, nil] the server hostname. Use nil if unknown or not available. + # @param options [Hash] optional adapter properties def initialize(type, allocation, host, options = {}) @type = type @allocation = allocation @@ -60,53 +61,44 @@ def initialize(type, allocation, host, options = {}) # Checks self and other for equality. # - # @param [The Whois::Server::Adapters::Base] other - # @return [Boolean] Returns true if the other is the same object, + # @param other [The Whois::Server::Adapters::Base] + # @return [Boolean] true if the other is the same object, # or other attributes matches this object attributes. - # def ==(other) - ( - self.equal?(other) - ) || ( + equal?(other) || ( other.is_a?(self.class) && - self.type == other.type && - self.allocation == other.allocation && - self.host == other.host && - self.options == other.options + type == other.type && + allocation == other.allocation && + host == other.host && + options == other.options ) end - alias_method :eql?, :== + alias eql? == # Merges given +settings+ into current {#options}. # - # @param [Hash] settings - # @return [Hash] The updated options for this object. - # + # @param settings [Hash] + # @return [Hash] the updated options for this object def configure(settings) @host = settings[:host] if settings[:host] options.merge!(settings) end - # Performs a Whois lookup for string - # using the current server adapter. + # Performs a Whois lookup for string using the current server adapter. # - # Internally, this method calls {#request} - # using the Template Method design pattern. + # Internally, this method calls {#request} using the Template Method design pattern. # # server.lookup("google.com") # # => Whois::Record # - # @param [String] string The string to be sent as query parameter. + # @param string [String] the string to query # @return [Whois::Record] - # def lookup(string) - buffer_start do |buffer| - request(string) - Whois::Record.new(self, buffer) - end + parts = buffer_start { request(string) } + Whois::Record.new(self, parts) end # Performs the real WHOIS request. @@ -115,34 +107,36 @@ def lookup(string) # it is intended to be overwritten in the concrete subclasses. # This is the heart of the Template Method design pattern. # - # @param [String] string The string to be sent as query parameter. + # @param string [String] the string to query # @return [void] # @raise [NotImplementedError] # @abstract - # def request(string) raise NotImplementedError end + # Gets the current query handler for this class. + # + # @see Whois::Servers::Adapters::Base.query_handler + # + # @return [Object] the query handler + def query_handler + self.class.query_handler + end + private - # Store a record part in {#buffer}. - # - # @param [String] body - # @param [String] host - # @return [void] - # def buffer_append(body, host) - @buffer << Whois::Record::Part.new(:body => body, :host => host) + @buffer << Whois::Record::Part.new(body: body, host: host) end - # @api private def buffer_start - @buffer = [] - result = yield(@buffer) - @buffer = [] # reset - result + @buffer ||= [] + yield(@buffer) + @buffer.dup + ensure + @buffer.clear end # Prepares and passes the query to the {#query_handler}. @@ -175,7 +169,7 @@ def query(query, host, port = nil) self.class.query_handler.call(query, *args) end - alias :query_the_socket :query + alias query_the_socket query end diff --git a/lib/whois/server/adapters/formatted.rb b/lib/whois/server/adapters/formatted.rb index b29e6e43b..d43f261f7 100644 --- a/lib/whois/server/adapters/formatted.rb +++ b/lib/whois/server/adapters/formatted.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -47,7 +49,7 @@ class Formatted < Base # def request(string) options[:format] || raise(ServerError, "Missing mandatory :format option for adapter `Formatted'") - response = query_the_socket(sprintf(options[:format], string), host) + response = query_the_socket(format(options[:format], string), host) buffer_append response, host end diff --git a/lib/whois/server/adapters/none.rb b/lib/whois/server/adapters/none.rb index 9aab943d4..ee1ec1765 100644 --- a/lib/whois/server/adapters/none.rb +++ b/lib/whois/server/adapters/none.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ diff --git a/lib/whois/server/adapters/not_implemented.rb b/lib/whois/server/adapters/not_implemented.rb index c716cb71a..e8df485c9 100644 --- a/lib/whois/server/adapters/not_implemented.rb +++ b/lib/whois/server/adapters/not_implemented.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ diff --git a/lib/whois/server/adapters/standard.rb b/lib/whois/server/adapters/standard.rb index 7e83b55d8..9898823f2 100644 --- a/lib/whois/server/adapters/standard.rb +++ b/lib/whois/server/adapters/standard.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -56,4 +58,4 @@ def request(string) end end -end \ No newline at end of file +end diff --git a/lib/whois/server/adapters/verisign.rb b/lib/whois/server/adapters/verisign.rb index b761b284c..c239a653b 100644 --- a/lib/whois/server/adapters/verisign.rb +++ b/lib/whois/server/adapters/verisign.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -29,7 +31,7 @@ def request(string) response = query_the_socket("=#{string}", host) buffer_append response, host - if options[:referral] != false && referral = extract_referral(response) + if options[:referral] != false && (referral = extract_referral(response)) response = query_the_socket(string, referral) buffer_append(response, referral) end @@ -39,12 +41,10 @@ def request(string) private def extract_referral(response) - if response =~ /Domain Name:/ - server = response.scan(/Whois Server: (.+?)$/).flatten.last - server.strip! if server != nil - server = nil if server == "not defined" - server - end + return unless (match = response.match(/Registrar WHOIS Server:(.+?)$/)) + + server = match[match.size - 1].strip + server.empty? ? nil : server end end diff --git a/lib/whois/server/adapters/web.rb b/lib/whois/server/adapters/web.rb index d5b962c5d..20acb825a 100644 --- a/lib/whois/server/adapters/web.rb +++ b/lib/whois/server/adapters/web.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ diff --git a/lib/whois/server/socket_handler.rb b/lib/whois/server/socket_handler.rb index ca9a4e946..5f2ae95a0 100644 --- a/lib/whois/server/socket_handler.rb +++ b/lib/whois/server/socket_handler.rb @@ -1,9 +1,11 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ @@ -22,9 +24,9 @@ class SocketHandler # Array of connection errors to rescue # and wrap into a {Whois::ConnectionError} RESCUABLE_CONNECTION_ERRORS = [ - SystemCallError, - SocketError, - ] + SystemCallError, + SocketError, + ].freeze # Performs the Socket request. # @@ -36,8 +38,8 @@ class SocketHandler # def call(query, *args) execute(query, *args) - rescue *RESCUABLE_CONNECTION_ERRORS => error - raise ConnectionError, "#{error.class}: #{error.message}" + rescue *RESCUABLE_CONNECTION_ERRORS => e + raise ConnectionError, "#{e.class}: #{e.message}" end # Executes the low-level Socket connection. diff --git a/lib/whois/version.rb b/lib/whois/version.rb index eac25319f..58ab7bbfc 100644 --- a/lib/whois/version.rb +++ b/lib/whois/version.rb @@ -1,25 +1,15 @@ +# frozen_string_literal: true + #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti #++ module Whois - - # Holds information about library version. - module Version - MAJOR = 3 - MINOR = 6 - PATCH = 5 - BUILD = nil - - STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".") - end - # The current library version. - VERSION = Version::STRING - + VERSION = "5.1.0" end diff --git a/spec/fixtures/referrals/afilias.bz.txt b/spec/fixtures/referrals/afilias.bz.txt index bb5b6f34e..a7c577a5c 100644 --- a/spec/fixtures/referrals/afilias.bz.txt +++ b/spec/fixtures/referrals/afilias.bz.txt @@ -1,40 +1,23 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. +Domain Name: BELIZENIC.BZ +Registry Domain ID: D105800000000355891-AGRS +Registrar WHOIS Server: whois.belizenic.bz +Registrar URL: +Updated Date: 2017-04-11T20:43:07Z +Creation Date: 2001-04-30T19:00:00Z +Registry Expiry Date: 2018-04-30T19:00:00Z +Registrar Registration Expiration Date: +Registrar: University Management Limited +Registrar IANA ID: 800165 +Registrar Abuse Contact Email: +Registrar Abuse Contact Phone: +Reseller: +Domain Status: ok https://icann.org/epp#ok +Name Server: NS1.BELIZENIC.BZ +Name Server: PIXIE.UCB.EDU.BZ +DNSSEC: unsigned +URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ +>>> Last update of WHOIS database: 2017-07-27T16:49:05Z <<< -Domain ID:D355891-LRCC -Domain Name:BELIZENIC.BZ -Created On:30-Apr-2001 19:00:00 UTC -Last Updated On:17-Mar-2009 15:34:51 UTC -Expiration Date:30-Apr-2010 19:00:00 UTC -Sponsoring Registrar:University Management Limited (R113-LRCC) -Whois Server:whois.belizenic.bz -Referral URL:http://www.belizenic.bz -Status:OK -Name Server:NS1.BELIZENIC.BZ -Name Server:PIXIE.UCB.EDU.BZ -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - +For more information on Whois status codes, please visit https://icann.org/epp + +Access to WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the registry database. The data in this record is provided by The Registry Operator for informational purposes only, and accuracy is not guaranteed. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Registry Operator reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. diff --git a/spec/fixtures/referrals/crsnic.com.txt b/spec/fixtures/referrals/crsnic.com.txt index 8d289e5b5..1d786288f 100644 --- a/spec/fixtures/referrals/crsnic.com.txt +++ b/spec/fixtures/referrals/crsnic.com.txt @@ -1,210 +1,60 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Server Name: GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM - IP Address: 69.41.185.195 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.ZZZZZ.DOWNLOAD.MOVIE.ONLINE.ZML2.COM - IP Address: 64.28.187.63 - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM - IP Address: 217.107.217.167 - Registrar: DOMAINCONTEXT, INC. - Whois Server: whois.domaincontext.com - Referral URL: http://www.domaincontext.com - - Server Name: GOOGLE.COM.ZNAET.PRODOMEN.COM - IP Address: 62.149.23.126 - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET - IP Address: 62.41.27.144 - Registrar: KEY-SYSTEMS GMBH - Whois Server: whois.rrpproxy.net - Referral URL: http://www.key-systems.net - - Server Name: GOOGLE.COM.VN - Registrar: ONLINENIC, INC. - Whois Server: whois.onlinenic.com - Referral URL: http://www.OnlineNIC.com - - Server Name: GOOGLE.COM.UY - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.UA - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.TW - Registrar: WEB COMMERCE COMMUNICATIONS LIMITED DBA WEBNIC.CC - Whois Server: whois.webnic.cc - Referral URL: http://www.webnic.cc - - Server Name: GOOGLE.COM.TR - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM - IP Address: 80.190.192.24 - Registrar: EPAG DOMAINSERVICES GMBH - Whois Server: whois.enterprice.net - Referral URL: http://www.enterprice.net - - Server Name: GOOGLE.COM.SPROSIUYANDEKSA.RU - Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE - Whois Server: whois.melbourneit.com - Referral URL: http://www.melbourneit.com - - Server Name: GOOGLE.COM.SERVES.PR0N.FOR.ALLIYAH.NET - IP Address: 84.255.209.69 - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SA - Registrar: OMNIS NETWORK, LLC - Whois Server: whois.omnis.com - Referral URL: http://domains.omnis.com - - Server Name: GOOGLE.COM.PLZ.GIVE.A.PR8.TO.AUDIOTRACKER.NET - IP Address: 213.251.184.30 - Registrar: OVH - Whois Server: whois.ovh.com - Referral URL: http://www.ovh.com - - Server Name: GOOGLE.COM.MX - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.IS.SHIT.SQUAREBOARDS.COM - IP Address: 203.170.84.81 - Registrar: AUST DOMAINS INTERNATIONAL PTY LTD DBA AUST DOMAINS, INC. - Whois Server: whois.syra.com.au - Referral URL: http://www.syra.com.au - - Server Name: GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET - IP Address: 217.148.161.5 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.IS.HOSTED.ON.PROFITHOSTING.NET - IP Address: 66.49.213.213 - Registrar: NAME.COM LLC - Whois Server: whois.name.com - Referral URL: http://www.name.com - - Server Name: GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM - IP Address: 213.228.0.43 - Registrar: GANDI SAS - Whois Server: whois.gandi.net - Referral URL: http://www.gandi.net - - Server Name: GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM - IP Address: 209.187.114.130 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.DO - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.CO - Registrar: NAMESECURE.COM - Whois Server: whois.namesecure.com - Referral URL: http://www.namesecure.com - - Server Name: GOOGLE.COM.BR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.BEYONDWHOIS.COM - IP Address: 203.36.226.2 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.AU - Registrar: PLANETDOMAIN PTY LTD. - Whois Server: whois.planetdomain.com - Referral URL: http://www.planetdomain.com - - Server Name: GOOGLE.COM.ACQUIRED.BY.CALITEC.NET - IP Address: 85.190.27.2 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Domain Name: GOOGLE.COM - Registrar: MARKMONITOR INC. - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 18-nov-2008 - Creation Date: 15-sep-1997 - Expiration Date: 14-sep-2011 - ->>> Last update of whois database: Mon, 06 Jul 2009 10:12:55 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file + Domain Name: GOOGLE.COM + Registry Domain ID: 2138514_DOMAIN_COM-VRSN + Registrar WHOIS Server: whois.markmonitor.com + Registrar URL: http://www.markmonitor.com + Updated Date: 2011-07-20T16:55:31Z + Creation Date: 1997-09-15T04:00:00Z + Registry Expiry Date: 2020-09-14T04:00:00Z + Registrar: MarkMonitor Inc. + Registrar IANA ID: 292 + Registrar Abuse Contact Email: abusecomplaints@markmonitor.com + Registrar Abuse Contact Phone: +1.2083895740 + Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited + Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited + Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited + Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited + Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited + Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited + Name Server: NS1.GOOGLE.COM + Name Server: NS2.GOOGLE.COM + Name Server: NS3.GOOGLE.COM + Name Server: NS4.GOOGLE.COM + DNSSEC: unsigned + URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ +>>> Last update of whois database: 2017-07-27T09:05:12Z <<< + +For more information on Whois status codes, please visit https://icann.org/epp + +NOTICE: The expiration date displayed in this record is the date the +registrar's sponsorship of the domain name registration in the registry is +currently set to expire. This date does not necessarily reflect the expiration +date of the domain name registrant's agreement with the sponsoring +registrar. Users may consult the sponsoring registrar's Whois database to +view the registrar's reported date of expiration for this registration. + +TERMS OF USE: You are not authorized to access or query our Whois +database through the use of electronic processes that are high-volume and +automated except as reasonably necessary to register domain names or +modify existing registrations; the Data in VeriSign Global Registry +Services' ("VeriSign") Whois database is provided by VeriSign for +information purposes only, and to assist persons in obtaining information +about or related to a domain name registration record. VeriSign does not +guarantee its accuracy. By submitting a Whois query, you agree to abide +by the following terms of use: You agree that you may use this Data only +for lawful purposes and that under no circumstances will you use this Data +to: (1) allow, enable, or otherwise support the transmission of mass +unsolicited, commercial advertising or solicitations via e-mail, telephone, +or facsimile; or (2) enable high volume, automated, electronic processes +that apply to VeriSign (or its computer systems). The compilation, +repackaging, dissemination or other use of this Data is expressly +prohibited without the prior written consent of VeriSign. You agree not to +use electronic processes that are automated and high-volume to access or +query the Whois database except as reasonably necessary to register +domain names or modify existing registrations. VeriSign reserves the right +to restrict your access to the Whois database in its sole discretion to ensure +operational stability. VeriSign may restrict or terminate your access to the +Whois database for failure to abide by these terms of use. VeriSign +reserves the right to modify these terms at any time. + +The Registry database contains ONLY .COM, .NET, .EDU domains and +Registrars. diff --git a/spec/fixtures/referrals/crsnic.com_referral.txt b/spec/fixtures/referrals/crsnic.com_referral.txt index 46d9240a4..4b8d7f54d 100644 --- a/spec/fixtures/referrals/crsnic.com_referral.txt +++ b/spec/fixtures/referrals/crsnic.com_referral.txt @@ -1,57 +1,56 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: WEPPOS.COM - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - Name Server: NS1.DREAMHOST.COM - Name Server: NS2.DREAMHOST.COM - Name Server: NS3.DREAMHOST.COM - Status: clientDeleteProhibited - Status: clientRenewProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Updated Date: 08-dec-2008 - Creation Date: 05-dec-2003 - Expiration Date: 05-dec-2009 - ->>> Last update of whois database: Wed, 21 Oct 2009 10:33:33 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file + Domain Name: SIMONECARLETTI.COM + Registry Domain ID: 190944418_DOMAIN_COM-VRSN + Registrar WHOIS Server: whois.enom.com + Registrar URL: http://www.enom.com + Updated Date: 2017-06-30T07:40:47Z + Creation Date: 2005-07-29T18:06:26Z + Registry Expiry Date: 2018-07-29T18:06:26Z + Registrar: eNom, Inc. + Registrar IANA ID: 48 + Registrar Abuse Contact Email: + Registrar Abuse Contact Phone: + Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited + Name Server: NS1.DNSIMPLE.COM + Name Server: NS2.DNSIMPLE.COM + Name Server: NS3.DNSIMPLE.COM + Name Server: NS4.DNSIMPLE.COM + DNSSEC: signedDelegation + DNSSEC DS Data: 49279 8 2 2CA00478371FEA679FD902ECF47D4B2941383E460BA14FFCABBB160C14FEF369 + URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ +>>> Last update of whois database: 2017-07-27T09:06:28Z <<< + +For more information on Whois status codes, please visit https://icann.org/epp + +NOTICE: The expiration date displayed in this record is the date the +registrar's sponsorship of the domain name registration in the registry is +currently set to expire. This date does not necessarily reflect the expiration +date of the domain name registrant's agreement with the sponsoring +registrar. Users may consult the sponsoring registrar's Whois database to +view the registrar's reported date of expiration for this registration. + +TERMS OF USE: You are not authorized to access or query our Whois +database through the use of electronic processes that are high-volume and +automated except as reasonably necessary to register domain names or +modify existing registrations; the Data in VeriSign Global Registry +Services' ("VeriSign") Whois database is provided by VeriSign for +information purposes only, and to assist persons in obtaining information +about or related to a domain name registration record. VeriSign does not +guarantee its accuracy. By submitting a Whois query, you agree to abide +by the following terms of use: You agree that you may use this Data only +for lawful purposes and that under no circumstances will you use this Data +to: (1) allow, enable, or otherwise support the transmission of mass +unsolicited, commercial advertising or solicitations via e-mail, telephone, +or facsimile; or (2) enable high volume, automated, electronic processes +that apply to VeriSign (or its computer systems). The compilation, +repackaging, dissemination or other use of this Data is expressly +prohibited without the prior written consent of VeriSign. You agree not to +use electronic processes that are automated and high-volume to access or +query the Whois database except as reasonably necessary to register +domain names or modify existing registrations. VeriSign reserves the right +to restrict your access to the Whois database in its sole discretion to ensure +operational stability. VeriSign may restrict or terminate your access to the +Whois database for failure to abide by these terms of use. VeriSign +reserves the right to modify these terms at any time. + +The Registry database contains ONLY .COM, .NET, .EDU domains and +Registrars. diff --git a/spec/fixtures/referrals/crsnic.com_referral_multiple.txt b/spec/fixtures/referrals/crsnic.com_referral_multiple.txt deleted file mode 100644 index 8d289e5b5..000000000 --- a/spec/fixtures/referrals/crsnic.com_referral_multiple.txt +++ /dev/null @@ -1,210 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Server Name: GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM - IP Address: 69.41.185.195 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.ZZZZZ.DOWNLOAD.MOVIE.ONLINE.ZML2.COM - IP Address: 64.28.187.63 - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM - IP Address: 217.107.217.167 - Registrar: DOMAINCONTEXT, INC. - Whois Server: whois.domaincontext.com - Referral URL: http://www.domaincontext.com - - Server Name: GOOGLE.COM.ZNAET.PRODOMEN.COM - IP Address: 62.149.23.126 - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET - IP Address: 62.41.27.144 - Registrar: KEY-SYSTEMS GMBH - Whois Server: whois.rrpproxy.net - Referral URL: http://www.key-systems.net - - Server Name: GOOGLE.COM.VN - Registrar: ONLINENIC, INC. - Whois Server: whois.onlinenic.com - Referral URL: http://www.OnlineNIC.com - - Server Name: GOOGLE.COM.UY - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.UA - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.TW - Registrar: WEB COMMERCE COMMUNICATIONS LIMITED DBA WEBNIC.CC - Whois Server: whois.webnic.cc - Referral URL: http://www.webnic.cc - - Server Name: GOOGLE.COM.TR - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM - IP Address: 80.190.192.24 - Registrar: EPAG DOMAINSERVICES GMBH - Whois Server: whois.enterprice.net - Referral URL: http://www.enterprice.net - - Server Name: GOOGLE.COM.SPROSIUYANDEKSA.RU - Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE - Whois Server: whois.melbourneit.com - Referral URL: http://www.melbourneit.com - - Server Name: GOOGLE.COM.SERVES.PR0N.FOR.ALLIYAH.NET - IP Address: 84.255.209.69 - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SA - Registrar: OMNIS NETWORK, LLC - Whois Server: whois.omnis.com - Referral URL: http://domains.omnis.com - - Server Name: GOOGLE.COM.PLZ.GIVE.A.PR8.TO.AUDIOTRACKER.NET - IP Address: 213.251.184.30 - Registrar: OVH - Whois Server: whois.ovh.com - Referral URL: http://www.ovh.com - - Server Name: GOOGLE.COM.MX - Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.IS.SHIT.SQUAREBOARDS.COM - IP Address: 203.170.84.81 - Registrar: AUST DOMAINS INTERNATIONAL PTY LTD DBA AUST DOMAINS, INC. - Whois Server: whois.syra.com.au - Referral URL: http://www.syra.com.au - - Server Name: GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET - IP Address: 217.148.161.5 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.IS.HOSTED.ON.PROFITHOSTING.NET - IP Address: 66.49.213.213 - Registrar: NAME.COM LLC - Whois Server: whois.name.com - Referral URL: http://www.name.com - - Server Name: GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM - IP Address: 213.228.0.43 - Registrar: GANDI SAS - Whois Server: whois.gandi.net - Referral URL: http://www.gandi.net - - Server Name: GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM - IP Address: 209.187.114.130 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.DO - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.CO - Registrar: NAMESECURE.COM - Whois Server: whois.namesecure.com - Referral URL: http://www.namesecure.com - - Server Name: GOOGLE.COM.BR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.BEYONDWHOIS.COM - IP Address: 203.36.226.2 - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.AU - Registrar: PLANETDOMAIN PTY LTD. - Whois Server: whois.planetdomain.com - Referral URL: http://www.planetdomain.com - - Server Name: GOOGLE.COM.ACQUIRED.BY.CALITEC.NET - IP Address: 85.190.27.2 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Domain Name: GOOGLE.COM - Registrar: MARKMONITOR INC. - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 18-nov-2008 - Creation Date: 15-sep-1997 - Expiration Date: 14-sep-2011 - ->>> Last update of whois database: Mon, 06 Jul 2009 10:12:55 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/referrals/crsnic.com_referral_not_defined.txt b/spec/fixtures/referrals/crsnic.com_referral_not_defined.txt deleted file mode 100644 index fc30bf284..000000000 --- a/spec/fixtures/referrals/crsnic.com_referral_not_defined.txt +++ /dev/null @@ -1,53 +0,0 @@ - -Whois Server Version 1.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: SET.TV - Registrar: .TV RESERVED DOMAINS - Whois Server: not defined - Referral URL: not defined - Name Server: No nameserver - Status: SERVER-XFER-PROHIBITED - Updated Date: 18-mar-2010 - Creation Date: 18-mar-2010 - Expiration Date: 18-mar-2011 - - ->>> Last update of whois database: Thu, 7 Oct 2010 08:03:22 EDT <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/referrals/niccc.cc.txt b/spec/fixtures/referrals/niccc.cc.txt deleted file mode 100644 index 7d995af91..000000000 --- a/spec/fixtures/referrals/niccc.cc.txt +++ /dev/null @@ -1,59 +0,0 @@ - -Whois Server Version 1.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: RAYMOND.CC - Registrar: GODADDY.COM, INC. - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - Name Server: NS1.SOFTLAYER.COM - Name Server: NS2.SOFTLAYER.COM - Name Server: NSS1.LINUXADMIN.ORG - Name Server: NSS2.LINUXADMIN.ORG - Status: CLIENT-RENEW-PROHIBITED - Status: CLIENT-XFER-PROHIBITED - Status: CLIENT-UPDATE-PROHIBITED - Status: CLIENT-DELETE-PROHIBITED - Updated Date: 14-dec-2008 - Creation Date: 14-mar-2003 - Expiration Date: 14-mar-2011 - - ->>> Last update of whois database: Mon, 6 Jul 2009 08:03:42 EDT <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.expected b/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.txt b/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.txt deleted file mode 100644 index 6d3a51488..000000000 --- a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Available -Domain: nosuchdomain.capetown - ->>> Last update of WHOIS database: 2015-06-01T14:42:48Z <<< - -# WHOIS lookup made at 2015-06-01T14:42:48Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.expected b/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.expected deleted file mode 100644 index 8e9750800..000000000 --- a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.expected +++ /dev/null @@ -1,106 +0,0 @@ -#domain - %s == "registry.capetown" - -#domain_id - %s == "dom_3K3-9999" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2015-04-01 07:41:59 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-05-30 09:21:00 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-04-01 07:41:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "1466" - %s.name == "Lexsynergy" - %s.organization == "Lexsynergy" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "LEX-7IC-235J" - %s[0].name == "Lucky Mokgabudi Masilela" - %s[0].organization == "ZA Central Registry" - %s[0].address == "COZA House, Gazelle Close Corporate Park South" - %s[0].city == "Midrand" - %s[0].zip == "1685" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.113140077" - %s[0].fax == "+27.113140088" - %s[0].email == "legal@co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "LEX-7IC-235J" - %s[0].name == "Lucky Mokgabudi Masilela" - %s[0].organization == "ZA Central Registry" - %s[0].address == "COZA House, Gazelle Close Corporate Park South" - %s[0].city == "Midrand" - %s[0].zip == "1685" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.113140077" - %s[0].fax == "+27.113140088" - %s[0].email == "legal@co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "LEX-7IC-235J" - %s[0].name == "Lucky Mokgabudi Masilela" - %s[0].organization == "ZA Central Registry" - %s[0].address == "COZA House, Gazelle Close Corporate Park South" - %s[0].city == "Midrand" - %s[0].zip == "1685" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.113140077" - %s[0].fax == "+27.113140088" - %s[0].email == "legal@co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.capetown" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.dnservices.co.za" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.txt b/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.txt deleted file mode 100644 index 53a10da4a..000000000 --- a/spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.txt +++ /dev/null @@ -1,80 +0,0 @@ -Domain Name: registry.capetown -Domain ID: dom_3K3-9999 -WHOIS Server: capetown-whois2.registry.net.za - -Updated Date: 2015-05-30T09:21:00Z -Creation Date: 2015-04-01T07:41:59Z -Registry Expiry Date: 2016-04-01T07:41:59Z -Sponsoring Registrar: Lexsynergy -Sponsoring Registrar IANA ID: 1466 -Domain Status: clientDeleteProhibited -Domain Status:clientTransferProhibited -Domain Status:clientUpdateProhibited - -Registrant ID: LEX-7IC-235J -Registrant Name: Lucky Mokgabudi Masilela -Registrant Organization: ZA Central Registry -Registrant Street: COZA House, Gazelle Close Corporate Park South -Registrant City: Midrand -Registrant State/Province: Gauteng -Registrant Postal Code: 1685 -Registrant Country: ZA -Registrant Phone: +27.113140077 -Registrant Phone Ext: -Registrant Fax: +27.113140088 -Registrant Fax Ext: -Registrant Email: legal@co.za - -Admin ID: LEX-7IC-235J -Admin Name: Lucky Mokgabudi Masilela -Admin Organization: ZA Central Registry -Admin Street: COZA House, Gazelle Close Corporate Park South -Admin City: Midrand -Admin State/Province: Gauteng -Admin Postal Code: 1685 -Admin Country: ZA -Admin Phone: +27.113140077 -Admin Phone Ext: -Admin Fax: +27.113140088 -Admin Fax Ext: -Admin Email: legal@co.za - -Billing ID: LEX-1-1XMT -Billing Name: Domain Name Department -Billing Organization: Lexsynergy Limited -Billing Street: 130 Hampstead House 176 Finchley Road -Billing City: London -Billing State/Province: -Billing Postal Code: NW3 6BT -Billing Country: GB -Billing Phone: +44.2081331319 -Billing Phone Ext: -Billing Fax: +44.2081331319 -Billing Fax Ext: -Billing Email: domains@lexsynergy.com - -Tech ID: LEX-7IC-235J -Tech Name: Lucky Mokgabudi Masilela -Tech Organization: ZA Central Registry -Tech Street: COZA House, Gazelle Close Corporate Park South -Tech City: Midrand -Tech State/Province: Gauteng -Tech Postal Code: 1685 -Tech Country: ZA -Tech Phone: +27.113140077 -Tech Phone Ext: -Tech Fax: +27.113140088 -Tech Fax Ext: -Tech Email: legal@co.za - - -Name Server: ns1.nic.capetown -Name Server: ns1.dnservices.co.za -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-06-01T14:44:31Z <<< - -# WHOIS lookup made at 2015-06-01T14:44:31Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.expected b/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.expected deleted file mode 100644 index a0a26873f..000000000 --- a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.txt b/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.txt deleted file mode 100644 index 5df3eaf13..000000000 --- a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -not found... diff --git a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.expected b/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.expected deleted file mode 100644 index cd3745afd..000000000 --- a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#disclaimer - %s == "The data in the WHOIS database of KSregistry GmbH is provided by KSregistry GmbH for information purposes, and to assist persons in obtaining information about or related to domain name registration records. KSregistry GmbH does not guarantee its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via E-mail (spam); or 2) enable high volume, automated, electronic processes that apply to KSregistry GmbH or its systems. KSregistry GmbH reserves the right to modify these terms. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.vg" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-05 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-03-01 00:02:14} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-06-05 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == "www.markmonitor.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "P-GFI26" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "P-GFI26" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "P-GFI26" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.txt b/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.txt deleted file mode 100644 index d0a93d77b..000000000 --- a/spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.txt +++ /dev/null @@ -1,75 +0,0 @@ -; The data in the WHOIS database of KSregistry GmbH is provided by -; KSregistry GmbH for information purposes, and to assist persons in -; obtaining information about or related to domain name registration -; records. KSregistry GmbH does not guarantee its accuracy. -; By submitting a WHOIS query, you agree that you will use this data -; only for lawful purposes and that, under no circumstances, you will -; use this data to -; 1) allow, enable, or otherwise support the transmission of mass -; unsolicited, commercial advertising or solicitations via E-mail -; (spam); or -; 2) enable high volume, automated, electronic processes that apply -; to KSregistry GmbH or its systems. -; KSregistry GmbH reserves the right to modify these terms. -; By submitting this query, you agree to abide by this policy. - -domain name: GOOGLE.VG -registrar: MarkMonitor Inc. -url: www.markmonitor.com -status: clientupdateprohibited -status: clienttransferprohibited -created date: 1999-06-05 00:00:00 -updated date: 2013-03-01 00:02:14 -expiration date: 2013-06-05 00:00:00 - -owner-contact: P-GFI26 -owner-organization: Google, Inc. -owner-name: Google, Inc. -owner-street: 1600 Amphitheatre Parkway -owner-city: Mountain View -owner-zip: 94043 -owner-country: US -owner-phone: +1.6503300100 -owner-fax: +1.6506181499 -owner-email: dns-admin@google.com - -admin-contact: P-GFI26 -admin-organization: Google, Inc. -admin-name: Google, Inc. -admin-street: 1600 Amphitheatre Parkway -admin-city: Mountain View -admin-zip: 94043 -admin-country: US -admin-phone: +1.6503300100 -admin-fax: +1.6506181499 -admin-email: dns-admin@google.com - -tech-contact: P-GFI26 -tech-organization: Google, Inc. -tech-name: Google, Inc. -tech-street: 1600 Amphitheatre Parkway -tech-city: Mountain View -tech-zip: 94043 -tech-country: US -tech-phone: +1.6503300100 -tech-fax: +1.6506181499 -tech-email: dns-admin@google.com - -billing-contact: P-UDM24 -billing-organization: MarkMonitor -billing-name: UNKNOWN MarkMonitor -billing-street: 391 North Ancestor Place -billing-city: ID -billing-zip: 83704 -billing-country: US -billing-phone: +1.2083895740 -billing-fax: +1.2083895799 -billing-email: ccops@markmonitor.com - -nameserver: ns1.google.com -nameserver: ns2.google.com -nameserver: ns3.google.com -nameserver: ns4.google.com - -; Please register your domains at; www.markmonitor.com - diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.expected b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.expected deleted file mode 100644 index 4de0dc677..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.txt b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.txt deleted file mode 100644 index f7216f581..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.txt +++ /dev/null @@ -1,54 +0,0 @@ - -Whois Server Version 1.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: M4R0C-S3CURITY.CC - Registrar: TUCOWS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - Name Server: No nameserver - Status: CLIENT-XFER-PROHIBITED - Status: CLIENT-UPDATE-PROHIBITED - Updated Date: 07-may-2010 - Creation Date: 26-mar-2009 - Expiration Date: 26-mar-2011 - - ->>> Last update of whois database: Mon, 6 Dec 2010 08:02:37 EST <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.expected b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.expected deleted file mode 100644 index 0dbcb40ff..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "u34jedzcq.cc" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#referral_whois - %s == nil - -#referral_url - %s == nil diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.txt b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.txt deleted file mode 100644 index ededc52bb..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.txt +++ /dev/null @@ -1,44 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - -No match for "U34JEDZCQ.CC". - ->>> Last update of whois database: 2014-01-22T22:10:31Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.expected b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.expected deleted file mode 100644 index dabe983ae..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "google.cc" - -#domain_id - %s == "86420657" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-07 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-05-06 05:17:44 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-07 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MARKMONITOR INC." - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - - - -#referral_whois - %s == "whois.markmonitor.com" - -#referral_url - %s == "http://www.markmonitor.com" diff --git a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.txt b/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.txt deleted file mode 100644 index 8b0510250..000000000 --- a/spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.txt +++ /dev/null @@ -1,64 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: GOOGLE.CC - Domain ID: 86420657 - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Updated Date: 2013-05-06T05:17:44Z - Creation Date: 1999-06-07T00:00:00Z - Registry Expiry Date: 2014-06-07T00:00:00Z - Sponsoring Registrar: MARKMONITOR INC. - Sponsoring Registrar IANA ID: 292 - Domain Status: clientDeleteProhibited - Domain Status: clientTransferProhibited - Domain Status: clientUpdateProhibited - Domain Status: serverDeleteProhibited - Domain Status: serverTransferProhibited - Domain Status: serverUpdateProhibited - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - DNSSEC: Unsigned delegation - - ->>> Last update of whois database: 2014-03-18T13:32:28Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.expected b/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.txt b/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.txt deleted file mode 100644 index 77c3a6337..000000000 --- a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Available -Domain: nosuchdomain.durban - ->>> Last update of WHOIS database: 2015-06-02T09:18:59Z <<< - -# WHOIS lookup made at 2015-06-02T09:18:59Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.expected b/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.expected deleted file mode 100644 index f21a05d97..000000000 --- a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.expected +++ /dev/null @@ -1,109 +0,0 @@ -#domain - %s == "wordpress.durban" - -#domain_id - %s == "dom_7G-9999" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-11-04T06:00:01Z} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-11-11T06:00:03Z} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-11-04T06:00:01Z} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor" - %s.organization == "MarkMonitor" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-132163" - %s[0].name == "DNStination Inc." - %s[0].organization == "" - %s[0].address == "425 Market St 5th Floor" - %s[0].city == "San Francisco" - %s[0].state == "CA" - %s[0].zip == "94105" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.4155319335" - %s[0].fax == "+1.4155319336" - %s[0].email == "admin@dnstinations.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-132163" - %s[0].name == "DNStination Inc." - %s[0].organization == "" - %s[0].address == "425 Market St 5th Floor" - %s[0].city == "San Francisco" - %s[0].state == "CA" - %s[0].zip == "94105" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.4155319335" - %s[0].fax == "+1.4155319336" - %s[0].email == "admin@dnstinations.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-132163" - %s[0].name == "DNStination Inc." - %s[0].organization == "" - %s[0].address == "425 Market St 5th Floor" - %s[0].city == "San Francisco" - %s[0].state == "CA" - %s[0].zip == "94105" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.4155319335" - %s[0].fax == "+1.4155319336" - %s[0].email == "admin@dnstinations.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.markmonitor.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.markmonitor.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.txt b/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.txt deleted file mode 100644 index afec45ce8..000000000 --- a/spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.txt +++ /dev/null @@ -1,80 +0,0 @@ -Domain Name: wordpress.durban -Domain ID: dom_7G-9999 -WHOIS Server: durban-whois1.registry.net.za - -Updated Date: 2014-11-11T06:00:03Z -Creation Date: 2014-11-04T06:00:01Z -Registry Expiry Date: 2016-11-04T06:00:01Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: 292 -Domain Status: clientDeleteProhibited -Domain Status:clientTransferProhibited -Domain Status:clientUpdateProhibited - -Registrant ID: mmr-132163 -Registrant Name: DNStination Inc. -Registrant Organization: -Registrant Street: 425 Market St 5th Floor -Registrant City: San Francisco -Registrant State/Province: CA -Registrant Postal Code: 94105 -Registrant Country: US -Registrant Phone: +1.4155319335 -Registrant Phone Ext: -Registrant Fax: +1.4155319336 -Registrant Fax Ext: -Registrant Email: admin@dnstinations.com - -Admin ID: mmr-132163 -Admin Name: DNStination Inc. -Admin Organization: -Admin Street: 425 Market St 5th Floor -Admin City: San Francisco -Admin State/Province: CA -Admin Postal Code: 94105 -Admin Country: US -Admin Phone: +1.4155319335 -Admin Phone Ext: -Admin Fax: +1.4155319336 -Admin Fax Ext: -Admin Email: admin@dnstinations.com - -Billing ID: mmr-132163 -Billing Name: DNStination Inc. -Billing Organization: -Billing Street: 425 Market St 5th Floor -Billing City: San Francisco -Billing State/Province: CA -Billing Postal Code: 94105 -Billing Country: US -Billing Phone: +1.4155319335 -Billing Phone Ext: -Billing Fax: +1.4155319336 -Billing Fax Ext: -Billing Email: admin@dnstinations.com - -Tech ID: mmr-132163 -Tech Name: DNStination Inc. -Tech Organization: -Tech Street: 425 Market St 5th Floor -Tech City: San Francisco -Tech State/Province: CA -Tech Postal Code: 94105 -Tech Country: US -Tech Phone: +1.4155319335 -Tech Phone Ext: -Tech Fax: +1.4155319336 -Tech Fax Ext: -Tech Email: admin@dnstinations.com - - -Name Server: ns3.markmonitor.com -Name Server: ns1.markmonitor.com -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-06-02T09:20:05Z <<< - -# WHOIS lookup made at 2015-06-02T09:20:05Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.expected b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.expected deleted file mode 100644 index 4de0dc677..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.txt b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.txt deleted file mode 100644 index 6f66b2286..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.txt +++ /dev/null @@ -1,53 +0,0 @@ - -Whois Server Version 1.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: EXAMPLE.JOBS - Registrar: EMPLOY MEDIA LLC - Whois Server: not defined - Referral URL: http://www.employmedia.com - Name Server: No nameserver - Status: PENDING-CREATE - Updated Date: 23-feb-2006 - Creation Date: 23-feb-2006 - Expiration Date: 23-feb-2016 - - ->>> Last update of whois database: Mon, 6 Dec 2010 08:04:00 EST <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.expected b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.expected deleted file mode 100644 index 4171aa3a4..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "u34jedzcq.jobs" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#referral_whois - %s == nil - -#referral_url - %s == nil diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.txt b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.txt deleted file mode 100644 index 4f81d09a3..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.txt +++ /dev/null @@ -1,44 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - -No match for "U34JEDZCQ.JOBS". - ->>> Last update of whois database: 2014-01-22T22:09:16Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.expected b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.expected deleted file mode 100644 index 3d6b2bf6f..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.expected +++ /dev/null @@ -1,61 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "google.jobs" - -#domain_id - %s == "86932313" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-09-15 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-14 05:20:33 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-15 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MARKMONITOR INC." - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - - - -#referral_whois - %s == "whois.markmonitor.com" - -#referral_url - %s == "http://www.markmonitor.com" diff --git a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.txt b/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.txt deleted file mode 100644 index 683991553..000000000 --- a/spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.txt +++ /dev/null @@ -1,59 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: GOOGLE.JOBS - Domain ID: 86932313 - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Updated Date: 2013-08-14T05:20:33Z - Creation Date: 2005-09-15T00:00:00Z - Registry Expiry Date: 2014-09-15T00:00:00Z - Sponsoring Registrar: MARKMONITOR INC. - Sponsoring Registrar IANA ID: 292 - Domain Status: clientDeleteProhibited - Domain Status: clientTransferProhibited - Domain Status: clientUpdateProhibited - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - DNSSEC: Unsigned delegation - - ->>> Last update of whois database: 2014-03-18T13:32:58Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.expected b/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.txt b/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.txt deleted file mode 100644 index 649ff4da6..000000000 --- a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Available -Domain: nosuchdomain.joburg - ->>> Last update of WHOIS database: 2015-06-02T09:07:53Z <<< - -# WHOIS lookup made at 2015-06-02T09:07:53Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.expected b/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.expected deleted file mode 100644 index dffa41541..000000000 --- a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.expected +++ /dev/null @@ -1,110 +0,0 @@ -#domain - %s == "usedautos.joburg" - -#domain_id - %s == "dom_7P-9999" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-11-03 22:00:08 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-11-10 07:08:28 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-11-03 22:00:08 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "1466" - %s.name == "Lexsynergy" - %s.organization == "Lexsynergy" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "LEX-5FP-22YL" - %s[0].name == "Domain Administrator" - %s[0].organization == "The Car Trader (Pty) Ltd" - %s[0].address == "154 Bram Fischer Drive Randburg" - %s[0].city == "Johannesburg" - %s[0].zip == "2194" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.116860900" - %s[0].fax == "+27.117896449" - %s[0].email == "domains@autotrader.co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "LEX-5FP-22YL" - %s[0].name == "Domain Administrator" - %s[0].organization == "The Car Trader (Pty) Ltd" - %s[0].address == "154 Bram Fischer Drive Randburg" - %s[0].city == "Johannesburg" - %s[0].zip == "2194" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.116860900" - %s[0].fax == "+27.117896449" - %s[0].email == "domains@autotrader.co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "LEX-5FP-22YL" - %s[0].name == "Domain Administrator" - %s[0].organization == "The Car Trader (Pty) Ltd" - %s[0].address == "154 Bram Fischer Drive Randburg" - %s[0].city == "Johannesburg" - %s[0].zip == "2194" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.116860900" - %s[0].fax == "+27.117896449" - %s[0].email == "domains@autotrader.co.za" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.lexsynergy.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.lexsynergy.us" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.lexsynergy.info" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.txt b/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.txt deleted file mode 100644 index 6aff842de..000000000 --- a/spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.txt +++ /dev/null @@ -1,81 +0,0 @@ -Domain Name: usedautos.joburg -Domain ID: dom_7P-9999 -WHOIS Server: joburg-whois2.registry.net.za - -Updated Date: 2014-11-10T07:08:28Z -Creation Date: 2014-11-03T22:00:08Z -Registry Expiry Date: 2015-11-03T22:00:08Z -Sponsoring Registrar: Lexsynergy -Sponsoring Registrar IANA ID: 1466 -Domain Status: clientDeleteProhibited -Domain Status:clientTransferProhibited -Domain Status:clientUpdateProhibited - -Registrant ID: LEX-5FP-22YL -Registrant Name: Domain Administrator -Registrant Organization: The Car Trader (Pty) Ltd -Registrant Street: 154 Bram Fischer Drive Randburg -Registrant City: Johannesburg -Registrant State/Province: -Registrant Postal Code: 2194 -Registrant Country: ZA -Registrant Phone: +27.116860900 -Registrant Phone Ext: -Registrant Fax: +27.117896449 -Registrant Fax Ext: -Registrant Email: domains@autotrader.co.za - -Admin ID: LEX-5FP-22YL -Admin Name: Domain Administrator -Admin Organization: The Car Trader (Pty) Ltd -Admin Street: 154 Bram Fischer Drive Randburg -Admin City: Johannesburg -Admin State/Province: -Admin Postal Code: 2194 -Admin Country: ZA -Admin Phone: +27.116860900 -Admin Phone Ext: -Admin Fax: +27.117896449 -Admin Fax Ext: -Admin Email: domains@autotrader.co.za - -Billing ID: LEX-1-PGD -Billing Name: Domain Name Department -Billing Organization: Lexsynergy Limited -Billing Street: 130 Hampstead House 176 Finchley Road -Billing City: London -Billing State/Province: -Billing Postal Code: NW3 6BT -Billing Country: GB -Billing Phone: +44.2081331319 -Billing Phone Ext: -Billing Fax: +44.2081331319 -Billing Fax Ext: -Billing Email: domains@lexsynergy.com - -Tech ID: LEX-5FP-22YL -Tech Name: Domain Administrator -Tech Organization: The Car Trader (Pty) Ltd -Tech Street: 154 Bram Fischer Drive Randburg -Tech City: Johannesburg -Tech State/Province: -Tech Postal Code: 2194 -Tech Country: ZA -Tech Phone: +27.116860900 -Tech Phone Ext: -Tech Fax: +27.117896449 -Tech Fax Ext: -Tech Email: domains@autotrader.co.za - - -Name Server: ns1.lexsynergy.net -Name Server: ns2.lexsynergy.us -Name Server: ns3.lexsynergy.info -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-06-02T09:11:02Z <<< - -# WHOIS lookup made at 2015-06-02T09:11:02Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.expected b/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.txt b/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.txt deleted file mode 100644 index cfbe80e15..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.txt +++ /dev/null @@ -1,18 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided as a service to the internet -community. - -The data is for information purposes only. Red Cientifica Peruana does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -Your request could not be performed. -Looup quota exceeded. diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_available.expected b/spec/fixtures/responses/kero.yachay.pe/pe/status_available.expected deleted file mode 100644 index cdc99fdb2..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_available.expected +++ /dev/null @@ -1,28 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_available.txt b/spec/fixtures/responses/kero.yachay.pe/pe/status_available.txt deleted file mode 100644 index 040e35580..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_available.txt +++ /dev/null @@ -1,24 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided as a service to the internet -community. - -The data is for information purposes only. Red Cientifica Peruana does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - -Domain Information -Query: u34jedzcq.pe -Status: Not Registered - - - - diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.expected b/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.expected deleted file mode 100644 index 58540f1dc..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{0} - %s == [] - - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.txt b/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.txt deleted file mode 100644 index 6a17a1168..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.txt +++ /dev/null @@ -1,31 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided as a service to the internet -community. - -The data is for information purposes only. Red Cientifica Peruana does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - -Domain Information -Query: zumba.pe -Status: Inactive -Registrar: NIC .PE -Name Servers: - -Registrant: - GRUPO ALBATROS SAC - -Administrative Contact: - GRUPO ALBATROS SAC - jsotelo@galbatros.com - - diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.expected b/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.expected deleted file mode 100644 index 799e28e6a..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.txt b/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.txt deleted file mode 100644 index 118f5e5f1..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_registered.txt +++ /dev/null @@ -1,35 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided as a service to the internet -community. - -The data is for information purposes only. Red Cientifica Peruana does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - -Domain Information -Query: google.pe -Status: Active -Registrar: MarkMonitor Inc. -Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -Registrant: - google inc. - -Administrative Contact: - MarkMonitor - ccops@markmonitor.com - - diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.expected b/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.expected deleted file mode 100644 index 86c816a50..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.expected +++ /dev/null @@ -1,28 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.txt b/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.txt deleted file mode 100644 index 6d85e1447..000000000 --- a/spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.txt +++ /dev/null @@ -1,35 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided as a service to the internet -community. - -The data is for information purposes only. Red Cientifica Peruana does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - -Domain Information -Query: bangladesh.pe -Status: Suspended -Registrar: 1API GmbH -Name Servers: - ns1.dnsimple.com - ns2.dnsimple.com - ns3.dnsimple.com - ns4.dnsimple.com - -Registrant: - Ahmed Nitul - -Administrative Contact: - Ahmed Nitul - ahmed@nitul.net - - diff --git a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.expected b/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.txt b/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.txt deleted file mode 100644 index 96a342c3b..000000000 --- a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Available -Domain: nosuchdomain.org.za - ->>> Last update of WHOIS database: 2015-06-03T12:13:12Z <<< - -# WHOIS lookup made at 2015-06-03T12:13:12Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.expected b/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.expected deleted file mode 100644 index eb46eefce..000000000 --- a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#domain - %s == "joburg.org.za" - -#domain_id - %s == "dom_8VP-9999" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-10-03 09:46:34 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-02-05 08:45:51 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2999-12-31 21:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "9999" - %s.name == "ZA Central Registry" - %s.organization == "ZA Central Registry" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "jobuRant" - %s[0].name == "City of Johannesburg Metropolitan Municipality" - %s[0].organization == "" - %s[0].address == "P.O. Box 30757" - %s[0].city == "Braamfontein" - %s[0].state == "Gauteng" - %s[0].zip == "2017" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.110186314" - %s[0].fax == "+27.113819583" - %s[0].email == "joelsonp@joburg.org.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "zacr-a0c0379446" - %s[0].name == "Joelson Pholoha" - %s[0].organization == "" - %s[0].address == "Private Bag X10013, Sandton, 2146" - %s[0].city == "-" - %s[0].zip == "" - %s[0].country == nil - %s[0].country_code == "--" - %s[0].phone == "+27.110186314" - %s[0].fax == "+27.113819583" - %s[0].email == "Joelsonp@Joburg.org.za" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "zacr-71fff5bce2" - %s[0].name == "Eben Jacobs" - %s[0].organization == "" - %s[0].address == "Accounts Payable, Vida Building, Kabelweg 57, 1014 BA Amsterdam" - %s[0].city == "-" - %s[0].zip == "" - %s[0].country == nil - %s[0].country_code == "--" - %s[0].phone == "+27.110186314" - %s[0].fax == "+27.113819583" - %s[0].email == "ebenj@joburg.org.za" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "demeter.is.co.za" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "jupiter.is.co.za" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "titan.is.co.za" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.txt b/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.txt deleted file mode 100644 index 208372939..000000000 --- a/spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.txt +++ /dev/null @@ -1,79 +0,0 @@ -Domain Name: joburg.org.za -Domain ID: dom_8VP-9999 -WHOIS Server: org-whois2.registry.net.za - -Updated Date: 2015-02-05T08:45:51Z -Creation Date: 1997-10-03T09:46:34Z -Registry Expiry Date: 2999-12-31T21:59:59Z -Sponsoring Registrar: ZA Central Registry -Sponsoring Registrar IANA ID: 9999 -Domain Status: ok - -Registrant ID: jobuRant -Registrant Name: City of Johannesburg Metropolitan Municipality -Registrant Organization: -Registrant Street: P.O. Box 30757 -Registrant City: Braamfontein -Registrant State/Province: Gauteng -Registrant Postal Code: 2017 -Registrant Country: ZA -Registrant Phone: +27.110186314 -Registrant Phone Ext: -Registrant Fax: +27.113819583 -Registrant Fax Ext: -Registrant Email: joelsonp@joburg.org.za - -Admin ID: zacr-a0c0379446 -Admin Name: Joelson Pholoha -Admin Organization: -Admin Street: Private Bag X10013, Sandton, 2146 -Admin City: - -Admin State/Province: -Admin Postal Code: -Admin Country: -- -Admin Phone: +27.110186314 -Admin Phone Ext: -Admin Fax: +27.113819583 -Admin Fax Ext: -Admin Email: Joelsonp@Joburg.org.za - -Billing ID: zacr-07de5cca59 -Billing Name: -Billing Organization: -Billing Street: -Billing City: - -Billing State/Province: -Billing Postal Code: -Billing Country: -- -Billing Phone: -Billing Phone Ext: -Billing Fax: -Billing Fax Ext: -Billing Email: - -Tech ID: zacr-71fff5bce2 -Tech Name: Eben Jacobs -Tech Organization: -Tech Street: Accounts Payable, Vida Building, Kabelweg 57, 1014 BA Amsterdam -Tech City: - -Tech State/Province: -Tech Postal Code: -Tech Country: -- -Tech Phone: +27.110186314 -Tech Phone Ext: -Tech Fax: +27.113819583 -Tech Fax Ext: -Tech Email: ebenj@joburg.org.za - - -Name Server: demeter.is.co.za -Name Server: jupiter.is.co.za -Name Server: titan.is.co.za -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-06-03T12:14:13Z <<< - -# WHOIS lookup made at 2015-06-03T12:14:13Z -# -- -# The use of this Whois facility is subject to the following terms and -# conditions. https://registry.net.za/whois_terms -# Copyright (c) ZACR 1995-2015 diff --git a/spec/fixtures/responses/whois.1und1.info/status_available.expected b/spec/fixtures/responses/whois.1und1.info/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.1und1.info/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.1und1.info/status_available.txt b/spec/fixtures/responses/whois.1und1.info/status_available.txt deleted file mode 100644 index 946bca06a..000000000 --- a/spec/fixtures/responses/whois.1und1.info/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain u34jedzcq.com is not registered here. - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG diff --git a/spec/fixtures/responses/whois.1und1.info/status_registered.expected b/spec/fixtures/responses/whois.1und1.info/status_registered.expected deleted file mode 100644 index 00cf9fdda..000000000 --- a/spec/fixtures/responses/whois.1und1.info/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "1und1.com" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1998-08-12 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-11 00:00:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-11 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == "83" - %s.name == "1&1 Internet AG" - %s.organization == "1&1 Internet AG" - %s.url == "http://1and1.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Andreas Gauger" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Elgendorfer Strasse 57" - %s[0].city == "Montabaur" - %s[0].zip == "56410" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.2602960" - %s[0].fax == "+49.72191374215" - %s[0].email == "hostmaster@1und1.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Andreas Gauger" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Elgendorfer Strasse 57" - %s[0].city == "Montabaur" - %s[0].zip == "56410" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.2602960" - %s[0].fax == "+49.72191374215" - %s[0].email == "hostmaster@1und1.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Andreas Gauger" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Elgendorfer Strasse 57" - %s[0].city == "Montabaur" - %s[0].zip == "56410" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.2602960" - %s[0].fax == "+49.72191374215" - %s[0].email == "hostmaster@1und1.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns-1and1.ui-dns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns-1and1.ui-dns.org" - %s[2] %CLASS{nameserver} - %s[2].name == "ns-1and1.ui-dns.de" - %s[3] %CLASS{nameserver} - %s[3].name == "ns-1and1.ui-dns.biz" diff --git a/spec/fixtures/responses/whois.1und1.info/status_registered.txt b/spec/fixtures/responses/whois.1und1.info/status_registered.txt deleted file mode 100644 index ef900da90..000000000 --- a/spec/fixtures/responses/whois.1und1.info/status_registered.txt +++ /dev/null @@ -1,67 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain Name: 1und1.com -Registrar WHOIS Server: whois.1und1.info -Registrar URL: http://1and1.com -Updated Date: 2013-08-11 00:00:00 -Creation Date: 1998-08-12 00:00:00 -Registrar Registration Expiration Date: 2014-08-11 00:00:00 -Registrar: 1&1 Internet AG -Registrar IANA ID: 83 -Registrar Abuse Contact Email: abuse@1and1.com - -Domain Status: clientTransferProhibited - -Registrant Name: Andreas Gauger -Registrant Organization: 1&1 Internet AG -Registrant Street: Elgendorfer Strasse 57 -Registrant City: Montabaur -Registrant Postal Code: 56410 -Registrant Country: DE -Registrant Phone: +49.2602960 -Registrant Fax: +49.72191374215 -Registrant Email: hostmaster@1und1.com - -Admin Name: Andreas Gauger -Admin Organization: 1&1 Internet AG -Admin Street: Elgendorfer Strasse 57 -Admin City: Montabaur -Admin Postal Code: 56410 -Admin Country: DE -Admin Phone: +49.2602960 -Admin Fax: +49.72191374215 -Admin Email: hostmaster@1und1.com - -Tech Name: Andreas Gauger -Tech Organization: 1&1 Internet AG -Tech Street: Elgendorfer Strasse 57 -Tech City: Montabaur -Tech Postal Code: 56410 -Tech Country: DE -Tech Phone: +49.2602960 -Tech Fax: +49.72191374215 -Tech Email: hostmaster@1und1.com - -Name Server: ns-1and1.ui-dns.com -Name Server: ns-1and1.ui-dns.org -Name Server: ns-1and1.ui-dns.de -Name Server: ns-1and1.ui-dns.biz - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG - diff --git a/spec/fixtures/responses/whois.35.com/status_registered.expected b/spec/fixtures/responses/whois.35.com/status_registered.expected deleted file mode 100644 index d530fc6bf..000000000 --- a/spec/fixtures/responses/whois.35.com/status_registered.expected +++ /dev/null @@ -1,97 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-09-10} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-08-21 23:48:59} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-09-10} - - -#registrar - %s %CLASS{registrar} - %s.id == "1316" - %s.name == "35 Technology Co., Ltd." - %s.organization == "35 Technology Co., Ltd." - %s.url == "http://www.35.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "baolei" - %s[0].organization == "jiaxing zhongwang ad co.,ltd." - %s[0].address == "126# jiyang rd." - %s[0].city == "jiaxing" - %s[0].zip == "314000" - %s[0].state == "zhejiang" - %s[0].country == nil - %s[0].country_code == "CN" - %s[0].phone == "+86.57382033533" - %s[0].fax == "+86.57382033533" - %s[0].email == "aaa@zjcf.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "baolei" - %s[0].organization == "jiaxing zhongwang ad co.,ltd." - %s[0].address == "126# jiyang rd." - %s[0].city == "jiaxing" - %s[0].zip == "314000" - %s[0].state == "zhejiang" - %s[0].country == nil - %s[0].country_code == "CN" - %s[0].phone == "+86.57382033533" - %s[0].fax == "+86.57382033533" - %s[0].email == "aaa@zjcf.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "baolei" - %s[0].organization == "jiaxing zhongwang ad co.,ltd." - %s[0].address == "126# jiyang rd." - %s[0].city == "jiaxing" - %s[0].zip == "314000" - %s[0].state == "zhejiang" - %s[0].country == nil - %s[0].country_code == "CN" - %s[0].phone == "+86.57382033533" - %s[0].fax == "+86.57382033533" - %s[0].email == "aaa@zjcf.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.dns-diy.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.dns-diy.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - diff --git a/spec/fixtures/responses/whois.35.com/status_registered.txt b/spec/fixtures/responses/whois.35.com/status_registered.txt deleted file mode 100644 index c4316b95b..000000000 --- a/spec/fixtures/responses/whois.35.com/status_registered.txt +++ /dev/null @@ -1,58 +0,0 @@ - -Domain Name: zwad.net -Registry Domain ID: -Registrar WHOIS Server: whois.35.com -Registrar URL: http://www.35.com -Updated Date: 2014-08-21 23:48:59 -Creation Date: 2010-09-10 -Registrar Registration Expiration Date: 2015-09-10 -Registrar: 35 Technology Co., Ltd. -Registrar IANA ID: 1316 -Registrar Abuse Contact Email: abuse@35.cn -Registrar Abuse Contact Phone: +86.5925391800 -Reseller: �������Ϻ��������Ǵ�ƽ�����ƹ����� -Domain Status: clientTransferProhibited -Registry Registrant ID: -Registrant Name:baolei -Registrant Organization:jiaxing zhongwang ad co.,ltd. -Registrant Street:126# jiyang rd. -Registrant City:jiaxing -Registrant State/Province:zhejiang -Registrant Postal Code:314000 -Registrant Country:CN -Registrant Phone:+86.57382033533 -Registrant Phone Ext: -Registrant Fax:+86.57382033533 -Registrant Fax Ext: -Registrant Email:aaa@zjcf.com -Registry Admin ID: -Admin Name:baolei -Admin Organization:jiaxing zhongwang ad co.,ltd. -Admin Street:126# jiyang rd. -Admin City:jiaxing -Admin State/Province:zhejiang -Admin Postal Code:314000 -Admin Country:CN -Admin Phone:+86.57382033533 -Admin Phone Ext: -Admin Fax:+86.57382033533 -Admin Fax Ext: -Admin Email:aaa@zjcf.com -Registry Tech ID: -Tech Name:baolei -Tech Organization:jiaxing zhongwang ad co.,ltd. -Tech Street:126# jiyang rd. -Tech City:jiaxing -Tech State/Province:zhejiang -Tech Postal Code:314000 -Tech Country:CN -Tech Phone:+86.57382033533 -Tech Phone Ext: -Tech Fax:+86.57382033533 -Tech Fax Ext: -Tech Email:aaa@zjcf.com -Name Server: ns3.dns-diy.com -Name Server: ns4.dns-diy.com -DNSSEC: unsigned -URL of the ICANN WHOIS Data Problem Reporting System:http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2014-08-21 23:48:59 <<< diff --git a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.expected b/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.expected deleted file mode 100644 index 982cebd7d..000000000 --- a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.txt b/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.txt deleted file mode 100644 index 3831b4b5b..000000000 --- a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No Data Found diff --git a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.expected b/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.expected deleted file mode 100644 index 65a656161..000000000 --- a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.expected +++ /dev/null @@ -1,27 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.txt b/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.txt deleted file mode 100644 index 713712228..000000000 --- a/spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.txt +++ /dev/null @@ -1,15 +0,0 @@ -Domain Name: google.ae -Registrar ID: markmonitor -Registrar Name: MarkMonitor -Status: ok - -Registrant Contact ID: GOOGLE -Registrant Contact Name: Google Inc. -Registrant Contact Email: Visit whois.aeda.ae for Web based WhoIs - -Tech Contact ID: GOOGLE -Tech Contact Name: Google Inc. -Tech Contact Email: Visit whois.aeda.ae for Web based WhoIs - -Name Server: ns1.google.com -Name Server: ns2.google.com diff --git a/spec/fixtures/responses/whois.aero/status_available.expected b/spec/fixtures/responses/whois.aero/status_available.expected deleted file mode 100644 index 4c6f0cf28..000000000 --- a/spec/fixtures/responses/whois.aero/status_available.expected +++ /dev/null @@ -1,53 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - -#reserved? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.aero/status_available.txt b/spec/fixtures/responses/whois.aero/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.aero/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.aero/status_registered.expected b/spec/fixtures/responses/whois.aero/status_registered.expected deleted file mode 100644 index 7bd75fdf7..000000000 --- a/spec/fixtures/responses/whois.aero/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "Access to .AERO WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "srilankan.aero" - -#domain_id - %s == "D246-AERO" - - -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true - -#reserved? - %s == false - - -#created_on - %s %CLASS{time} - %s %TIME{2002-03-26 06:48:27 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-09 06:35:03 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-26 06:48:27 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "380" - %s.name == "Tuonome IT" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "C4526901-AERO" - %s[0].name == "Domain Name Administrator" - %s[0].organization == "SriLankan Airlines Ltd" - %s[0].address == "Admin Bldg" - %s[0].city == "Katunayaka" - %s[0].zip == "11450" - %s[0].state == "WP" - %s[0].country_code == "LK" - %s[0].phone == "+94.197331600" - %s[0].fax == "+94.197335160" - %s[0].email == "domregister@srilankan.aero" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "C4526901-AERO" - %s[0].name == "Domain Name Administrator" - %s[0].organization == "SriLankan Airlines Ltd" - %s[0].address == "Admin Bldg" - %s[0].city == "Katunayaka" - %s[0].zip == "11450" - %s[0].state == "WP" - %s[0].country_code == "LK" - %s[0].phone == "+94.197331600" - %s[0].fax == "+94.197335160" - %s[0].email == "domregister@srilankan.aero" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C4526901-AERO" - %s[0].name == "Domain Name Administrator" - %s[0].organization == "SriLankan Airlines Ltd" - %s[0].address == "Admin Bldg" - %s[0].city == "Katunayaka" - %s[0].zip == "11450" - %s[0].state == "WP" - %s[0].country_code == "LK" - %s[0].phone == "+94.197331600" - %s[0].fax == "+94.197335160" - %s[0].email == "domregister@srilankan.aero" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.srilankan.aero" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.srilankan.aero" - %s[2] %CLASS{nameserver} - %s[2].name == "s2.ns.slt.lk" - %s[3] %CLASS{nameserver} - %s[3].name == "s1.ns.slt.lk" diff --git a/spec/fixtures/responses/whois.aero/status_registered.txt b/spec/fixtures/responses/whois.aero/status_registered.txt deleted file mode 100644 index 30a727fd1..000000000 --- a/spec/fixtures/responses/whois.aero/status_registered.txt +++ /dev/null @@ -1,102 +0,0 @@ -Access to .AERO WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D246-AERO -Domain Name:SRILANKAN.AERO -ENS_AuthId:E0261-SITA -Created On:26-Mar-2002 06:48:27 UTC -Expires On:26-Mar-2014 06:48:27 UTC -Updated On:09-Apr-2013 06:35:03 UTC -Created By:Tuonome IT (380) -Updated By:Afilias Internal (984) -Sponsoring Registrar:Tuonome IT (380) -Domain Status:OK -Maintainer:http://www.tuonome.aero -Registrant ID:C4526901-AERO -Registrant Name:Domain Name Administrator -Registrant Organization:SriLankan Airlines Ltd -Registrant Street1:Admin Bldg -Registrant Street2: -Registrant Street3: -Registrant City:Katunayaka -Registrant State/Province:WP -Registrant Postal Code:11450 -Registrant Country:LK -Registrant Phone:+94.197331600 -Registrant Phone Ext.: -Registrant FAX:+94.197335160 -Registrant FAX Ext.: -Registrant Email:domregister@srilankan.aero -Admin ID:C4526901-AERO -Admin Name:Domain Name Administrator -Admin Organization:SriLankan Airlines Ltd -Admin Street1:Admin Bldg -Admin Street2: -Admin Street3: -Admin City:Katunayaka -Admin State/Province:WP -Admin Postal Code:11450 -Admin Country:LK -Admin Phone:+94.197331600 -Admin Phone Ext.: -Admin FAX:+94.197335160 -Admin FAX Ext.: -Admin Email:domregister@srilankan.aero -Billing ID:C4526901-AERO -Billing Name:Domain Name Administrator -Billing Organization:SriLankan Airlines Ltd -Billing Street1:Admin Bldg -Billing Street2: -Billing Street3: -Billing City:Katunayaka -Billing State/Province:WP -Billing Postal Code:11450 -Billing Country:LK -Billing Phone:+94.197331600 -Billing Phone Ext.: -Billing FAX:+94.197335160 -Billing FAX Ext.: -Billing Email:domregister@srilankan.aero -Tech ID:C4526901-AERO -Tech Name:Domain Name Administrator -Tech Organization:SriLankan Airlines Ltd -Tech Street1:Admin Bldg -Tech Street2: -Tech Street3: -Tech City:Katunayaka -Tech State/Province:WP -Tech Postal Code:11450 -Tech Country:LK -Tech Phone:+94.197331600 -Tech Phone Ext.: -Tech FAX:+94.197335160 -Tech FAX Ext.: -Tech Email:domregister@srilankan.aero -Name Server:DNS1.SRILANKAN.AERO -Name Server:DNS2.SRILANKAN.AERO -Name Server:S2.NS.SLT.LK -Name Server:S1.NS.SLT.LK -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.aero/status_reserved.expected b/spec/fixtures/responses/whois.aero/status_reserved.expected deleted file mode 100644 index 300219bf3..000000000 --- a/spec/fixtures/responses/whois.aero/status_reserved.expected +++ /dev/null @@ -1,53 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - -#reserved? - %s == true - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.aero/status_reserved.txt b/spec/fixtures/responses/whois.aero/status_reserved.txt deleted file mode 100644 index a9938ff8c..000000000 --- a/spec/fixtures/responses/whois.aero/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -Name is restricted from registration diff --git a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected deleted file mode 100644 index 6427b58d9..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected +++ /dev/null @@ -1,65 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.bz" - -#domain_id - %s == "D354967-LRCC" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "RENEWPERIOD"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-02-12 18:08:52 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-11 10:18:14 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-12 18:08:52 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R22-LRCC" - %s.name == "MarkMonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{0} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{0} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{0} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.txt deleted file mode 100644 index 32e738a84..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.txt +++ /dev/null @@ -1,43 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D354967-LRCC -Domain Name:GOOGLE.BZ -Created On:12-Feb-2006 18:08:52 UTC -Last Updated On:11-Jan-2014 10:18:14 UTC -Expiration Date:12-Feb-2015 18:08:52 UTC -Sponsoring Registrar:MarkMonitor, Inc. (R22-LRCC) -Whois Server:whois.markmonitor.com -Referral URL:http://www.markmonitor.com -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Status:RENEWPERIOD -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected deleted file mode 100644 index a94541872..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected +++ /dev/null @@ -1,100 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "sapphire.gi" - -#domain_id - %s == "D68296-LRCC" - - -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-12-20 13:34:34 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2008-12-20 19:25:54 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2009-12-20 13:34:34 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R43-LRCC" - %s.name == "GibNet Registrar" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "FR-1103549674779" - %s[0].name == "Jimmy Imossi" - %s[0].organization == "Broadband Gibraltar Limited" - %s[0].address == "Suite 951\nEuroport" - %s[0].city == "Gibraltar" - %s[0].zip == "NA" - %s[0].state == "" - %s[0].country_code == "GI" - %s[0].phone == "+350.47200" - %s[0].fax == "+350.47272" - %s[0].email == "jimossi@sapphire.gi" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "FR-1103549674779" - %s[0].name == "Jimmy Imossi" - %s[0].organization == "Broadband Gibraltar Limited" - %s[0].address == "Suite 951\nEuroport" - %s[0].city == "Gibraltar" - %s[0].zip == "NA" - %s[0].state == "" - %s[0].country_code == "GI" - %s[0].phone == "+350.47200" - %s[0].fax == "+350.47272" - %s[0].email == "jimossi@sapphire.gi" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "FR-10a223e2e4cf0" - %s[0].name == "Tech Dept" - %s[0].organization == "Broadband Gibraltar Ltd" - %s[0].address == "Suite 9.5.1\nEuroport" - %s[0].city == "N/A" - %s[0].zip == "N/A" - %s[0].state == "" - %s[0].country_code == "GI" - %s[0].phone == "+350.47200" - %s[0].fax == "+350.47271" - %s[0].email == "tech@sapphire.gi" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1-a.sapphire.gi" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2-a.sapphire.gi" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.txt deleted file mode 100644 index 7ebfd1b1a..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.txt +++ /dev/null @@ -1,98 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D68296-LRCC -Domain Name:SAPPHIRE.GI -Created On:20-Dec-2004 13:34:34 UTC -Last Updated On:20-Dec-2008 19:25:54 UTC -Expiration Date:20-Dec-2009 13:34:34 UTC -Sponsoring Registrar:GibNet Registrar (R43-LRCC) -Status:OK -Registrant ID:FR-1103549674779 -Registrant Name:Jimmy Imossi -Registrant Organization:Broadband Gibraltar Limited -Registrant Street1:Suite 951 -Registrant Street2:Europort -Registrant Street3: -Registrant City:Gibraltar -Registrant State/Province: -Registrant Postal Code:NA -Registrant Country:GI -Registrant Phone:+350.47200 -Registrant Phone Ext.: -Registrant FAX:+350.47272 -Registrant FAX Ext.: -Registrant Email:jimossi@sapphire.gi -Admin ID:FR-1103549674779 -Admin Name:Jimmy Imossi -Admin Organization:Broadband Gibraltar Limited -Admin Street1:Suite 951 -Admin Street2:Europort -Admin Street3: -Admin City:Gibraltar -Admin State/Province: -Admin Postal Code:NA -Admin Country:GI -Admin Phone:+350.47200 -Admin Phone Ext.: -Admin FAX:+350.47272 -Admin FAX Ext.: -Admin Email:jimossi@sapphire.gi -Billing ID:FR-1103549674779 -Billing Name:Jimmy Imossi -Billing Organization:Broadband Gibraltar Limited -Billing Street1:Suite 951 -Billing Street2:Europort -Billing Street3: -Billing City:Gibraltar -Billing State/Province: -Billing Postal Code:NA -Billing Country:GI -Billing Phone:+350.47200 -Billing Phone Ext.: -Billing FAX:+350.47272 -Billing FAX Ext.: -Billing Email:jimossi@sapphire.gi -Tech ID:FR-10a223e2e4cf0 -Tech Name:Tech Dept -Tech Organization:Broadband Gibraltar Ltd -Tech Street1:Suite 9.5.1 -Tech Street2:Europort -Tech Street3: -Tech City:N/A -Tech State/Province: -Tech Postal Code:N/A -Tech Country:GI -Tech Phone:+350.47200 -Tech Phone Ext.: -Tech FAX:+350.47271 -Tech FAX Ext.: -Tech Email:tech@sapphire.gi -Name Server:NS1-A.SAPPHIRE.GI -Name Server:NS2-A.SAPPHIRE.GI -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected deleted file mode 100644 index 9fd9a5b38..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected +++ /dev/null @@ -1,100 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "nic.lc" - -#domain_id - %s == "D946482-LRCC" - - -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-12-08 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2008-12-08 19:25:09 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2009-12-08 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R144-LRCC" - %s.name == "NicLc Registrar" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "LC-54921" - %s[0].name == "Nic LC Admin" - %s[0].organization == "Nic LC" - %s[0].address == "#4 Colony House\nJohn Compton Hwy" - %s[0].city == "Castries" - %s[0].zip == "Not Provided" - %s[0].state == "Not Provided" - %s[0].country_code == "LC" - %s[0].phone == "+758.4520220" - %s[0].fax == "" - %s[0].email == "nic@nic.lc" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "LC-51893" - %s[0].name == "Nic LC Hostmaster" - %s[0].organization == "Nic LC" - %s[0].address == "#4 Colony House\nNot Provided" - %s[0].city == "Castries" - %s[0].zip == "Not Provided" - %s[0].state == "Not Provided" - %s[0].country_code == "LC" - %s[0].phone == "+758.4520220" - %s[0].fax == "" - %s[0].email == "hostmaster@nic.lc" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "LC-53407" - %s[0].name == "Nic LC Technical" - %s[0].organization == "Nic LC" - %s[0].address == "#4 Colony House\nNot Provided" - %s[0].city == "Castries" - %s[0].zip == "Not Provided" - %s[0].state == "Not Provided" - %s[0].country_code == "LC" - %s[0].phone == "+758.4520220" - %s[0].fax == "" - %s[0].email == "technical@nic.lc" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.ag" - %s[1] %CLASS{nameserver} - %s[1].name == "ns.patricklay.com" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.txt deleted file mode 100644 index 7f419aa14..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.txt +++ /dev/null @@ -1,83 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D946482-LRCC -Domain Name:NIC.LC -Created On:08-Dec-2002 00:00:00 UTC -Last Updated On:08-Dec-2008 19:25:09 UTC -Expiration Date:08-Dec-2009 00:00:00 UTC -Sponsoring Registrar:NicLc Registrar (R144-LRCC) -Status:OK -Registrant ID:LC-54921 -Registrant Name:Nic LC Admin -Registrant Organization:Nic LC -Registrant Street1:#4 Colony House -Registrant Street2:John Compton Hwy -Registrant Street3: -Registrant City:Castries -Registrant State/Province:Not Provided -Registrant Postal Code:Not Provided -Registrant Country:LC -Registrant Phone:+758.4520220 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant Email:nic@nic.lc -Admin ID:LC-51893 -Admin Name:Nic LC Hostmaster -Admin Organization:Nic LC -Admin Street1:#4 Colony House -Admin Street2:Not Provided -Admin Street3: -Admin City:Castries -Admin State/Province:Not Provided -Admin Postal Code:Not Provided -Admin Country:LC -Admin Phone:+758.4520220 -Admin Phone Ext.: -Admin FAX: -Admin FAX Ext.: -Admin Email:hostmaster@nic.lc -Tech ID:LC-53407 -Tech Name:Nic LC Technical -Tech Organization:Nic LC -Tech Street1:#4 Colony House -Tech Street2:Not Provided -Tech Street3: -Tech City:Castries -Tech State/Province:Not Provided -Tech Postal Code:Not Provided -Tech Country:LC -Tech Phone:+758.4520220 -Tech Phone Ext.: -Tech FAX: -Tech FAX Ext.: -Tech Email:technical@nic.lc -Name Server:NS1.NIC.AG -Name Server:NS.PATRICKLAY.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected deleted file mode 100644 index 1951ddb96..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.mn" - -#domain_id - %s == "D444956-LRCC" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-07 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-03-06 10:21:48 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-07 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R22-LRCC" - %s.name == "MarkMonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MNM-11332" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+165.03300100" - %s[0].fax == "+165.06188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MNM-11332" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+165.03300100" - %s[0].fax == "+165.06188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-33293" - %s[0].name == "Domain Admin" - %s[0].organization == "MarkMonitor" - %s[0].address == "391 N. Ancestor Place\nSuite 150" - %s[0].city == "Boise" - %s[0].zip == "83704" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.2083895740" - %s[0].fax == "+1.2083895771" - %s[0].email == "ccops@markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.txt deleted file mode 100644 index a78b46210..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.txt +++ /dev/null @@ -1,85 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D444956-LRCC -Domain Name:GOOGLE.MN -Created On:07-Apr-2003 00:00:00 UTC -Last Updated On:06-Mar-2013 10:21:48 UTC -Expiration Date:07-Apr-2014 00:00:00 UTC -Sponsoring Registrar:MarkMonitor, Inc. (R22-LRCC) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:MNM-11332 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+165.03300100 -Registrant Phone Ext.: -Registrant FAX:+165.06188571 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:MNM-11332 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+165.03300100 -Admin Phone Ext.: -Admin FAX:+165.06188571 -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Tech ID:mmr-33293 -Tech Name:Domain Admin -Tech Organization:MarkMonitor -Tech Street1:391 N. Ancestor Place -Tech Street2:Suite 150 -Tech Street3: -Tech City:Boise -Tech State/Province:CA -Tech Postal Code:83704 -Tech Country:US -Tech Phone:+1.2083895740 -Tech Phone Ext.: -Tech FAX:+1.2083895771 -Tech FAX Ext.: -Tech Email:ccops@markmonitor.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected deleted file mode 100644 index d1670fe99..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected +++ /dev/null @@ -1,73 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected deleted file mode 100644 index 16f52e5fb..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.sc" - -#domain_id - %s == "D47234-LRCC" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "RENEWPERIOD"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-02-03 19:19:12 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-02 10:20:29 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-03 19:19:12 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R22-LRCC" - %s.name == "MarkMonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "AGRS-129819" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "AGRS-129293" - %s[0].name == "CCOPS" - %s[0].organization == "MarkMonitor" - %s[0].address == "PMB 155\n10400 Overland Rd." - %s[0].city == "Boise" - %s[0].zip == "83709-1433" - %s[0].state == "ID" - %s[0].country_code == "US" - %s[0].phone == "+1.20838957" - %s[0].fax == "+1.20838957" - %s[0].email == "ccops@markmonitor.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-33293" - %s[0].name == "Domain Admin" - %s[0].organization == "MarkMonitor" - %s[0].address == "391 N. Ancestor Place\nSuite 150" - %s[0].city == "Boise" - %s[0].zip == "83704" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.2083895740" - %s[0].fax == "+1.2083895771" - %s[0].email == "ccops@markmonitor.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.txt deleted file mode 100644 index 03e2de8ea..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.txt +++ /dev/null @@ -1,86 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D47234-LRCC -Domain Name:GOOGLE.SC -Created On:03-Feb-2004 19:19:12 UTC -Last Updated On:02-Jan-2014 10:20:29 UTC -Expiration Date:03-Feb-2015 19:19:12 UTC -Sponsoring Registrar:MarkMonitor, Inc. (R22-LRCC) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Status:RENEWPERIOD -Registrant ID:AGRS-129819 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant Phone Ext.: -Registrant FAX:+1.6506188571 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:AGRS-129293 -Admin Name:CCOPS -Admin Organization:MarkMonitor -Admin Street1:PMB 155 -Admin Street2:10400 Overland Rd. -Admin Street3: -Admin City:Boise -Admin State/Province:ID -Admin Postal Code:83709-1433 -Admin Country:US -Admin Phone:+1.20838957 -Admin Phone Ext.: -Admin FAX:+1.20838957 -Admin FAX Ext.: -Admin Email:ccops@markmonitor.com -Tech ID:mmr-33293 -Tech Name:Domain Admin -Tech Organization:MarkMonitor -Tech Street1:391 N. Ancestor Place -Tech Street2:Suite 150 -Tech Street3: -Tech City:Boise -Tech State/Province:CA -Tech Postal Code:83704 -Tech Country:US -Tech Phone:+1.2083895740 -Tech Phone Ext.: -Tech FAX:+1.2083895771 -Tech FAX Ext.: -Tech Email:ccops@markmonitor.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected b/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.txt b/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected b/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected deleted file mode 100644 index 4d47ebed7..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.vc" - -#domain_id - %s == "D133753-LRCC" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-06-29 00:58:18 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-02-17 17:43:40 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-06-29 00:58:18 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R22-LRCC" - %s.name == "MarkMonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.txt b/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.txt deleted file mode 100644 index f4ca7e98c..000000000 --- a/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.txt +++ /dev/null @@ -1,100 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D133753-LRCC -Domain Name:GOOGLE.VC -Created On:29-Jun-2005 00:58:18 UTC -Last Updated On:17-Feb-2009 17:43:40 UTC -Expiration Date:29-Jun-2011 00:58:18 UTC -Sponsoring Registrar:MarkMonitor, Inc. (R22-LRCC) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:mmr-2383 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant Phone Ext.: -Registrant FAX:+1.6506188571 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:mmr-2383 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin Phone Ext.: -Admin FAX:+1.6506188571 -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Billing ID:mmr-32102 -Billing Name:domain admin -Billing Organization:DNStination, Inc. -Billing Street1:303 Second Street -Billing Street2:Suite 800N -Billing Street3: -Billing City:San Francisco -Billing State/Province:CA -Billing Postal Code:94107 -Billing Country:US -Billing Phone:+1.4155319335 -Billing Phone Ext.: -Billing FAX:+1.2083895740 -Billing FAX Ext.: -Billing Email:admin@dnstinations.com -Tech ID:mmr-2383 -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech Street2: -Tech Street3: -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech Phone Ext.: -Tech FAX:+1.6506188571 -Tech FAX Ext.: -Tech Email:dns-admin@google.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.afilias.net/info/status_available.expected b/spec/fixtures/responses/whois.afilias.net/info/status_available.expected deleted file mode 100644 index f535421bb..000000000 --- a/spec/fixtures/responses/whois.afilias.net/info/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.afilias.net/info/status_available.txt b/spec/fixtures/responses/whois.afilias.net/info/status_available.txt deleted file mode 100644 index 6511f1e18..000000000 --- a/spec/fixtures/responses/whois.afilias.net/info/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ -NOT FOUND ->>> Last update of WHOIS database: 2015-12-01T22:38:39Z <<< - -Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. diff --git a/spec/fixtures/responses/whois.afilias.net/info/status_registered.expected b/spec/fixtures/responses/whois.afilias.net/info/status_registered.expected deleted file mode 100644 index 5d1eb99f3..000000000 --- a/spec/fixtures/responses/whois.afilias.net/info/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.info" - -#domain_id - %s == "D37288-LRMS" - - -#status - %s == ["clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-07-31 23:57:50 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-06-29 09:26:47 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-07-31 23:57:50 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.afilias.net/info/status_registered.txt b/spec/fixtures/responses/whois.afilias.net/info/status_registered.txt deleted file mode 100644 index c91d6e888..000000000 --- a/spec/fixtures/responses/whois.afilias.net/info/status_registered.txt +++ /dev/null @@ -1,74 +0,0 @@ -Domain Name: GOOGLE.INFO -Domain ID: D37288-LRMS -WHOIS Server: -Referral URL: http://www.markmonitor.com -Updated Date: 2015-06-29T09:26:47Z -Creation Date: 2001-07-31T23:57:50Z -Registry Expiry Date: 2016-07-31T23:57:50Z -Sponsoring Registrar: MarkMonitor Inc. -Sponsoring Registrar IANA ID: 292 -Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited -Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited -Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited -Registrant ID: mmr-32097 -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6506234000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Admin ID: mmr-32097 -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Tech ID: mmr-32097 -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6506234000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Billing ID: mmr-32097 -Billing Name: DNS Admin -Billing Organization: Google Inc. -Billing Street: 1600 Amphitheatre Parkway -Billing City: Mountain View -Billing State/Province: CA -Billing Postal Code: 94043 -Billing Country: US -Billing Phone: +1.6506234000 -Billing Phone Ext: -Billing Fax: +1.6506188571 -Billing Fax Ext: -Billing Email: dns-admin@google.com -Name Server: NS1.GOOGLE.COM -Name Server: NS2.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-12-01T19:20:12Z <<< - -"For more information on Whois status codes, please visit https://icann.org/epp" - -Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. diff --git a/spec/fixtures/responses/whois.ai/ai/status_available.expected b/spec/fixtures/responses/whois.ai/ai/status_available.expected deleted file mode 100644 index 982cebd7d..000000000 --- a/spec/fixtures/responses/whois.ai/ai/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ai/ai/status_available.txt b/spec/fixtures/responses/whois.ai/ai/status_available.txt deleted file mode 100644 index e364bae04..000000000 --- a/spec/fixtures/responses/whois.ai/ai/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain u34jedzcq.ai not registred. -If you would like to register this, or any .ai domain, go to http://whois.ai diff --git a/spec/fixtures/responses/whois.ai/ai/status_registered.expected b/spec/fixtures/responses/whois.ai/ai/status_registered.expected deleted file mode 100644 index c9b1eeb35..000000000 --- a/spec/fixtures/responses/whois.ai/ai/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.ai/ai/status_registered.txt b/spec/fixtures/responses/whois.ai/ai/status_registered.txt deleted file mode 100644 index fefa9a2ad..000000000 --- a/spec/fixtures/responses/whois.ai/ai/status_registered.txt +++ /dev/null @@ -1,59 +0,0 @@ -DOMAIN INFORMATION - - Complete Domain Name........: google.ai -Organization Using Domain Name - Organization Name..........: Google Inc. - Street Address.............: 1600 Amphitheatre Parkway - City.......................: Mountain View - State......................: CA - Postal Code................: 94043 - Country....................: US -Administrative Contact - NIC Handle (if known)......: - (I)ndividual (R)ole........: R - Name (Last, First).........: DNS Admin - Organization Name..........: Google Inc. - Street Address.............: 1600 Amphitheatre Parkway - City.......................: Mountain View - State......................: CA - Postal Code................: 94043 - Country....................: US - Phone Number...............: +1.6502530000 - Fax Number.................: +1.6506188571 - E-Mailbox..................: dns-admin@google.com -Technical Contact - NIC Handle (if known)......: - (I)ndividual (R)ole........: R - Name (Last, First).........: Administrator, Domain - Organization Name..........: MarkMonitor - Street Address.............: 391 N. Ancestor Pl - City.......................: Boise - State......................: ID - Postal Code................: 83704 - Country....................: US - Phone Number...............: +1.2083895740 - Fax Number.................: +1.2083895771 - E-Mailbox..................: ccops@markmonitor.com -Billing Contact - NIC Handle (if known)......: - (I)ndividual (R)ole........: R - Name (Last, First).........: CCOPSBilling - Organization Name..........: MarkMonitor - Street Address.............: 391 N. Ancestor Pl - City.......................: Boise - State......................: ID - Postal Code................: 83704 - Country....................: US - Phone Number...............: +1.2083895740 - Fax Number.................: +1.2083895771 - E-Mailbox..................: ccopsbilling@markmonitor.com -Nameservers - Primary Server Hostname....: ns1.google.com - Primary Server Netaddress..: - Secondary Server Hostname..: ns2.google.com - Secondary Server Netaddress: - Third Server Hostname......: ns3.google.com - Fourth Server Hostname.....: ns4.google.com - - -Last paid by: ccops@markmonitor.com diff --git a/spec/fixtures/responses/whois.amnic.net/am/status_available.expected b/spec/fixtures/responses/whois.amnic.net/am/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.amnic.net/am/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.amnic.net/am/status_available.txt b/spec/fixtures/responses/whois.amnic.net/am/status_available.txt deleted file mode 100644 index 05ec13dd4..000000000 --- a/spec/fixtures/responses/whois.amnic.net/am/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -% -%AM TLD whois server #1 -% - -No match - diff --git a/spec/fixtures/responses/whois.amnic.net/am/status_registered.expected b/spec/fixtures/responses/whois.amnic.net/am/status_registered.expected deleted file mode 100644 index 414714aaa..000000000 --- a/spec/fixtures/responses/whois.amnic.net/am/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-05} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-13} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-15} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.amnic.net/am/status_registered.txt b/spec/fixtures/responses/whois.amnic.net/am/status_registered.txt deleted file mode 100644 index 46e88585f..000000000 --- a/spec/fixtures/responses/whois.amnic.net/am/status_registered.txt +++ /dev/null @@ -1,44 +0,0 @@ -% -%AM TLD whois server #1 -% - - Domain name: google.am - Registrar: abcdomain - Status: active - - Registrant: - Google, Inc. - 1600 Amphitheatre Parkway - Mountain View, CA, 94043 - US - - Administrative contact: - Google, Inc. - Google, Inc. - 1600 Amphitheatre Parkway - Mountain View, CA, 94043 - US - ccops@markmonitor.com - 1 6502530000 - 1 6506188571 - - Technical contact: - DNS Admin - Google, Inc. - 1600 Amphitheatre Parkway - Mountain View, CA, 94043 - US - ccops@markmonitor.com - 1 6502530000 - 1 6506188571 - - DNS servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - Registered: 1999-06-05 - Last modified: 2014-02-13 - Expires: 2014-04-15 - diff --git a/spec/fixtures/responses/whois.ascio.com/status_available.expected b/spec/fixtures/responses/whois.ascio.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.ascio.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ascio.com/status_available.txt b/spec/fixtures/responses/whois.ascio.com/status_available.txt deleted file mode 100644 index 2e1c99af9..000000000 --- a/spec/fixtures/responses/whois.ascio.com/status_available.txt +++ /dev/null @@ -1,24 +0,0 @@ -The data in Ascio Technologies' WHOIS database is provided -by Ascio Technologies for information purposes only. By submitting -a WHOIS query, you agree that you will use this data only for lawful -purpose. In addition, you agree not to: -(a) use the data to allow, enable, or otherwise support any marketing -activities, regardless of the medium used. Such media include but are -not limited to e-mail, telephone, facsimile, postal mail, SMS, and -wireless alerts; or -(b) use the data to enable high volume, automated, electronic processes -that sendqueries or data to the systems of any Registry Operator or -ICANN-Accredited registrar, except as reasonably necessary to register -domain names or modify existing registrations. -(c) sell or redistribute the data except insofar as it has been -incorporated into a value-added product or service that does not permit -the extraction of a substantial portion of the bulk data from the value-added -product or service for use by other parties. -Ascio Technologies reserves the right to modify these terms at any time. -Ascio Technologies cannot guarantee the accuracy of the data provided. -By accessing and using Ascio Technologies WHOIS service, you agree to these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT -INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -Object not found diff --git a/spec/fixtures/responses/whois.ascio.com/status_registered.expected b/spec/fixtures/responses/whois.ascio.com/status_registered.expected deleted file mode 100644 index 73c0bca41..000000000 --- a/spec/fixtures/responses/whois.ascio.com/status_registered.expected +++ /dev/null @@ -1,98 +0,0 @@ -#domain - %s == "ascio.com" - -#domain_id - %s == "" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-03-01 14:11:50 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-02 00:23:21 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-31 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "106" - %s.name == "Ascio Technologies, Inc" - %s.organization == "Ascio Technologies, Inc" - %s.url == "http://www.ascio.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Hostmaster Ascio" - %s[0].organization == "ASCIO Technologies Inc." - %s[0].address == "Islands Brygge 55" - %s[0].city == "Copenhagen" - %s[0].zip == "2300" - %s[0].state == "S" - %s[0].country_code == "DK" - %s[0].phone == "" - %s[0].fax == "" - %s[0].email == "" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "Technical Hostmaster" - %s[0].organization == "Speednames" - %s[0].address == "Rejsbygade 8a" - %s[0].city == "Copenhagen" - %s[0].zip == "1759" - %s[0].state == "DK" - %s[0].country_code == "DK" - %s[0].phone == "+45.33886300" - %s[0].fax == "+45.33886301" - %s[0].email == "hostmaster@speednames.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "Netnames Hostmaster" - %s[0].organization == "Group NBT" - %s[0].address == "3rd Floor Prospero House, 241 Borough High St." - %s[0].city == "London" - %s[0].zip == "SE1 1GA" - %s[0].state == "" - %s[0].country_code == "GB" - %s[0].phone == "+44.2070159370" - %s[0].fax == "+44.2070159375" - %s[0].email == "hostmaster@netnames.net" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.ascio.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.ascio.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.ascio.net" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.ascio.net" diff --git a/spec/fixtures/responses/whois.ascio.com/status_registered.txt b/spec/fixtures/responses/whois.ascio.com/status_registered.txt deleted file mode 100644 index b9afb0aa0..000000000 --- a/spec/fixtures/responses/whois.ascio.com/status_registered.txt +++ /dev/null @@ -1,84 +0,0 @@ -The data in Ascio Technologies' WHOIS database is provided -by Ascio Technologies for information purposes only. By submitting -a WHOIS query, you agree that you will use this data only for lawful -purpose. In addition, you agree not to: -(a) use the data to allow, enable, or otherwise support any marketing -activities, regardless of the medium used. Such media include but are -not limited to e-mail, telephone, facsimile, postal mail, SMS, and -wireless alerts; or -(b) use the data to enable high volume, automated, electronic processes -that sendqueries or data to the systems of any Registry Operator or -ICANN-Accredited registrar, except as reasonably necessary to register -domain names or modify existing registrations. -(c) sell or redistribute the data except insofar as it has been -incorporated into a value-added product or service that does not permit -the extraction of a substantial portion of the bulk data from the value-added -product or service for use by other parties. -Ascio Technologies reserves the right to modify these terms at any time. -Ascio Technologies cannot guarantee the accuracy of the data provided. -By accessing and using Ascio Technologies WHOIS service, you agree to these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT -INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -Domain Name: ascio.com -Registry Domain ID: -Registrar WHOIS Server: whois.ascio.com -Registrar URL: http://www.ascio.com -Updated Date: 2013-06-02T00:23:21Z -Creation Date: 2005-03-01T14:11:50Z -Registrar Registration Expiration Date: 2014-05-31T00:00:00Z -Registrar: Ascio Technologies, Inc -Registrar IANA ID: 106 -Registrar Abuse Contact Email: abuse@ascio.com -Registrar Abuse Contact Phone: +44.2070159370 -Reseller: -Domain Status: TRANSFER_LOCK -Domain Status: UPDATE_LOCK -Registry Registrant ID: -Registrant Name: Hostmaster Ascio -Registrant Organization: ASCIO Technologies Inc. -Registrant Street: Islands Brygge 55 -Registrant City: Copenhagen -Registrant State/Province: S -Registrant Postal Code: 2300 -Registrant Country: DK -Registrant Phone: -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: -Registry Admin ID: -Admin Name: Technical Hostmaster -Admin Organization: Speednames -Admin Street: Rejsbygade 8a -Admin City: Copenhagen -Admin State/Province: DK -Admin Postal Code: 1759 -Admin Country: DK -Admin Phone: +45.33886300 -Admin Phone Ext: -Admin Fax: +45.33886301 -Admin Fax Ext: -Admin Email: hostmaster@speednames.com -Registry Tech ID: -Tech Name: Netnames Hostmaster -Tech Organization: Group NBT -Tech Street: 3rd Floor Prospero House -Tech Street: 241 Borough High St. -Tech City: London -Tech State/Province: -Tech Postal Code: SE1 1GA -Tech Country: GB -Tech Phone: +44.2070159370 -Tech Phone Ext: -Tech Fax: +44.2070159375 -Tech Fax Ext: -Tech Email: hostmaster@netnames.net -Name Server: ns1.ascio.net -Name Server: ns2.ascio.net -Name Server: ns3.ascio.net -Name Server: ns4.ascio.net -DNSSEC: -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2013-11-26T08:46:44 UTC <<< diff --git a/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.expected b/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.expected deleted file mode 100644 index c40278c86..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.expected +++ /dev/null @@ -1,8 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "MAISON DE BIEN HOTELIERS ET EQ Farhat Riadh" - %s[0].created_on %TIME{2013-12-13 20:00:57} - %s[0].updated_on == nil diff --git a/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.txt b/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.txt deleted file mode 100644 index 3a118eed0..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.txt +++ /dev/null @@ -1,34 +0,0 @@ -All rights reserved. -Copyright "Tunisian Internet Agency - http://whois.tn" - -Domain : equipements-pro.com.tn -Acivated : 2013-12-13 22:15:08 -Registrar : I-HOSTERS - -NameServers : ns.steerbook.com. [91.121.103.174] -NameServers : dns.steerbook.com. [46.105.59.229] - -Owner Name : MAISON DE BIEN HOTELIERS ET EQ Farhat Riadh -Owner Address : complexe commercial Boukris 2 rue Om Larayes -Owner Tel : 98639096 -Owner Fax : -Owner Email : mbh@tunet.tn -Owner Created : 2013-12-13 20:00:57 -Owner Updated : None - -Admin. Name : MAISON DE BIEN HOTELIERS ET EQ Farhat Riadh -Admin. Address : complexe commercial Boukris 2 rue Om Larayes -Admin. Tel : 98639096 -Admin. Fax : -Admin. Email : mbh@tunet.tn -Admin. Created : 2013-12-13 20:00:57 -Admin. Updated : None - -Tech. Name : MAISON DE BIEN HOTELIERS ET EQ Farhat Riadh -Tech. Address : complexe commercial Boukris 2 rue Om Larayes -Tech. Tel : 98639096 -Tech. Fax : -Tech. Email : mbh@tunet.tn -Tech. Created : 2013-12-13 20:00:57 -Tech. Updated : None - diff --git a/spec/fixtures/responses/whois.ati.tn/tn/status_available.expected b/spec/fixtures/responses/whois.ati.tn/tn/status_available.expected deleted file mode 100644 index 9a978bc9e..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "All rights reserved.\nCopyright \"Tunisian Internet Agency - http://whois.tn\"" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ati.tn/tn/status_available.txt b/spec/fixtures/responses/whois.ati.tn/tn/status_available.txt deleted file mode 100644 index 7f6219483..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ -All rights reserved. -Copyright "Tunisian Internet Agency - http://whois.tn" - -Domain u34jedzcq.tn not found \ No newline at end of file diff --git a/spec/fixtures/responses/whois.ati.tn/tn/status_registered.expected b/spec/fixtures/responses/whois.ati.tn/tn/status_registered.expected deleted file mode 100644 index 72ee749cf..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/status_registered.expected +++ /dev/null @@ -1,115 +0,0 @@ -#disclaimer - %s == "All rights reserved.\nCopyright \"Tunisian Internet Agency - http://whois.tn\"" - - -#domain - %s == "google.tn" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-05-14 00:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "3S Global Net" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "GOOGLE Inc" - %s[0].organization == nil - %s[0].address == "PO BOX 2050 Moutain view CA 94042 USA" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+1 925 685 9600" - %s[0].fax == "+1 925 685 9620" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2009-05-14 00:00:00} - %s[0].updated_on %TIME{2010-07-18 00:00:00} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "GOOGLE Inc" - %s[0].organization == nil - %s[0].address == "PO BOX 2050 Moutain view CA 94042 USA" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+1 925 685 9600" - %s[0].fax == "+1 925 685 9620" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2009-05-14 00:00:00} - %s[0].updated_on %TIME{2010-07-18 00:00:00} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "GOOGLE Inc" - %s[0].organization == nil - %s[0].address == "PO BOX 2050 Moutain view CA 94042 USA" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+1 925 685 9600" - %s[0].fax == "+1 925 685 9620" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2009-05-14 00:00:00} - %s[0].updated_on %TIME{2010-07-18 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == "216.239.32.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == "216.239.34.10" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == "216.239.36.10" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == "216.239.38.10" diff --git a/spec/fixtures/responses/whois.ati.tn/tn/status_registered.txt b/spec/fixtures/responses/whois.ati.tn/tn/status_registered.txt deleted file mode 100644 index 1a5b6ae87..000000000 --- a/spec/fixtures/responses/whois.ati.tn/tn/status_registered.txt +++ /dev/null @@ -1,36 +0,0 @@ -All rights reserved. -Copyright "Tunisian Internet Agency - http://whois.tn" - -Domain : google.tn -Acivated : 2009-05-14 00:00:00 -Registrar : 3S Global Net - -NameServers : ns1.google.com. [216.239.32.10] -NameServers : ns2.google.com. [216.239.34.10] -NameServers : ns3.google.com. [216.239.36.10] -NameServers : ns4.google.com. [216.239.38.10] - -Owner Name : GOOGLE Inc -Owner Address : PO BOX 2050 Moutain view CA 94042 USA -Owner Tel : +1 925 685 9600 -Owner Fax : +1 925 685 9620 -Owner Email : dns-admin@google.com -Owner Created : 2009-05-14 00:00:00 -Owner Updated : 2010-07-18 00:00:00 - -Admin. Name : GOOGLE Inc -Admin. Address : PO BOX 2050 Moutain view CA 94042 USA -Admin. Tel : +1 925 685 9600 -Admin. Fax : +1 925 685 9620 -Admin. Email : dns-admin@google.com -Admin. Created : 2009-05-14 00:00:00 -Admin. Updated : 2010-07-18 00:00:00 - -Tech. Name : GOOGLE Inc -Tech. Address : PO BOX 2050 Moutain view CA 94042 USA -Tech. Tel : +1 925 685 9600 -Tech. Fax : +1 925 685 9620 -Tech. Email : dns-admin@google.com -Tech. Created : 2009-05-14 00:00:00 -Tech. Updated : 2010-07-18 00:00:00 - diff --git a/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.expected b/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.expected deleted file mode 100644 index e91d39c13..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["serverHold (Expired)", "serverUpdateProhibited (Expired)"] diff --git a/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.txt b/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.txt deleted file mode 100644 index 028d12dba..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.txt +++ /dev/null @@ -1,22 +0,0 @@ -Domain Name: pinewood.com.au -Last Modified: 11-Oct-2010 00:00:33 UTC -Registrar ID: Melbourne IT -Registrar Name: Melbourne IT -Status: serverHold (Expired) -Status: serverUpdateProhibited (Expired) - -Registrant: PINEWOOD PROLAB PTY LTD -Registrant ID: ACN 120 562 905 -Eligibility Type: Company - -Registrant Contact ID: Z116060879386417 -Registrant Contact Name: PETER TONOLI -Registrant Contact Email: Visit whois.ausregistry.com.au for Web based WhoIs - -Tech Contact ID: Z116060879386417 -Tech Contact Name: PETER TONOLI -Tech Contact Email: Visit whois.ausregistry.com.au for Web based WhoIs - -Name Server: ns1.dreamhost.com -Name Server: ns2.dreamhost.com -Name Server: ns3.dreamhost.com diff --git a/spec/fixtures/responses/whois.audns.net.au/au/status_available.expected b/spec/fixtures/responses/whois.audns.net.au/au/status_available.expected deleted file mode 100644 index 25693bde2..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.audns.net.au/au/status_available.txt b/spec/fixtures/responses/whois.audns.net.au/au/status_available.txt deleted file mode 100644 index 3831b4b5b..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No Data Found diff --git a/spec/fixtures/responses/whois.audns.net.au/au/status_registered.expected b/spec/fixtures/responses/whois.audns.net.au/au/status_registered.expected deleted file mode 100644 index ae9bde68c..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/status_registered.expected +++ /dev/null @@ -1,94 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.com.au" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["clientDeleteProhibited", "clientUpdateProhibited", "serverDeleteProhibited (Protected by .auLOCKDOWN)", "serverUpdateProhibited (Protected by .auLOCKDOWN)"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-05 04:03:08 UTC} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == "MARKMONITOR" - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MMR-122026" - %s[0].name == "Domain Administrator" - %s[0].organization == "Google INC" - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit whois.ausregistry.com.au for Web based WhoIs" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MMR-87489" - %s[0].name == "DNS Admin" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit whois.ausregistry.com.au for Web based WhoIs" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.audns.net.au/au/status_registered.txt b/spec/fixtures/responses/whois.audns.net.au/au/status_registered.txt deleted file mode 100644 index 3a2f77f79..000000000 --- a/spec/fixtures/responses/whois.audns.net.au/au/status_registered.txt +++ /dev/null @@ -1,26 +0,0 @@ -Domain Name: google.com.au -Last Modified: 05-Jun-2013 04:03:08 UTC -Registrar ID: MARKMONITOR -Registrar Name: MarkMonitor Inc. -Status: clientDeleteProhibited -Status: clientUpdateProhibited -Status: serverDeleteProhibited (Protected by .auLOCKDOWN) -Status: serverUpdateProhibited (Protected by .auLOCKDOWN) - -Registrant: Google INC -Eligibility Type: Trademark Owner -Eligibility Name: GOOGLE -Eligibility ID: TM 788234 - -Registrant Contact ID: MMR-122026 -Registrant Contact Name: Domain Administrator -Registrant Contact Email: Visit whois.ausregistry.com.au for Web based WhoIs - -Tech Contact ID: MMR-87489 -Tech Contact Name: DNS Admin -Tech Contact Email: Visit whois.ausregistry.com.au for Web based WhoIs - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com diff --git a/spec/fixtures/responses/whois.ax/ax/status_available.expected b/spec/fixtures/responses/whois.ax/ax/status_available.expected deleted file mode 100644 index 703fd401e..000000000 --- a/spec/fixtures/responses/whois.ax/ax/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ax/ax/status_available.txt b/spec/fixtures/responses/whois.ax/ax/status_available.txt deleted file mode 100644 index 69a499fa9..000000000 --- a/spec/fixtures/responses/whois.ax/ax/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -swhoisd 3.0.5 - -Welcome to whois.ax, the official whois service for the .ax ccTLD. -Please visit http://www.ax for more information about the .ax registry, -policies and registration application. - -Searching for u34jedzcq.ax. -No records matching u34jedzcq.ax found. - diff --git a/spec/fixtures/responses/whois.ax/ax/status_registered.expected b/spec/fixtures/responses/whois.ax/ax/status_registered.expected deleted file mode 100644 index c361d8c86..000000000 --- a/spec/fixtures/responses/whois.ax/ax/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-08-03} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns.regeringen.ax" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.regeringen.ax" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.alcom.aland.fi" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.alcom.aland.fi" diff --git a/spec/fixtures/responses/whois.ax/ax/status_registered.txt b/spec/fixtures/responses/whois.ax/ax/status_registered.txt deleted file mode 100644 index f846a29f5..000000000 --- a/spec/fixtures/responses/whois.ax/ax/status_registered.txt +++ /dev/null @@ -1,28 +0,0 @@ -swhoisd 3.0.5 - -Welcome to whois.ax, the official whois service for the .ax ccTLD. -Please visit http://www.ax for more information about the .ax registry, -policies and registration application. - -Searching for regeringen.ax. Found 1 record(s) matching regeringen.ax. - -Domain: (Handle regeringen) -Domain Name: regeringen.ax -Name: Ålands landskapsregering -Organization: 0145076-7 -Administrative Contact: IT-enheten -Email address: itsupport@regeringen.ax -Address: PB 1060 -Address: 22111 MARIEHAMN -Country: AX -Telephone: 25000 -Created: Thu Aug 03 2006 -Name Server 1: ns.regeringen.ax -Name Server 2: ns2.regeringen.ax -Name Server 3: ns2.alcom.aland.fi -Name Server 4: ns3.alcom.aland.fi - --- -Service provided by Alands Telekommunikation Ab on behalf of -the Parliament of Aland. - diff --git a/spec/fixtures/responses/whois.biz/biz/status_available.expected b/spec/fixtures/responses/whois.biz/biz/status_available.expected deleted file mode 100644 index 3f36f2dd8..000000000 --- a/spec/fixtures/responses/whois.biz/biz/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == "u34jedzcq.biz" - -#domain_id - %s == nil - - -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.biz/biz/status_available.txt b/spec/fixtures/responses/whois.biz/biz/status_available.txt deleted file mode 100644 index 4193786aa..000000000 --- a/spec/fixtures/responses/whois.biz/biz/status_available.txt +++ /dev/null @@ -1,25 +0,0 @@ -Not found: u34jedzcq.biz - ->>>> Whois database was last updated on: Wed Jan 22 22:04:31 GMT 2014 <<<< - -NeuStar, Inc., the Registry Operator for .BIZ, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -NeuStar registry database. NeuStar makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without NeuStar's prior written permission. NeuStar reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.biz/biz/status_registered.expected b/spec/fixtures/responses/whois.biz/biz/status_registered.expected deleted file mode 100644 index e0538c24e..000000000 --- a/spec/fixtures/responses/whois.biz/biz/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "google.biz" - -#domain_id - %s == "D2835288-BIZ" - - -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-03-27 00:01:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-02-22 10:23:59 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-26 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MARKMONITOR, INC." - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MMR-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MMR-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MMR-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.biz/biz/status_registered.txt b/spec/fixtures/responses/whois.biz/biz/status_registered.txt deleted file mode 100644 index 51e4ed199..000000000 --- a/spec/fixtures/responses/whois.biz/biz/status_registered.txt +++ /dev/null @@ -1,90 +0,0 @@ -Domain Name: GOOGLE.BIZ -Domain ID: D2835288-BIZ -Sponsoring Registrar: MARKMONITOR, INC. -Sponsoring Registrar IANA ID: 292 -Registrar URL (registration services): whois.markmonitor.com -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Registrant ID: MMR-87489 -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Address1: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.6502530000 -Registrant Facsimile Number: +1.6502530001 -Registrant Email: dns-admin@google.com -Administrative Contact ID: MMR-87489 -Administrative Contact Name: DNS Admin -Administrative Contact Organization: Google Inc. -Administrative Contact Address1: 1600 Amphitheatre Parkway -Administrative Contact City: Mountain View -Administrative Contact State/Province: CA -Administrative Contact Postal Code: 94043 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.6502530000 -Administrative Contact Facsimile Number: +1.6502530001 -Administrative Contact Email: dns-admin@google.com -Billing Contact ID: MMR-87489 -Billing Contact Name: DNS Admin -Billing Contact Organization: Google Inc. -Billing Contact Address1: 1600 Amphitheatre Parkway -Billing Contact City: Mountain View -Billing Contact State/Province: CA -Billing Contact Postal Code: 94043 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.6502530000 -Billing Contact Facsimile Number: +1.6502530001 -Billing Contact Email: dns-admin@google.com -Technical Contact ID: MMR-87489 -Technical Contact Name: DNS Admin -Technical Contact Organization: Google Inc. -Technical Contact Address1: 1600 Amphitheatre Parkway -Technical Contact City: Mountain View -Technical Contact State/Province: CA -Technical Contact Postal Code: 94043 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.6502530000 -Technical Contact Facsimile Number: +1.6502530001 -Technical Contact Email: dns-admin@google.com -Name Server: NS1.GOOGLE.COM -Name Server: NS2.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -Created by Registrar: ENOM, INC. -Last Updated by Registrar: MARKMONITOR, INC. -Last Transferred Date: Fri Jul 22 16:43:18 GMT 2005 -Domain Registration Date: Wed Mar 27 00:01:00 GMT 2002 -Domain Expiration Date: Wed Mar 26 23:59:59 GMT 2014 -Domain Last Updated Date: Fri Feb 22 10:23:59 GMT 2013 - ->>>> Whois database was last updated on: Wed Jan 22 22:05:02 GMT 2014 <<<< - -NeuStar, Inc., the Registry Operator for .BIZ, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -NeuStar registry database. NeuStar makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without NeuStar's prior written permission. NeuStar reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.expected b/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.txt b/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.txt deleted file mode 100644 index 0417e3cc7..000000000 --- a/spec/fixtures/responses/whois.bnnic.bn/bn/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Domain Not Found diff --git a/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.expected b/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.expected deleted file mode 100644 index 98db601ce..000000000 --- a/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.expected +++ /dev/null @@ -1,42 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-10-07 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-12-17 18:07:42} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-10-07 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "dns.brunet.bn" - %s[0].ipv4 == "61.6.254.147" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.brunet.bn" - %s[1].ipv4 == "61.6.254.148" - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "dns3.brunet.bn" - %s[2].ipv4 == "61.6.254.166" - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "dns4.brunet.bn" - %s[3].ipv4 == "61.6.254.168" - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.txt b/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.txt deleted file mode 100644 index 9ea6ce9a9..000000000 --- a/spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.txt +++ /dev/null @@ -1,50 +0,0 @@ - ----------------------------------------------------------------------- - BNNIC WHOIS Server ----------------------------------------------------------------------- - -The following data is provided for information purposes only. - -Registrar: TELEKOM BRUNEI BERHAD - - Domain Name: TELBRU.COM.BN - Creation Date: 07-Oct-2014 00:00:00 - Modified Date: 17-Dec-2014 18:07:42 - Expiration Date: 07-Oct-2015 00:00:00 - Domain Status: ok - - - Registrant: - - Name: BruNet| Telekom Brunei Berhad - (BNC875T) - - - - Administrative Contact: - - Name: BruNet| Telekom Brunei Berhad - (BNC875T) - - - - Technical Contact: - - Name: BruNet| Telekom Brunei Berhad - (BNC875T) - Email: info@telbru.com.bn - - - - Name Servers: - DNS.BRUNET.BN (61.6.254.147) - DNS2.BRUNET.BN (61.6.254.148, 61.6.254.149) - DNS3.BRUNET.BN (61.6.254.166) - DNS4.BRUNET.BN (61.6.254.168, 61.6.254.167) - - - - - - - - - - diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_missing.expected b/spec/fixtures/responses/whois.cat/cat/property_status_missing.expected deleted file mode 100644 index 095f57bd5..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_missing.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == nil diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_missing.txt b/spec/fixtures/responses/whois.cat/cat/property_status_missing.txt deleted file mode 100644 index 95f5b8b45..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_missing.txt +++ /dev/null @@ -1,18 +0,0 @@ -% puntCAT Whois Server Copyright (C) 2007 Fundacio puntCAT -% -% NOTICE: Access to puntCAT Whois information is provided to assist in -% determining the contents of an object name registration record in the -% puntCAT database. The data in this record is provided by puntCAT for -% informational purposes only, and puntCAT does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of puntCAT or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. puntCAT reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -% Object "u34jedzcq.cat" NOT FOUND. diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_multiple.expected b/spec/fixtures/responses/whois.cat/cat/property_status_multiple.expected deleted file mode 100644 index b386a1fe1..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["clientTransferProhibited", "clientDeleteProhibited"] diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_multiple.txt b/spec/fixtures/responses/whois.cat/cat/property_status_multiple.txt deleted file mode 100644 index 6d969d512..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_multiple.txt +++ /dev/null @@ -1,83 +0,0 @@ -% puntCAT Whois Server Copyright (C) 2007 Fundacio puntCAT -% -% NOTICE: Access to puntCAT Whois information is provided to assist in -% determining the contents of an object name registration record in the -% puntCAT database. The data in this record is provided by puntCAT for -% informational purposes only, and puntCAT does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of puntCAT or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. puntCAT reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -Domain ID: REG-D42136 -Domain Name: abril.cat -Domain Name ACE: abril.cat -Domain Language: ca -Registrar ID: R-2002 (Entorno Digital) -Created On: 2006-04-22 09:48:30 GMT -Last Updated On: 2011-01-12 16:50:09 GMT -Expiration Date: 2011-04-22 09:48:30 GMT -Status: clientTransferProhibited, clientDeleteProhibited -Registrant ID: edig-001455 -Registrant Name: Amadeu Abril i Abril -Registrant Organization: -Registrant Street: Carrer del carme 47 -Registrant City: Barcelona -Registrant State/Province: -Registrant Postal Code: 08001 -Registrant Country: ES -Registrant Phone: +34.932701520 -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: Amadeu@abril.info -Admin ID: ento0027519 -Admin Name: Amadeu Abril i Abril -Admin Organization: -Admin Street: Carrer del Carme 47 -Admin City: Barcelona -Admin State/Province: BARCELONA -Admin Postal Code: 08001 -Admin Country: ES -Admin Phone: +34.932701520 -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: dominisadmin@mac.com -Tech ID: ento0027519 -Tech Name: Amadeu Abril i Abril -Tech Organization: -Tech Street: Carrer del Carme 47 -Tech City: Barcelona -Tech State/Province: BARCELONA -Tech Postal Code: 08001 -Tech Country: ES -Tech Phone: +34.932701520 -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: dominisadmin@mac.com -Billing ID: ento0027519 -Billing Name: Amadeu Abril i Abril -Billing Organization: -Billing Street: Carrer del Carme 47 -Billing City: Barcelona -Billing State/Province: BARCELONA -Billing Postal Code: 08001 -Billing Country: ES -Billing Phone: +34.932701520 -Billing Phone Ext: -Billing Fax: -Billing Fax Ext: -Billing Email: dominisadmin@mac.com -Name Server: ns14.zoneedit.com -Name Server ACE: ns14.zoneedit.com -Name Server: ns12.zoneedit.com -Name Server ACE: ns12.zoneedit.com - diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_ok.expected b/spec/fixtures/responses/whois.cat/cat/property_status_ok.expected deleted file mode 100644 index ff6bdbc87..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_ok.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["ok"] diff --git a/spec/fixtures/responses/whois.cat/cat/property_status_ok.txt b/spec/fixtures/responses/whois.cat/cat/property_status_ok.txt deleted file mode 100644 index f4612142b..000000000 --- a/spec/fixtures/responses/whois.cat/cat/property_status_ok.txt +++ /dev/null @@ -1,83 +0,0 @@ -% puntCAT Whois Server Copyright (C) 2007 Fundacio puntCAT -% -% NOTICE: Access to puntCAT Whois information is provided to assist in -% determining the contents of an object name registration record in the -% puntCAT database. The data in this record is provided by puntCAT for -% informational purposes only, and puntCAT does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of puntCAT or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. puntCAT reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -Domain ID: REG-D3862 -Domain Name: gencat.cat -Domain Name ACE: gencat.cat -Domain Language: ca -Registrar ID: R-2001 (Nominalia) -Created On: 2006-02-14 09:12:37 GMT -Last Updated On: 2009-03-31 16:22:42 GMT -Expiration Date: 2010-02-14 09:12:37 GMT -Status: ok -Registrant ID: NOM_P_15605701 -Registrant Name: Generalitat de Catalunya Departament de la Presidencia -Registrant Organization: -Registrant Street: Via Laietana, 14 -Registrant City: Barcelona -Registrant State/Province: BARCELONA -Registrant Postal Code: 08003 -Registrant Country: ES -Registrant Phone: +34.935676330 -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: jcolomer@gencat.net -Admin ID: NOM_8727301 -Admin Name: Marta Continente Gonzalo -Admin Organization: Generalitat de Catalunya Departament de la Presidencia (2) -Admin Street: Via Laietana, 14 -Admin City: Barcelona -Admin State/Province: BARCELONA -Admin Postal Code: 08003 -Admin Country: ES -Admin Phone: +34.935676330 -Admin Phone Ext: -Admin Fax: +34.935676331 -Admin Fax Ext: -Admin Email: dominisgencat@gencat.net -Tech ID: NOM_8727401 -Tech Name: Jaume Colomer Garcia -Tech Organization: Generalitat de Catalunya - Departament de la Presidencia -Tech Street: Via Laietana, 14 -Tech City: Barcelona -Tech State/Province: BARCELONA -Tech Postal Code: 08003 -Tech Country: ES -Tech Phone: +34.935676330 -Tech Phone Ext: -Tech Fax: +34.935676331 -Tech Fax Ext: -Tech Email: dominisgencat@gencat.net -Billing ID: NOM_8727401 -Billing Name: Jaume Colomer Garcia -Billing Organization: Generalitat de Catalunya - Departament de la Presidencia -Billing Street: Via Laietana, 14 -Billing City: Barcelona -Billing State/Province: BARCELONA -Billing Postal Code: 08003 -Billing Country: ES -Billing Phone: +34.935676330 -Billing Phone Ext: -Billing Fax: +34.935676331 -Billing Fax Ext: -Billing Email: dominisgencat@gencat.net -Name Server: dns2.gencat.cat 83.247.132.4 -Name Server ACE: dns2.gencat.cat 83.247.132.4 -Name Server: dns.gencat.net -Name Server ACE: dns.gencat.net - diff --git a/spec/fixtures/responses/whois.cat/cat/status_available.expected b/spec/fixtures/responses/whois.cat/cat/status_available.expected deleted file mode 100644 index eb892313b..000000000 --- a/spec/fixtures/responses/whois.cat/cat/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.cat/cat/status_available.txt b/spec/fixtures/responses/whois.cat/cat/status_available.txt deleted file mode 100644 index 95f5b8b45..000000000 --- a/spec/fixtures/responses/whois.cat/cat/status_available.txt +++ /dev/null @@ -1,18 +0,0 @@ -% puntCAT Whois Server Copyright (C) 2007 Fundacio puntCAT -% -% NOTICE: Access to puntCAT Whois information is provided to assist in -% determining the contents of an object name registration record in the -% puntCAT database. The data in this record is provided by puntCAT for -% informational purposes only, and puntCAT does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of puntCAT or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. puntCAT reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -% Object "u34jedzcq.cat" NOT FOUND. diff --git a/spec/fixtures/responses/whois.cat/cat/status_registered.expected b/spec/fixtures/responses/whois.cat/cat/status_registered.expected deleted file mode 100644 index 0fd015674..000000000 --- a/spec/fixtures/responses/whois.cat/cat/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-02-14 09:12:37 GMT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-27 17:30:59 GMT} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-02-14 09:12:37 GMT} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns.gencat.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.gencat.cat" - %s[1].ipv4 == "83.247.132.4" - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.cat/cat/status_registered.txt b/spec/fixtures/responses/whois.cat/cat/status_registered.txt deleted file mode 100644 index 4e3fe7720..000000000 --- a/spec/fixtures/responses/whois.cat/cat/status_registered.txt +++ /dev/null @@ -1,87 +0,0 @@ -% puntCAT Whois Server Copyright (C) 2007 Fundacio puntCAT -% -% NOTICE: Access to puntCAT Whois information is provided to assist in -% determining the contents of an object name registration record in the -% puntCAT database. The data in this record is provided by puntCAT for -% informational purposes only, and puntCAT does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of puntCAT or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. puntCAT reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -Domain ID: REG-D3862 -Domain Name: gencat.cat -Domain Name ACE: gencat.cat -Domain Language: ca -Registrar ID: R-2024 (10dencehispahard S.L. (CDmon.com)) -Created On: 2006-02-14 09:12:37 GMT -Last Updated On: 2013-11-27 17:30:59 GMT -Expiration Date: 2020-02-14 09:12:37 GMT -Status: ok -Registrant ID: CD126562321349 -Registrant Name: Departament de la Presidencia - Generalitat de Catalunya -Registrant Organization: Departament de la Presidencia - Generalitat de Catalunya -Registrant Street: Via Laietana, 14 -Registrant Street: -Registrant City: Barcelona -Registrant State/Province: Barcelona -Registrant Postal Code: 08003 -Registrant Country: ES -Registrant Phone: +34.935676330 -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: dominisgencat@gencat.cat -Admin ID: CD126562321411 -Admin Name: Direccio General Atencio Ciutadana i Difusio (Generalitat de Catalunya) -Admin Organization: -Admin Street: Via Laietana, 14 -Admin Street: -Admin City: Barcelona -Admin State/Province: BARCELONA -Admin Postal Code: 08003 -Admin Country: ES -Admin Phone: +34.935676330 -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: dominisgencat@gencat.cat -Tech ID: CD126562321482 -Tech Name: Carles Corcoll Lopez -Tech Organization: Carles Corcoll Lopez -Tech Street: Via Laietana 14 3a planta -Tech Street: -Tech City: Barcelona -Tech State/Province: BARCELONA -Tech Postal Code: 08003 -Tech Country: ES -Tech Phone: +34.935676330 -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: dominisgencat@gencat.cat -Billing ID: CD126562321532 -Billing Name: DGAC Direccio General Atencio Ciutadana -Billing Organization: DGAC Direccio General Atencio Ciutadana -Billing Street: Via Laietana, 14 -Billing Street: -Billing City: Barcelona -Billing State/Province: Barcelona -Billing Postal Code: 08003 -Billing Country: ES -Billing Phone: +34.935676330 -Billing Phone Ext: -Billing Fax: -Billing Fax Ext: -Billing Email: dominisgencat@gencat.cat -Name Server: dns.gencat.net -Name Server ACE: dns.gencat.net -Name Server: dns2.gencat.cat 83.247.132.4 -Name Server ACE: dns2.gencat.cat 83.247.132.4 - diff --git a/spec/fixtures/responses/whois.cctld.by/by/status_available.expected b/spec/fixtures/responses/whois.cctld.by/by/status_available.expected deleted file mode 100644 index 54bdd978f..000000000 --- a/spec/fixtures/responses/whois.cctld.by/by/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.cctld.by/by/status_available.txt b/spec/fixtures/responses/whois.cctld.by/by/status_available.txt deleted file mode 100644 index 7415cfea7..000000000 --- a/spec/fixtures/responses/whois.cctld.by/by/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Object does not exist diff --git a/spec/fixtures/responses/whois.cctld.by/by/status_registered.expected b/spec/fixtures/responses/whois.cctld.by/by/status_registered.expected deleted file mode 100644 index 4e6b544ea..000000000 --- a/spec/fixtures/responses/whois.cctld.by/by/status_registered.expected +++ /dev/null @@ -1,57 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "active.by" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-02-02} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-16} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-12-21} - - -#registrar - %s %CLASS{registrar} - %s.id == "Active Technologies LLC" - %s.name == "Active Technologies LLC" - %s.organization == "Active Technologies LLC" - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.activeby.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.activeby.net" diff --git a/spec/fixtures/responses/whois.cctld.by/by/status_registered.txt b/spec/fixtures/responses/whois.cctld.by/by/status_registered.txt deleted file mode 100644 index 65ce04b79..000000000 --- a/spec/fixtures/responses/whois.cctld.by/by/status_registered.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain Name: active.by -Domain Name Administrator: HIDDEN! Details are available at http://www.cctld.by/whois -Registrar: Active Technologies LLC -Name Server: ns1.activeby.net -Name Server: ns2.activeby.net -Updated Date: 2013-12-16 -Creation Date: 2003-02-02 -Expiration Date: 2014-12-21 - -------------------------------------------- -Service provided by Reliable Software, Inc. - diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.expected b/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.expected deleted file mode 100644 index aee072824..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.expected +++ /dev/null @@ -1,2 +0,0 @@ -#expires_on - %s == nil diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.txt b/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.txt deleted file mode 100644 index 8527ee026..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.txt +++ /dev/null @@ -1,123 +0,0 @@ - -% UzWhois Server Version 1.0 - -% Domain names in the .uz domain can now be registered -% with many different competing registrars. Go to http://www.cctld.uz/ -% for detailed information. - - Domain Name: CCTLD.UZ - Registrar: UZINFOCOM - Whois Server: www.whois.uz - Referral URL: http://www.cctld.uz/ - Name Server: ns.uz. 91.212.89.8 - Name Server: ns2.uz. 81.95.224.158 - Status: RESERVED - Updated Date: 01-may-2005 - Creation Date: 01-May-2005 - Expiration Date: - - - -% >>> Last update of whois database: Fri, 11 May 2012 13:38:36 +0500 <<< - -% NOTICE: The expiration date displayed in this record is the date the -% registrar's sponsorship of the domain name registration in the registry is -% currently set to expire. This date does not necessarily reflect the expiration -% date of the domain name registrant's agreement with the sponsoring -% registrar. Users may consult the sponsoring registrar's Whois database to -% view the registrar's reported date of expiration for this registration. - -% TERMS OF USE: You are not authorized to access or query our Whois -% database through the use of electronic processes that are high-volume and -% automated except as reasonably necessary to register domain names or -% modify existing registrations; the Data in Center UZINFOCOM ccTLD.uz -% Services ( Center UZINFOCOM ) Whois database is provided by Center UZINFOCOM for -% information purposes only, and to assist persons in obtaining information -% about or related to a domain name registration record. Center UZINFOCOM does not -% guarantee its accuracy. By submitting a Whois query, you agree to abide -% by the following terms of use: You agree that you may use this Data only -% for lawful purposes and that under no circumstances will you use this Data -% to: (1) allow, enable, or otherwise support the transmission of mass -% unsolicited, commercial advertising or solicitations via e-mail, telephone, -% or facsimile; or (2) enable high volume, automated, electronic processes -% that apply to Center UZINFOCOM (or its computer systems). The compilation, -% repackaging, dissemination or other use of this Data is expressly -% prohibited without the prior written consent of Center UZINFOCOM. You agree not to -% use electronic processes that are automated and high-volume to access or -% query the Whois database except as reasonably necessary to register -% domain names or modify existing registrations. Center UZINFOCOM reserves the right -% to restrict your access to the Whois database in its sole discretion to ensure -% operational stability. Center UZINFOCOM may restrict or terminate your access to the -% Whois database for failure to abide by these terms of use. Center UZINFOCOM -% reserves the right to modify these terms at any time. - -% The Registry database contains ONLY .UZ domains and -% Registrars. - -% Registration Service Provided By: UZINFOCOM - -Domain Name: CCTLD.UZ - -Registrant: - not.defined. - Rakhimov D. K. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-00 - Fax. +998 71 238-42-48 - -Creation Date: 01-May-2005 -Expiration Date: - - -Domain servers in listed order: - ns.uz. - ns2.uz. - - -Administrative Contact: - Center UZINFOCOM - Djuraev I.D. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-41-48 - Fax. +998 71 238-42-48 - -Technical Contact: - Center UZINFOCOM - Deykhin V.V. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-45 - Fax. +998 71 238-42-48 - -Billing Contact: - Center UZINFOCOM - Karnaushevskaya A.K. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-00 - Fax. +998 71 238-42-48 - -Status: RESERVED - -% The data in this whois database is provided to you for informationpurposes only, that is, to assist you in obtaining -% information about or related to a domain name registration record. We make this informationavailable "as is", and do -% not guarantee its accuracy. By submitting awhois query, you agree that you will use this data only for lawfulpurposes -% and that, under no circumstances will you use this data to:(1) enable high volume, automated, electronic processes -% that stress orload this whois database system providing you this information; or(2) allow, enable, or otherwise -% support the transmission of massunsolicited, commercial advertising or solicitations via direct mail,electronic mail, -% or by telephone. The compilation, repackaging,dissemination or other use of this data is expressly prohibited withoutprior -% written consent from us. The registrar of record is Critical Internet, Inc.. We reserve the right to modifythese terms at -% any time. By submitting this query, you agree to abideby these terms. - - -% The Whois Server (ver. 1.0) of ccTLD.UZ -% (c) 2005, Center UZINFOCOM - diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.expected b/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.expected deleted file mode 100644 index d83200888..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.txt b/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.txt deleted file mode 100644 index c8cebb124..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.txt +++ /dev/null @@ -1,123 +0,0 @@ - -% UzWhois Server Version 1.0 - -% Domain names in the .uz domain can now be registered -% with many different competing registrars. Go to http://www.cctld.uz/ -% for detailed information. - - Domain Name: CCTLD.UZ - Registrar: UZINFOCOM - Whois Server: www.whois.uz - Referral URL: http://www.cctld.uz/ - Name Server: ns.uz. 91.212.89.8 - Name Server: ns2.uz. 81.95.224.158 - Status: RESERVED - Updated Date: 01-may-2005 - Creation Date: 01-May-2005 - Expiration Date: - - - -% >>> Last update of whois database: Fri, 11 May 2012 14:59:05 +0500 <<< - -% NOTICE: The expiration date displayed in this record is the date the -% registrar's sponsorship of the domain name registration in the registry is -% currently set to expire. This date does not necessarily reflect the expiration -% date of the domain name registrant's agreement with the sponsoring -% registrar. Users may consult the sponsoring registrar's Whois database to -% view the registrar's reported date of expiration for this registration. - -% TERMS OF USE: You are not authorized to access or query our Whois -% database through the use of electronic processes that are high-volume and -% automated except as reasonably necessary to register domain names or -% modify existing registrations; the Data in Center UZINFOCOM ccTLD.uz -% Services ( Center UZINFOCOM ) Whois database is provided by Center UZINFOCOM for -% information purposes only, and to assist persons in obtaining information -% about or related to a domain name registration record. Center UZINFOCOM does not -% guarantee its accuracy. By submitting a Whois query, you agree to abide -% by the following terms of use: You agree that you may use this Data only -% for lawful purposes and that under no circumstances will you use this Data -% to: (1) allow, enable, or otherwise support the transmission of mass -% unsolicited, commercial advertising or solicitations via e-mail, telephone, -% or facsimile; or (2) enable high volume, automated, electronic processes -% that apply to Center UZINFOCOM (or its computer systems). The compilation, -% repackaging, dissemination or other use of this Data is expressly -% prohibited without the prior written consent of Center UZINFOCOM. You agree not to -% use electronic processes that are automated and high-volume to access or -% query the Whois database except as reasonably necessary to register -% domain names or modify existing registrations. Center UZINFOCOM reserves the right -% to restrict your access to the Whois database in its sole discretion to ensure -% operational stability. Center UZINFOCOM may restrict or terminate your access to the -% Whois database for failure to abide by these terms of use. Center UZINFOCOM -% reserves the right to modify these terms at any time. - -% The Registry database contains ONLY .UZ domains and -% Registrars. - -% Registration Service Provided By: UZINFOCOM - -Domain Name: CCTLD.UZ - -Registrant: - not.defined. - Rakhimov D. K. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-00 - Fax. +998 71 238-42-48 - -Creation Date: 01-May-2005 -Expiration Date: - - -Domain servers in listed order: - ns.uz. - ns2.uz. - - -Administrative Contact: - Center UZINFOCOM - Djuraev I.D. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-41-48 - Fax. +998 71 238-42-48 - -Technical Contact: - Center UZINFOCOM - Deykhin V.V. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-45 - Fax. +998 71 238-42-48 - -Billing Contact: - Center UZINFOCOM - Karnaushevskaya A.K. (info [at] uzinfocom.uz) - A.Navoi str., 28 B - Tashkent - Uzbekistan, 100011 - UZ - Tel. +998 71 238-42-00 - Fax. +998 71 238-42-48 - -Status: RESERVED - -% The data in this whois database is provided to you for informationpurposes only, that is, to assist you in obtaining -% information about or related to a domain name registration record. We make this informationavailable "as is", and do -% not guarantee its accuracy. By submitting awhois query, you agree that you will use this data only for lawfulpurposes -% and that, under no circumstances will you use this data to:(1) enable high volume, automated, electronic processes -% that stress orload this whois database system providing you this information; or(2) allow, enable, or otherwise -% support the transmission of massunsolicited, commercial advertising or solicitations via direct mail,electronic mail, -% or by telephone. The compilation, repackaging,dissemination or other use of this data is expressly prohibited withoutprior -% written consent from us. The registrar of record is Critical Internet, Inc.. We reserve the right to modifythese terms at -% any time. By submitting this query, you agree to abideby these terms. - - -% The Whois Server (ver. 1.0) of ccTLD.UZ -% (c) 2005, Center UZINFOCOM - diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/status_available.expected b/spec/fixtures/responses/whois.cctld.uz/uz/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/status_available.txt b/spec/fixtures/responses/whois.cctld.uz/uz/status_available.txt deleted file mode 100644 index 077821ddd..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ - -% UzWhois Server Version 1.0 - -% Domain names in the .uz domain can now be registered -% with many different competing registrars. Go to http://www.cctld.uz/ -% for detailed information. - -Sorry, but domain: "u34jedzcq.uz", not found in database - -% The Whois Server (ver. 1.0) of ccTLD.UZ -% (c) 2005, Center UZINFOCOM - diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.expected b/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.expected deleted file mode 100644 index a448d8270..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-04-13} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-03-26} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-05-01} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.txt b/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.txt deleted file mode 100644 index 7566538b7..000000000 --- a/spec/fixtures/responses/whois.cctld.uz/uz/status_registered.txt +++ /dev/null @@ -1,123 +0,0 @@ - -% UzWhois Server Version 1.0 - -% Domain names in the .uz domain can now be registered -% with many different competing registrars. Go to http://www.cctld.uz/ -% for detailed information. - - Domain Name: GOOGLE.UZ - Registrar: TOMAS - Whois Server: www.whois.uz - Referral URL: http://www.cctld.uz/ - Name Server: ns1.google.com. not.defined. - Name Server: ns2.google.com. not.defined. - Status: ACTIVE - Updated Date: 26-mar-2010 - Creation Date: 13-Apr-2006 - Expiration Date: 01-may-2011 - - -% >>> Last update of whois database: Tue, 15 Feb 2011 3:01:31 +0500 <<< - -% NOTICE: The expiration date displayed in this record is the date the -% registrar's sponsorship of the domain name registration in the registry is -% currently set to expire. This date does not necessarily reflect the expiration -% date of the domain name registrant's agreement with the sponsoring -% registrar. Users may consult the sponsoring registrar's Whois database to -% view the registrar's reported date of expiration for this registration. - -% TERMS OF USE: You are not authorized to access or query our Whois -% database through the use of electronic processes that are high-volume and -% automated except as reasonably necessary to register domain names or -% modify existing registrations; the Data in Center UZINFOCOM ccTLD.uz -% Services ( Center UZINFOCOM ) Whois database is provided by Center UZINFOCOM for -% information purposes only, and to assist persons in obtaining information -% about or related to a domain name registration record. Center UZINFOCOM does not -% guarantee its accuracy. By submitting a Whois query, you agree to abide -% by the following terms of use: You agree that you may use this Data only -% for lawful purposes and that under no circumstances will you use this Data -% to: (1) allow, enable, or otherwise support the transmission of mass -% unsolicited, commercial advertising or solicitations via e-mail, telephone, -% or facsimile; or (2) enable high volume, automated, electronic processes -% that apply to Center UZINFOCOM (or its computer systems). The compilation, -% repackaging, dissemination or other use of this Data is expressly -% prohibited without the prior written consent of Center UZINFOCOM. You agree not to -% use electronic processes that are automated and high-volume to access or -% query the Whois database except as reasonably necessary to register -% domain names or modify existing registrations. Center UZINFOCOM reserves the right -% to restrict your access to the Whois database in its sole discretion to ensure -% operational stability. Center UZINFOCOM may restrict or terminate your access to the -% Whois database for failure to abide by these terms of use. Center UZINFOCOM -% reserves the right to modify these terms at any time. - -% The Registry database contains ONLY .UZ domains and -% Registrars. - -% Registration Service Provided By: TOMAS - -Domain Name: GOOGLE.UZ - -Registrant: - Google Inc - DNS Admin (dns-admin [at] google.com) - 2400 E Bayshore Pkwy - Mountain View - US, 94043 - US - Tel. +1 6503300100 - Fax. +1 6506181499 - -Creation Date: 13-Apr-2006 -Expiration Date: 01-may-2011 - -Domain servers in listed order: - ns1.google.com. - ns2.google.com. - - -Administrative Contact: - Google Inc - DNS Admin (dns-admin [at] google.com) - 2400 E Bayshore Pkwy - Mountain View - US, 94043 - US - Tel. +1 6503300100 - Fax. +1 6506181499 - -Technical Contact: - Google Inc - DNS Admin (dns-admin [at] google.com) - 2400 E Bayshore Pkwy - Mountain View - US, 94043 - US - Tel. +1 6503300100 - Fax. +1 6506181499 - -Billing Contact: - MarkMonitor - Kevin Pearl (ccops [at] markmonitor.com) - 10400 Overland Road PMB 155 - Boise - US, 83709 - US - Tel. +1 208 389 5798 - Fax. +1 208 389 5771 - -Status: ACTIVE - -% The data in this whois database is provided to you for informationpurposes only, that is, to assist you in obtaining -% information about or related to a domain name registration record. We make this informationavailable "as is", and do -% not guarantee its accuracy. By submitting awhois query, you agree that you will use this data only for lawfulpurposes -% and that, under no circumstances will you use this data to:(1) enable high volume, automated, electronic processes -% that stress orload this whois database system providing you this information; or(2) allow, enable, or otherwise -% support the transmission of massunsolicited, commercial advertising or solicitations via direct mail,electronic mail, -% or by telephone. The compilation, repackaging,dissemination or other use of this data is expressly prohibited withoutprior -% written consent from us. The registrar of record is Critical Internet, Inc.. We reserve the right to modifythese terms at -% any time. By submitting this query, you agree to abideby these terms. - - -% The Whois Server (ver. 1.0) of ccTLD.UZ -% (c) 2005, Center UZINFOCOM - diff --git a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected deleted file mode 100644 index 73b842b5a..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "kidzlink.ae.org" - -#domain_id - %s == "CNIC-DO887354" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-08-03 15:37:33 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-09 00:12:37 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-03 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H65658" - %s.name == nil - %s.organization == "101Domain, Inc." - %s.url == "http://www.101domain.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "RWG000000003DA24" - %s[0].name == "IPC C/O Clarenter" - %s[0].organization == "Clarenter" - %s[0].address == "110 E Broward Blvd\nSte. 1720" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.18888443911" - %s[0].fax == nil - %s[0].email == "patricia@internationalpreschoolcurriculum.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "RWG000000003DA24" - %s[0].name == "IPC C/O Clarenter" - %s[0].organization == "Clarenter" - %s[0].address == "110 E Broward Blvd\nSte. 1720" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.18888443911" - %s[0].fax == nil - %s[0].email == "patricia@internationalpreschoolcurriculum.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "RWG000000003DA24" - %s[0].name == "IPC C/O Clarenter" - %s[0].organization == "Clarenter" - %s[0].address == "110 E Broward Blvd\nSte. 1720" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.18888443911" - %s[0].fax == nil - %s[0].email == "patricia@internationalpreschoolcurriculum.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns37.domaincontrol.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns38.domaincontrol.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.txt deleted file mode 100644 index 44484924d..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain ID:CNIC-DO887354 -Domain Name:KIDZLINK.AE.ORG -Created On:2012-08-03T15:37:33.0Z -Last Updated On:2013-06-09T00:12:37.0Z -Expiration Date:2014-08-03T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:RWG000000003DA24 -Registrant Name:IPC C/O Clarenter -Registrant Organization:Clarenter -Registrant Street1:110 E Broward Blvd -Registrant Street2:Ste. 1720 -Registrant City:Fort Lauderdale -Registrant State/Province:FL -Registrant Postal Code:33301 -Registrant Country:US -Registrant Phone:+1.18888443911 -Registrant Email:patricia@internationalpreschoolcurriculum.com -Admin ID:RWG000000003DA24 -Admin Name:IPC C/O Clarenter -Admin Organization:Clarenter -Admin Street1:110 E Broward Blvd -Admin Street2:Ste. 1720 -Admin City:Fort Lauderdale -Admin State/Province:FL -Admin Postal Code:33301 -Admin Country:US -Admin Phone:+1.18888443911 -Admin Email:patricia@internationalpreschoolcurriculum.com -Tech ID:RWG000000003DA24 -Tech Name:IPC C/O Clarenter -Tech Organization:Clarenter -Tech Street1:110 E Broward Blvd -Tech Street2:Ste. 1720 -Tech City:Fort Lauderdale -Tech State/Province:FL -Tech Postal Code:33301 -Tech Country:US -Tech Phone:+1.18888443911 -Tech Email:patricia@internationalpreschoolcurriculum.com -Billing ID:RWG000000003DA25 -Billing Name:Billing Department -Billing Organization:101Domain, Inc. -Billing Street1:5858 Edison Pl. -Billing City:Carlsbad -Billing State/Province:CA -Billing Postal Code:92008 -Billing Country:US -Billing Phone:+1.7604448674 -Billing FAX:+1.7605794996 -Billing Email:tech1@101domain.com -Sponsoring Registrar ID:H65658 -Sponsoring Registrar IANA ID:1011 -Sponsoring Registrar Organization:101Domain, Inc. -Sponsoring Registrar Street1:5858 Edison Pl. -Sponsoring Registrar City:Carlsbad -Sponsoring Registrar State/Province:CA -Sponsoring Registrar Postal Code:92008 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:+1.7604448674 -Sponsoring Registrar FAX:+1.7605794996 -Sponsoring Registrar Website:http://www.101domain.com -Name Server:NS37.DOMAINCONTROL.COM -Name Server:NS38.DOMAINCONTROL.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected deleted file mode 100644 index 9a6b8b941..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "hotel.ar.com" - -#domain_id - %s == "CNIC-DO557730" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-04-25 16:22:13 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-26 00:15:40 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-25 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H1323241" - %s.name == nil - %s.organization == "CentralNic Ltd" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1323241" - %s[0].name == "Reserved Domains" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.8700170900" - %s[0].fax == "+44.8700170901" - %s[0].email == "domains@centralnic.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H1323241" - %s[0].name == "Reserved Domains" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.8700170900" - %s[0].fax == "+44.8700170901" - %s[0].email == "domains@centralnic.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H1323241" - %s[0].name == "Reserved Domains" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.8700170900" - %s[0].fax == "+44.8700170901" - %s[0].email == "domains@centralnic.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns0.centralnic-dns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.centralnic-dns.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.centralnic-dns.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.centralnic-dns.com" - %s[4] %CLASS{nameserver} - %s[4].name == "ns4.centralnic-dns.com" - %s[5] %CLASS{nameserver} - %s[5].name == "ns5.centralnic-dns.com" diff --git a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.txt deleted file mode 100644 index 221124ce2..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.txt +++ /dev/null @@ -1,62 +0,0 @@ -Domain ID:CNIC-DO557730 -Domain Name:HOTEL.AR.COM -Created On:2008-04-25T16:22:13.0Z -Last Updated On:2013-04-26T00:15:40.0Z -Expiration Date:2014-04-25T23:59:59.0Z -Status:ok -Registrant ID:H1323241 -Registrant Name:Reserved Domains -Registrant Organization:CentralNic Ltd -Registrant Street1:35-39 Moorgate -Registrant City:London -Registrant Postal Code:EC2R 6AR -Registrant Country:GB -Registrant Phone:+44.8700170900 -Registrant FAX:+44.8700170901 -Registrant Email:domains@centralnic.com -Admin ID:H1323241 -Admin Name:Reserved Domains -Admin Organization:CentralNic Ltd -Admin Street1:35-39 Moorgate -Admin City:London -Admin Postal Code:EC2R 6AR -Admin Country:GB -Admin Phone:+44.8700170900 -Admin FAX:+44.8700170901 -Admin Email:domains@centralnic.com -Tech ID:H1323241 -Tech Name:Reserved Domains -Tech Organization:CentralNic Ltd -Tech Street1:35-39 Moorgate -Tech City:London -Tech Postal Code:EC2R 6AR -Tech Country:GB -Tech Phone:+44.8700170900 -Tech FAX:+44.8700170901 -Tech Email:domains@centralnic.com -Sponsoring Registrar ID:H1323241 -Sponsoring Registrar Organization:CentralNic Ltd -Sponsoring Registrar Street1:35-39 Moorgate -Sponsoring Registrar City:London -Sponsoring Registrar Postal Code:EC2R 6AR -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:+44.8700170900 -Sponsoring Registrar FAX:+44.8700170901 -Name Server:NS0.CENTRALNIC-DNS.COM -Name Server:NS1.CENTRALNIC-DNS.COM -Name Server:NS2.CENTRALNIC-DNS.COM -Name Server:NS3.CENTRALNIC-DNS.COM -Name Server:NS4.CENTRALNIC-DNS.COM -Name Server:NS5.CENTRALNIC-DNS.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected deleted file mode 100644 index 4359c7742..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "billboard.br.com" - -#domain_id - %s == "CNIC-DO624205" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited", "renewPeriod"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-04-17 12:22:49 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-01-16 16:23:18 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-04-17 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H292913" - %s.name == nil - %s.organization == "Network Solutions LLC" - %s.url == "http://www.networksolutions.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "36542943" - %s[0].name == "Antonio Camarotti Pinto" - %s[0].organization == nil - %s[0].address == "Rua Urussui, 238\n#22" - %s[0].city == "Sao Paulo" - %s[0].zip == "04542-050" - %s[0].state == "Sao Paulo" - %s[0].country == nil - %s[0].country_code == "BR" - %s[0].phone == "+1.551130787711" - %s[0].fax == nil - %s[0].email == "ac@bpp.bz" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "36542943" - %s[0].name == "Antonio Camarotti Pinto" - %s[0].organization == nil - %s[0].address == "Rua Urussui, 238\n#22" - %s[0].city == "Sao Paulo" - %s[0].zip == "04542-050" - %s[0].state == "Sao Paulo" - %s[0].country == nil - %s[0].country_code == "BR" - %s[0].phone == "+1.551130787711" - %s[0].fax == nil - %s[0].email == "ac@bpp.bz" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "36542943" - %s[0].name == "Antonio Camarotti Pinto" - %s[0].organization == nil - %s[0].address == "Rua Urussui, 238\n#22" - %s[0].city == "Sao Paulo" - %s[0].zip == "04542-050" - %s[0].state == "Sao Paulo" - %s[0].country == nil - %s[0].country_code == "BR" - %s[0].phone == "+1.551130787711" - %s[0].fax == nil - %s[0].email == "ac@bpp.bz" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.locaweb.com.br" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.locaweb.com.br" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.txt deleted file mode 100644 index 283c691d4..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ -Domain ID:CNIC-DO624205 -Domain Name:BILLBOARD.BR.COM -Created On:2009-04-17T12:22:49.0Z -Last Updated On:2012-01-16T16:23:18.0Z -Expiration Date:2017-04-17T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Status:renewPeriod -Registrant ID:36542943 -Registrant Name:Antonio Camarotti Pinto -Registrant Street1:Rua Urussui, 238 -Registrant Street2:#22 -Registrant City:Sao Paulo -Registrant State/Province:Sao Paulo -Registrant Postal Code:04542-050 -Registrant Country:BR -Registrant Phone:+1.551130787711 -Registrant Email:ac@bpp.bz -Admin ID:36542943 -Admin Name:Antonio Camarotti Pinto -Admin Street1:Rua Urussui, 238 -Admin Street2:#22 -Admin City:Sao Paulo -Admin State/Province:Sao Paulo -Admin Postal Code:04542-050 -Admin Country:BR -Admin Phone:+1.551130787711 -Admin Email:ac@bpp.bz -Tech ID:36542943 -Tech Name:Antonio Camarotti Pinto -Tech Street1:Rua Urussui, 238 -Tech Street2:#22 -Tech City:Sao Paulo -Tech State/Province:Sao Paulo -Tech Postal Code:04542-050 -Tech Country:BR -Tech Phone:+1.551130787711 -Tech Email:ac@bpp.bz -Billing ID:36542943 -Billing Name:Antonio Camarotti Pinto -Billing Street1:Rua Urussui, 238 -Billing Street2:#22 -Billing City:Sao Paulo -Billing State/Province:Sao Paulo -Billing Postal Code:04542-050 -Billing Country:BR -Billing Phone:+1.551130787711 -Billing Email:ac@bpp.bz -Sponsoring Registrar ID:H292913 -Sponsoring Registrar IANA ID:2 -Sponsoring Registrar Organization:Network Solutions LLC -Sponsoring Registrar Street1:12808 Gran Bay Parkway West -Sponsoring Registrar City:Jacksonville -Sponsoring Registrar State/Province:FL -Sponsoring Registrar Postal Code:32258 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:+1.9046806600 -Sponsoring Registrar FAX:+1.9048800350 -Sponsoring Registrar Website:http://www.networksolutions.com/ -Name Server:NS1.LOCAWEB.COM.BR -Name Server:NS2.LOCAWEB.COM.BR -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected deleted file mode 100644 index 829829b66..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "gsn.cn.com" - -#domain_id - %s == "CNIC-DO323367" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-11-23 15:44:03 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-26 12:16:45 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-23 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H67436" - %s.name == nil - %s.organization == "united-domains AG" - %s.url == "http://www.united-domains.de" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1062079" - %s[0].name == "GSN Electronics Incorporation Pte Ltd" - %s[0].organization == nil - %s[0].address == "Straits Trading Building 9 Battery Road 16-08\nSingapore" - %s[0].city == nil - %s[0].zip == "049910" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "SG" - %s[0].phone == "+65.62336919" - %s[0].fax == nil - %s[0].email == "abuse@gsn.in" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "AUTO-DRZK-SNVHSY" - %s[0].name == "Pauline Ang" - %s[0].organization == "GSN Electronics Incorporation Pte Ltd" - %s[0].address == "Straits Trading Building 9 Battery Road 16-08" - %s[0].city == "Singapore" - %s[0].zip == "049910" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "SG" - %s[0].phone == "+65.62336919" - %s[0].fax == nil - %s[0].email == "abuse@gsn.in" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C-UHM65D7-TJGULR" - %s[0].name == "Host Master" - %s[0].organization == "united-domains AG" - %s[0].address == "Gautinger Str. 10" - %s[0].city == "Starnberg" - %s[0].zip == "82319" - %s[0].state == "Bayern" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.8151368670" - %s[0].fax == "+49.81513686777" - %s[0].email == "hostmaster@united-domains.de" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.meteos.it" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.meteos.it" diff --git a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.txt deleted file mode 100644 index db3ae57de..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.txt +++ /dev/null @@ -1,70 +0,0 @@ -Domain ID:CNIC-DO323367 -Domain Name:GSN.CN.COM -Created On:2005-11-23T15:44:03.0Z -Last Updated On:2013-11-26T12:16:45.0Z -Expiration Date:2014-11-23T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:H1062079 -Registrant Name:GSN Electronics Incorporation Pte Ltd -Registrant Street1:Straits Trading Building 9 Battery Road 16-08 -Registrant Street2:Singapore -Registrant Postal Code:049910 -Registrant Country:SG -Registrant Phone:+65.62336919 -Registrant Email:abuse@gsn.in -Admin ID:AUTO-DRZK-SNVHSY -Admin Name:Pauline Ang -Admin Organization:GSN Electronics Incorporation Pte Ltd -Admin Street1:Straits Trading Building 9 Battery Road 16-08 -Admin City:Singapore -Admin Postal Code:049910 -Admin Country:SG -Admin Phone:+65.62336919 -Admin Email:abuse@gsn.in -Tech ID:C-UHM65D7-TJGULR -Tech Name:Host Master -Tech Organization:united-domains AG -Tech Street1:Gautinger Str. 10 -Tech City:Starnberg -Tech State/Province:Bayern -Tech Postal Code:82319 -Tech Country:DE -Tech Phone:+49.8151368670 -Tech FAX:+49.81513686777 -Tech Email:hostmaster@united-domains.de -Billing ID:C-UHM65D7-TJGULR -Billing Name:Host Master -Billing Organization:united-domains AG -Billing Street1:Gautinger Str. 10 -Billing City:Starnberg -Billing State/Province:Bayern -Billing Postal Code:82319 -Billing Country:DE -Billing Phone:+49.8151368670 -Billing FAX:+49.81513686777 -Billing Email:hostmaster@united-domains.de -Sponsoring Registrar ID:H67436 -Sponsoring Registrar IANA ID:1408 -Sponsoring Registrar Organization:united-domains AG -Sponsoring Registrar Street1:Gautinger Str. 10 -Sponsoring Registrar City:Starnberg -Sponsoring Registrar Postal Code:82319 -Sponsoring Registrar Country:DE -Sponsoring Registrar Phone:+498151368670 -Sponsoring Registrar FAX:+4981513686777 -Sponsoring Registrar Website:http://www.united-domains.de -Name Server:NS1.METEOS.IT -Name Server:NS2.METEOS.IT -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected deleted file mode 100644 index c8122923d..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "autopoint.de.com" - -#domain_id - %s == "CNIC-DO578833" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-07-04 20:30:08 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-12 10:03:56 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-04 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H67436" - %s.name == nil - %s.organization == "united-domains AG" - %s.url == "http://www.united-domains.de" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1102323" - %s[0].name == "Stefan Von Gehlen" - %s[0].organization == nil - %s[0].address == "Muelgaustr. 292-294, Moenchengladbach" - %s[0].city == nil - %s[0].zip == "41238" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2166120626" - %s[0].fax == nil - %s[0].email == "s.vongehlen@arcor.de" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H402505" - %s[0].name == "Stefan Von Gehlen" - %s[0].organization == nil - %s[0].address == "Muelgaustr. 292-294, Moenchengladbach" - %s[0].city == nil - %s[0].zip == "41238" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2166120626" - %s[0].fax == nil - %s[0].email == "s.vongehlen@arcor.de" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C-UHM65D7-TJGULR" - %s[0].name == "Host Master" - %s[0].organization == "united-domains AG" - %s[0].address == "Gautinger Str. 10" - %s[0].city == "Starnberg" - %s[0].zip == "82319" - %s[0].state == "Bayern" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.8151368670" - %s[0].fax == "+49.81513686777" - %s[0].email == "hostmaster@united-domains.de" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns.udagdns.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns.udagdns.de" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.txt deleted file mode 100644 index c85fb5aa2..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.txt +++ /dev/null @@ -1,67 +0,0 @@ -Domain ID:CNIC-DO578833 -Domain Name:AUTOPOINT.DE.COM -Created On:2008-07-04T20:30:08.0Z -Last Updated On:2013-07-12T10:03:56.0Z -Expiration Date:2014-07-04T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:H1102323 -Registrant Name:Stefan Von Gehlen -Registrant Street1:Muelgaustr. 292-294, Moenchengladbach -Registrant Postal Code:41238 -Registrant Country:DE -Registrant Phone:+49.2166120626 -Registrant Email:s.vongehlen@arcor.de -Admin ID:H402505 -Admin Name:Stefan Von Gehlen -Admin Street1:Muelgaustr. 292-294, Moenchengladbach -Admin Postal Code:41238 -Admin Country:DE -Admin Phone:+49.2166120626 -Admin Email:s.vongehlen@arcor.de -Tech ID:C-UHM65D7-TJGULR -Tech Name:Host Master -Tech Organization:united-domains AG -Tech Street1:Gautinger Str. 10 -Tech City:Starnberg -Tech State/Province:Bayern -Tech Postal Code:82319 -Tech Country:DE -Tech Phone:+49.8151368670 -Tech FAX:+49.81513686777 -Tech Email:hostmaster@united-domains.de -Billing ID:C-UHM65D7-TJGULR -Billing Name:Host Master -Billing Organization:united-domains AG -Billing Street1:Gautinger Str. 10 -Billing City:Starnberg -Billing State/Province:Bayern -Billing Postal Code:82319 -Billing Country:DE -Billing Phone:+49.8151368670 -Billing FAX:+49.81513686777 -Billing Email:hostmaster@united-domains.de -Sponsoring Registrar ID:H67436 -Sponsoring Registrar IANA ID:1408 -Sponsoring Registrar Organization:united-domains AG -Sponsoring Registrar Street1:Gautinger Str. 10 -Sponsoring Registrar City:Starnberg -Sponsoring Registrar Postal Code:82319 -Sponsoring Registrar Country:DE -Sponsoring Registrar Phone:+498151368670 -Sponsoring Registrar FAX:+4981513686777 -Sponsoring Registrar Website:http://www.united-domains.de -Name Server:NS.UDAGDNS.NET -Name Server:NS.UDAGDNS.DE -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected deleted file mode 100644 index e2b8c1213..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "walkabout.eu.com" - -#domain_id - %s == "CNIC-DO85080" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-08-14 10:14:41 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-15 11:25:43 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-08-14 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H126914" - %s.name == nil - %s.organization == "iTransact Ltd" - %s.url == "www.itransact.ltd.uk" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1045382" - %s[0].name == "Regent Inns Plc" - %s[0].organization == nil - %s[0].address == "77 Muswell Hill\nLondon" - %s[0].city == nil - %s[0].zip == "N10 3PJ" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2083753155" - %s[0].fax == "+44.2083753001" - %s[0].email == "john.boyle@regent-inns.plc.uk" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H64717" - %s[0].name == "John Boyle" - %s[0].organization == "Regent Inns Plc" - %s[0].address == "77 Muswell Hill\nLondon" - %s[0].city == nil - %s[0].zip == "N10 3PJ" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2083753155" - %s[0].fax == "+44.2083753001" - %s[0].email == "john.boyle@regent-inns.plc.uk" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H126914" - %s[0].name == "Constantine Pagonis" - %s[0].organization == "iTransact Ltd" - %s[0].address == "PO Box 430\nCambridge\nCambs" - %s[0].city == nil - %s[0].zip == "CB1 2WE" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1223700322" - %s[0].fax == nil - %s[0].email == "constantine@itransact.ltd.uk" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns-1146.awsdns-15.org" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns-1741.awsdns-25.co.uk" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2].name == "ns-374.awsdns-46.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3].name == "ns-914.awsdns-50.net" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.txt deleted file mode 100644 index 17d0d3ed1..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.txt +++ /dev/null @@ -1,60 +0,0 @@ -Domain ID:CNIC-DO85080 -Domain Name:WALKABOUT.EU.COM -Created On:2001-08-14T10:14:41.0Z -Last Updated On:2013-08-15T11:25:43.0Z -Expiration Date:2015-08-14T23:59:59.0Z -Status:ok -Registrant ID:H1045382 -Registrant Name:Regent Inns Plc -Registrant Street1:77 Muswell Hill -Registrant Street2:London -Registrant Postal Code:N10 3PJ -Registrant Country:GB -Registrant Phone:+44.2083753155 -Registrant FAX:+44.2083753001 -Registrant Email:john.boyle@regent-inns.plc.uk -Admin ID:H64717 -Admin Name:John Boyle -Admin Organization:Regent Inns Plc -Admin Street1:77 Muswell Hill -Admin Street2:London -Admin Postal Code:N10 3PJ -Admin Country:GB -Admin Phone:+44.2083753155 -Admin FAX:+44.2083753001 -Admin Email:john.boyle@regent-inns.plc.uk -Tech ID:H126914 -Tech Name:Constantine Pagonis -Tech Organization:iTransact Ltd -Tech Street1:PO Box 430 -Tech Street2:Cambridge -Tech Street3:Cambs -Tech Postal Code:CB1 2WE -Tech Country:GB -Tech Phone:+44.1223700322 -Tech Email:constantine@itransact.ltd.uk -Sponsoring Registrar ID:H126914 -Sponsoring Registrar Organization:iTransact Ltd -Sponsoring Registrar Street1:PO Box 430 -Sponsoring Registrar Street2:Cambridge -Sponsoring Registrar Street3:Cambs -Sponsoring Registrar Postal Code:CB1 2WE -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:01223 700322 -Sponsoring Registrar Website:www.itransact.ltd.uk -Name Server:NS-1146.AWSDNS-15.ORG -Name Server:NS-1741.AWSDNS-25.CO.UK -Name Server:NS-374.AWSDNS-46.COM -Name Server:NS-914.AWSDNS-50.NET -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected deleted file mode 100644 index f07087252..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "hotel.gb.com" - -#domain_id - %s == "CNIC-DO403461" - - -#status - %s == ["serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-04-23 06:26:11 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-12 09:45:17 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-04-23 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H386560" - %s.name == nil - %s.organization == "Wind Internethaus GMBH" - %s.url == "www.windinternethaus.de" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1049605" - %s[0].name == "Robert Ragge, Hotel Reservation Service Robert Ragge GmbH" - %s[0].organization == nil - %s[0].address == "Blaubach 32" - %s[0].city == "Koeln" - %s[0].zip == "50676" - %s[0].state == "NRW" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2212077222" - %s[0].fax == "+49.2212077394" - %s[0].email == "domains@hrs.de" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H393781" - %s[0].name == "Robert Ragge" - %s[0].organization == "Hotel Reservation Service Robert Ragge GmbH" - %s[0].address == "Blaubach 32" - %s[0].city == "Koeln" - %s[0].zip == "50676" - %s[0].state == "NRW" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2212077222" - %s[0].fax == "+49.2212077394" - %s[0].email == "domains@hrs.de" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H1103064" - %s[0].name == "Uwe Watzek, Wind Internethaus GMBH" - %s[0].organization == nil - %s[0].address == "Am Krebsgraben 15\nHaus 2" - %s[0].city == "Villingen-Schwenningen" - %s[0].zip == "78048" - %s[0].state == "Baden-Wuerttemberg" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.77214070740" - %s[0].fax == "+49.77214070741" - %s[0].email == "info@windinternethaus.de" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.hrs.de" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.hrs.de" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.surfbrett.de" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.txt deleted file mode 100644 index 471a63ca0..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.txt +++ /dev/null @@ -1,75 +0,0 @@ -Domain ID:CNIC-DO403461 -Domain Name:HOTEL.GB.COM -Created On:2006-04-23T06:26:11.0Z -Last Updated On:2014-02-12T09:45:17.0Z -Expiration Date:2016-04-23T23:59:59.0Z -Status:serverTransferProhibited -Registrant ID:H1049605 -Registrant Name:Robert Ragge, Hotel Reservation Service Robert Ragge GmbH -Registrant Street1:Blaubach 32 -Registrant City:Koeln -Registrant State/Province:NRW -Registrant Postal Code:50676 -Registrant Country:DE -Registrant Phone:+49.2212077222 -Registrant FAX:+49.2212077394 -Registrant Email:domains@hrs.de -Admin ID:H393781 -Admin Name:Robert Ragge -Admin Organization:Hotel Reservation Service Robert Ragge GmbH -Admin Street1:Blaubach 32 -Admin City:Koeln -Admin State/Province:NRW -Admin Postal Code:50676 -Admin Country:DE -Admin Phone:+49.2212077222 -Admin FAX:+49.2212077394 -Admin Email:domains@hrs.de -Tech ID:H1103064 -Tech Name:Uwe Watzek, Wind Internethaus GMBH -Tech Street1:Am Krebsgraben 15 -Tech Street2:Haus 2 -Tech City:Villingen-Schwenningen -Tech State/Province:Baden-Wuerttemberg -Tech Postal Code:78048 -Tech Country:DE -Tech Phone:+49.77214070740 -Tech FAX:+49.77214070741 -Tech Email:info@windinternethaus.de -Billing ID:H1103064 -Billing Name:Uwe Watzek, Wind Internethaus GMBH -Billing Street1:Am Krebsgraben 15 -Billing Street2:Haus 2 -Billing City:Villingen-Schwenningen -Billing State/Province:Baden-Wuerttemberg -Billing Postal Code:78048 -Billing Country:DE -Billing Phone:+49.77214070740 -Billing FAX:+49.77214070741 -Billing Email:info@windinternethaus.de -Sponsoring Registrar ID:H386560 -Sponsoring Registrar Organization:Wind Internethaus GMBH -Sponsoring Registrar Street1:Am Krebsgraben 15 -Sponsoring Registrar Street2:Haus 2 -Sponsoring Registrar City:Villingen-Schwenningen -Sponsoring Registrar State/Province:Baden-Wuerttemberg -Sponsoring Registrar Postal Code:78048 -Sponsoring Registrar Country:DE -Sponsoring Registrar Phone:+49.77214070740 -Sponsoring Registrar FAX:+49.77214070741 -Sponsoring Registrar Website:www.windinternethaus.de -Name Server:NS1.HRS.DE -Name Server:NS2.HRS.DE -Name Server:NS2.SURFBRETT.DE -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected deleted file mode 100644 index f41aaa4e7..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected +++ /dev/null @@ -1,117 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "hotel.gb.net" - -#domain_id - %s == "CNIC-DO1423750" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2013-08-25 12:36:24 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-30 12:42:09 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-25 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H1167922" - %s.name == nil - %s.organization == "Gandi SAS" - %s.url == "http://www.gandi.net/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "R1149-GANDI-PRYP" - %s[0].name == "Heinz Pierre Roeser" - %s[0].organization == "Roevertrieb" - %s[0].address == "Friedensstr. 77" - %s[0].city == "Grevenbroich" - %s[0].zip == "41517" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.218145077" - %s[0].fax == nil - %s[0].email == "roevertrieb@aol.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "R1149-GANDI-PRYP" - %s[0].name == "Heinz Pierre Roeser" - %s[0].organization == "Roevertrieb" - %s[0].address == "Friedensstr. 77" - %s[0].city == "Grevenbroich" - %s[0].zip == "41517" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.218145077" - %s[0].fax == nil - %s[0].email == "roevertrieb@aol.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "R1149-GANDI-PRYP" - %s[0].name == "Heinz Pierre Roeser" - %s[0].organization == "Roevertrieb" - %s[0].address == "Friedensstr. 77" - %s[0].city == "Grevenbroich" - %s[0].zip == "41517" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.218145077" - %s[0].fax == nil - %s[0].email == "roevertrieb@aol.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "b.dns.gandi.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "c.dns.gandi.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "a.dns.gandi.net" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.txt deleted file mode 100644 index 24dadee7f..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.txt +++ /dev/null @@ -1,68 +0,0 @@ -Domain ID:CNIC-DO1423750 -Domain Name:HOTEL.GB.NET -Created On:2013-08-25T12:36:24.0Z -Last Updated On:2013-08-30T12:42:09.0Z -Expiration Date:2014-08-25T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:R1149-GANDI-PRYP -Registrant Name:Heinz Pierre Roeser -Registrant Organization:Roevertrieb -Registrant Street1:Friedensstr. 77 -Registrant City:Grevenbroich -Registrant Postal Code:41517 -Registrant Country:DE -Registrant Phone:+49.218145077 -Registrant Email:roevertrieb@aol.com -Admin ID:R1149-GANDI-PRYP -Admin Name:Heinz Pierre Roeser -Admin Organization:Roevertrieb -Admin Street1:Friedensstr. 77 -Admin City:Grevenbroich -Admin Postal Code:41517 -Admin Country:DE -Admin Phone:+49.218145077 -Admin Email:roevertrieb@aol.com -Tech ID:R1149-GANDI-PRYP -Tech Name:Heinz Pierre Roeser -Tech Organization:Roevertrieb -Tech Street1:Friedensstr. 77 -Tech City:Grevenbroich -Tech Postal Code:41517 -Tech Country:DE -Tech Phone:+49.218145077 -Tech Email:roevertrieb@aol.com -Billing ID:R1149-GANDI-PRYP -Billing Name:Heinz Pierre Roeser -Billing Organization:Roevertrieb -Billing Street1:Friedensstr. 77 -Billing City:Grevenbroich -Billing Postal Code:41517 -Billing Country:DE -Billing Phone:+49.218145077 -Billing Email:roevertrieb@aol.com -Sponsoring Registrar ID:H1167922 -Sponsoring Registrar IANA ID:81 -Sponsoring Registrar Organization:Gandi SAS -Sponsoring Registrar Street1:63-65 bd. Massena -Sponsoring Registrar City:Paris -Sponsoring Registrar Postal Code:75013 -Sponsoring Registrar Country:FR -Sponsoring Registrar Phone:+33 1 7039 3740 -Sponsoring Registrar FAX:+33 1 4373 1851 -Sponsoring Registrar Website:http://www.gandi.net/ -Name Server:B.DNS.GANDI.NET -Name Server:C.DNS.GANDI.NET -Name Server:A.DNS.GANDI.NET -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected deleted file mode 100644 index 987f1deef..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected +++ /dev/null @@ -1,85 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "google.gr.com" - -#domain_id - %s == "CNIC-DO735168" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2011-02-07 13:10:14 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-06-23 10:38:02 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-07 23:59:59 UTC} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1346485" - %s[0].name == nil - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{0} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H1346485" - %s[0].name == nil - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "f1g1ns1.dnspod.net" - %s[1] %CLASS{nameserver} - %s[1].name == "f1g1ns2.dnspod.net" diff --git a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.txt deleted file mode 100644 index d3480f1a8..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.txt +++ /dev/null @@ -1,23 +0,0 @@ -Domain ID:CNIC-DO735168 -Domain Name:GOOGLE.GR.COM -Created On:2011-02-07T13:10:14.0Z -Last Updated On:2012-06-23T10:38:02.0Z -Expiration Date:2015-02-07T23:59:59.0Z -Status:ok -Registrant ID:H1346485 -Tech ID:H1346485 -Billing ID:H1346485 -Name Server:F1G1NS1.DNSPOD.NET -Name Server:F1G1NS2.DNSPOD.NET -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/hu.com/property_contacts_omitted.txt b/spec/fixtures/responses/whois.centralnic.com/hu.com/property_contacts_omitted.txt deleted file mode 100644 index 42e4c86ca..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/hu.com/property_contacts_omitted.txt +++ /dev/null @@ -1,32 +0,0 @@ -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Domain ID:CNIC-DO482594 -Domain Name:HOTEL.HU.COM -Created On:12-Mar-2007 10:50:10 UTC -Last Updated On:13-Mar-2011 00:15:10 UTC -Expiration Date:12-Mar-2012 23:59:59 UTC -Status:OK -Registrant ID:H1088667 -Admin ID:H122681 -Tech ID:H122681 -Billing ID:H1088667 -Sponsoring Registrar ID:H122681 -Sponsoring Registrar Organization:Domain Exploitation International -Sponsoring Registrar City:Santa Monica -Sponsoring Registrar State/Province:CA -Sponsoring Registrar Postal Code:90401 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone: -Name Server:NS1.DOMAIN-EXPLOITATION.US.COM -Name Server:NS2.DOMAIN-EXPLOITATION.US.COM -DNSSEC:Unsigned - - diff --git a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected deleted file mode 100644 index 04c2e5204..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "porn.hu.com" - -#domain_id - %s == "CNIC-DO970405" - - -#status - %s == ["pendingDelete", "pendingDelete"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-11-28 17:46:03 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-11 00:16:13 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-11-28 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H65658" - %s.name == nil - %s.organization == "101Domain, Inc." - %s.url == "http://www.101domain.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "RWG000000004273D" - %s[0].name == "Gintautas Liaskus" - %s[0].organization == "G.Liaskaus firma INFOMEGA" - %s[0].address == "Kapsu 32-53" - %s[0].city == "Vilnius" - %s[0].zip == "02167" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "LT" - %s[0].phone == "+370.52711457" - %s[0].fax == "+370.52784278" - %s[0].email == "infotau@infotau.lt" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "RWG000000004273D" - %s[0].name == "Gintautas Liaskus" - %s[0].organization == "G.Liaskaus firma INFOMEGA" - %s[0].address == "Kapsu 32-53" - %s[0].city == "Vilnius" - %s[0].zip == "02167" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "LT" - %s[0].phone == "+370.52711457" - %s[0].fax == "+370.52784278" - %s[0].email == "infotau@infotau.lt" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "RWG000000004273D" - %s[0].name == "Gintautas Liaskus" - %s[0].organization == "G.Liaskaus firma INFOMEGA" - %s[0].address == "Kapsu 32-53" - %s[0].city == "Vilnius" - %s[0].zip == "02167" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "LT" - %s[0].phone == "+370.52711457" - %s[0].fax == "+370.52784278" - %s[0].email == "infotau@infotau.lt" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.sedoparking.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.sedoparking.com" diff --git a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.txt deleted file mode 100644 index fc0634ee5..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ -Domain ID:CNIC-DO970405 -Domain Name:PORN.HU.COM -Created On:2012-11-28T17:46:03.0Z -Last Updated On:2014-02-11T00:16:13.0Z -Expiration Date:2013-11-28T23:59:59.0Z -Status:pendingDelete -Status:pendingDelete -Registrant ID:RWG000000004273D -Registrant Name:Gintautas Liaskus -Registrant Organization:G.Liaskaus firma INFOMEGA -Registrant Street1:Kapsu 32-53 -Registrant City:Vilnius -Registrant Postal Code:02167 -Registrant Country:LT -Registrant Phone:+370.52711457 -Registrant FAX:+370.52784278 -Registrant Email:infotau@infotau.lt -Admin ID:RWG000000004273D -Admin Name:Gintautas Liaskus -Admin Organization:G.Liaskaus firma INFOMEGA -Admin Street1:Kapsu 32-53 -Admin City:Vilnius -Admin Postal Code:02167 -Admin Country:LT -Admin Phone:+370.52711457 -Admin FAX:+370.52784278 -Admin Email:infotau@infotau.lt -Tech ID:RWG000000004273D -Tech Name:Gintautas Liaskus -Tech Organization:G.Liaskaus firma INFOMEGA -Tech Street1:Kapsu 32-53 -Tech City:Vilnius -Tech Postal Code:02167 -Tech Country:LT -Tech Phone:+370.52711457 -Tech FAX:+370.52784278 -Tech Email:infotau@infotau.lt -Billing ID:RWG000000004273E -Billing Name:Billing Department -Billing Organization:101Domain, Inc. -Billing Street1:5858 Edison Pl. -Billing City:Carlsbad -Billing State/Province:CA -Billing Postal Code:92008 -Billing Country:US -Billing Phone:+1.7604448674 -Billing FAX:+1.7605794996 -Billing Email:tech1@101domain.com -Sponsoring Registrar ID:H65658 -Sponsoring Registrar IANA ID:1011 -Sponsoring Registrar Organization:101Domain, Inc. -Sponsoring Registrar Street1:5858 Edison Pl. -Sponsoring Registrar City:Carlsbad -Sponsoring Registrar State/Province:CA -Sponsoring Registrar Postal Code:92008 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:+1.7604448674 -Sponsoring Registrar FAX:+1.7605794996 -Sponsoring Registrar Website:http://www.101domain.com -Name Server:NS1.SEDOPARKING.COM -Name Server:NS2.SEDOPARKING.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.expected deleted file mode 100644 index 32e68ebb5..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "ntt.jp.net" - -#domain_id - %s == "CNIC-DO846061" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - -#created_on - %s %CLASS{time} - %s %TIME{2012-03-16 11:47:23 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-01-24 16:57:19 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2018-03-16 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H1605993" - %s.name == nil - %s.organization == "GMO" - %s.url == "http://www.onamae.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "136151BCEFE" - %s[0].name == "zhijian xia" - %s[0].organization == "zhijian xia" - %s[0].address == "Chuo\n3-23-20" - %s[0].city == "Warabi-shi" - %s[0].zip == "335-0004" - %s[0].state == "Saitama" - %s[0].country == nil - %s[0].country_code == "JP" - %s[0].phone == "+81.08037215656" - %s[0].fax == nil - %s[0].email == "xia@ingame.jp" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "136151BD1A1" - %s[0].name == "zhijian xia" - %s[0].organization == "zhijian xia" - %s[0].address == "Chuo\n3-23-20" - %s[0].city == "Warabi-shi" - %s[0].zip == "335-0004" - %s[0].state == "Saitama" - %s[0].country == nil - %s[0].country_code == "JP" - %s[0].phone == "+81.08037215656" - %s[0].fax == nil - %s[0].email == "xia@ingame.jp" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "136151BD459" - %s[0].name == "Technical Contact" - %s[0].organization == "GMO Internet Inc." - %s[0].address == "26-1 Sakuragaoka-cho\nCerulean Tower 11F" - %s[0].city == "Shibuya-ku" - %s[0].zip == "150-8512" - %s[0].state == "Tokyo" - %s[0].country == nil - %s[0].country_code == "JP" - %s[0].phone == "+81.0354562555" - %s[0].fax == "+81.0354562556" - %s[0].email == "admin@onamae.com" - - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.onamae.com" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.onamae.com" diff --git a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.txt deleted file mode 100644 index 892c1b9ba..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.txt +++ /dev/null @@ -1,77 +0,0 @@ -Domain ID:CNIC-DO846061 -Domain Name:NTT.JP.NET -Created On:2012-03-16T11:47:23.0Z -Last Updated On:2013-01-24T16:57:19.0Z -Expiration Date:2018-03-16T23:59:59.0Z -Status:ok -Registrant ID:136151BCEFE -Registrant Name:zhijian xia -Registrant Organization:zhijian xia -Registrant Street1:Chuo -Registrant Street2:3-23-20 -Registrant City:Warabi-shi -Registrant State/Province:Saitama -Registrant Postal Code:335-0004 -Registrant Country:JP -Registrant Phone:+81.08037215656 -Registrant Email:xia@ingame.jp -Admin ID:136151BD1A1 -Admin Name:zhijian xia -Admin Organization:zhijian xia -Admin Street1:Chuo -Admin Street2:3-23-20 -Admin City:Warabi-shi -Admin State/Province:Saitama -Admin Postal Code:335-0004 -Admin Country:JP -Admin Phone:+81.08037215656 -Admin Email:xia@ingame.jp -Tech ID:136151BD459 -Tech Name:Technical Contact -Tech Organization:GMO Internet Inc. -Tech Street1:26-1 Sakuragaoka-cho -Tech Street2:Cerulean Tower 11F -Tech City:Shibuya-ku -Tech State/Province:Tokyo -Tech Postal Code:150-8512 -Tech Country:JP -Tech Phone:+81.0354562555 -Tech FAX:+81.0354562556 -Tech Email:admin@onamae.com -Billing ID:136151BD74A -Billing Name:zhijian xia -Billing Organization:zhijian xia -Billing Street1:Chuo -Billing Street2:3-23-20 -Billing City:Warabi-shi -Billing State/Province:Saitama -Billing Postal Code:335-0004 -Billing Country:JP -Billing Phone:+81.08037215656 -Billing Email:xia@ingame.jp -Sponsoring Registrar ID:H1605993 -Sponsoring Registrar IANA ID:49 -Sponsoring Registrar Organization:GMO -Sponsoring Registrar Street1:Cerulean Tower, -Sponsoring Registrar Street2:26-1 Sakuragaoka-cho -Sponsoring Registrar City:Shibuya-ku -Sponsoring Registrar State/Province:Tokyo -Sponsoring Registrar Postal Code:150-8512 -Sponsoring Registrar Country:JP -Sponsoring Registrar Phone:+81 3 5456 1120 -Sponsoring Registrar FAX:+81 3 3489 1038 -Sponsoring Registrar Website:http://www.onamae.com -Name Server:DNS1.ONAMAE.COM -Name Server:DNS2.ONAMAE.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected deleted file mode 100644 index b237f53fb..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "koi.jpn.com" - -#domain_id - %s == "CNIC-DO492866" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-06-29 13:42:35 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-01 00:18:14 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-06-29 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "I6467" - %s.name == nil - %s.organization == "Webfusion" - %s.url == "http://www.123-reg.co.uk/domain-names/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MNT78E22765897" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "koi.jpn.com@identity-protect.org" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MNT78E22765897" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "koi.jpn.com@identity-protect.org" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MNT78E22765897" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "koi.jpn.com@identity-protect.org" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.chaoshosting.co.uk" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.chaoshosting.co.uk" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.txt deleted file mode 100644 index 0744d0356..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain ID:CNIC-DO492866 -Domain Name:KOI.JPN.COM -Created On:2007-06-29T13:42:35.0Z -Last Updated On:2013-07-01T00:18:14.0Z -Expiration Date:2015-06-29T23:59:59.0Z -Status:ok -Registrant ID:MNT78E22765897 -Registrant Name:Identity Protection Service -Registrant Organization:Identity Protect Limited -Registrant Street1:PO Box 795 -Registrant City:Godalming -Registrant State/Province:Surrey -Registrant Postal Code:GU7 9GA -Registrant Country:GB -Registrant Phone:+44.1483307527 -Registrant FAX:+44.1483304031 -Registrant Email:koi.jpn.com@identity-protect.org -Admin ID:MNT78E22765897 -Admin Name:Identity Protection Service -Admin Organization:Identity Protect Limited -Admin Street1:PO Box 795 -Admin City:Godalming -Admin State/Province:Surrey -Admin Postal Code:GU7 9GA -Admin Country:GB -Admin Phone:+44.1483307527 -Admin FAX:+44.1483304031 -Admin Email:koi.jpn.com@identity-protect.org -Tech ID:MNT78E22765897 -Tech Name:Identity Protection Service -Tech Organization:Identity Protect Limited -Tech Street1:PO Box 795 -Tech City:Godalming -Tech State/Province:Surrey -Tech Postal Code:GU7 9GA -Tech Country:GB -Tech Phone:+44.1483307527 -Tech FAX:+44.1483304031 -Tech Email:koi.jpn.com@identity-protect.org -Billing ID:MNT78E22765897 -Billing Name:Identity Protection Service -Billing Organization:Identity Protect Limited -Billing Street1:PO Box 795 -Billing City:Godalming -Billing State/Province:Surrey -Billing Postal Code:GU7 9GA -Billing Country:GB -Billing Phone:+44.1483307527 -Billing FAX:+44.1483304031 -Billing Email:koi.jpn.com@identity-protect.org -Sponsoring Registrar ID:I6467 -Sponsoring Registrar IANA ID:1515 -Sponsoring Registrar Organization:Webfusion -Sponsoring Registrar Street1:5 Roundwood Avenue -Sponsoring Registrar Street2:Stockley Park -Sponsoring Registrar City:Uxbridge -Sponsoring Registrar State/Province:Middlesex -Sponsoring Registrar Postal Code:UB11 1FF -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:0845 859 0018 -Sponsoring Registrar FAX:08701 650437 -Sponsoring Registrar Website:http://www.123-reg.co.uk/domain-names/ -Name Server:NS1.CHAOSHOSTING.CO.UK -Name Server:NS2.CHAOSHOSTING.CO.UK -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected deleted file mode 100644 index f3c74e04b..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected +++ /dev/null @@ -1,119 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "academyart.kr.com" - -#domain_id - %s == "CNIC-DO569707" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-06-11 21:25:43 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-01-16 16:25:41 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-11 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H292913" - %s.name == nil - %s.organization == "Network Solutions LLC" - %s.url == "http://www.networksolutions.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "41619876" - %s[0].name == "Academy of Art College" - %s[0].organization == "Academy of Art College" - %s[0].address == "79 NEW MONTGOMERY ST" - %s[0].city == "SAN FRANCISCO" - %s[0].zip == "94105" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.415618350" - %s[0].fax == nil - %s[0].email == "clefferts@academyart.edu" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "41619876" - %s[0].name == "Academy of Art College" - %s[0].organization == "Academy of Art College" - %s[0].address == "79 NEW MONTGOMERY ST" - %s[0].city == "SAN FRANCISCO" - %s[0].zip == "94105" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.415618350" - %s[0].fax == nil - %s[0].email == "clefferts@academyart.edu" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "41619876" - %s[0].name == "Academy of Art College" - %s[0].organization == "Academy of Art College" - %s[0].address == "79 NEW MONTGOMERY ST" - %s[0].city == "SAN FRANCISCO" - %s[0].zip == "94105" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.415618350" - %s[0].fax == nil - %s[0].email == "clefferts@academyart.edu" - - -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.academyart.edu" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dbru.br.ns.els-gms.att.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "dmtu.mt.ns.els-gms.att.net" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "cbru.br.ns.els-gms.att.net" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "cmtu.mt.ns.els-gms.att.net" - %s[4].ipv4 == nil - %s[4].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.txt deleted file mode 100644 index 27bef55cf..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.txt +++ /dev/null @@ -1,77 +0,0 @@ -Domain ID:CNIC-DO569707 -Domain Name:ACADEMYART.KR.COM -Created On:2008-06-11T21:25:43.0Z -Last Updated On:2012-01-16T16:25:41.0Z -Expiration Date:2014-06-11T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:41619876 -Registrant Name:Academy of Art College -Registrant Organization:Academy of Art College -Registrant Street1:79 NEW MONTGOMERY ST -Registrant City:SAN FRANCISCO -Registrant State/Province:CA -Registrant Postal Code:94105 -Registrant Country:US -Registrant Phone:+1.415618350 -Registrant Email:clefferts@academyart.edu -Admin ID:41619876 -Admin Name:Academy of Art College -Admin Organization:Academy of Art College -Admin Street1:79 NEW MONTGOMERY ST -Admin City:SAN FRANCISCO -Admin State/Province:CA -Admin Postal Code:94105 -Admin Country:US -Admin Phone:+1.415618350 -Admin Email:clefferts@academyart.edu -Tech ID:41619876 -Tech Name:Academy of Art College -Tech Organization:Academy of Art College -Tech Street1:79 NEW MONTGOMERY ST -Tech City:SAN FRANCISCO -Tech State/Province:CA -Tech Postal Code:94105 -Tech Country:US -Tech Phone:+1.415618350 -Tech Email:clefferts@academyart.edu -Billing ID:41619877 -Billing Name:Academy of Art University -Billing Organization:Academy of Art -Billing Street1:79 New Montgomery, 3rd Floor -Billing Street2:IT Department -Billing City:SAN FRANCISCO -Billing State/Province:CA -Billing Postal Code:94105 -Billing Country:US -Billing Phone:+1.4156188582 -Billing FAX:+1.4156186279 -Billing Email:Padsuar@academyart.edu -Sponsoring Registrar ID:H292913 -Sponsoring Registrar IANA ID:2 -Sponsoring Registrar Organization:Network Solutions LLC -Sponsoring Registrar Street1:12808 Gran Bay Parkway West -Sponsoring Registrar City:Jacksonville -Sponsoring Registrar State/Province:FL -Sponsoring Registrar Postal Code:32258 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:+1.9046806600 -Sponsoring Registrar FAX:+1.9048800350 -Sponsoring Registrar Website:http://www.networksolutions.com/ -Name Server:NS1.ACADEMYART.EDU -Name Server:DBRU.BR.NS.ELS-GMS.ATT.NET -Name Server:DMTU.MT.NS.ELS-GMS.ATT.NET -Name Server:CBRU.BR.NS.ELS-GMS.ATT.NET -Name Server:CMTU.MT.NS.ELS-GMS.ATT.NET -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected deleted file mode 100644 index feefd4e80..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "ceo.qc.com" - -#domain_id - %s == "CNIC-DO327026" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-10-08 02:12:49 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-11-23 18:03:55 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-08 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "7065-EN" - %s.name == nil - %s.organization == "eNom, Inc." - %s.url == "http://www.enom.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1062277" - %s[0].name == "helene" - %s[0].organization == nil - %s[0].address == "309 Laurendeau, Magog Qc" - %s[0].city == nil - %s[0].zip == "J1X 3W4" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "CA" - %s[0].phone == "+1.8198438380" - %s[0].fax == nil - %s[0].email == "docjgs@videotron.ca" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H114589" - %s[0].name == "helene viens" - %s[0].organization == nil - %s[0].address == "309 Laurendeau, Magog Qc" - %s[0].city == nil - %s[0].zip == "J1X 3W4" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "CA" - %s[0].phone == "+1.8198438380" - %s[0].fax == nil - %s[0].email == "docjgs@videotron.ca" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H114590" - %s[0].name == "helene viens" - %s[0].organization == nil - %s[0].address == "309 Laurendeau, Magog Qc" - %s[0].city == nil - %s[0].zip == "J1X 3W4" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "CA" - %s[0].phone == "+1.8198438380" - %s[0].fax == nil - %s[0].email == "docjgs@videotron.ca" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns12.zoneedit.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "t1.zoneedit.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.txt deleted file mode 100644 index e1806faa5..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.txt +++ /dev/null @@ -1,52 +0,0 @@ -Domain ID:CNIC-DO327026 -Domain Name:CEO.QC.COM -Created On:2004-10-08T02:12:49.0Z -Last Updated On:2012-11-23T18:03:55.0Z -Expiration Date:2014-10-08T23:59:59.0Z -Status:ok -Registrant ID:H1062277 -Registrant Name:helene -Registrant Street1:309 Laurendeau, Magog Qc -Registrant Postal Code:J1X 3W4 -Registrant Country:CA -Registrant Phone:+1.8198438380 -Registrant Email:docjgs@videotron.ca -Admin ID:H114589 -Admin Name:helene viens -Admin Street1:309 Laurendeau, Magog Qc -Admin Postal Code:J1X 3W4 -Admin Country:CA -Admin Phone:+1.8198438380 -Admin Email:docjgs@videotron.ca -Tech ID:H114590 -Tech Name:helene viens -Tech Street1:309 Laurendeau, Magog Qc -Tech Postal Code:J1X 3W4 -Tech Country:CA -Tech Phone:+1.8198438380 -Tech Email:docjgs@videotron.ca -Sponsoring Registrar ID:7065-EN -Sponsoring Registrar IANA ID:48 -Sponsoring Registrar Organization:eNom, Inc. -Sponsoring Registrar Street1:5808 Lake Washington Boulevard -Sponsoring Registrar City:Kirkland -Sponsoring Registrar State/Province:WA -Sponsoring Registrar Postal Code:98034 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:425-274-4500 -Sponsoring Registrar FAX:425-974-4796 -Sponsoring Registrar Website:http://www.enom.com/ -Name Server:NS12.ZONEEDIT.COM -Name Server:T1.ZONEEDIT.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected deleted file mode 100644 index 3bc6acb20..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected +++ /dev/null @@ -1,99 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "srk.ru.com" - -#domain_id - %s == "CNIC-DO450826" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-07-31 10:06:04 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-07-10 08:16:19 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-31 23:59:59 UTC} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1037013" - %s[0].name == "Anthony Lloyd, SRK Consulting (UK) Limited" - %s[0].organization == nil - %s[0].address == "5th Floor\nChurchill House\n17 Churchill Way" - %s[0].city == "Cardiff" - %s[0].zip == "CF10 2HH" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2920348150" - %s[0].fax == nil - %s[0].email == "alloyd@srk.co.uk" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H265405" - %s[0].name == "Anthony Lloyd" - %s[0].organization == "SRK Consulting (UK) Limited" - %s[0].address == "5th Floor\nChurchill House\n17 Churchill Way" - %s[0].city == "Cardiff" - %s[0].zip == "CF10 2HH" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2920348150" - %s[0].fax == nil - %s[0].email == "alloyd@srk.co.uk" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H265405" - %s[0].name == "Anthony Lloyd" - %s[0].organization == "SRK Consulting (UK) Limited" - %s[0].address == "5th Floor\nChurchill House\n17 Churchill Way" - %s[0].city == "Cardiff" - %s[0].zip == "CF10 2HH" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2920348150" - %s[0].fax == nil - %s[0].email == "alloyd@srk.co.uk" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns7.zoneedit.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns12.zoneedit.com" diff --git a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.txt deleted file mode 100644 index 71a4491a3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.txt +++ /dev/null @@ -1,62 +0,0 @@ -Domain ID:CNIC-DO450826 -Domain Name:SRK.RU.COM -Created On:2006-07-31T10:06:04.0Z -Last Updated On:2012-07-10T08:16:19.0Z -Expiration Date:2014-07-31T23:59:59.0Z -Status:ok -Registrant ID:H1037013 -Registrant Name:Anthony Lloyd, SRK Consulting (UK) Limited -Registrant Street1:5th Floor -Registrant Street2:Churchill House -Registrant Street3:17 Churchill Way -Registrant City:Cardiff -Registrant Postal Code:CF10 2HH -Registrant Country:GB -Registrant Phone:+44.2920348150 -Registrant Email:alloyd@srk.co.uk -Admin ID:H265405 -Admin Name:Anthony Lloyd -Admin Organization:SRK Consulting (UK) Limited -Admin Street1:5th Floor -Admin Street2:Churchill House -Admin Street3:17 Churchill Way -Admin City:Cardiff -Admin Postal Code:CF10 2HH -Admin Country:GB -Admin Phone:+44.2920348150 -Admin Email:alloyd@srk.co.uk -Tech ID:H265405 -Tech Name:Anthony Lloyd -Tech Organization:SRK Consulting (UK) Limited -Tech Street1:5th Floor -Tech Street2:Churchill House -Tech Street3:17 Churchill Way -Tech City:Cardiff -Tech Postal Code:CF10 2HH -Tech Country:GB -Tech Phone:+44.2920348150 -Tech Email:alloyd@srk.co.uk -Billing ID:H265406 -Billing Name:A R Lloyd -Billing Organization:SRK Consulting (UK) Limited -Billing Street1:Windsor Court -Billing Street2:1-3 Windsor Place -Billing Street3:Cardiff -Billing Postal Code:CF10 3BX -Billing Country:GB -Billing Phone:+44.2920348150 -Billing Email:alloyd@srk.co.uk -Name Server:NS7.ZONEEDIT.COM -Name Server:NS12.ZONEEDIT.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected deleted file mode 100644 index 6f2963a6f..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "fynbos.sa.com" - -#domain_id - %s == "CNIC-DO501005" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-09-27 18:14:53 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-02 13:42:11 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-27 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "C30342" - %s.name == nil - %s.organization == "Paragon Internet Group" - %s.url == "http://www.paragon.net.uk" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H323273" - %s[0].name == "Maarten Groos" - %s[0].organization == nil - %s[0].address == "farm 215 fynbos reserve\nPO Box 1314" - %s[0].city == "Gansbaai" - %s[0].zip == "7220" - %s[0].state == "Western Cape" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.283880920" - %s[0].fax == nil - %s[0].email == "maarten@farm215.co.za" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H323273" - %s[0].name == "Maarten Groos" - %s[0].organization == nil - %s[0].address == "farm 215 fynbos reserve\nPO Box 1314" - %s[0].city == "Gansbaai" - %s[0].zip == "7220" - %s[0].state == "Western Cape" - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.283880920" - %s[0].fax == nil - %s[0].email == "maarten@farm215.co.za" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C30342" - %s[0].name == "Seb de Lemos" - %s[0].organization == "Paragon Internet Group" - %s[0].address == "St Andrew's House\nSt Mary's Walk" - %s[0].city == "Maidenhead" - %s[0].zip == "SL6 1QZ" - %s[0].state == "Berkshire" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2031377651" - %s[0].fax == nil - %s[0].email == "domains@paragon.net.uk" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1191.websitewelcome.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1192.websitewelcome.com" diff --git a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.txt deleted file mode 100644 index 296b6af3c..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.txt +++ /dev/null @@ -1,61 +0,0 @@ -Domain ID:CNIC-DO501005 -Domain Name:FYNBOS.SA.COM -Created On:2007-09-27T18:14:53.0Z -Last Updated On:2013-11-02T13:42:11.0Z -Expiration Date:2014-09-27T23:59:59.0Z -Status:ok -Registrant ID:H323273 -Registrant Name:Maarten Groos -Registrant Street1:farm 215 fynbos reserve -Registrant Street2:PO Box 1314 -Registrant City:Gansbaai -Registrant State/Province:Western Cape -Registrant Postal Code:7220 -Registrant Country:ZA -Registrant Phone:+27.283880920 -Registrant Email:maarten@farm215.co.za -Admin ID:H323273 -Admin Name:Maarten Groos -Admin Street1:farm 215 fynbos reserve -Admin Street2:PO Box 1314 -Admin City:Gansbaai -Admin State/Province:Western Cape -Admin Postal Code:7220 -Admin Country:ZA -Admin Phone:+27.283880920 -Admin Email:maarten@farm215.co.za -Tech ID:C30342 -Tech Name:Seb de Lemos -Tech Organization:Paragon Internet Group -Tech Street1:St Andrew's House -Tech Street2:St Mary's Walk -Tech City:Maidenhead -Tech State/Province:Berkshire -Tech Postal Code:SL6 1QZ -Tech Country:GB -Tech Phone:+44.2031377651 -Tech Email:domains@paragon.net.uk -Sponsoring Registrar ID:C30342 -Sponsoring Registrar Organization:Paragon Internet Group -Sponsoring Registrar Street1:St Andrew's House -Sponsoring Registrar Street2:St Mary's Walk -Sponsoring Registrar City:Maidenhead -Sponsoring Registrar State/Province:Berkshire -Sponsoring Registrar Postal Code:SL6 1QZ -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:020 3137 7651 -Sponsoring Registrar Website:http://www.paragon.net.uk -Name Server:NS1191.WEBSITEWELCOME.COM -Name Server:NS1192.WEBSITEWELCOME.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected deleted file mode 100644 index 5523b3769..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "hotel.se.com" - -#domain_id - %s == "CNIC-DO561053" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-05-10 05:17:32 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-03 10:33:46 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-10 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "7145-IX" - %s.name == nil - %s.organization == "InternetX GmbH" - %s.url == "http://www.internetx.de/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "INX-10599082com" - %s[0].name == "Hotel Reservation Service Robert Ragge GmbH" - %s[0].organization == "Hotel Reservation Service Robert Ragge GmbH" - %s[0].address == "Blaubach 32" - %s[0].city == "Koeln" - %s[0].zip == "50676" - %s[0].state == "NRW" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2212077222" - %s[0].fax == "+49.2212077394" - %s[0].email == "domains@hrs.de" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "INX-201727com" - %s[0].name == "Robert Ragge" - %s[0].organization == "Hotel Reservation Service Robert Ragge GmbH" - %s[0].address == "Blaubach 32" - %s[0].city == "Koeln" - %s[0].zip == "50676" - %s[0].state == "DE" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.2212077222" - %s[0].fax == "+49.2212077394" - %s[0].email == "domains@hrs.de" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "INX-201728com" - %s[0].name == "Uwe Watzek" - %s[0].organization == "Wind Internethaus GmbH" - %s[0].address == "Am Krebsgraben 15\nHaus 2" - %s[0].city == "Villingen-Schwenningen" - %s[0].zip == "78048" - %s[0].state == "Baden-Wuerttemberg" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.77214070740" - %s[0].fax == "+49.77214070741" - %s[0].email == "info@windinternethaus.de" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.hrs.de" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.hrs.de" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.surfbrett.de" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.txt deleted file mode 100644 index 3fb163bba..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.txt +++ /dev/null @@ -1,75 +0,0 @@ -Domain ID:CNIC-DO561053 -Domain Name:HOTEL.SE.COM -Created On:2008-05-10T05:17:32.0Z -Last Updated On:2013-06-03T10:33:46.0Z -Expiration Date:2014-05-10T23:59:59.0Z -Status:ok -Registrant ID:INX-10599082com -Registrant Name:Hotel Reservation Service Robert Ragge GmbH -Registrant Organization:Hotel Reservation Service Robert Ragge GmbH -Registrant Street1:Blaubach 32 -Registrant City:Koeln -Registrant State/Province:NRW -Registrant Postal Code:50676 -Registrant Country:DE -Registrant Phone:+49.2212077222 -Registrant FAX:+49.2212077394 -Registrant Email:domains@hrs.de -Admin ID:INX-201727com -Admin Name:Robert Ragge -Admin Organization:Hotel Reservation Service Robert Ragge GmbH -Admin Street1:Blaubach 32 -Admin City:Koeln -Admin State/Province:DE -Admin Postal Code:50676 -Admin Country:DE -Admin Phone:+49.2212077222 -Admin FAX:+49.2212077394 -Admin Email:domains@hrs.de -Tech ID:INX-201728com -Tech Name:Uwe Watzek -Tech Organization:Wind Internethaus GmbH -Tech Street1:Am Krebsgraben 15 -Tech Street2:Haus 2 -Tech City:Villingen-Schwenningen -Tech State/Province:Baden-Wuerttemberg -Tech Postal Code:78048 -Tech Country:DE -Tech Phone:+49.77214070740 -Tech FAX:+49.77214070741 -Tech Email:info@windinternethaus.de -Billing ID:INX-10599082com -Billing Name:Hotel Reservation Service Robert Ragge GmbH -Billing Organization:Hotel Reservation Service Robert Ragge GmbH -Billing Street1:Blaubach 32 -Billing City:Koeln -Billing State/Province:NRW -Billing Postal Code:50676 -Billing Country:DE -Billing Phone:+49.2212077222 -Billing FAX:+49.2212077394 -Billing Email:domains@hrs.de -Sponsoring Registrar ID:7145-IX -Sponsoring Registrar Organization:InternetX GmbH -Sponsoring Registrar Street1:Maximilianstr. 6 -Sponsoring Registrar City:Regensburg -Sponsoring Registrar Postal Code:93047 -Sponsoring Registrar Country:DE -Sponsoring Registrar Phone:+49-941-595590 -Sponsoring Registrar FAX:+49-941-59579054 -Sponsoring Registrar Website:http://www.internetx.de/ -Name Server:NS1.HRS.DE -Name Server:NS2.HRS.DE -Name Server:NS2.SURFBRETT.DE -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected deleted file mode 100644 index 1042cd669..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "hotel.se.net" - -#domain_id - %s == "CNIC-DO1617446" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2013-11-13 10:35:03 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-28 11:49:39 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-13 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H2307235" - %s.name == nil - %s.organization == "Soluciones Corporativas IP, S.L.U." - %s.url == "www.scip.es" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "scipr000323588" - %s[0].name == "Christoph Donath" - %s[0].organization == "Christoph Donath" - %s[0].address == "C. Tijarafe 24, 2c" - %s[0].city == "Cruce de Arinaga" - %s[0].zip == "35118" - %s[0].state == "Palmas (Las)" - %s[0].country == nil - %s[0].country_code == "ES" - %s[0].phone == "+34.667889082" - %s[0].fax == nil - %s[0].email == "info@christophdonath.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "scipa000323588" - %s[0].name == "Christoph Donath" - %s[0].organization == "Christoph Donath" - %s[0].address == "C. Tijarafe 24, 2c" - %s[0].city == "Cruce de Arinaga" - %s[0].zip == "35118" - %s[0].state == "Palmas (Las)" - %s[0].country == nil - %s[0].country_code == "ES" - %s[0].phone == "+34.667889082" - %s[0].fax == nil - %s[0].email == "info@christophdonath.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "scipt000323588" - %s[0].name == "Christoph Donath" - %s[0].organization == "Christoph Donath" - %s[0].address == "C. Tijarafe 24, 2c" - %s[0].city == "Cruce de Arinaga" - %s[0].zip == "35118" - %s[0].state == "Palmas (Las)" - %s[0].country == nil - %s[0].country_code == "ES" - %s[0].phone == "+34.667889082" - %s[0].fax == nil - %s[0].email == "info@christophdonath.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns8261.hostgator.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns8262.hostgator.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.txt deleted file mode 100644 index d21f8deaf..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.txt +++ /dev/null @@ -1,71 +0,0 @@ -Domain ID:CNIC-DO1617446 -Domain Name:HOTEL.SE.NET -Created On:2013-11-13T10:35:03.0Z -Last Updated On:2013-11-28T11:49:39.0Z -Expiration Date:2014-11-13T23:59:59.0Z -Status:ok -Registrant ID:scipr000323588 -Registrant Name:Christoph Donath -Registrant Organization:Christoph Donath -Registrant Street1:C. Tijarafe 24, 2c -Registrant City:Cruce de Arinaga -Registrant State/Province:Palmas (Las) -Registrant Postal Code:35118 -Registrant Country:ES -Registrant Phone:+34.667889082 -Registrant Email:info@christophdonath.com -Admin ID:scipa000323588 -Admin Name:Christoph Donath -Admin Organization:Christoph Donath -Admin Street1:C. Tijarafe 24, 2c -Admin City:Cruce de Arinaga -Admin State/Province:Palmas (Las) -Admin Postal Code:35118 -Admin Country:ES -Admin Phone:+34.667889082 -Admin Email:info@christophdonath.com -Tech ID:scipt000323588 -Tech Name:Christoph Donath -Tech Organization:Christoph Donath -Tech Street1:C. Tijarafe 24, 2c -Tech City:Cruce de Arinaga -Tech State/Province:Palmas (Las) -Tech Postal Code:35118 -Tech Country:ES -Tech Phone:+34.667889082 -Tech Email:info@christophdonath.com -Billing ID:scipb000323588 -Billing Name:Christoph Donath -Billing Organization:Christoph Donath -Billing Street1:C. Tijarafe 24, 2c -Billing City:Cruce de Arinaga -Billing State/Province:Palmas (Las) -Billing Postal Code:35118 -Billing Country:ES -Billing Phone:+34.667889082 -Billing Email:info@christophdonath.com -Sponsoring Registrar ID:H2307235 -Sponsoring Registrar IANA ID:1383 -Sponsoring Registrar Organization:Soluciones Corporativas IP, S.L.U. -Sponsoring Registrar Street1:C/ Ses Parres esq. Brunete, 21 1º -Sponsoring Registrar City:Manacor -Sponsoring Registrar State/Province:Illes Balears -Sponsoring Registrar Postal Code:07500 -Sponsoring Registrar Country:ES -Sponsoring Registrar Phone:+34.871986600 -Sponsoring Registrar FAX:+34.871986601 -Sponsoring Registrar Website:www.scip.es -Name Server:NS8261.HOSTGATOR.COM -Name Server:NS8262.HOSTGATOR.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected deleted file mode 100644 index 159e1e9ae..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "history.uk.com" - -#domain_id - %s == "CNIC-DO86293" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-08-31 11:50:57 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-03 10:36:47 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-08-31 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H78362" - %s.name == nil - %s.organization == "E-VELOCITY LTD" - %s.url == "http://www.e-velocity.co.uk/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1045821" - %s[0].name == "Mr. Ray Hatley" - %s[0].organization == nil - %s[0].address == "Tallow House\n65-66 Lower Galdeford" - %s[0].city == "Ludlow" - %s[0].zip == "SY8 1RU" - %s[0].state == "Shropshire" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1584873633" - %s[0].fax == nil - %s[0].email == "ray@hatley.co.uk" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H305798" - %s[0].name == "Mr. Ray Hatley" - %s[0].organization == nil - %s[0].address == "Tallow House\n65-66 Lower Galdeford" - %s[0].city == "Ludlow" - %s[0].zip == "SY8 1RU" - %s[0].state == "Shropshire" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1584873633" - %s[0].fax == nil - %s[0].email == "ray@hatley.co.uk" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H78362" - %s[0].name == "Mr Simon Williams" - %s[0].organization == "E-VELOCITY LTD" - %s[0].address == "P.O Box 3295\nBrighton" - %s[0].city == nil - %s[0].zip == "BN50 9EY" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1273684969" - %s[0].fax == nil - %s[0].email == "simon@e-velocity.co.uk" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns37.eukdns.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns38.eukdns.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.txt deleted file mode 100644 index d26fbf34f..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.txt +++ /dev/null @@ -1,57 +0,0 @@ -Domain ID:CNIC-DO86293 -Domain Name:HISTORY.UK.COM -Created On:2001-08-31T11:50:57.0Z -Last Updated On:2013-09-03T10:36:47.0Z -Expiration Date:2015-08-31T23:59:59.0Z -Status:ok -Registrant ID:H1045821 -Registrant Name:Mr. Ray Hatley -Registrant Street1:Tallow House -Registrant Street2:65-66 Lower Galdeford -Registrant City:Ludlow -Registrant State/Province:Shropshire -Registrant Postal Code:SY8 1RU -Registrant Country:GB -Registrant Phone:+44.1584873633 -Registrant Email:ray@hatley.co.uk -Admin ID:H305798 -Admin Name:Mr. Ray Hatley -Admin Street1:Tallow House -Admin Street2:65-66 Lower Galdeford -Admin City:Ludlow -Admin State/Province:Shropshire -Admin Postal Code:SY8 1RU -Admin Country:GB -Admin Phone:+44.1584873633 -Admin Email:ray@hatley.co.uk -Tech ID:H78362 -Tech Name:Mr Simon Williams -Tech Organization:E-VELOCITY LTD -Tech Street1:P.O Box 3295 -Tech Street2:Brighton -Tech Postal Code:BN50 9EY -Tech Country:GB -Tech Phone:+44.1273684969 -Tech Email:simon@e-velocity.co.uk -Sponsoring Registrar ID:H78362 -Sponsoring Registrar Organization:E-VELOCITY LTD -Sponsoring Registrar Street1:P.O Box 3295 -Sponsoring Registrar Street2:Brighton -Sponsoring Registrar Postal Code:BN50 9EY -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:01273 684969 -Sponsoring Registrar Website:http://www.e-velocity.co.uk/ -Name Server:NS37.EUKDNS.COM -Name Server:NS38.EUKDNS.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected deleted file mode 100644 index 21b274fcd..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "paramount.uk.net" - -#domain_id - %s == "CNIC-DO393884" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-02-28 12:17:01 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-03 12:59:45 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-02-28 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "I6467" - %s.name == nil - %s.organization == "Webfusion" - %s.url == "http://www.123-reg.co.uk/domain-names/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MNT60424953041" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "paramount.uk.net@identity-protect.org" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MNT60424953041" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "paramount.uk.net@identity-protect.org" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MNT60424953041" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "paramount.uk.net@identity-protect.org" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.myhostcp.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.myhostcp.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.txt deleted file mode 100644 index 5f246e701..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain ID:CNIC-DO393884 -Domain Name:PARAMOUNT.UK.NET -Created On:2006-02-28T12:17:01.0Z -Last Updated On:2013-04-03T12:59:45.0Z -Expiration Date:2014-02-28T23:59:59.0Z -Status:ok -Registrant ID:MNT60424953041 -Registrant Name:Identity Protection Service -Registrant Organization:Identity Protect Limited -Registrant Street1:PO Box 795 -Registrant City:Godalming -Registrant State/Province:Surrey -Registrant Postal Code:GU7 9GA -Registrant Country:GB -Registrant Phone:+44.1483307527 -Registrant FAX:+44.1483304031 -Registrant Email:paramount.uk.net@identity-protect.org -Admin ID:MNT60424953041 -Admin Name:Identity Protection Service -Admin Organization:Identity Protect Limited -Admin Street1:PO Box 795 -Admin City:Godalming -Admin State/Province:Surrey -Admin Postal Code:GU7 9GA -Admin Country:GB -Admin Phone:+44.1483307527 -Admin FAX:+44.1483304031 -Admin Email:paramount.uk.net@identity-protect.org -Tech ID:MNT60424953041 -Tech Name:Identity Protection Service -Tech Organization:Identity Protect Limited -Tech Street1:PO Box 795 -Tech City:Godalming -Tech State/Province:Surrey -Tech Postal Code:GU7 9GA -Tech Country:GB -Tech Phone:+44.1483307527 -Tech FAX:+44.1483304031 -Tech Email:paramount.uk.net@identity-protect.org -Billing ID:MNT60424953041 -Billing Name:Identity Protection Service -Billing Organization:Identity Protect Limited -Billing Street1:PO Box 795 -Billing City:Godalming -Billing State/Province:Surrey -Billing Postal Code:GU7 9GA -Billing Country:GB -Billing Phone:+44.1483307527 -Billing FAX:+44.1483304031 -Billing Email:paramount.uk.net@identity-protect.org -Sponsoring Registrar ID:I6467 -Sponsoring Registrar IANA ID:1515 -Sponsoring Registrar Organization:Webfusion -Sponsoring Registrar Street1:5 Roundwood Avenue -Sponsoring Registrar Street2:Stockley Park -Sponsoring Registrar City:Uxbridge -Sponsoring Registrar State/Province:Middlesex -Sponsoring Registrar Postal Code:UB11 1FF -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:0845 859 0018 -Sponsoring Registrar FAX:08701 650437 -Sponsoring Registrar Website:http://www.123-reg.co.uk/domain-names/ -Name Server:NS1.MYHOSTCP.COM -Name Server:NS2.MYHOSTCP.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected deleted file mode 100644 index eab09f223..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "college.us.com" - -#domain_id - %s == "CNIC-DO275307" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-10-20 10:03:28 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-01-16 16:27:26 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-20 23:59:59 UTC} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1044037" - %s[0].name == "Vantage Media Corporation" - %s[0].organization == nil - %s[0].address == "2101 Rosecrans Ave.\nSuite 2000" - %s[0].city == nil - %s[0].zip == "90245" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.3102196200" - %s[0].fax == "+1.8665897214" - %s[0].email == "domainadmin@vantagemedia.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H143205" - %s[0].name == "Domain Administrator" - %s[0].organization == "Vantage Media LLC" - %s[0].address == "2101 Rosecrans Ave.\nSuite 2000" - %s[0].city == nil - %s[0].zip == "90245" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.3102196200" - %s[0].fax == "+1.8665897214" - %s[0].email == "domainadmin@vantagemedia.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H143205" - %s[0].name == "Domain Administrator" - %s[0].organization == "Vantage Media LLC" - %s[0].address == "2101 Rosecrans Ave.\nSuite 2000" - %s[0].city == nil - %s[0].zip == "90245" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.3102196200" - %s[0].fax == "+1.8665897214" - %s[0].email == "domainadmin@vantagemedia.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.p17.dynect.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.p17.dynect.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.p17.dynect.net" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.p17.dynect.net" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.txt deleted file mode 100644 index 87e65356a..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.txt +++ /dev/null @@ -1,61 +0,0 @@ -Domain ID:CNIC-DO275307 -Domain Name:COLLEGE.US.COM -Created On:2003-10-20T10:03:28.0Z -Last Updated On:2012-01-16T16:27:26.0Z -Expiration Date:2014-10-20T23:59:59.0Z -Status:ok -Registrant ID:H1044037 -Registrant Name:Vantage Media Corporation -Registrant Street1:2101 Rosecrans Ave. -Registrant Street2:Suite 2000 -Registrant Postal Code:90245 -Registrant Country:US -Registrant Phone:+1.3102196200 -Registrant FAX:+1.8665897214 -Registrant Email:domainadmin@vantagemedia.com -Admin ID:H143205 -Admin Name:Domain Administrator -Admin Organization:Vantage Media LLC -Admin Street1:2101 Rosecrans Ave. -Admin Street2:Suite 2000 -Admin Postal Code:90245 -Admin Country:US -Admin Phone:+1.3102196200 -Admin FAX:+1.8665897214 -Admin Email:domainadmin@vantagemedia.com -Tech ID:H143205 -Tech Name:Domain Administrator -Tech Organization:Vantage Media LLC -Tech Street1:2101 Rosecrans Ave. -Tech Street2:Suite 2000 -Tech Postal Code:90245 -Tech Country:US -Tech Phone:+1.3102196200 -Tech FAX:+1.8665897214 -Tech Email:domainadmin@vantagemedia.com -Billing ID:H143205 -Billing Name:Domain Administrator -Billing Organization:Vantage Media LLC -Billing Street1:2101 Rosecrans Ave. -Billing Street2:Suite 2000 -Billing Postal Code:90245 -Billing Country:US -Billing Phone:+1.3102196200 -Billing FAX:+1.8665897214 -Billing Email:domainadmin@vantagemedia.com -Name Server:NS1.P17.DYNECT.NET -Name Server:NS2.P17.DYNECT.NET -Name Server:NS3.P17.DYNECT.NET -Name Server:NS4.P17.DYNECT.NET -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/uy.com/property_contacts_omitted.txt b/spec/fixtures/responses/whois.centralnic.com/uy.com/property_contacts_omitted.txt deleted file mode 100644 index 224a5bc21..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uy.com/property_contacts_omitted.txt +++ /dev/null @@ -1,32 +0,0 @@ -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Domain ID:CNIC-DO705337 -Domain Name:BINGO.UY.COM -Created On:02-Aug-2010 09:47:07 UTC -Last Updated On:03-Aug-2011 00:15:14 UTC -Expiration Date:02-Aug-2012 23:59:59 UTC -Status:OK -Registrant ID:H122681 -Admin ID:H122681 -Tech ID:H122681 -Billing ID:H122681 -Sponsoring Registrar ID:H122681 -Sponsoring Registrar Organization:Domain Exploitation International -Sponsoring Registrar City:Santa Monica -Sponsoring Registrar State/Province:CA -Sponsoring Registrar Postal Code:90401 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone: -Name Server:NS2.DOMAIN-EXPLOITATION.US.COM -Name Server:NS1.DOMAIN-EXPLOITATION.US.COM -DNSSEC:Unsigned - - diff --git a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected deleted file mode 100644 index 0a7b72fb0..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "bestb.uy.com" - -#domain_id - %s == "CNIC-DO493832" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-07-12 13:49:25 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-10 00:27:20 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-07-12 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "I6467" - %s.name == nil - %s.organization == "Webfusion" - %s.url == "http://www.123-reg.co.uk/domain-names/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MNT32524959440" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "bestb.uy.com@identity-protect.org" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MNT32524959440" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "bestb.uy.com@identity-protect.org" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MNT32524959440" - %s[0].name == "Identity Protection Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "bestb.uy.com@identity-protect.org" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.123-reg.co.uk" - %s[1] %CLASS{nameserver} - %s[1].name == "ns.123-reg.co.uk" diff --git a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.txt deleted file mode 100644 index 0ae493b7f..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain ID:CNIC-DO493832 -Domain Name:BESTB.UY.COM -Created On:2007-07-12T13:49:25.0Z -Last Updated On:2013-07-10T00:27:20.0Z -Expiration Date:2015-07-12T23:59:59.0Z -Status:ok -Registrant ID:MNT32524959440 -Registrant Name:Identity Protection Service -Registrant Organization:Identity Protect Limited -Registrant Street1:PO Box 795 -Registrant City:Godalming -Registrant State/Province:Surrey -Registrant Postal Code:GU7 9GA -Registrant Country:GB -Registrant Phone:+44.1483307527 -Registrant FAX:+44.1483304031 -Registrant Email:bestb.uy.com@identity-protect.org -Admin ID:MNT32524959440 -Admin Name:Identity Protection Service -Admin Organization:Identity Protect Limited -Admin Street1:PO Box 795 -Admin City:Godalming -Admin State/Province:Surrey -Admin Postal Code:GU7 9GA -Admin Country:GB -Admin Phone:+44.1483307527 -Admin FAX:+44.1483304031 -Admin Email:bestb.uy.com@identity-protect.org -Tech ID:MNT32524959440 -Tech Name:Identity Protection Service -Tech Organization:Identity Protect Limited -Tech Street1:PO Box 795 -Tech City:Godalming -Tech State/Province:Surrey -Tech Postal Code:GU7 9GA -Tech Country:GB -Tech Phone:+44.1483307527 -Tech FAX:+44.1483304031 -Tech Email:bestb.uy.com@identity-protect.org -Billing ID:MNT32524959440 -Billing Name:Identity Protection Service -Billing Organization:Identity Protect Limited -Billing Street1:PO Box 795 -Billing City:Godalming -Billing State/Province:Surrey -Billing Postal Code:GU7 9GA -Billing Country:GB -Billing Phone:+44.1483307527 -Billing FAX:+44.1483304031 -Billing Email:bestb.uy.com@identity-protect.org -Sponsoring Registrar ID:I6467 -Sponsoring Registrar IANA ID:1515 -Sponsoring Registrar Organization:Webfusion -Sponsoring Registrar Street1:5 Roundwood Avenue -Sponsoring Registrar Street2:Stockley Park -Sponsoring Registrar City:Uxbridge -Sponsoring Registrar State/Province:Middlesex -Sponsoring Registrar Postal Code:UB11 1FF -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:0845 859 0018 -Sponsoring Registrar FAX:08701 650437 -Sponsoring Registrar Website:http://www.123-reg.co.uk/domain-names/ -Name Server:NS2.123-REG.CO.UK -Name Server:NS.123-REG.CO.UK -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected b/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.txt b/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected b/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected deleted file mode 100644 index 7d4b3eedc..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "siyenza.za.com" - -#domain_id - %s == "CNIC-DO333077" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-11-17 11:47:29 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-03 12:33:13 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-17 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "C12112" - %s.name == nil - %s.organization == "Megaweb Internet Services" - %s.url == "http://www.megaweb.co.za/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H1063006" - %s[0].name == "MegaWeb Internet Services cc" - %s[0].organization == nil - %s[0].address == "PO Box 3738\nCramerview" - %s[0].city == nil - %s[0].zip == "2060" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.0114851984" - %s[0].fax == "+27.0114855999" - %s[0].email == "dns-admin@megaweb.co.za" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H119106" - %s[0].name == "Liz Hart" - %s[0].organization == "Siyenza Management" - %s[0].address == "PO Box 3738\nCramerview" - %s[0].city == nil - %s[0].zip == "2060" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.0114851984" - %s[0].fax == "+27.0114855999" - %s[0].email == "dns-admin@megaweb.co.za" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C12112" - %s[0].name == "Laida Peters" - %s[0].organization == "Megaweb Internet Services" - %s[0].address == nil - %s[0].city == "Gauteng" - %s[0].zip == "2192" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "ZA" - %s[0].phone == "+27.027114851984" - %s[0].fax == "+27.027114851986" - %s[0].email == "dns-admin@megaweb.co.za" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1a.your-server.co.za" - %s[1] %CLASS{nameserver} - %s[1].name == "nsa.second-ns.co.za" diff --git a/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.txt b/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.txt deleted file mode 100644 index 27cebec3f..000000000 --- a/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.txt +++ /dev/null @@ -1,56 +0,0 @@ -Domain ID:CNIC-DO333077 -Domain Name:SIYENZA.ZA.COM -Created On:2004-11-17T11:47:29.0Z -Last Updated On:2013-12-03T12:33:13.0Z -Expiration Date:2014-11-17T23:59:59.0Z -Status:ok -Registrant ID:H1063006 -Registrant Name:MegaWeb Internet Services cc -Registrant Street1:PO Box 3738 -Registrant Street2:Cramerview -Registrant Postal Code:2060 -Registrant Country:ZA -Registrant Phone:+27.0114851984 -Registrant FAX:+27.0114855999 -Registrant Email:dns-admin@megaweb.co.za -Admin ID:H119106 -Admin Name:Liz Hart -Admin Organization:Siyenza Management -Admin Street1:PO Box 3738 -Admin Street2:Cramerview -Admin Postal Code:2060 -Admin Country:ZA -Admin Phone:+27.0114851984 -Admin FAX:+27.0114855999 -Admin Email:dns-admin@megaweb.co.za -Tech ID:C12112 -Tech Name:Laida Peters -Tech Organization:Megaweb Internet Services -Tech City:Gauteng -Tech Postal Code:2192 -Tech Country:ZA -Tech Phone:+27.027114851984 -Tech FAX:+27.027114851986 -Tech Email:dns-admin@megaweb.co.za -Sponsoring Registrar ID:C12112 -Sponsoring Registrar Organization:Megaweb Internet Services -Sponsoring Registrar City:Gauteng -Sponsoring Registrar Postal Code:2192 -Sponsoring Registrar Country:ZA -Sponsoring Registrar Phone:02711 485 1984 -Sponsoring Registrar FAX:02711 485 1986 -Sponsoring Registrar Website:http://www.megaweb.co.za/ -Name Server:NS1A.YOUR-SERVER.CO.ZA -Name Server:NSA.SECOND-NS.CO.ZA -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.txt deleted file mode 100644 index 33b79391c..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.txt +++ /dev/null @@ -1,43 +0,0 @@ -Domain name: abbylane.pe.ca -Domain status: auto-renew grace -Creation date: 2000/10/26 -Expiry date: 2011/11/30 - -Registrar: - Name: easyDNS Technologies Inc. - Number: 88 - -Registrant: - Name: Abbylane Summer Homes - -Administrative contact: - Name: Jeff Carmody - Postal address: Abbylane Summer Homes - 8 Birchill Drive - Ch-town PE C1A 6W5 Canada - Phone: +1 902-621-0244 - Fax: +1 902-566-0823 - Email: jeff@abbylane.pe.ca - -Technical contact: - Name: Jeff Carmody - Postal address: 550 University Ave - Charlottetown PE C1A4p3 Canada - Phone: +1 902 566 0829 - Fax: +1 902-628-4355 - Email: jeff@abbylane.pe.ca - -Name servers: - ns1.easydns.com - ns2.easydns.com - ns3.easydns.org - ns6.easydns.net - remote1.easydns.com - remote2.easydns.com - -% WHOIS look-up made at 2010-12-10 22:01:40 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.txt deleted file mode 100644 index 2cdde6b08..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain name: u34jedzcq.ca -Domain status: available - -% WHOIS look-up made at 2010-10-13 18:32:55 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.txt deleted file mode 100644 index df1632aca..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.txt +++ /dev/null @@ -1,20 +0,0 @@ -Domain name: sagespa.ca -Domain status: pending delete -Creation date: 2011/05/12 -Expiry date: 2013/05/12 -Updated date: 2013/07/31 - -Registrar: - Name: Go Daddy Domains Canada, Inc - Number: 2316042 - -Name servers: - ns75.domaincontrol.com - ns76.domaincontrol.com - -% WHOIS look-up made at 2013-08-01 17:51:03 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2013 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.txt deleted file mode 100644 index 5b4ace4ba..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.txt +++ /dev/null @@ -1,40 +0,0 @@ -Domain name: glu.ca -Domain status: redemption -Creation date: 2004/10/30 -Expiry date: 2010/10/29 -Updated date: 2010/12/04 - -Registrar: - Name: Webnames.ca Inc. - Number: 70 - -Registrant: - Name: Sanamato Inc. - -Administrative contact: - Name: Ross Vito - Postal address: 405 Queen Street South, P.O. Box 75004 - Bolton ON L7E2B5 Canada - Phone: 1 (647) 964-4544 - Fax: - Email: mail@sanamato.com - -Technical contact: - Name: Ross Vito - Postal address: 405 Queen Street South, P.O. Box 75004 - Bolton ON L7E2B5 Canada - Phone: 1 (647) 964-4544 - Fax: - Email: mail@sanamato.com - -Name servers: - ns1.webnames.ca 65.39.140.92 - ns2.webnames.ca 64.85.60.137 - ns3.webnames.ca 64.34.130.218 - -% WHOIS look-up made at 2010-12-07 21:24:18 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.txt deleted file mode 100644 index dd1e7e02e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.txt +++ /dev/null @@ -1,40 +0,0 @@ -Domain name: google.ca -Domain status: registered -Creation date: 2000/10/03 -Expiry date: 2011/04/28 - -Registrar: - Name: Webnames.ca Inc. - Number: 70 - -Registrant: - Name: Google Inc. - -Administrative contact: - Name: Rose Hagan - Postal address: 130 King St. W., Suite 1800 - Toronto ON M5X 1E3 Canada - Phone: 1 416 8653361 - Fax: 1 416 9456616 - Email: dns-admin@google.com - -Technical contact: - Name: Matt Serlin - Postal address: Domain Provisioning,10400 Overland Rd. PMB 155 - Boise ID 83709 United States - Phone: 1.2083895740 - Fax: 1.2083895771 - Email: ccops@markmonitor.com - -Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -% WHOIS look-up made at 2010-10-13 18:32:42 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.expected b/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.txt deleted file mode 100644 index bd4199d13..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.txt +++ /dev/null @@ -1,10 +0,0 @@ -Domain name: thomascraft.ca -Domain status: to be released -TBR Release date: 2011/03/02 - -% WHOIS look-up made at 2011-03-01 21:56:25 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/property_status_unavailable.txt b/spec/fixtures/responses/whois.cira.ca/ca/property_status_unavailable.txt deleted file mode 100644 index 913454198..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/property_status_unavailable.txt +++ /dev/null @@ -1,11 +0,0 @@ -Domain name: mediom.ca -Domain status: unavailable -Error code: 01114 -Error message: The domain name provided conflicts with at least one other registered domain name and as a result is not available for registration (e.g. xyz.ca conflicts with xyz.on.ca). - -% WHOIS look-up made at 2011-08-04 16:46:53 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_available.expected b/spec/fixtures/responses/whois.cira.ca/ca/status_available.expected deleted file mode 100644 index 0f63c05a9..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_available.expected +++ /dev/null @@ -1,57 +0,0 @@ -#disclaimer - %s == "Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal\nNotice, available at http://www.cira.ca/legal-notice/?lang=en\n\n(c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/)" - - -#domain - %s == "u34jedzcq.ca" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#valid? - %s == true - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_available.txt b/spec/fixtures/responses/whois.cira.ca/ca/status_available.txt deleted file mode 100644 index 00690e0e2..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain name: u34jedzcq.ca -Domain status: available - -% WHOIS look-up made at 2014-01-22 22:10:48 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.expected b/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.expected deleted file mode 100644 index 9acbbaead..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.expected +++ /dev/null @@ -1,9 +0,0 @@ -#status - %s == :invalid - - -#valid? - %s == false - -#invalid? - %s == true diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.txt b/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.txt deleted file mode 100644 index 913454198..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_invalid.txt +++ /dev/null @@ -1,11 +0,0 @@ -Domain name: mediom.ca -Domain status: unavailable -Error code: 01114 -Error message: The domain name provided conflicts with at least one other registered domain name and as a result is not available for registration (e.g. xyz.ca conflicts with xyz.on.ca). - -% WHOIS look-up made at 2011-08-04 16:46:53 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2010 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_registered.expected b/spec/fixtures/responses/whois.cira.ca/ca/status_registered.expected deleted file mode 100644 index d69c60969..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal\nNotice, available at http://www.cira.ca/legal-notice/?lang=en\n\n(c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/)" - - -#domain - %s == "google.ca" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-10-03 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-13 00:00:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-04-28 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == "5000040" - %s.name == "MarkMonitor International Canada Ltd." - %s.organization == "MarkMonitor International Canada Ltd." - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Christina Chiou" - %s[0].organization == nil - %s[0].address == "130 King St. W., Suite 1800,\nToronto ON M5X1E3 Canada" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == "+1.4168653361x" - %s[0].fax == "+1.4169456616" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Matt Serlin" - %s[0].organization == nil - %s[0].address == "Domain Provisioning,10400 Overland Rd. PMB 155\nBoise ID 83709 United States" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == "+1.2083895740x" - %s[0].fax == "+1.2083895771" - %s[0].email == "ccops@markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#valid? - %s == true - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.cira.ca/ca/status_registered.txt b/spec/fixtures/responses/whois.cira.ca/ca/status_registered.txt deleted file mode 100644 index 4ba8e3060..000000000 --- a/spec/fixtures/responses/whois.cira.ca/ca/status_registered.txt +++ /dev/null @@ -1,41 +0,0 @@ -Domain name: google.ca -Domain status: registered -Creation date: 2000/10/03 -Expiry date: 2015/04/28 -Updated date: 2014/02/13 - -Registrar: - Name: MarkMonitor International Canada Ltd. - Number: 5000040 - -Registrant: - Name: Google Inc. - -Administrative contact: - Name: Christina Chiou - Postal address: 130 King St. W., Suite 1800, - Toronto ON M5X1E3 Canada - Phone: +1.4168653361x - Fax: +1.4169456616 - Email: dns-admin@google.com - -Technical contact: - Name: Matt Serlin - Postal address: Domain Provisioning,10400 Overland Rd. PMB 155 - Boise ID 83709 United States - Phone: +1.2083895740x - Fax: +1.2083895771 - Email: ccops@markmonitor.com - -Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -% WHOIS look-up made at 2014-02-18 20:39:15 (GMT) -% -% Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal -% Notice, available at http://www.cira.ca/legal-notice/?lang=en -% -% (c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/) diff --git a/spec/fixtures/responses/whois.cmc.iq/iq/status_available.expected b/spec/fixtures/responses/whois.cmc.iq/iq/status_available.expected deleted file mode 100644 index 3fc779e2f..000000000 --- a/spec/fixtures/responses/whois.cmc.iq/iq/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.iq" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.cmc.iq/iq/status_available.txt b/spec/fixtures/responses/whois.cmc.iq/iq/status_available.txt deleted file mode 100644 index 341413575..000000000 --- a/spec/fixtures/responses/whois.cmc.iq/iq/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain Name: u34jedzcq.iq -Domain Status: No Object Found -Notes: his name is restricted, and can be registered but will require approval before it can be delegated - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. THis WHOIS database is provided by as a service to the internet community. - -The data is for information purposes only. We do not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CMC it's members (or CMC or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-07-13T09:26:29.459Z <<< diff --git a/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.expected b/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.expected deleted file mode 100644 index 9208196fb..000000000 --- a/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.expected +++ /dev/null @@ -1,57 +0,0 @@ -#domain - %s == "google.iq" - -#domain_id - %s == "895-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-10-03 21:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-29 05:19:04 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-02 21:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "CMC Registrar" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.txt b/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.txt deleted file mode 100644 index e39ca4232..000000000 --- a/spec/fixtures/responses/whois.cmc.iq/iq/status_registered.txt +++ /dev/null @@ -1,37 +0,0 @@ -Domain Name: google.iq -Domain ID: 895-CoCCA -WHOIS Server: whois.cmc.iq -Referral URL: -Updated Date: 2013-09-29T05:19:04.997Z -Creation Date: 2010-10-03T21:00:00.000Z -Registry Expiry Date: 2014-10-02T21:00:00.000Z -Sponsoring Registrar: CMC Registrar -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 1443-cmc -Registrant Name: Dr.akraym al-hak baker -Registrant Organization: -Registrant Street: al-yarmuk -Registrant City: baghdad -Registrant State/Province: -Registrant Postal Code: -Registrant Country: IQ -Registrant Phone: +964.7901790160 -Registrant Phone Ext: -Registrant Email: bl-yoban@yahoo.com - -Admin ID: 2640-cmc - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. THis WHOIS database is provided by as a service to the internet community. - -The data is for information purposes only. We do not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CMC it's members (or CMC or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-07-13T09:26:29.459Z <<< diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.expected b/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.expected deleted file mode 100644 index db917ffc3..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.txt b/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.txt deleted file mode 100644 index ef75a79e3..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.txt +++ /dev/null @@ -1,11 +0,0 @@ -Domain Name: concordecals.com.cn -ROID: 20021209s10011s00041927-cn -Domain Status: ok -Registrant Organization: 康科陶艺制造(深圳)有限公司 -Registrant Name: 朴泰恩 -Administrative Email: taien@concordecals.com.cn -Sponsoring Registrar: 北京新网互联科技有限公司 -Name Server:ns1.dns.com.cn -Name Server:ns2.dns.com.cn -Registration Date: 2002-03-06 00:00 -Expiration Date: 2013-03-06 00:00 diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.expected b/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.expected deleted file mode 100644 index 9b1b359b1..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == [] - -#available? - %s == false - -#registered? - %s == false - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.txt b/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.txt deleted file mode 100644 index 847c954cb..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.txt +++ /dev/null @@ -1 +0,0 @@ -Sorry, The domain you requested is in the reserved list. diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.expected b/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.expected deleted file mode 100644 index 5281f62db..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.expected +++ /dev/null @@ -1,53 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.txt b/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.txt deleted file mode 100644 index 5ef5305d9..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -no matching record. diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.expected b/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.expected deleted file mode 100644 index 3be62e79a..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.expected +++ /dev/null @@ -1,71 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.cn" - -#domain_id - %s == "20030311s10001s00033735-cn" - - -#status - %s == ["clientDeleteProhibited", "serverDeleteProhibited", "clientUpdateProhibited", "serverUpdateProhibited", "clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-03-17 12:20:05} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-03-17 12:48:36} - - -#registrar - %s %CLASS{registrar} - %s.id == "MarkMonitor Inc." - %s.name == "MarkMonitor Inc." - %s.organization == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "cnnic-zdmd-022" - %s[0].name == "Google Ireland Holdings" - %s[0].organization == nil - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.txt b/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.txt deleted file mode 100644 index 1fb185f55..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -Domain Name: google.cn -ROID: 20030311s10001s00033735-cn -Domain Status: clientDeleteProhibited -Domain Status: serverDeleteProhibited -Domain Status: clientUpdateProhibited -Domain Status: serverUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: serverTransferProhibited -Registrant ID: cnnic-zdmd-022 -Registrant: Google Ireland Holdings -Registrant Contact Email: dns-admin@google.com -Sponsoring Registrar: MarkMonitor Inc. -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com -Registration Time: 2003-03-17 12:20:05 -Expiration Time: 2017-03-17 12:48:36 -DNSSEC: unsigned diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.expected b/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.expected deleted file mode 100644 index 9b1b359b1..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == [] - -#available? - %s == false - -#registered? - %s == false - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.txt b/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.txt deleted file mode 100644 index b6541e977..000000000 --- a/spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -The domain you requested is prohibited. diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_available.expected b/spec/fixtures/responses/whois.co.ca/co.ca/status_available.expected deleted file mode 100644 index adee20962..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_available.expected +++ /dev/null @@ -1,27 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_available.txt b/spec/fixtures/responses/whois.co.ca/co.ca/status_available.txt deleted file mode 100644 index f6afab4ad..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -U34JEDZCQ.CO.CA is available. - -This information is collected for information purposes only, and is intended -only for determining the owner of .CO.CA domains. No guarantees will be made -regarding the accuracy of this data. -TERMS OF USE: By submitting this query you are agreeing that under no -circumstances will you use this any of this data: -(1) In any fashion relating to, supporting, or allowing the tranmission of any -form of mass unsolicited contact of any kind. -(2) Any form of high-volume automated or bulk lookups of any kind. -Storage or distribution of any of this information in any volume fashion -We reserve the right to terminate your access at any time. diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.expected b/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.expected deleted file mode 100644 index 2d54cea80..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-06-25 16:03:30} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-25} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.canadawebhosting.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.canadawebhosting.com" - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.txt b/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.txt deleted file mode 100644 index 40db7d502..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -domain: internet.co.ca -date_approved: 2005-06-25 16:03:30 -date_renewal: 2014-06-25 -ns1_hostname: ns1.canadawebhosting.com -ns1_netaddress: 65.39.254.5 -ns2_hostname: ns2.canadawebhosting.com -ns2_netaddress: 216.187.107.134 -registrar: RegCA Enterprises Inc. (www.reg.ca) - -This information is collected for information purposes only, and is intended -only for determining the owner of .CO.CA domains. No guarantees will be made -regarding the accuracy of this data. -TERMS OF USE: By submitting this query you are agreeing that under no -circumstances will you use this any of this data: -(1) In any fashion relating to, supporting, or allowing the tranmission of any -form of mass unsolicited contact of any kind. -(2) Any form of high-volume automated or bulk lookups of any kind. -Storage or distribution of any of this information in any volume fashion -We reserve the right to terminate your access at any time. diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.expected b/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.expected deleted file mode 100644 index e5b50f284..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.txt b/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.txt deleted file mode 100644 index 7c10e814a..000000000 --- a/spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain is not available or is reserved by the registry. - -This information is collected for information purposes only, and is intended -only for determining the owner of .CO.CA domains. No guarantees will be made -regarding the accuracy of this data. -TERMS OF USE: By submitting this query you are agreeing that under no -circumstances will you use this any of this data: -(1) In any fashion relating to, supporting, or allowing the tranmission of any -form of mass unsolicited contact of any kind. -(2) Any form of high-volume automated or bulk lookups of any kind. -Storage or distribution of any of this information in any volume fashion -We reserve the right to terminate your access at any time. diff --git a/spec/fixtures/responses/whois.co.pl/co.pl/status_available.expected b/spec/fixtures/responses/whois.co.pl/co.pl/status_available.expected deleted file mode 100644 index a34cce1c1..000000000 --- a/spec/fixtures/responses/whois.co.pl/co.pl/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.co.pl/co.pl/status_available.txt b/spec/fixtures/responses/whois.co.pl/co.pl/status_available.txt deleted file mode 100644 index 00b686db6..000000000 --- a/spec/fixtures/responses/whois.co.pl/co.pl/status_available.txt +++ /dev/null @@ -1,8 +0,0 @@ - -************************************************** -* Welcome to the .CO.PL Mainseek Whois Server * -************************************************** - - -% Unfortunately, No Results Were Found - diff --git a/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.expected b/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.expected deleted file mode 100644 index 95c17a77f..000000000 --- a/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.expected +++ /dev/null @@ -1,52 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "coco.co.pl" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-06-23 09:41:50} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.co.pl" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.co.pl" diff --git a/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.txt b/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.txt deleted file mode 100644 index 879e872cb..000000000 --- a/spec/fixtures/responses/whois.co.pl/co.pl/status_registered.txt +++ /dev/null @@ -1,11 +0,0 @@ - -************************************************** -* Welcome to the .CO.PL Mainseek Whois Server * -************************************************** - -domain: coco.co.pl -nserver: ns1.co.pl -nserver: ns2.co.pl -changed: 2010-06-23 09:41:50 -source: CO.PL - diff --git a/spec/fixtures/responses/whois.co.ug/ug/property_status_active.expected b/spec/fixtures/responses/whois.co.ug/ug/property_status_active.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/property_status_active.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.co.ug/ug/property_status_active.txt b/spec/fixtures/responses/whois.co.ug/ug/property_status_active.txt deleted file mode 100644 index 4565b3d70..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/property_status_active.txt +++ /dev/null @@ -1,35 +0,0 @@ - -********************************************************** -* The UG ccTLD Registry Database * -********************************************************** - -Domain: whois.co.ug -Description: UG CCTLD Database (IT solutions, Domain Names, helpdesk and call center) -Registered: 2nd April, 2001 -Expiry: 7th April, 2018 -Status: ACTIVE -Admin Contact: Charles Musisi -Tech Contact: Mpeirwe Johnson -Nameserver: ns1.cfi.co.ug -Nameserver: ns2.cfi.co.ug -Nameserver: ns3.cfi.co.ug -MNT-BY: MAINT-UG -Source: UG -Updated: 10/11/2009 14:06:58 EAT - -Admin Contact: Charles Musisi -NIC: CM260 -Address: Computer Frontiers International, Plot 6B Windsor Loop, P.O. Box 12 -City: Kampala -Country: Uganda -Phone: +256 31 230 1800 -Updated: 13/02/2008 09:35:15 EAT hostmaster@cfi.co.ug - -Tech Contact: Mpeirwe Johnson -NIC: MJ5-UG -Address: Plot 6B, Windor Loop Kitante -City: Kampala -Country: Uganda -Phone: +256782694615 -Updated: 11/12/2008 11:55:01 EAT hostmaster@cfi.co.ug - diff --git a/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.expected b/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.txt b/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.txt deleted file mode 100644 index 7a02482a4..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.txt +++ /dev/null @@ -1,30 +0,0 @@ - -********************************************************** -* The UG ccTLD Registry Database * -********************************************************** - -Domain: youtube.ug -Description: Google Inc. (Google Inc.) -Registered: 1st November, 2011 -Expiry: 1st November, 2013 -Status: UNCONFIRMED -Admin Contact: DNS Admin -Tech Contact: DNS Admin -Nameserver: ns1.google.com -Nameserver: ns2.google.com -Nameserver: ns3.google.com -Nameserver: ns4.google.com -MNT-BY: MAINT-UG -Source: UG -Updated: 01/11/2011 23:27:38 EAT - -Admin Contact: DNS Admin -Address: 1600 Amphitheatre Parkway -Address: 1600 Amphitheatre Parkway Mountain View -Phone: +1.6502530000 -Tech Contact: DNS Admin -Address: 1600 Amphitheatre Parkway -Address: 1600 Amphitheatre Parkway Mountain View -Phone: +1.6502530000 -Updated: 01/12/2011 01:33:43 EAT - diff --git a/spec/fixtures/responses/whois.co.ug/ug/status_available.expected b/spec/fixtures/responses/whois.co.ug/ug/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.co.ug/ug/status_available.txt b/spec/fixtures/responses/whois.co.ug/ug/status_available.txt deleted file mode 100644 index 106d2db7d..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/status_available.txt +++ /dev/null @@ -1,7 +0,0 @@ - -********************************************************** -* The UG ccTLD Registry Database * -********************************************************** - -% No entries found for the selected source(s). - diff --git a/spec/fixtures/responses/whois.co.ug/ug/status_registered.expected b/spec/fixtures/responses/whois.co.ug/ug/status_registered.expected deleted file mode 100644 index aafc4a380..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-04-02 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-11-10 14:06:58 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2018-04-07 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.cfi.co.ug" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.cfi.co.ug" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.cfi.co.ug" diff --git a/spec/fixtures/responses/whois.co.ug/ug/status_registered.txt b/spec/fixtures/responses/whois.co.ug/ug/status_registered.txt deleted file mode 100644 index 4565b3d70..000000000 --- a/spec/fixtures/responses/whois.co.ug/ug/status_registered.txt +++ /dev/null @@ -1,35 +0,0 @@ - -********************************************************** -* The UG ccTLD Registry Database * -********************************************************** - -Domain: whois.co.ug -Description: UG CCTLD Database (IT solutions, Domain Names, helpdesk and call center) -Registered: 2nd April, 2001 -Expiry: 7th April, 2018 -Status: ACTIVE -Admin Contact: Charles Musisi -Tech Contact: Mpeirwe Johnson -Nameserver: ns1.cfi.co.ug -Nameserver: ns2.cfi.co.ug -Nameserver: ns3.cfi.co.ug -MNT-BY: MAINT-UG -Source: UG -Updated: 10/11/2009 14:06:58 EAT - -Admin Contact: Charles Musisi -NIC: CM260 -Address: Computer Frontiers International, Plot 6B Windsor Loop, P.O. Box 12 -City: Kampala -Country: Uganda -Phone: +256 31 230 1800 -Updated: 13/02/2008 09:35:15 EAT hostmaster@cfi.co.ug - -Tech Contact: Mpeirwe Johnson -NIC: MJ5-UG -Address: Plot 6B, Windor Loop Kitante -City: Kampala -Country: Uganda -Phone: +256782694615 -Updated: 11/12/2008 11:55:01 EAT hostmaster@cfi.co.ug - diff --git a/spec/fixtures/responses/whois.comlaude.com/status_registered.expected b/spec/fixtures/responses/whois.comlaude.com/status_registered.expected deleted file mode 100644 index 50300e37e..000000000 --- a/spec/fixtures/responses/whois.comlaude.com/status_registered.expected +++ /dev/null @@ -1,89 +0,0 @@ -#status - %s %ERROR{AttributeNotSupported} - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-01-30} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-01-30} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "NOM IQ LTD (DBA COM LAUDE)" - %s.url == "http://www.comlaude.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Domain Manager" - %s[0].organization == "Nom-IQ Ltd dba Com Laude" - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].phone == "+44.2078360070" - %s[0].fax == nil - %s[0].email == "admin@comlaude.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "Domain Manager" - %s[0].organization == "Nom-IQ Ltd dba Com Laude" - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].phone == "+44.2078360070" - %s[0].fax == nil - %s[0].email == "admin@comlaude.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "Technical Manager" - %s[0].organization == "Com Laude" - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].phone == "+44.2074218250" - %s[0].fax == "+44.8700118187" - %s[0].email == "hostmaster@comlaude.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.comlaude-dns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.comlaude-dns.net" - %s[2] %CLASS{nameserver} - %s[2].name == "dns3.comlaude-dns.co.uk" - %s[3] %CLASS{nameserver} - %s[3].name == "dns4.comlaude-dns.eu" diff --git a/spec/fixtures/responses/whois.comlaude.com/status_registered.txt b/spec/fixtures/responses/whois.comlaude.com/status_registered.txt deleted file mode 100644 index c1ce26ee5..000000000 --- a/spec/fixtures/responses/whois.comlaude.com/status_registered.txt +++ /dev/null @@ -1,78 +0,0 @@ - -------------------------------------------------------------------------------- -Com Laude registers, maintains and renews domain names around the world for -leading intellectual property owners and the law firms that support them. -If you have queries about this domain, you may contact us via our website -at www.comlaude.com. -------------------------------------------------------------------------------- - -The data in the Com Laude Whois database is provided to assist you in obtaining -information about a domain name registration record. Com Laude makes this -information available "as is," and does not guarantee its accuracy. -By submitting a WHOIS query, you agree that you will use this data only for -lawful purposes and that, under no circumstances will you use this data to: - -(1) allow, enable, or otherwise support the transmission of mass unsolicited, -commercial advertising or solicitations via e-mail (spam), telephone or fax; or -(2) enable high volume, automated, electronic processes that that send queries -or data to Com Laude or the systems of any Registry Operator or ICANN-Accredited -registrar. The compilation, repackaging, dissemination or other use of this -data is expressly prohibited without the prior written consent of Com Laude. - -Com Laude reserves the right to modify these terms at any time. By submitting -this query, you agree to abide by these terms. If you fail to abide by this -policy, we may terminate your access to this WHOIS database. - -Domain name: comlaude.com -Registered: 2005-01-30 -Expires: 2020-01-30 - -Registrar: Com Laude - Com Laude is a business name of Nom IQ Ltd, a UK based company. - -Registrant Contact: - Domain Manager - Nom-IQ Ltd dba Com Laude - 2nd Floor, 28-30 Little Russell Street - London WC1A 2HN - United Kingdom - Phone: +44.2078360070 - Email: admin@comlaude.com - - -Admin Contact: - Domain Manager - Nom-IQ Ltd dba Com Laude - 2nd Floor, 28-30 Little Russell Street - London WC1A 2HN - United Kingdom - Phone: +44.2078360070 - Email: admin@comlaude.com - - -Technical Contact: - Technical Manager - Com Laude - 2nd floor, 28-30 Little Russell Street - London WC1A 2HN - London - United Kingdom - Phone: +44.2074218250 - Fax: +44.8700118187 - Email: hostmaster@comlaude.com - - -Nameservers: - dns1.comlaude-dns.com - dns2.comlaude-dns.net - dns3.comlaude-dns.co.uk - dns4.comlaude-dns.eu - - -------------------------------------------------------------------------------- -Com Laude protects intellectual property in the domain name system. Com Laude -only registers domain names for legitimate rights owners. Should you have any -queries about the legitimacy of this name or our work as a UK based, ICANN -Accredited Registrar, contact us at: Com Laude, 116 Long Acre, Covent Garden, -London WC2E 9SU, UK. Com Laude is a business name of Nom IQ Ltd. -------------------------------------------------------------------------------- diff --git a/spec/fixtures/responses/whois.corporatedomains.com/status_available.expected b/spec/fixtures/responses/whois.corporatedomains.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.corporatedomains.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.corporatedomains.com/status_available.txt b/spec/fixtures/responses/whois.corporatedomains.com/status_available.txt deleted file mode 100644 index 5a7c5a5cc..000000000 --- a/spec/fixtures/responses/whois.corporatedomains.com/status_available.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - -No match for "U34JEDZCQ.COM". ->>> Last update of whois database: Tue, 26 Nov 2013 18:16:57 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. diff --git a/spec/fixtures/responses/whois.corporatedomains.com/status_registered.expected b/spec/fixtures/responses/whois.corporatedomains.com/status_registered.expected deleted file mode 100644 index 341e0e028..000000000 --- a/spec/fixtures/responses/whois.corporatedomains.com/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#domain - %s == "google.com" - -#domain_id - %s == "" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1992-11-24 00:00:00 -0500} - - -#updated_on - %s %CLASS{time} - %s %TIME{2012-05-16 09:28:56 -0400} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-11-23 00:00:00 -0500} - - -#registrar - %s %CLASS{registrar} - %s.id == "299" - %s.name == "CORPORATE DOMAINS, INC." - %s.organization == "CORPORATE DOMAINS, INC." - %s.url == "www.cscprotectsbrands.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Dns Admin" - %s[0].organization == "Google Inc." - %s[0].address == "Please contact contact-admin@google.com, 1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "2400 E. Bayshore Pkwy" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil \ No newline at end of file diff --git a/spec/fixtures/responses/whois.corporatedomains.com/status_registered.txt b/spec/fixtures/responses/whois.corporatedomains.com/status_registered.txt deleted file mode 100644 index 54810e58f..000000000 --- a/spec/fixtures/responses/whois.corporatedomains.com/status_registered.txt +++ /dev/null @@ -1,68 +0,0 @@ -Domain Name: google.com -Registry Domain ID: -Registrar WHOIS Server: whois.corporatedomains.com -Registrar URL: www.cscprotectsbrands.com -Updated Date: 2012-05-16 09:28:56 -0400 -Creation Date: 1992-11-24 00:00:00 -0500 -Registrar Registration Expiration Date: 2013-11-23 00:00:00 -0500 -Registrar: CORPORATE DOMAINS, INC. -Registrar IANA ID: 299 -Registrar Abuse Contact Email: admin@internationaladmin.com -Registrar Abuse Contact Phone: +1.8887802723 -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: clientDeleteProhibited -Registry Registrant ID: -Registrant Name: Dns Admin -Registrant Organization: Google Inc. -Registrant Street: Please contact contact-admin@google.com, 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Registry Admin ID: -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Registry Tech ID: -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 2400 E. Bayshore Pkwy -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6503300100 -Tech Phone Ext: -Tech Fax: +1.6506181499 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: ns2.google.com -Name Server: ns1.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2012-05-16 09:28:56 -0400 <<< - - -Corporation Service Company(c) (CSC) The Trusted Partner of More than 50% of the 100 Best Global Brands. - -Contact us to learn more about our enterprise solutions for Global Domain Name Registration and Management, Trademark Research and Watching, Brand, Logo and Auction Monitoring, as well SSL Certificate Services and DNS Hosting. - -NOTICE: You are not authorized to access or query our WHOIS database through the use of high-volume, automated, electronic processes or for the purpose or purposes of using the data in any manner that violates these terms of use. The Data in the CSC WHOIS database is provided by CSC for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. CSC does not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via direct mail, e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CSC (or its computer systems). CSC reserves the right to terminate your access to the WHOIS database in its sole discretion for any violations by you of these terms of use. CSC reserves the right to modify these terms at any time. - -Register your domain name at http://www.cscglobal.com \ No newline at end of file diff --git a/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.expected deleted file mode 100644 index ff7ba2fdd..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.expected +++ /dev/null @@ -1,23 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.prodns.de" - %s[0].ipv4 == "91.233.85.99" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.prodns.eu" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.prodns.de" - %s[2].ipv4 == "91.233.86.99" - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.prodns.eu" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "ns5.prodns.de" - %s[4].ipv4 == "65.18.172.184" - %s[4].ipv6 == nil diff --git a/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.txt deleted file mode 100644 index 22806792a..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.txt +++ /dev/null @@ -1,68 +0,0 @@ -% Copyright (c) 2010 by DENIC -% Version: 2.0 -% -% Restricted rights. -% -% Terms and Conditions of Use -% -% The data in this record is provided by DENIC for informational purposes only. -% DENIC does not guarantee its accuracy and cannot, under any circumstances, -% be held liable in case the stored information would prove to be wrong, -% incomplete or not accurate in any sense. -% -% All the domain data that is visible in the whois service is protected by law. -% It is not permitted to use it for any purpose other than technical or -% administrative requirements associated with the operation of the Internet. -% It is explicitly forbidden to extract, copy and/or use or re-utilise in any -% form and by any means (electronically or not) the whole or a quantitatively -% or qualitatively substantial part of the contents of the whois database -% without prior and explicit written permission by DENIC. -% It is prohibited, in particular, to use it for transmission of unsolicited -% and/or commercial and/or advertising by phone, fax, e-mail or for any similar -% purposes. -% -% By maintaining the connection you assure that you have a legitimate interest -% in the data and that you will only use it for the stated purposes. You are -% aware that DENIC maintains the right to initiate legal proceedings against -% you in the event of any breach of this assurance and to bar you from using -% its whois service. -% -% The DENIC whois service on port 43 never discloses any information concerning -% the domain holder/administrative contact. Information concerning the domain -% holder/administrative contact can be obtained through use of our web-based -% whois service available at the DENIC website: -% http://www.denic.de/en/domains/whois-service/web-whois.html -% - -Domain: prodns.de -Nserver: ns1.prodns.de 91.233.85.99 -Nserver: ns2.prodns.eu -Nserver: ns3.prodns.de 91.233.86.99 -Nserver: ns4.prodns.eu -Nserver: ns5.prodns.de 65.18.172.184 -Status: connect -Changed: 2013-12-04T14:42:43+01:00 - -[Tech-C] -Type: PERSON -Name: Prohost Role -Address: Koepenweg 8 -PostalCode: 27616 -City: Lunestedt -CountryCode: DE -Phone: +49 4748 947983 -Fax: +49 4748 947984 -Email: hostmaster@prohost.de -Changed: 2012-07-05T07:32:27+02:00 - -[Zone-C] -Type: PERSON -Name: Prohost Role -Address: Koepenweg 8 -PostalCode: 27616 -City: Lunestedt -CountryCode: DE -Phone: +49 4748 947983 -Fax: +49 4748 947984 -Email: hostmaster@prohost.de -Changed: 2012-07-05T07:32:27+02:00 diff --git a/spec/fixtures/responses/whois.denic.de/de/property_technical_contact.txt b/spec/fixtures/responses/whois.denic.de/de/property_technical_contact.txt deleted file mode 100644 index 77ac0eaab..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/property_technical_contact.txt +++ /dev/null @@ -1,69 +0,0 @@ -% Copyright (c) 2010 by DENIC -% Version: 2.0 -% -% Restricted rights. -% -% Terms and Conditions of Use -% -% The data in this record is provided by DENIC for informational purposes only. -% DENIC does not guarantee its accuracy and cannot, under any circumstances, -% be held liable in case the stored information would prove to be wrong, -% incomplete or not accurate in any sense. -% -% All the domain data that is visible in the whois service is protected by law. -% It is not permitted to use it for any purpose other than technical or -% administrative requirements associated with the operation of the Internet. -% It is explicitly forbidden to extract, copy and/or use or re-utilise in any -% form and by any means (electronically or not) the whole or a quantitatively -% or qualitatively substantial part of the contents of the whois database -% without prior and explicit written permission by DENIC. -% It is prohibited, in particular, to use it for transmission of unsolicited -% and/or commercial and/or advertising by phone, fax, e-mail or for any similar -% purposes. -% -% By maintaining the connection you assure that you have a legitimate interest -% in the data and that you will only use it for the stated purposes. You are -% aware that DENIC maintains the right to initiate legal proceedings against -% you in the event of any breach of this assurance and to bar you from using -% its whois service. -% -% The DENIC whois service on port 43 never discloses any information concerning -% the domain holder/administrative contact. Information concerning the domain -% holder/administrative contact can be obtained through use of our web-based -% whois service available at the DENIC website: -% http://www.denic.de/en/background/whois-service/webwhois.html -% - -Domain: google.de -Nserver: ns1.google.com. -Nserver: ns2.google.com. -Nserver: ns3.google.com. -Nserver: ns4.google.com. -Status: connect -Changed: 2010-09-08T22:40:48+02:00 - -[Tech-C] -Type: PERSON -Name: DNS Admin -Organisation: Google Inc. -Address: 1600 Amphitheatre Parkway -PostalCode: 94043 -City: Mountain View -CountryCode: US -Phone: +1.6502530000 -Fax: +1.6506188571 -Email: dns-admin@google.com -Changed: 2009-10-22T23:01:34+02:00 - -[Zone-C] -Type: PERSON -Name: Domain Admin -Organisation: MarkMonitor Inc -Address: 391 N Ancestor Pl -PostalCode: 83704 -City: Boise -CountryCode: US -Phone: +1.2083895740 -Fax: +1.2083895771 -Email: ccops@markmonitor.com -Changed: 2009-10-22T14:17:48+02:00 diff --git a/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.expected b/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.expected deleted file mode 100644 index 6e71500a4..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.txt b/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.txt deleted file mode 100644 index 1d088adef..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.txt +++ /dev/null @@ -1 +0,0 @@ -% Error: 55000000010 Non bijective ace-idn convertible domain diff --git a/spec/fixtures/responses/whois.denic.de/de/response_throttled.expected b/spec/fixtures/responses/whois.denic.de/de/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.denic.de/de/response_throttled.txt b/spec/fixtures/responses/whois.denic.de/de/response_throttled.txt deleted file mode 100644 index 50adfdefa..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/response_throttled.txt +++ /dev/null @@ -1,3 +0,0 @@ -% Error: 55000000002 Connection refused; access control limit reached. - - diff --git a/spec/fixtures/responses/whois.denic.de/de/status_available.expected b/spec/fixtures/responses/whois.denic.de/de/status_available.expected deleted file mode 100644 index 711ed7f1b..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == "u34jedzcq.de" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.denic.de/de/status_available.txt b/spec/fixtures/responses/whois.denic.de/de/status_available.txt deleted file mode 100644 index 8da577b67..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: u34jedzcq.de -Status: free diff --git a/spec/fixtures/responses/whois.denic.de/de/status_failed.expected b/spec/fixtures/responses/whois.denic.de/de/status_failed.expected deleted file mode 100644 index 5ef2a65e0..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_failed.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#registered? - %s == true - -#available? - %s == false diff --git a/spec/fixtures/responses/whois.denic.de/de/status_failed.txt b/spec/fixtures/responses/whois.denic.de/de/status_failed.txt deleted file mode 100644 index ca55e0882..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_failed.txt +++ /dev/null @@ -1,69 +0,0 @@ -% Copyright (c) 2010 by DENIC -% Version: 2.0 -% -% Restricted rights. -% -% Terms and Conditions of Use -% -% The data in this record is provided by DENIC for informational purposes only. -% DENIC does not guarantee its accuracy and cannot, under any circumstances, -% be held liable in case the stored information would prove to be wrong, -% incomplete or not accurate in any sense. -% -% All the domain data that is visible in the whois service is protected by law. -% It is not permitted to use it for any purpose other than technical or -% administrative requirements associated with the operation of the Internet. -% It is explicitly forbidden to extract, copy and/or use or re-utilise in any -% form and by any means (electronically or not) the whole or a quantitatively -% or qualitatively substantial part of the contents of the whois database -% without prior and explicit written permission by DENIC. -% It is prohibited, in particular, to use it for transmission of unsolicited -% and/or commercial and/or advertising by phone, fax, e-mail or for any similar -% purposes. -% -% By maintaining the connection you assure that you have a legitimate interest -% in the data and that you will only use it for the stated purposes. You are -% aware that DENIC maintains the right to initiate legal proceedings against -% you in the event of any breach of this assurance and to bar you from using -% its whois service. -% -% The DENIC whois service on port 43 never discloses any information concerning -% the domain holder/administrative contact. Information concerning the domain -% holder/administrative contact can be obtained through use of our web-based -% whois service available at the DENIC website: -% http://www.denic.de/en/background/whois-service/webwhois.html -% - -Domain: msens.de -Nserver: newreg-ns1.premiumregistrations.com -Nserver: newreg-ns2.premiumregistrations.com -Status: failed -Changed: 2011-02-23T05:36:15+01:00 - -[Tech-C] -Type: PERSON -Name: Daniel Andersson -Organisation: GUIDANCE INTERNATIONAL IP AB -Address: Landerigatan 1 -PostalCode: 50451 -City: Borås -CountryCode: SE -Phone: +46.701434896 -Fax: +46.701434896 -Email: info@guid-int.com -Remarks: Contact by e-mail only, info@guid-int.com -Changed: 2007-12-10T15:23:07+01:00 - -[Zone-C] -Type: PERSON -Name: Daniel Andersson -Organisation: GUIDANCE INTERNATIONAL IP AB -Address: Landerigatan 1 -PostalCode: 50451 -City: Borås -CountryCode: SE -Phone: +46.701434896 -Fax: +46.701434896 -Email: info@guid-int.com -Remarks: Contact by e-mail only, info@guid-int.com -Changed: 2007-12-10T15:23:07+01:00 diff --git a/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.expected b/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.expected deleted file mode 100644 index 5ef2a65e0..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#registered? - %s == true - -#available? - %s == false diff --git a/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.txt b/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.txt deleted file mode 100644 index 1d5238834..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_failed_ace.txt +++ /dev/null @@ -1,70 +0,0 @@ -% Copyright (c) 2010 by DENIC -% Version: 2.0 -% -% Restricted rights. -% -% Terms and Conditions of Use -% -% The data in this record is provided by DENIC for informational purposes only. -% DENIC does not guarantee its accuracy and cannot, under any circumstances, -% be held liable in case the stored information would prove to be wrong, -% incomplete or not accurate in any sense. -% -% All the domain data that is visible in the whois service is protected by law. -% It is not permitted to use it for any purpose other than technical or -% administrative requirements associated with the operation of the Internet. -% It is explicitly forbidden to extract, copy and/or use or re-utilise in any -% form and by any means (electronically or not) the whole or a quantitatively -% or qualitatively substantial part of the contents of the whois database -% without prior and explicit written permission by DENIC. -% It is prohibited, in particular, to use it for transmission of unsolicited -% and/or commercial and/or advertising by phone, fax, e-mail or for any similar -% purposes. -% -% By maintaining the connection you assure that you have a legitimate interest -% in the data and that you will only use it for the stated purposes. You are -% aware that DENIC maintains the right to initiate legal proceedings against -% you in the event of any breach of this assurance and to bar you from using -% its whois service. -% -% The DENIC whois service on port 43 never discloses any information concerning -% the domain holder/administrative contact. Information concerning the domain -% holder/administrative contact can be obtained through use of our web-based -% whois service available at the DENIC website: -% http://www.denic.de/en/background/whois-service/webwhois.html -% - -Domain: tästdomain-failed-nserver.de -Domain-Ace: xn--tstdomain-failed-nserver-qbc.de -Nserver: ns1.denic.de. -Nserver: ns2.denic.de. -Nserver: ns3.denic.de. -Nserver: ns4.denic.net. -Status: failed -Changed: 2010-06-01T10:29:38+02:00 - -[Tech-C] -Type: ROLE -Name: Business Services -Organisation: DENIC eG -Address: Kaiserstrasse 75-77 -PostalCode: 60329 -City: Frankfurt am Main -CountryCode: DE -Phone: +49 69 27235 272 -Fax: +49 69 27235 234 -Email: dbs@denic.de -Changed: 2008-10-28T16:55:44+01:00 - -[Zone-C] -Type: ROLE -Name: Business Services -Organisation: DENIC eG -Address: Kaiserstrasse 75-77 -PostalCode: 60329 -City: Frankfurt am Main -CountryCode: DE -Phone: +49 69 27235 272 -Fax: +49 69 27235 234 -Email: dbs@denic.de -Changed: 2008-10-28T16:55:44+01:00 diff --git a/spec/fixtures/responses/whois.denic.de/de/status_invalid.expected b/spec/fixtures/responses/whois.denic.de/de/status_invalid.expected deleted file mode 100644 index 667c11bf1..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_invalid.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == "googlededewdedewdewde.foo.de" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.denic.de/de/status_invalid.txt b/spec/fixtures/responses/whois.denic.de/de/status_invalid.txt deleted file mode 100644 index 221f89267..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_invalid.txt +++ /dev/null @@ -1,4 +0,0 @@ -Domain: googlededewdedewdewde.foo.de -Status: invalid - -% DB time is 2010-09-22T00:37:18+02:00 diff --git a/spec/fixtures/responses/whois.denic.de/de/status_registered.expected b/spec/fixtures/responses/whois.denic.de/de/status_registered.expected deleted file mode 100644 index bc241c2ec..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_registered.expected +++ /dev/null @@ -1,80 +0,0 @@ -#disclaimer - %s == "The data in this record is provided by DENIC for informational purposes only. DENIC does not guarantee its accuracy and cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete or not accurate in any sense. All the domain data that is visible in the whois service is protected by law. It is not permitted to use it for any purpose other than technical or administrative requirements associated with the operation of the Internet. It is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the whois database without prior and explicit written permission by DENIC. It is prohibited, in particular, to use it for transmission of unsolicited and/or commercial and/or advertising by phone, fax, e-mail or for any similar purposes. By maintaining the connection you assure that you have a legitimate interest in the data and that you will only use it for the stated purposes. You are aware that DENIC maintains the right to initiate legal proceedings against you in the event of any breach of this assurance and to bar you from using its whois service. The DENIC whois service on port 43 never discloses any information concerning the domain holder/administrative contact. Information concerning the domain holder/administrative contact can be obtained through use of our web-based whois service available at the DENIC website: http://www.denic.de/en/domains/whois-service/web-whois.html" - - -#domain - %s == "google.de" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-03-30 19:36:27 +0200} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Domain Admin" - %s.organization == "MarkMonitor Inc" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.denic.de/de/status_registered.txt b/spec/fixtures/responses/whois.denic.de/de/status_registered.txt deleted file mode 100644 index b0695cd9b..000000000 --- a/spec/fixtures/responses/whois.denic.de/de/status_registered.txt +++ /dev/null @@ -1,69 +0,0 @@ -% Copyright (c) 2010 by DENIC -% Version: 2.0 -% -% Restricted rights. -% -% Terms and Conditions of Use -% -% The data in this record is provided by DENIC for informational purposes only. -% DENIC does not guarantee its accuracy and cannot, under any circumstances, -% be held liable in case the stored information would prove to be wrong, -% incomplete or not accurate in any sense. -% -% All the domain data that is visible in the whois service is protected by law. -% It is not permitted to use it for any purpose other than technical or -% administrative requirements associated with the operation of the Internet. -% It is explicitly forbidden to extract, copy and/or use or re-utilise in any -% form and by any means (electronically or not) the whole or a quantitatively -% or qualitatively substantial part of the contents of the whois database -% without prior and explicit written permission by DENIC. -% It is prohibited, in particular, to use it for transmission of unsolicited -% and/or commercial and/or advertising by phone, fax, e-mail or for any similar -% purposes. -% -% By maintaining the connection you assure that you have a legitimate interest -% in the data and that you will only use it for the stated purposes. You are -% aware that DENIC maintains the right to initiate legal proceedings against -% you in the event of any breach of this assurance and to bar you from using -% its whois service. -% -% The DENIC whois service on port 43 never discloses any information concerning -% the domain holder/administrative contact. Information concerning the domain -% holder/administrative contact can be obtained through use of our web-based -% whois service available at the DENIC website: -% http://www.denic.de/en/domains/whois-service/web-whois.html -% - -Domain: google.de -Nserver: ns1.google.com -Nserver: ns2.google.com -Nserver: ns3.google.com -Nserver: ns4.google.com -Status: connect -Changed: 2011-03-30T19:36:27+02:00 - -[Tech-C] -Type: PERSON -Name: DNS Admin -Organisation: Google Inc. -Address: 1600 Amphitheatre Parkway -PostalCode: 94043 -City: Mountain View -CountryCode: US -Phone: +1.6502530000 -Fax: +1.6506188571 -Email: dns-admin@google.com -Changed: 2011-03-11T00:04:49+01:00 - -[Zone-C] -Type: PERSON -Name: Domain Admin -Organisation: MarkMonitor Inc -Address: 391 N Ancestor Pl -PostalCode: 83704 -City: Boise -CountryCode: US -Phone: +1.2083895740 -Fax: +1.2083895771 -Email: ccops@markmonitor.com -Changed: 2009-10-22T14:17:48+02:00 diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.expected b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.expected deleted file mode 100644 index 42a9e8a39..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.txt b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.txt deleted file mode 100644 index 39756dbaa..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.txt +++ /dev/null @@ -1,52 +0,0 @@ -# Hello 87.9.172.88. Your session has been logged. -# -# Copyright (c) 2002 - 2012 by DK Hostmaster A/S -# -# The data in the DK Whois database is provided by DK Hostmaster A/S -# for information purposes only, and to assist persons in obtaining -# information about or related to a domain name registration record. -# We do not guarantee its accuracy. We will reserve the right to remove -# access for entities abusing the data, without notice. -# -# Any use of this material to target advertising or similar activities -# are explicitly forbidden and will be prosecuted. DK Hostmaster A/S -# requests to be notified of any such activities or suspicions thereof. - -Domain: progolftours.dk -DNS: progolftours.dk -Registered: 2010-08-16 -Expires: 2012-08-31 -Registration period: 5 years -VID: no -Status: Deactivated - -Registrant -Handle: LI1233-DK -Name: LH Invest -Address: Hausergade 36 1th -Postalcode: 1128 -City: København K -Country: DK -Phone: +4520645320 - -Administrator -Handle: LI1233-DK -Name: LH Invest -Address: Hausergade 36 1th -Postalcode: 1128 -City: København K -Country: DK -Phone: +4520645320 - -Nameservers -Hostname: ns1.gratisdns.dk -Handle: GDNS1-DK -Hostname: ns2.gratisdns.dk -Handle: GDNS1-DK -Hostname: ns3.gratisdns.dk -Handle: GDNS1-DK -Hostname: ns4.gratisdns.dk -Handle: GDNS1-DK -Hostname: ns5.gratisdns.dk -Handle: GDNS1-DK - diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.expected b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.expected deleted file mode 100644 index d83200888..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.txt b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.txt deleted file mode 100644 index 469ea6a8e..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Hello xxx.xxx.xxx.xxx. Your session has been logged. -# -# Copyright (c) 2002 - 2013 by DK Hostmaster A/S -# -# The data in the DK Whois database is provided by DK Hostmaster A/S -# for information purposes only, and to assist persons in obtaining -# information about or related to a domain name registration record. -# We do not guarantee its accuracy. We will reserve the right to remove -# access for entities abusing the data, without notice. -# -# Any use of this material to target advertising or similar activities -# are explicitly forbidden and will be prosecuted. DK Hostmaster A/S -# requests to be notified of any such activities or suspicions thereof. - -Domain: googlle.dk -DNS: googlle.dk -Registered: 2013-10-24 -Expires: 2014-10-31 -Registration period: 1 year -VID: no -Status: Reserved - -Nameservers -Hostname: ns1.parkingcrew.net -Hostname: ns2.parkingcrew.net - -# Use option --show-handles to get handle information. -# Whois HELP for more help. - diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.expected b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.txt b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.txt deleted file mode 100644 index 714411cad..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.txt +++ /dev/null @@ -1,15 +0,0 @@ -# Hello 79.3.208.223. Your session has been logged. -# -# Copyright (c) 2002 - 2010 by DK Hostmaster A/S -# -# The data in the DK Whois database is provided by DK Hostmaster A/S -# for information purposes only, and to assist persons in obtaining -# information about or related to a domain name registration record. -# We do not guarantee its accuracy. We will reserve the right to remove -# access for entities abusing the data, without notice. -# -# Any use of this material to target advertising or similar activities -# are explicitly forbidden and will be prosecuted. DK Hostmaster A/S -# requests to be notified of any such activities or suspicions thereof. - -No entries found for the selected source. diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.expected b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.expected deleted file mode 100644 index 0d471561c..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-01-10} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-03-31} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.txt b/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.txt deleted file mode 100644 index 40d5cb38d..000000000 --- a/spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ -# Hello 79.3.208.223. Your session has been logged. -# -# Copyright (c) 2002 - 2010 by DK Hostmaster A/S -# -# The data in the DK Whois database is provided by DK Hostmaster A/S -# for information purposes only, and to assist persons in obtaining -# information about or related to a domain name registration record. -# We do not guarantee its accuracy. We will reserve the right to remove -# access for entities abusing the data, without notice. -# -# Any use of this material to target advertising or similar activities -# are explicitly forbidden and will be prosecuted. DK Hostmaster A/S -# requests to be notified of any such activities or suspicions thereof. - -Domain: google.dk -DNS: google.dk -Registered: 1999-01-10 -Expires: 2010-03-31 -Registration period: 1 year -VID: no -Status: Active - -Registrant -Handle: GI656-DK -Name: Google, Inc -Address: 1600 Amphitheatre Parkway -Postalcode: 94043 -City: Mountain View, CA -Country: US -Phone: +16502530000 - -Administrator -Handle: GI657-DK -Name: Google, Inc -Attention: Domain Administrator -Address: 1600 Amphitheatre Parkway -Postalcode: 94043 -City: Mountain View, CA -Country: US -Phone: +16502530000 - -Nameservers -Hostname: ns1.google.com -Handle: GI644-DK -Hostname: ns2.google.com -Handle: GI644-DK - diff --git a/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.expected deleted file mode 100644 index a734477c3..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.register.be" - %s[0].ipv4 == "91.121.5.186" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.register.be" - %s[1].ipv4 == "80.169.63.207" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.register.be" - %s[2].ipv4 == "217.21.176.34" diff --git a/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.txt deleted file mode 100644 index 281eba82d..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.txt +++ /dev/null @@ -1,64 +0,0 @@ -% .be Whois Server 5.0 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: register.be -Status: NOT AVAILABLE -Registered: Tue Dec 12 2000 - -Registrant: - Not shown, please visit www.dns.be for webbased whois. - -Registrar Technical Contacts: - Name: Register.be Technical Support - Organisation: Register.be - Language: en - Phone: +32.22473720 - Fax: +32.22473701 - Email: info@register.be - - -Registrar: - Name: Register NV/SA - Website: www.register.be - -Nameservers: - ns3.register.be (91.121.5.186) - ns1.register.be (80.169.63.207) - ns2.register.be (217.21.176.34) - -Keys: - -Please visit www.dns.be for more info. diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_available.expected b/spec/fixtures/responses/whois.dns.be/be/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_available.txt b/spec/fixtures/responses/whois.dns.be/be/property_status_available.txt deleted file mode 100644 index 9373e6255..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_available.txt +++ /dev/null @@ -1,39 +0,0 @@ -% .be Whois Server 5.0 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: u34jedzcq.be -Status: AVAILABLE - diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.expected b/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.txt b/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.txt deleted file mode 100644 index 431b1669e..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_not_available.txt +++ /dev/null @@ -1,63 +0,0 @@ -% .be Whois Server 5.0 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: gratisdatingplaza.be -Status: NOT AVAILABLE -Registered: Tue Feb 15 2011 - -Registrant: - Not shown, please visit www.dns.be for webbased whois. - -Registrar Technical Contacts: - Name: R. Bashir - Organisation: AXC - Language: nl - Phone: +31.787112586 - Fax: +31.787112587 - Email: support@axc.nl - - -Registrar: - Name: AXC - Website: axc.nl/ - -Nameservers: - ns2594.hostgator.com - ns2593.hostgator.com - -Keys: - -Please visit www.dns.be for more info. diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.expected b/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.expected deleted file mode 100644 index 6e71500a4..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.txt b/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.txt deleted file mode 100644 index a6cedf393..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.txt +++ /dev/null @@ -1,40 +0,0 @@ -% .be Whois Server 6.1 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: www.kimdemolenaer.be -Status: NOT ALLOWED -Message: Use only approved characters. - diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.expected b/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.txt b/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.txt deleted file mode 100644 index bc074e1a8..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.txt +++ /dev/null @@ -1,65 +0,0 @@ -% .be Whois Server 4.1 -% -% (c) dns.be 2001-2011 (http://www.dns.be) -% -%- The WHOIS service offered by DNS.be and the access to the records in the -%- DNS.be WHOIS database are provided for information purposes only. It allows -%- persons to check whether a specific domain name is still available or not -%- and to obtain information related to the registration records of -%- existing domain names. -%- -%- DNS.be cannot, under any circumstances, be held liable where the stored -%- information would prove to be incomplete or inaccurate in any sense. -%- -%- By submitting a query you agree not to use the information made available -%- to: -%- - allow, enable or otherwise support the transmission of unsolicited, -%- commercial advertising or other solicitations whether via email or otherwise; -%- - target advertising in any possible way; -%- - to cause nuisance in any possible way to the domain name holders by sending -%- messages to them (whether by automated, electronic processes capable of -%- enabling high volumes or other possible means). -%- -%- Without prejudice to the above, it is explicitly forbidden to extract, copy -%- and/or use or re-utilise in any form and by any means (electronically or -%- not) the whole or a quantitatively or qualitatively substantial part -%- of the contents of the WHOIS database without prior and explicit permission -%- by DNS.be, nor in any attempt thereof, to apply automated, electronic -%- processes to DNS.be (or its systems). -%- -%- You agree that any reproduction and/or transmission of data for commercial -%- purposes will always be considered as the extraction of a substantial -%- part of the content of the WHOIS database. -%- -%- By submitting the query you agree to abide by this policy and accept that -%- DNS.be can take measures to limit the use of its whois services in order to -%- protect the privacy of its registrants or the integrity of the database. -%- -% WHOIS ee -Domain: ee -Status: OUT OF SERVICE -Registered: Thu Dec 14 2000 - -Registrant: - Not shown, please visit www.dns.be for webbased whois. - -Registrar Technical Contacts: - Last Name: DNS BE Tech - Company Name: DNS BE vzw - Language: en - Street: Ubicenter - Street2: Philipssite 5 bus 13 - Location: 300 Leuven - Country: BE - Phone: +32.16284970 - Fax: +32.16284971 - Email: tech@dns.be - -Registrar: - Name: DNS BE vzw/asbl - Website: www.dns.be - -Nameservers: - ns1.sedoparking.com - ns2.sedoparking.com - diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.expected b/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.txt b/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.txt deleted file mode 100644 index 466fd99ad..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.txt +++ /dev/null @@ -1,44 +0,0 @@ -% .be Whois Server 4.1 -% -% (c) dns.be 2001-2011 (http://www.dns.be) -% -%- The WHOIS service offered by DNS.be and the access to the records in the -%- DNS.be WHOIS database are provided for information purposes only. It allows -%- persons to check whether a specific domain name is still available or not -%- and to obtain information related to the registration records of -%- existing domain names. -%- -%- DNS.be cannot, under any circumstances, be held liable where the stored -%- information would prove to be incomplete or inaccurate in any sense. -%- -%- By submitting a query you agree not to use the information made available -%- to: -%- - allow, enable or otherwise support the transmission of unsolicited, -%- commercial advertising or other solicitations whether via email or otherwise; -%- - target advertising in any possible way; -%- - to cause nuisance in any possible way to the domain name holders by sending -%- messages to them (whether by automated, electronic processes capable of -%- enabling high volumes or other possible means). -%- -%- Without prejudice to the above, it is explicitly forbidden to extract, copy -%- and/or use or re-utilise in any form and by any means (electronically or -%- not) the whole or a quantitatively or qualitatively substantial part -%- of the contents of the WHOIS database without prior and explicit permission -%- by DNS.be, nor in any attempt thereof, to apply automated, electronic -%- processes to DNS.be (or its systems). -%- -%- You agree that any reproduction and/or transmission of data for commercial -%- purposes will always be considered as the extraction of a substantial -%- part of the content of the WHOIS database. -%- -%- By submitting the query you agree to abide by this policy and accept that -%- DNS.be can take measures to limit the use of its whois services in order to -%- protect the privacy of its registrants or the integrity of the database. -%- -% WHOIS 9i -Domain: 9i -Status: QUARANTINE -Registered: Mon Dec 22 2003 -Available: Wed Feb 1 2012 - - diff --git a/spec/fixtures/responses/whois.dns.be/be/response_blocked.expected b/spec/fixtures/responses/whois.dns.be/be/response_blocked.expected deleted file mode 100644 index 2e3976b35..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_blocked.expected +++ /dev/null @@ -1,5 +0,0 @@ -#response_throttled? - %s == true - -#response_blocked? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/response_blocked.txt b/spec/fixtures/responses/whois.dns.be/be/response_blocked.txt deleted file mode 100644 index fd0607e17..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_blocked.txt +++ /dev/null @@ -1,37 +0,0 @@ -% .be Whois Server 5.0 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - example.be --3: IP address blocked diff --git a/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.expected b/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.txt b/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.txt deleted file mode 100644 index dcfee89ae..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.txt +++ /dev/null @@ -1,40 +0,0 @@ -% .be Whois Server 4.1 -% -% (c) dns.be 2001-2011 (http://www.dns.be) -% -%- The WHOIS service offered by DNS.be and the access to the records in the -%- DNS.be WHOIS database are provided for information purposes only. It allows -%- persons to check whether a specific domain name is still available or not -%- and to obtain information related to the registration records of -%- existing domain names. -%- -%- DNS.be cannot, under any circumstances, be held liable where the stored -%- information would prove to be incomplete or inaccurate in any sense. -%- -%- By submitting a query you agree not to use the information made available -%- to: -%- - allow, enable or otherwise support the transmission of unsolicited, -%- commercial advertising or other solicitations whether via email or otherwise; -%- - target advertising in any possible way; -%- - to cause nuisance in any possible way to the domain name holders by sending -%- messages to them (whether by automated, electronic processes capable of -%- enabling high volumes or other possible means). -%- -%- Without prejudice to the above, it is explicitly forbidden to extract, copy -%- and/or use or re-utilise in any form and by any means (electronically or -%- not) the whole or a quantitatively or qualitatively substantial part -%- of the contents of the WHOIS database without prior and explicit permission -%- by DNS.be, nor in any attempt thereof, to apply automated, electronic -%- processes to DNS.be (or its systems). -%- -%- You agree that any reproduction and/or transmission of data for commercial -%- purposes will always be considered as the extraction of a substantial -%- part of the content of the WHOIS database. -%- -%- By submitting the query you agree to abide by this policy and accept that -%- DNS.be can take measures to limit the use of its whois services in order to -%- protect the privacy of its registrants or the integrity of the database. -%- -% WHOIS test -% Maximum queries per hour reached (100) - diff --git a/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.expected b/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.txt b/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.txt deleted file mode 100644 index 6c2c23aee..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.txt +++ /dev/null @@ -1,40 +0,0 @@ -% .be Whois Server 4.0 -% -% (c) dns.be 2001-2004 (http://www.dns.be) -% -%- The WHOIS service offered by DNS and the access to the records in the DNS -%- WHOIS database are provided for information purposes only. It allows -%- persons to check whether a specific domain name is still available or not -%- and to obtain information related to the registration records of -%- existing domain names. -%- -%- DNS cannot, under any circumstances, be held liable where the stored -%- information would prove to be incomplete or inaccurate in any sense. -%- -%- By submitting a query you agree not to use the information made available -%- to: -%- - allow, enable or otherwise support the transmission of unsolicited, -%- commercial advertising or other solicitations whether via email or otherwise; -%- - target advertising in any possible way; -%- - to cause nuisance in any possible way to the domain name holders by sending -%- messages to them (whether by automated, electronic processes capable of -%- enabling high volumes or other possible means). -%- -%- Without prejudice to the above, it is explicitly forbidden to extract, copy -%- and/or use or re-utilise in any form and by any means (electronically or -%- not) the whole or a quantitatively or qualitatively substantial part -%- of the contents of the WHOIS database without prior and explicit permission -%- by DNS, nor in any attempt thereof, to apply automated, electronic -%- processes to DNS (or its systems). -%- -%- You agree that any reproduction and/or transmission of data for commercial -%- purposes will always be considered as the extraction of a substantial -%- part of the content of the WHOIS database. -%- -%- By submitting the query you agree to abide by this policy and accept that -%- DNS can take measures to limit the use of its whois services in order to -%- protect the privacy of its registrants or the integrity of the database. -%- -% WHOIS kine-vanmechelen -% Excessive querying, grace period of 2 seconds - diff --git a/spec/fixtures/responses/whois.dns.be/be/status_available.expected b/spec/fixtures/responses/whois.dns.be/be/status_available.expected deleted file mode 100644 index 388276d9f..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_available.expected +++ /dev/null @@ -1,39 +0,0 @@ -#domain - %s == "u34jedzcq.be" - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - -#response_throttled? - %s == false - - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.dns.be/be/status_available.txt b/spec/fixtures/responses/whois.dns.be/be/status_available.txt deleted file mode 100644 index 2a2d50d0d..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_available.txt +++ /dev/null @@ -1,39 +0,0 @@ -% .be Whois Server 6.1 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: u34jedzcq.be -Status: AVAILABLE - diff --git a/spec/fixtures/responses/whois.dns.be/be/status_invalid.expected b/spec/fixtures/responses/whois.dns.be/be/status_invalid.expected deleted file mode 100644 index 5e2757195..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_invalid.expected +++ /dev/null @@ -1,39 +0,0 @@ -#domain - %s == "www.kimdemolenaer.be" - - -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - -#response_throttled? - %s == false - - -#invalid? - %s == true diff --git a/spec/fixtures/responses/whois.dns.be/be/status_invalid.txt b/spec/fixtures/responses/whois.dns.be/be/status_invalid.txt deleted file mode 100644 index a6cedf393..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_invalid.txt +++ /dev/null @@ -1,40 +0,0 @@ -% .be Whois Server 6.1 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: www.kimdemolenaer.be -Status: NOT ALLOWED -Message: Use only approved characters. - diff --git a/spec/fixtures/responses/whois.dns.be/be/status_registered.expected b/spec/fixtures/responses/whois.dns.be/be/status_registered.expected deleted file mode 100644 index 9b419c384..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_registered.expected +++ /dev/null @@ -1,51 +0,0 @@ -#domain - %s == "google.be" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-12-12 00:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" - - -#response_throttled? - %s == false - - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.dns.be/be/status_registered.txt b/spec/fixtures/responses/whois.dns.be/be/status_registered.txt deleted file mode 100644 index c2ea6415f..000000000 --- a/spec/fixtures/responses/whois.dns.be/be/status_registered.txt +++ /dev/null @@ -1,67 +0,0 @@ -% .be Whois Server 6.1 -% -% The WHOIS service offered by DNS.be and the access to the records in the DNS.be -% WHOIS database are provided for information purposes only. It allows -% persons to check whether a specific domain name is still available or not -% and to obtain information related to the registration records of -% existing domain names. -% -% DNS.be cannot, under any circumstances, be held liable where the stored -% information would prove to be incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information made available -% to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the domain name holders by sending -% messages to them (whether by automated, electronic processes capable of -% enabling high volumes or other possible means). -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part -% of the contents of the WHOIS database without prior and explicit permission -% by DNS.be, nor in any attempt thereof, to apply automated, electronic -% processes to DNS.be (or its systems). -% -% You agree that any reproduction and/or transmission of data for commercial -% purposes will always be considered as the extraction of a substantial -% part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept that -% DNS.be can take measures to limit the use of its whois services in order to -% protect the privacy of its registrants or the integrity of the database. -% - -Domain: google.be -Status: NOT AVAILABLE -Registered: Tue Dec 12 2000 - -Registrant: - Not shown, please visit www.dns.be for webbased whois. - -Registrar Technical Contacts: - Name: MarkMonitor Inc. - Organisation: MarkMonitor Inc. - Language: en - Phone: +1.2083895740 - Fax: +1.2083895771 - Email: ccops@markmonitor.com - - -Registrar: - Name: MarkMonitor - Website: http://www.markmonitor.com - -Nameservers: - ns4.google.com - ns3.google.com - ns1.google.com - ns2.google.com - -Keys: - -Flags: - -Please visit www.dns.be for more info. diff --git a/spec/fixtures/responses/whois.dns.hr/hr/status_available.expected b/spec/fixtures/responses/whois.dns.hr/hr/status_available.expected deleted file mode 100644 index 2fcfa4959..000000000 --- a/spec/fixtures/responses/whois.dns.hr/hr/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.dns.hr/hr/status_available.txt b/spec/fixtures/responses/whois.dns.hr/hr/status_available.txt deleted file mode 100644 index 97f1eb3c2..000000000 --- a/spec/fixtures/responses/whois.dns.hr/hr/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -%ERROR: no entries found diff --git a/spec/fixtures/responses/whois.dns.hr/hr/status_registered.expected b/spec/fixtures/responses/whois.dns.hr/hr/status_registered.expected deleted file mode 100644 index 99d0d3545..000000000 --- a/spec/fixtures/responses/whois.dns.hr/hr/status_registered.expected +++ /dev/null @@ -1,62 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.hr" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-21} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Hrvatska d.o.o." - %s[0].organization == nil - %s[0].address == "Ulica Petra Hektorovića 2" - %s[0].city == "Zagreb" - %s[0].zip == "10 000" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.dns.hr/hr/status_registered.txt b/spec/fixtures/responses/whois.dns.hr/hr/status_registered.txt deleted file mode 100644 index cf8f18513..000000000 --- a/spec/fixtures/responses/whois.dns.hr/hr/status_registered.txt +++ /dev/null @@ -1,16 +0,0 @@ -domain: google.hr -descr: Google Hrvatska d.o.o. -descr: Ulica Petra Hektorovića 2 -descr: 10 000 Zagreb -tech-c: DD274636-DNSHR -expires: 20140921 -source: DNSHR - -person: Džanan Drobić -address: Sayber d.o.o. -address: Poljanička 22 -address: 10110 Zagreb -address: Hrvatska -nic-hdl: DD274636-DNSHR -source: DNSHR - diff --git a/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.expected deleted file mode 100644 index d8db7c4a9..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.arbed.lu" - %s[0].ipv4 == "194.154.218.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.pt.lu" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.arbed.lu" - %s[2].ipv4 == "194.154.218.12" diff --git a/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.txt deleted file mode 100644 index 6685a5632..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.txt +++ /dev/null @@ -1,55 +0,0 @@ -% Access to RESTENA DNS-LU WHOIS information is provided to assist persons -% in determining the content of a domain name registration record in the LU -% registration database. The data in this record is provided by RESTENA DNS-LU -% for information purposes only, and RESTENA DNS-LU does not guarantee its -% accuracy. Compilation, repackaging, dissemination or other use of the -% WHOIS database in its entirety, or of a substantial part thereof, is not -% allowed without the prior written permission of RESTENA DNS-LU. -% -% By submitting a WHOIS query, you agree to abide by this policy. You acknowledge -% that the use of the WHOIS database is regulated by the ACCEPTABLE USE POLICY -% (http://www.dns.lu/en/EN-LUCharteUtil.html), that you are aware of its -% content, and that you accept its terms and conditions. -% -% You agree especially that you will use this data only for lawful purposes and -% that you will not use this data to: -% (1) allow, enable, or otherwise support the transmission of mass unsolicited, -% commercial advertising or solicitations via e-mail (spam); or -% (2) enable high volume, automated, electronic processes that apply to -% RESTENA DNS-LU (or its systems). -% -% All rights reserved. -% -% powered by Whois Server 3.1, (c) dns.be -% -% WHOIS arbed -domainname: arbed.lu -domaintype: ACTIVE -nserver: ns1.arbed.lu [194.154.218.10] -nserver: ns1.pt.lu -nserver: ns2.arbed.lu [194.154.218.12] -ownertype: ORGANISATION -registered: 11/08/2008 -org-name: ARCELORMITTAL -org-address: 19, avenue de la liberte -org-zipcode: L-2930 -org-city: LUXEMBOURG -org-country: LU -adm-name: WEBER antoine -adm-address: ARCELORMITTAL LUXEMBOURG -adm-address: 19, avenue de la liberte -adm-zipcode: L-2930 -adm-city: LUXEMBOURG -adm-country: LU -adm-email: pi@arcelormittal.com -tec-name: TECHNICAL Department -tec-address: NAMESHIELD -tec-address: 27 rue des arenes -tec-zipcode: 49100 -tec-city: ANGERS -tec-country: FR -tec-email: technical@nameshield.net -registrar-name: Nameshield -registrar-url: http://www.nameshield.net -registrar-country: FR - diff --git a/spec/fixtures/responses/whois.dns.lu/lu/status_available.expected b/spec/fixtures/responses/whois.dns.lu/lu/status_available.expected deleted file mode 100644 index eae453ff6..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/status_available.expected +++ /dev/null @@ -1,39 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dns.lu/lu/status_available.txt b/spec/fixtures/responses/whois.dns.lu/lu/status_available.txt deleted file mode 100644 index 23ea4ac3c..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/status_available.txt +++ /dev/null @@ -1,24 +0,0 @@ -% Access to RESTENA DNS-LU WHOIS information is provided to assist persons -% in determining the content of a domain name registration record in the LU -% registration database. The data in this record is provided by RESTENA DNS-LU -% for information purposes only, and RESTENA DNS-LU does not guarantee its -% accuracy. Compilation, repackaging, dissemination or other use of the -% WHOIS database in its entirety, or of a substantial part thereof, is not -% allowed without the prior written permission of RESTENA DNS-LU. -% -% By submitting a WHOIS query, you agree to abide by this policy. You acknowledge -% that the use of the WHOIS database is regulated by the ACCEPTABLE USE POLICY -% (http://www.dns.lu/en/support/domainname-availability/whois-gateway/), that you are aware of its -% content, and that you accept its terms and conditions. -% -% You agree especially that you will use this data only for lawful purposes and -% that you will not use this data to: -% (1) allow, enable, or otherwise support the transmission of mass unsolicited, -% commercial advertising or solicitations via e-mail (spam); or -% (2) enable high volume, automated, electronic processes that apply to -% RESTENA DNS-LU (or its systems). -% -% All rights reserved. -% -% WHOIS u34jedzcq.lu -% No such domain diff --git a/spec/fixtures/responses/whois.dns.lu/lu/status_registered.expected b/spec/fixtures/responses/whois.dns.lu/lu/status_registered.expected deleted file mode 100644 index b4a2ad827..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/status_registered.expected +++ /dev/null @@ -1,73 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-06-04 00:00:00 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.name == "Markmonitor" - %s.url == "http://www.markmonitor.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].country_code == "US" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "DNS Admin" - %s[0].address == "Google Inc., 1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].country_code == "US" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "DNS Admin" - %s[0].address == "Google Inc., 1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].country_code == "US" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.dns.lu/lu/status_registered.txt b/spec/fixtures/responses/whois.dns.lu/lu/status_registered.txt deleted file mode 100644 index 5460a648b..000000000 --- a/spec/fixtures/responses/whois.dns.lu/lu/status_registered.txt +++ /dev/null @@ -1,55 +0,0 @@ -% Access to RESTENA DNS-LU WHOIS information is provided to assist persons -% in determining the content of a domain name registration record in the LU -% registration database. The data in this record is provided by RESTENA DNS-LU -% for information purposes only, and RESTENA DNS-LU does not guarantee its -% accuracy. Compilation, repackaging, dissemination or other use of the -% WHOIS database in its entirety, or of a substantial part thereof, is not -% allowed without the prior written permission of RESTENA DNS-LU. -% -% By submitting a WHOIS query, you agree to abide by this policy. You acknowledge -% that the use of the WHOIS database is regulated by the ACCEPTABLE USE POLICY -% (http://www.dns.lu/en/support/domainname-availability/whois-gateway/), that you are aware of its -% content, and that you accept its terms and conditions. -% -% You agree especially that you will use this data only for lawful purposes and -% that you will not use this data to: -% (1) allow, enable, or otherwise support the transmission of mass unsolicited, -% commercial advertising or solicitations via e-mail (spam); or -% (2) enable high volume, automated, electronic processes that apply to -% RESTENA DNS-LU (or its systems). -% -% All rights reserved. -% -% WHOIS google.lu -domainname: google.lu -domaintype: ACTIVE -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -ownertype: ORGANISATION -registered: 04/06/2003 -org-name: Google Inc. -org-address: 1600 Amphitheatre Parkway -org-zipcode: 94043 -org-city: Mountain View -org-country: US -adm-name: DNS Admin -adm-address: Google Inc. -adm-address: 1600 Amphitheatre Parkway -adm-zipcode: 94043 -adm-city: Mountain View -adm-country: US -adm-email: dns-admin@google.com -tec-name: DNS Admin -tec-address: Google Inc. -tec-address: 1600 Amphitheatre Parkway -tec-zipcode: 94043 -tec-city: Mountain View -tec-country: US -tec-email: dns-admin@google.com -registrar-name: Markmonitor -registrar-email: ccops@markmonitor.com -registrar-url: http://www.markmonitor.com/ -registrar-country: GB - diff --git a/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.expected b/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.expected deleted file mode 100644 index aee072824..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.expected +++ /dev/null @@ -1,2 +0,0 @@ -#expires_on - %s == nil diff --git a/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.txt b/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.txt deleted file mode 100644 index c3c321934..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.txt +++ /dev/null @@ -1,29 +0,0 @@ - -DOMAIN NAME: nom.pl -registrant type: organization -nameservers: f-dns.pl. [217.17.46.189][2001:1a68:0:10::189] - i-dns.pl. [156.154.100.15] - a-dns.pl. [195.187.245.44] - e-dns.pl. [195.80.237.162] - d-dns.pl. [213.172.174.70] - h-dns.pl. [2001:678:4::2][194.0.1.2] - g-dns.pl. [2001:6d8:0:1::a:6][149.156.1.6] -created: 2003.03.25 12:00:00 -last modified: 2004.02.09 12:24:22 -renewal date: not defined - -no option - -dnssec: Signed - - -REGISTRAR: -NASK -ul. Wawozowa 18 -02-796 Warszawa -Polska/Poland -+48.22 3808300 -info@dns.pl - -WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system -Registrant data available at http://dns.pl/cgi-bin/en_whois.pl \ No newline at end of file diff --git a/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.expected deleted file mode 100644 index a395fa25a..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.pentex.pl" - %s[0].ipv4 == "188.165.232.46" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.pentex.pl" - %s[1].ipv4 == "83.142.46.21" diff --git a/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.txt deleted file mode 100644 index 6a67661a3..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.txt +++ /dev/null @@ -1,24 +0,0 @@ - -DOMAIN NAME: pentex.pl -registrant type: individual -nameservers: dns1.pentex.pl. [188.165.232.46] - dns2.pentex.pl. [83.142.46.21] -created: 2001.06.20 13:00:00 -last modified: 2012.06.19 15:56:18 -renewal date: 2013.06.19 14:00:00 - -no option - -dnssec: Unsigned - - -REGISTRAR: -OVH SAS -2 Rue Kellermann -59100 Roubaix -Francja/France -+48.71 7860700 -pomoc@ovh.pl - -WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system -Registrant data available at http://dns.pl/cgi-bin/en_whois.pl \ No newline at end of file diff --git a/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.expected b/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.txt b/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.txt deleted file mode 100644 index c16bbabf6..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -request limit exceeded for 127.0.0.1 diff --git a/spec/fixtures/responses/whois.dns.pl/pl/status_available.expected b/spec/fixtures/responses/whois.dns.pl/pl/status_available.expected deleted file mode 100644 index 3c28ddf4d..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/status_available.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dns.pl/pl/status_available.txt b/spec/fixtures/responses/whois.dns.pl/pl/status_available.txt deleted file mode 100644 index 397e7ac0e..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/status_available.txt +++ /dev/null @@ -1,8 +0,0 @@ - -No information available about domain name u34jedzcq.pl in the Registry NASK database. - - - - -WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system -Registrant data available at http://dns.pl/cgi-bin/en_whois.pl \ No newline at end of file diff --git a/spec/fixtures/responses/whois.dns.pl/pl/status_registered.expected b/spec/fixtures/responses/whois.dns.pl/pl/status_registered.expected deleted file mode 100644 index f326f82bc..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/status_registered.expected +++ /dev/null @@ -1,73 +0,0 @@ -#domain - %s == "google.pl" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-09-19 13:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-08-17 11:21:09} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-09-18 14:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Markmonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "ks_5271013" - %s[0].name == nil - %s[0].organization == "DNS Admin\nGoogle Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506188571" - %s[0].email == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.dns.pl/pl/status_registered.txt b/spec/fixtures/responses/whois.dns.pl/pl/status_registered.txt deleted file mode 100644 index 951d7516d..000000000 --- a/spec/fixtures/responses/whois.dns.pl/pl/status_registered.txt +++ /dev/null @@ -1,36 +0,0 @@ - -DOMAIN NAME: google.pl -registrant type: organization -nameservers: ns2.google.com. - ns1.google.com. -created: 2002.09.19 13:00:00 -last modified: 2012.08.17 11:21:09 -renewal date: 2013.09.18 14:00:00 - -option created: 2011.10.14 09:29:47 -option expiration date: 2014.10.14 09:29:47 - -dnssec: Unsigned - -TECHNICAL CONTACT: -company: DNS Admin - Google Inc. -street: 1600 Amphitheatre Parkway -city: 94043 Mountain View -location: US -handle: ks_5271013 -phone: +1.6503300100 -fax: +1.6506188571 -last modified: 2010.02.24 - - -REGISTRAR: -Markmonitor, Inc. -391 N. Ancestor Place -Boise, ID 83704 -United States -+1.2083895740 -ccops@markmonitor.com - -WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system -Registrant data available at http://dns.pl/cgi-bin/en_whois.pl \ No newline at end of file diff --git a/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.expected b/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.expected deleted file mode 100644 index 8cef83e4e..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.txt b/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.txt deleted file mode 100644 index 69be60128..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.txt +++ /dev/null @@ -1,25 +0,0 @@ -Nome de domínio / Domain Name: google.pt -Data de registo / Creation Date (dd/mm/yyyy): 09/01/2003 -Data de expiração / Expiration Date (dd/mm/yyyy): 29/02/2012 -Estado / Status: ACTIVE - -Titular / Registrant - Google, Inc. - 1600 Amphitheatre Parkway - Mountain View, CA - 94043 null - Email: dns-admin@google.com - -Entidade Gestora / Billing Contact - Markmonitor - CCOPS - Email: ccops@markmonitor.com - -Responsável Técnico / Tech Contact - Markmonitor - CCOPS - Email: ccops@markmonitor.com - -Nameserver Information - Nameserver: google.pt NS ns4.google.com. - Nameserver: google.pt NS ns2.google.com. - Nameserver: google.pt NS ns1.google.com. - Nameserver: google.pt NS ns3.google.com. diff --git a/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.expected b/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.expected deleted file mode 100644 index 8592c316b..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.txt b/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.txt deleted file mode 100644 index 70fa020f3..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.txt +++ /dev/null @@ -1,21 +0,0 @@ -Nome de domínio / Domain Name: wiki.pt -Data de registo / Creation Date (dd/mm/yyyy): 09/02/2009 -Data de expiração / Expiration Date (dd/mm/yyyy): 01/03/2014 -Estado / Status: TECH-PRO - -Titular / Registrant - Portugalmail - Comunicações S.A. - Rua Ricardo Severo, Nº 3 - 5º Dto. - Porto - 4050-515 Porto - Email: registrars@ping.pt - -Entidade Gestora / Billing Contact - Portugalmail - Comunicações S.A. - Email: registrars@ping.pt - -Responsável Técnico / Tech Contact - Portugalmail - Comunicações S.A. - Email: registrars@ping.pt - -Nameserver Information diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_available.expected b/spec/fixtures/responses/whois.dns.pt/pt/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt b/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt deleted file mode 100644 index c18ae524c..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -u34jedzcq.pt no match \ No newline at end of file diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.expected b/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.expected deleted file mode 100644 index 2f2febdc7..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.expected +++ /dev/null @@ -1,25 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-02-09 00:00:00 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-01 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{0} diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.txt b/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.txt deleted file mode 100644 index 70fa020f3..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_inactive.txt +++ /dev/null @@ -1,21 +0,0 @@ -Nome de domínio / Domain Name: wiki.pt -Data de registo / Creation Date (dd/mm/yyyy): 09/02/2009 -Data de expiração / Expiration Date (dd/mm/yyyy): 01/03/2014 -Estado / Status: TECH-PRO - -Titular / Registrant - Portugalmail - Comunicações S.A. - Rua Ricardo Severo, Nº 3 - 5º Dto. - Porto - 4050-515 Porto - Email: registrars@ping.pt - -Entidade Gestora / Billing Contact - Portugalmail - Comunicações S.A. - Email: registrars@ping.pt - -Responsável Técnico / Tech Contact - Portugalmail - Comunicações S.A. - Email: registrars@ping.pt - -Nameserver Information diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_registered.expected b/spec/fixtures/responses/whois.dns.pt/pt/status_registered.expected deleted file mode 100644 index b934b98b6..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-01-09 00:00:00 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-28 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_registered.txt b/spec/fixtures/responses/whois.dns.pt/pt/status_registered.txt deleted file mode 100644 index 5fa8f0cdb..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_registered.txt +++ /dev/null @@ -1,25 +0,0 @@ -Nome de domínio / Domain Name: google.pt -Data de registo / Creation Date (dd/mm/yyyy): 09/01/2003 -Data de expiração / Expiration Date (dd/mm/yyyy): 28/02/2015 -Estado / Status: ACTIVE - -Titular / Registrant - Google, Inc. - 1600 Amphitheatre Parkway - Mountain View, CA - 94043 null - Email: dns-admin@google.com - -Entidade Gestora / Billing Contact - Markmonitor - CCOPS - Email: ccops@markmonitor.com - -Responsável Técnico / Tech Contact - Markmonitor - CCOPS - Email: ccops@markmonitor.com - -Nameserver Information - Nameserver: google.pt NS ns4.google.com. - Nameserver: google.pt NS ns2.google.com. - Nameserver: google.pt NS ns1.google.com. - Nameserver: google.pt NS ns3.google.com. diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.expected b/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.expected deleted file mode 100644 index 082306543..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.expected +++ /dev/null @@ -1,24 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-02-09 00:00:00 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.txt b/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.txt deleted file mode 100644 index d57b65e80..000000000 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_reserved.txt +++ /dev/null @@ -1,24 +0,0 @@ -Nome de domínio / Domain Name: wiki.pt -Data de registo / Creation Date (dd/mm/yyyy): 09/02/2009 -Estado / Status: RESERVED - -Titular / Registrant - Portugalmail - Comunicações S.A. - Rua Ricardo Severo, Nº 3 - 5º Dto. - - 4050-515 Porto - PT - Email: registos@portugalmail.pt - -Entidade Gestora / Billing Contact - Portugalmail - Comunicações S.A. - Email: registos@portugalmail.pt - -Responsável Técnico / Tech Contact - Portugalmail - Comunicações S.A. - Email: registos@portugalmail.pt - -Nameserver Information - - - diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.expected deleted file mode 100644 index 93c57285a..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.tntpost.nl" - %s[0].ipv4 == "145.78.21.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.tntpost.nl" - %s[1].ipv4 == "80.69.76.10" diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.txt deleted file mode 100644 index e5c4aa24e..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.txt +++ /dev/null @@ -1,34 +0,0 @@ -Domain name: tntpost.nl -Status: active - -Registrar: - Transip BV - Schipholweg 9 b - 2316XB LEIDEN - Netherlands - -Domain nameservers: - ns1.tntpost.nl 145.78.21.10 - ns2.tntpost.nl 80.69.76.10 - -Record maintained: NL Domain Registry - -Copyright notice -No part of this publication may be reproduced, published, stored in a -retrieval system, or transmitted, in any form or by any means, -electronic, mechanical, recording, or otherwise, without prior -permission of the Foundation for Internet Domain Registration in the -Netherlands (SIDN). -These restrictions apply equally to registrars, except in that -reproductions and publications are permitted insofar as they are -reasonable, necessary and solely in the context of the registration -activities referred to in the General Terms and Conditions for .nl -Registrars. -Any use of this material for advertising, targeting commercial offers or -similar activities is explicitly forbidden and liable to result in legal -action. Anyone who is aware or suspects that such activities are taking -place is asked to inform the Foundation for Internet Domain Registration -in the Netherlands. -(c) The Foundation for Internet Domain Registration in the Netherlands -(SIDN) Dutch Copyright Act, protection of authors' rights (Section 10, -subsection 1, clause 1). diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.expected deleted file mode 100644 index 8592c316b..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.txt deleted file mode 100644 index 25f14dd0e..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.txt +++ /dev/null @@ -1,35 +0,0 @@ -Domain name: smsexdates.nl -Status: inactive - -Registrar: - JK Websolutions - Van Hallstraat 47 - 4463VC Goes - Netherlands - -DNSSEC: no - -Domain nameservers: - ns1.jkwebsolutions.nl - -Record maintained by: NL Domain Registry - -Copyright notice -No part of this publication may be reproduced, published, stored in a -retrieval system, or transmitted, in any form or by any means, -electronic, mechanical, recording, or otherwise, without prior -permission of the Foundation for Internet Domain Registration in the -Netherlands (SIDN). -These restrictions apply equally to registrars, except in that -reproductions and publications are permitted insofar as they are -reasonable, necessary and solely in the context of the registration -activities referred to in the General Terms and Conditions for .nl -Registrars. -Any use of this material for advertising, targeting commercial offers or -similar activities is explicitly forbidden and liable to result in legal -action. Anyone who is aware or suspects that such activities are taking -place is asked to inform the Foundation for Internet Domain Registration -in the Netherlands. -(c) The Foundation for Internet Domain Registration in the Netherlands -(SIDN) Dutch Copyright Act, protection of authors' rights (Section 10, -subsection 1, clause 1). diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.txt deleted file mode 100644 index ae3e7edad..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -whois.domain-registry.nl: only 1 request per second allowed, try again later diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.txt deleted file mode 100644 index 8c1b32fa2..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.txt +++ /dev/null @@ -1 +0,0 @@ -whois.domain-registry.nl: daily whois-limit exceeded for client 67.202.31.57 diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.expected deleted file mode 100644 index 49d272a17..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_unavailable? - %s == true diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.txt deleted file mode 100644 index cbf3219cc..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.txt +++ /dev/null @@ -1 +0,0 @@ -whois.domain-registry.nl: Server too busy, try again later diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.expected deleted file mode 100644 index 5cce5e63f..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#response_throttled? - %s == false - -#response_unavailable? - %s == false diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.txt deleted file mode 100644 index cc15c3153..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -u34jedzcq.nl is free - - Copyright notice - No part of this publication may be reproduced, published, stored in a - retrieval system, or transmitted, in any form or by any means, electronic, - mechanical, recording, or otherwise, without prior permission of the - Foundation for Internet Domain Registration in the Netherlands (SIDN). - Registrars are bound by these restrictions without any limitations, - except in case of reasonable and necessary reproductions or publications - and solely for those business activities as mentioned in the 'General - terms and Conditions for Registrars'. - - Any use of this material to target advertising, commercial speech or - similar activities is explicitly forbidden and will be prosecuted. The - Stichting Internet Domeinregistratie Nederland requests to be notified - of any such activities or suspicions thereof. - (c) The Foundation for Internet Domain Registration in the Netherlands - (SIDN) Dutch Copyright Act, protection of authors' rights (Section 10, - subsection 1, clause 1). - - diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.expected deleted file mode 100644 index e4850af0b..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#response_throttled? - %s == false - -#response_unavailable? - %s == false diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.txt deleted file mode 100644 index fdca70532..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.txt +++ /dev/null @@ -1,32 +0,0 @@ -Domain name: martijn-webdesign.nl -Status: in quarantine - -Last registrar: - Fastware B.V. - Auvergnestraat 4 - 4611LN BERGEN OP ZOOM - Netherlands - -Date out of quarantine: 2010-10-02 - -Record maintained: NL Domain Registry - -Copyright notice -No part of this publication may be reproduced, published, stored in a -retrieval system, or transmitted, in any form or by any means, -electronic, mechanical, recording, or otherwise, without prior -permission of the Foundation for Internet Domain Registration in the -Netherlands (SIDN). -These restrictions apply equally to registrars, except in that -reproductions and publications are permitted insofar as they are -reasonable, necessary and solely in the context of the registration -activities referred to in the General Terms and Conditions for .nl -Registrars. -Any use of this material for advertising, targeting commercial offers or -similar activities is explicitly forbidden and liable to result in legal -action. Anyone who is aware or suspects that such activities are taking -place is asked to inform the Foundation for Internet Domain Registration -in the Netherlands. -(c) The Foundation for Internet Domain Registration in the Netherlands -(SIDN) Dutch Copyright Act, protection of authors' rights (Section 10, -subsection 1, clause 1). diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.expected b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.expected deleted file mode 100644 index 1986811fd..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.expected +++ /dev/null @@ -1,41 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-05-27} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-02-11} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - - -#response_throttled? - %s == false - -#response_unavailable? - %s == false diff --git a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.txt b/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.txt deleted file mode 100644 index 71f3d9c22..000000000 --- a/spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.txt +++ /dev/null @@ -1,67 +0,0 @@ - Domain name: - google.nl - - Status: active - - Registrant: - GOO001748-MARKM - Google Inc. - Amphitheatre Parkway 1600 - 94043 - MOUNTAIN VIEW CA - United States of America - - Domicile: - Kruisstraat 2 - 2312BH LEIDEN - Netherlands - - Administrative contact: - GOO007083-MARKM - GI Google Inc. - +1 (0)6502530000 - ccops@markmonitor.com - - Registrar: - MarkMonitor International LTD - 22-26 Albert Embankment - SE1 7TJ - London - United Kingdom of Great Britain & N. Ireland - - Technical contact(s): - JOH004771-MARKM - M Serlin - +1 (0)2083895740 - ccops@markmonitor.com - - Domain nameservers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - Date registered: 27-05-1999 - Record last updated: 11-02-2009 - - Record maintained by: NL Domain Registry - - Copyright notice - No part of this publication may be reproduced, published, stored in a - retrieval system, or transmitted, in any form or by any means, electronic, - mechanical, recording, or otherwise, without prior permission of the - Foundation for Internet Domain Registration in the Netherlands (SIDN). - Registrars are bound by these restrictions without any limitations, - except in case of reasonable and necessary reproductions or publications - and solely for those business activities as mentioned in the 'General - terms and Conditions for Registrars'. - - Any use of this material to target advertising, commercial speech or - similar activities is explicitly forbidden and will be prosecuted. The - Stichting Internet Domeinregistratie Nederland requests to be notified - of any such activities or suspicions thereof. - (c) The Foundation for Internet Domain Registration in the Netherlands - (SIDN) Dutch Copyright Act, protection of authors' rights (Section 10, - subsection 1, clause 1). - - diff --git a/spec/fixtures/responses/whois.domain.kg/kg/status_available.expected b/spec/fixtures/responses/whois.domain.kg/kg/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.domain.kg/kg/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.domain.kg/kg/status_available.txt b/spec/fixtures/responses/whois.domain.kg/kg/status_available.txt deleted file mode 100644 index 1d2a376f4..000000000 --- a/spec/fixtures/responses/whois.domain.kg/kg/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -% This is the .kg ccTLD Whois server -% Register your own domain at http://www.domain.kg - -Domain U34JEDZCQ.KG - -Data not found. This domain is available for registration. diff --git a/spec/fixtures/responses/whois.domain.kg/kg/status_registered.expected b/spec/fixtures/responses/whois.domain.kg/kg/status_registered.expected deleted file mode 100644 index 69d5c988c..000000000 --- a/spec/fixtures/responses/whois.domain.kg/kg/status_registered.expected +++ /dev/null @@ -1,38 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-02-10 09:42:42} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-04-19 21:47:14} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-30 23:59:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.domain.kg/kg/status_registered.txt b/spec/fixtures/responses/whois.domain.kg/kg/status_registered.txt deleted file mode 100644 index 5aafe97c6..000000000 --- a/spec/fixtures/responses/whois.domain.kg/kg/status_registered.txt +++ /dev/null @@ -1,42 +0,0 @@ -% This is the .kg ccTLD Whois server -% Register your own domain at http://www.domain.kg - -Domain GOOGLE.KG - -Administrative Contact: - PID: 8386-KG - Name: Google Inc. - Email: ccops@markmonitor.com - Address: 1600 Amphitheatre Parkway - phone: +1.6502530000 - fax: +1.6506188571 - -Technical Contact: - PID: 5935-KG - Name: Markmonitor - Email: ccopsbilling@markmonitor.com - Address: 391 N Ancestor Place Boise, ID 83704 - phone: +12083895740 - fax: +12083895771 - -Billing Contact: - PID: 5935-KG - Name: Markmonitor - Email: ccopsbilling@markmonitor.com - Address: 391 N Ancestor Place Boise, ID 83704 - phone: +12083895740 - fax: +12083895771 - -Domain support: ISP AsiaInfo (+996 312 964488) - -Record created: Tue Feb 10 09:42:42 2004 -Record last updated on Mon Apr 19 21:47:14 2010 -Record expires on Sun Mar 30 23:59:00 2014 - -Name servers in the listed order: - -NS1.GOOGLE.COM -NS2.GOOGLE.COM -NS4.GOOGLE.COM - - diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.expected deleted file mode 100644 index 9fce14a5e..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == :registered diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.txt deleted file mode 100644 index d98d58f2a..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.txt +++ /dev/null @@ -1,10 +0,0 @@ - -% Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96 -% Do not remove this notice - -domain: peter.ie -expiry: 17 April 2012 - -% Application Pending - There is currently an application being processed for -% the domain name you have requested. If unsuccessful, the application would -% expire on the above date. diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.expected deleted file mode 100644 index 7b96aba0d..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.expected +++ /dev/null @@ -1,19 +0,0 @@ -#admin_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "JL241-IEDR" - %s[0].name == "Jonathan Lundberg" - %s[1] %CLASS{contact} - %s[1].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[1].id == "JM474-IEDR" - %s[1].name == "John Moylan" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "JM474-IEDR" - %s[0].name == "John Moylan" diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.txt deleted file mode 100644 index 943c9f214..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.txt +++ /dev/null @@ -1,29 +0,0 @@ - -% Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96 -% Do not remove this notice - -domain: rte.ie -descr: RTE Commercial Enterprises Limited -descr: Body Corporate (Ltd,PLC,Company) -descr: Corporate Name -admin-c: JL241-IEDR -admin-c: JM474-IEDR -tech-c: JM474-IEDR -renewal: 31-March-2012 -status: Active -nserver: NS3.RTE.IE 89.207.56.71 -nserver: NS4.RTE.IE 89.207.56.70 -source: IEDR - -person: Jonathan Lundberg -nic-hdl: JL241-IEDR -source: IEDR - -person: John Moylan -nic-hdl: JM474-IEDR -source: IEDR - -person: John Moylan -nic-hdl: JM474-IEDR -source: IEDR - diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.expected deleted file mode 100644 index f3990396f..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.expected +++ /dev/null @@ -1,7 +0,0 @@ -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "KG37-IEDR" - %s[0].name == "Michael McGovern" diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.txt deleted file mode 100644 index 891ed4c3a..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.txt +++ /dev/null @@ -1,34 +0,0 @@ - -% Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96 -% Do not remove this notice - -domain: tcd.ie -descr: University of Dublin Trinity College -descr: School/Educational Institution -descr: School/Educational Institution Name -admin-c: AAB502-IEDR -tech-c: KG37-IEDR -tech-c: MM213-IEDR -registration: 24-August-1999 -renewal: 24-August-2013 -status: Active -nserver: ns1.tcd.ie 134.226.1.114 -nserver: ns2.tcd.ie 134.226.1.28 -nserver: ns.maths.tcd.ie 134.226.81.11 2001:770:10:300::86e2:510b -nserver: sec2.authdns.ripe.net -nserver: ns.tcd.ie 134.226.1.24 -nserver: auth-ns1.ucd.ie -source: IEDR - -person: John Murphy -nic-hdl: AAB502-IEDR -source: IEDR - -person: Ken Gordon -nic-hdl: KG37-IEDR -source: IEDR - -person: Michael McGovern -nic-hdl: KG37-IEDR -source: IEDR - diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.expected deleted file mode 100644 index 0d3d25e90..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.expected +++ /dev/null @@ -1,21 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.dns.ie" - %s[0].ipv4 == "208.94.148.4" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.dns.ie" - %s[1].ipv4 == "208.80.124.4" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.dns.ie" - %s[2].ipv4 == "208.80.126.4" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.dns.ie" - %s[3].ipv4 == "208.80.125.4" - %s[4] %CLASS{nameserver} - %s[4].name == "ns5.dns.ie" - %s[4].ipv4 == "208.80.127.4" - %s[5] %CLASS{nameserver} - %s[5].name == "ns6.dns.ie" - %s[5].ipv4 == "208.94.149.4" diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.txt deleted file mode 100644 index 7956def16..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.txt +++ /dev/null @@ -1,30 +0,0 @@ - -% Rights restricted by copyright; http://www.domainregistry.ie/copyright.html -% Do not remove this notice - -domain: dns.ie -descr: Irish Domains Ltd -descr: Body Corporate (Ltd,PLC,Company) -descr: Registered Business Name -admin-c: CM417-IEDR -tech-c: TDI2-IEDR -renewal: 20-February-2021 -status: Active -nserver: ns1.dns.ie 208.94.148.4 -nserver: ns2.dns.ie 208.80.124.4 -nserver: ns3.dns.ie 208.80.126.4 -nserver: ns4.dns.ie 208.80.125.4 -nserver: ns5.dns.ie 208.80.127.4 -nserver: ns6.dns.ie 208.94.149.4 -source: IEDR - -person: Conor Moran -nic-hdl: CM417-IEDR -source: IEDR - -person: Technical Department Irish Domains -nic-hdl: TDI2-IEDR -source: IEDR - - - diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.expected deleted file mode 100644 index 01592bd1a..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96\nDo not remove this notice" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.txt deleted file mode 100644 index a772d1b46..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.txt +++ /dev/null @@ -1,5 +0,0 @@ - -% Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96 -% Do not remove this notice - -% Not Registered - The domain you have requested (u34jedzcq.ie) is not a registered .ie domain name. diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.expected b/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.expected deleted file mode 100644 index b9a61c7eb..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.expected +++ /dev/null @@ -1,70 +0,0 @@ -#disclaimer - %s == "Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96\nDo not remove this notice" - - -#domain - %s == "google.ie" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-03-21} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-21} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google, Inc" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "AAV410-IEDR" - %s[0].name == "Christina Chiou" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "CCA7-IEDR" - %s[0].name == "Markmonitor Inc" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.txt b/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.txt deleted file mode 100644 index c72550739..000000000 --- a/spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.txt +++ /dev/null @@ -1,29 +0,0 @@ - -% Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96 -% Do not remove this notice - -domain: google.ie -descr: Google, Inc -descr: Body Corporate (Ltd,PLC,Company) -descr: Registered Trade Mark Name -admin-c: AAV410-IEDR -tech-c: CCA7-IEDR -registration: 21-March-2002 -renewal: 21-March-2015 -holder-type: Billable -wipo-status: N -ren-status: Active -in-zone: 1 -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -source: IEDR - -person: Christina Chiou -nic-hdl: AAV410-IEDR -source: IEDR - -person: Markmonitor Inc -nic-hdl: CCA7-IEDR -source: IEDR - diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.expected deleted file mode 100644 index ec9cf070d..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.expected +++ /dev/null @@ -1,15 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.serveriai.lt" - %s[0].ipv4 == "79.98.25.142" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.serveriai.lt" - %s[1].ipv4 == "174.36.250.192" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.serveriai.lt" - %s[2].ipv4 == "79.98.29.142" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.serveriai.lt" - %s[3].ipv4 == "67.228.39.192" diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.txt deleted file mode 100644 index 9f1dc5183..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.txt +++ /dev/null @@ -1,32 +0,0 @@ -% Hello, this is the DOMREG whois service. -% -% By submitting a query you agree not to use the information made -% available to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Version 0.3 -% -% For more information please visit http://whois.domreg.lt -% -Domain: serveriai.lt -Status: registered -Registered: 2003-11-17 -% -Registrar: UAB "Interneto vizija" -Registrar website: http://www.iv.lt/ -Registrar email: hostmaster@iv.lt -% -% -Contact organization: UAB "Interneto vizija" -Contact email: hostmaster@iv.lt -% -Nameserver: ns1.serveriai.lt [79.98.25.142] -Nameserver: ns2.serveriai.lt [174.36.250.192] -Nameserver: ns3.serveriai.lt [79.98.29.142] -Nameserver: ns4.serveriai.lt [67.228.39.192] diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/status_available.expected b/spec/fixtures/responses/whois.domreg.lt/lt/status_available.expected deleted file mode 100644 index 703fd401e..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/status_available.txt b/spec/fixtures/responses/whois.domreg.lt/lt/status_available.txt deleted file mode 100644 index b21a14d3c..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/status_available.txt +++ /dev/null @@ -1,18 +0,0 @@ -% Hello, this is the DOMREG whois service. -% -% By submitting a query you agree not to use the information made -% available to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Version 0.3 -% -% For more information please visit http://whois.domreg.lt -% -Domain: u34jedzcq.lt -Status: available diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.expected b/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.expected deleted file mode 100644 index caf215234..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-06} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.txt b/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.txt deleted file mode 100644 index d0913df64..000000000 --- a/spec/fixtures/responses/whois.domreg.lt/lt/status_registered.txt +++ /dev/null @@ -1,37 +0,0 @@ -% Hello, this is the DOMREG whois service. -% -% By submitting a query you agree not to use the information made -% available to: -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Version 0.3 -% -% For more information please visit http://whois.domreg.lt -% -Domain: google.lt -Status: registered -Registered: 1999-06-06 -% -Registrar: MarkMonitor, Inc. -Registrar website: http://www.markmonitor.com -Registrar email: ccops@markmonitor.com -% -% -Contact name: Google Inc -Contact email: dns-admin@google.com -% -Contact name: Google Inc -Contact email: dns-admin@google.com -% -Contact name: Google Inc -Contact email: dns-admin@google.com -% -Nameserver: ns1.google.com -Nameserver: ns2.google.com -Nameserver: ns3.google.com diff --git a/spec/fixtures/responses/whois.donuts.co/bike/status_available.expected b/spec/fixtures/responses/whois.donuts.co/bike/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.donuts.co/bike/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.donuts.co/bike/status_available.txt b/spec/fixtures/responses/whois.donuts.co/bike/status_available.txt deleted file mode 100644 index 3d9e09b3a..000000000 --- a/spec/fixtures/responses/whois.donuts.co/bike/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ -Domain not found. - -Terms of Use: Users accessing the Donuts WHOIS service must agree to use the data only for lawful purposes, and under under no circumstances use the data to: Allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the registrar's own existing customers. Enable high volume, automated, electronic processes that send queries or data to the systems of Donuts or any ICANN-accredited registrar, except as reasonably necessary to register domain names or modify existing registrations. When using the Donuts Whois service, please consider the following: The Whois service is not a replacement for standard EPP commands to the SRS service. Whois is not considered authoritative for registered domain objects. The Whois service may be scheduled for downtime during production or OT&E maintenance periods. Queries to the Whois services are throttled. If too many queries are received from a single IP address within a specified time, the service will begin to reject further queries for a period of time to prevent disruption of Whois service access. diff --git a/spec/fixtures/responses/whois.donuts.co/bike/status_registered.expected b/spec/fixtures/responses/whois.donuts.co/bike/status_registered.expected deleted file mode 100644 index 37320814e..000000000 --- a/spec/fixtures/responses/whois.donuts.co/bike/status_registered.expected +++ /dev/null @@ -1,122 +0,0 @@ -#domain - %s == "whereismy.bike" - -#domain_id - %s == "C52CECC9AF044831A7335E8A0ECBC349-D" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-02-21 22:55:07 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-21 22:55:08 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-21 22:55:07 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "48" - %s.name == "Enom, Inc." - %s.organization == "Enom, Inc." - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "8ff85c48fbd456f1" - %s[0].name == "whoisguard protected" - %s[0].organization == "WhoisGuard, Inc." - %s[0].address == "P.O. Box 0823-03411" - %s[0].city == "Panama" - %s[0].zip == "00000" - %s[0].state == "Panama" - %s[0].country == nil - %s[0].country_code == "PA" - %s[0].phone == "+507.8365503" - %s[0].fax == "+51.17057182" - %s[0].email == "legal@whoisguard.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "8ff85c48fbd456f1" - %s[0].name == "whoisguard protected" - %s[0].organization == "WhoisGuard, Inc." - %s[0].address == "P.O. Box 0823-03411" - %s[0].city == "Panama" - %s[0].zip == "00000" - %s[0].state == "Panama" - %s[0].country == nil - %s[0].country_code == "PA" - %s[0].phone == "+507.8365503" - %s[0].fax == "+51.17057182" - %s[0].email == "legal@whoisguard.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "8ff85c48fbd456f1" - %s[0].name == "whoisguard protected" - %s[0].organization == "WhoisGuard, Inc." - %s[0].address == "P.O. Box 0823-03411" - %s[0].city == "Panama" - %s[0].zip == "00000" - %s[0].state == "Panama" - %s[0].country == nil - %s[0].country_code == "PA" - %s[0].phone == "+507.8365503" - %s[0].fax == "+51.17057182" - %s[0].email == "legal@whoisguard.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "dns5.registrar-servers.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dns3.registrar-servers.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "dns2.registrar-servers.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "dns1.registrar-servers.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "dns4.registrar-servers.com" - %s[4].ipv4 == nil - %s[4].ipv6 == nil diff --git a/spec/fixtures/responses/whois.donuts.co/bike/status_registered.txt b/spec/fixtures/responses/whois.donuts.co/bike/status_registered.txt deleted file mode 100644 index c9abb5119..000000000 --- a/spec/fixtures/responses/whois.donuts.co/bike/status_registered.txt +++ /dev/null @@ -1,59 +0,0 @@ -Domain Name: whereismy.bike -Domain ID: C52CECC9AF044831A7335E8A0ECBC349-D -WHOIS Server: http://www.enom.com -Referral URL: http://www.enom.com -Updated Date: 2014-02-21T22:55:08Z -Creation Date: 2014-02-21T22:55:07Z -Registry Expiry Date: 2015-02-21T22:55:07Z -Sponsoring Registrar: Enom, Inc. -Sponsoring Registrar IANA ID: 48 -DomainStatus: clientTransferProhibited -Registrant ID: 8ff85c48fbd456f1 -Registrant Name: whoisguard protected -Registrant Organization: WhoisGuard, Inc. -Registrant Street: P.O. Box 0823-03411 -Registrant City: Panama -Registrant State/Province: Panama -Registrant Postal Code: 00000 -Registrant Country: PA -Registrant Phone: +507.8365503 -Registrant Phone Ext: -Registrant Fax: +51.17057182 -Registrant Fax Ext: -Registrant Email: legal@whoisguard.com -Admin ID: 8ff85c48fbd456f1 -Admin Name: whoisguard protected -Admin Organization: WhoisGuard, Inc. -Admin Street: P.O. Box 0823-03411 -Admin City: Panama -Admin State/Province: Panama -Admin Postal Code: 00000 -Admin Country: PA -Admin Phone: +507.8365503 -Admin Phone Ext: -Admin Fax: +51.17057182 -Admin Fax Ext: -Admin Email: legal@whoisguard.com -Tech ID: 8ff85c48fbd456f1 -Tech Name: whoisguard protected -Tech Organization: WhoisGuard, Inc. -Tech Street: P.O. Box 0823-03411 -Tech City: Panama -Tech State/Province: Panama -Tech Postal Code: 00000 -Tech Country: PA -Tech Phone: +507.8365503 -Tech Phone Ext: -Tech Fax: +51.17057182 -Tech Fax Ext: -Tech Email: legal@whoisguard.com -Name Server: dns5.registrar-servers.com -Name Server: dns3.registrar-servers.com -Name Server: dns2.registrar-servers.com -Name Server: dns1.registrar-servers.com -Name Server: dns4.registrar-servers.com -DNSSEC: unsigned - ->>> Last update of WHOIS database: 2014-03-10T16:17:21Z <<< - -Terms of Use: Users accessing the Donuts WHOIS service must agree to use the data only for lawful purposes, and under under no circumstances use the data to: Allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the registrar's own existing customers. Enable high volume, automated, electronic processes that send queries or data to the systems of Donuts or any ICANN-accredited registrar, except as reasonably necessary to register domain names or modify existing registrations. When using the Donuts Whois service, please consider the following: The Whois service is not a replacement for standard EPP commands to the SRS service. Whois is not considered authoritative for registered domain objects. The Whois service may be scheduled for downtime during production or OT&E maintenance periods. Queries to the Whois services are throttled. If too many queries are received from a single IP address within a specified time, the service will begin to reject further queries for a period of time to prevent disruption of Whois service access. diff --git a/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.expected b/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.expected deleted file mode 100644 index aee072824..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.expected +++ /dev/null @@ -1,2 +0,0 @@ -#expires_on - %s == nil diff --git a/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.txt b/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.txt deleted file mode 100644 index 8cb418c3b..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.txt +++ /dev/null @@ -1,64 +0,0 @@ - - Domain name: - DOT.CF Active - - Owner contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Admin contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Billing contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Tech contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Domain Nameservers: - DNS5.NETTICA.COM - DNS1.NETTICA.COM - DNS2.NETTICA.COM - DNS3.NETTICA.COM - DNS4.NETTICA.COM - - - Domain registered: 03/28/2013 - Record will expire on: - Record maintained by: Dot CF Domain Registry - diff --git a/spec/fixtures/responses/whois.dot.cf/cf/status_available.expected b/spec/fixtures/responses/whois.dot.cf/cf/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dot.cf/cf/status_available.txt b/spec/fixtures/responses/whois.dot.cf/cf/status_available.txt deleted file mode 100644 index d3509ff31..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Invalid query or domain name not known in Dot CF Domain Registry diff --git a/spec/fixtures/responses/whois.dot.cf/cf/status_registered.expected b/spec/fixtures/responses/whois.dot.cf/cf/status_registered.expected deleted file mode 100644 index 9ab116acd..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2013-03-28 00:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "dns5.nettica.com" - %s[1] %CLASS{nameserver} - %s[1].name == "dns1.nettica.com" - %s[2] %CLASS{nameserver} - %s[2].name == "dns2.nettica.com" - %s[3] %CLASS{nameserver} - %s[3].name == "dns3.nettica.com" - %s[4] %CLASS{nameserver} - %s[4].name == "dns4.nettica.com" diff --git a/spec/fixtures/responses/whois.dot.cf/cf/status_registered.txt b/spec/fixtures/responses/whois.dot.cf/cf/status_registered.txt deleted file mode 100644 index 8cb418c3b..000000000 --- a/spec/fixtures/responses/whois.dot.cf/cf/status_registered.txt +++ /dev/null @@ -1,64 +0,0 @@ - - Domain name: - DOT.CF Active - - Owner contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Admin contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Billing contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Tech contact: - Organization: Centrafrique TLD B.V. - Name: Mr Joost Zuurbier - Address: Keizersgracht 213 - Zipcode: 1016DT - City: Amsterdam - State: Noord-Holland - Country: Netherlands - Phone: 20-5315726 - Fax: 20-5315721 - E-mail: info@centrafriquetld.com - - Domain Nameservers: - DNS5.NETTICA.COM - DNS1.NETTICA.COM - DNS2.NETTICA.COM - DNS3.NETTICA.COM - DNS4.NETTICA.COM - - - Domain registered: 03/28/2013 - Record will expire on: - Record maintained by: Dot CF Domain Registry - diff --git a/spec/fixtures/responses/whois.dot.tk/tk/status_available.expected b/spec/fixtures/responses/whois.dot.tk/tk/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.dot.tk/tk/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dot.tk/tk/status_available.txt b/spec/fixtures/responses/whois.dot.tk/tk/status_available.txt deleted file mode 100644 index 51b334751..000000000 --- a/spec/fixtures/responses/whois.dot.tk/tk/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Invalid query or domain name not known in Dot TK Domain Registry diff --git a/spec/fixtures/responses/whois.dot.tk/tk/status_registered.expected b/spec/fixtures/responses/whois.dot.tk/tk/status_registered.expected deleted file mode 100644 index 62d4fb634..000000000 --- a/spec/fixtures/responses/whois.dot.tk/tk/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-12-18 00:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2012-03-02 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.dot.tk/tk/status_registered.txt b/spec/fixtures/responses/whois.dot.tk/tk/status_registered.txt deleted file mode 100644 index 2b78a0492..000000000 --- a/spec/fixtures/responses/whois.dot.tk/tk/status_registered.txt +++ /dev/null @@ -1,28 +0,0 @@ - - Rights restricted by copyright. See - http://www.dot.tk/en/pageF00.html - - Domain name: - GOOGLE.TK - - Organisation: - eMarkmonitor Inc - Ccops Center - PMB 155, 10400 Overland Road - 83709 Boise - Idaho - U.S.A. - Phone: +1 208-3895740 - Fax: +1 208-3895799 - E-mail: ccopsbilling@markmonitor.com - - Domain Nameservers: - NS1.GOOGLE.COM - NS2.GOOGLE.COM - NS3.GOOGLE.COM - NS4.GOOGLE.COM - - Domain registered: 12/18/2001 - Record will expire on: 03/02/2012 - Record maintained by: Dot TK Domain Registry - diff --git a/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.expected b/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.expected deleted file mode 100644 index 4e84c0a64..000000000 --- a/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.txt b/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.txt deleted file mode 100644 index c5d9e2f7c..000000000 --- a/spec/fixtures/responses/whois.dotgov.gov/gov/status_available.txt +++ /dev/null @@ -1,7 +0,0 @@ -% DOTGOV WHOIS Server ready -No match for "U34JEDZCQ.GOV". - ->>> Last update of whois database: 2014-02-18T20:37:51Z <<< -Please be advised that this whois server only contains information pertaining -to the .GOV domain. For information for other domains please use the whois -server at RS.INTERNIC.NET. diff --git a/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.expected b/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.expected deleted file mode 100644 index 93e7a7607..000000000 --- a/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.txt b/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.txt deleted file mode 100644 index de363b8df..000000000 --- a/spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.txt +++ /dev/null @@ -1,9 +0,0 @@ -% DOTGOV WHOIS Server ready - Domain Name: GSA.GOV - Status: ACTIVE - - ->>> Last update of whois database: 2014-02-18T20:37:51Z <<< -Please be advised that this whois server only contains information pertaining -to the .GOV domain. For information for other domains please use the whois -server at RS.INTERNIC.NET. diff --git a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.expected b/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.txt b/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.expected b/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.expected deleted file mode 100644 index 850d7f334..000000000 --- a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "mTLD WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered by mTLD and the access to the records in the mTLD WHOIS database are provided for information purposes only. It allows persons to check whether a specific domain name is still available or not and to obtain information related to the registration records of existing domain names. mTLD cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete, or not accurate in any sense. By submitting a query you agree not to use the information made available to: allow, enable or otherwise support the transmission of unsolicited, commercial advertising or other solicitations whether via email or otherwise; target advertising in any possible way; or to cause nuisance in any possible way to the registrants by sending (whether by automated, electronic processes capable of enabling high volumes or other possible means) messages to them. Without prejudice to the above, it is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the WHOIS database without prior and explicit permission by mTLD, nor in any attempt hereof, or to apply automated, electronic processes to mTLD (or its systems). You agree that any reproduction and/or transmission of data for commercial purposes will always be considered as the extraction of a substantial part of the content of the WHOIS database. By submitting the query you agree to abide by this policy and accept that mTLD can take measures to limit the use of its WHOIS services in order to protect the privacy of its registrants or the integrity of the database." - - -#domain - %s == "google.mobi" - -#domain_id - %s == "D117-MOBI" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-05-11 21:08:42 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-09 09:24:02 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-11 21:08:42 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-14290820" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-14290820" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-14290820" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.txt b/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.txt deleted file mode 100644 index b8588b636..000000000 --- a/spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.txt +++ /dev/null @@ -1,81 +0,0 @@ -mTLD WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered -by mTLD and the access to the records in the mTLD WHOIS database are provided -for information purposes only. It allows persons to check whether a specific -domain name is still available or not and to obtain information related to -the registration records of existing domain names. mTLD cannot, under any -circumstances, be held liable in case the stored information would prove to -be wrong, incomplete, or not accurate in any sense. By submitting a query -you agree not to use the information made available to: allow, enable or -otherwise support the transmission of unsolicited, commercial advertising or -other solicitations whether via email or otherwise; target advertising in any -possible way; or to cause nuisance in any possible way to the registrants by -sending (whether by automated, electronic processes capable of enabling high -volumes or other possible means) messages to them. Without prejudice to the -above, it is explicitly forbidden to extract, copy and/or use or re-utilise -in any form and by any means (electronically or not) the whole or a -quantitatively or qualitatively substantial part of the contents of the WHOIS -database without prior and explicit permission by mTLD, nor in any attempt -hereof, or to apply automated, electronic processes to mTLD (or its systems). -You agree that any reproduction and/or transmission of data for commercial -purposes will always be considered as the extraction of a substantial part of -the content of the WHOIS database. By submitting the query you agree to abide -by this policy and accept that mTLD can take measures to limit the use of its -WHOIS services in order to protect the privacy of its registrants or the -integrity of the database. - -Domain ID:D117-MOBI -Domain Name:GOOGLE.MOBI -Created On:11-May-2006 21:08:42 UTC -Last Updated On:09-Apr-2013 09:24:02 UTC -Expiration Date:11-May-2014 21:08:42 UTC -Last Transferred Date:22-Sep-2006 10:24:54 UTC -Trademark Name:GOOGLE -Trademark Country:US -Trademark Number:2884502 -Date Trademark Applied For:1998-09-16 -Date Trademark Registered:2004-09-14 -Sponsoring Registrar:MarkMonitor Inc. (292) -Created by Registrar:mTLD Mobile Top Level Domain (4000002) -Last Updated by Registrar:MarkMonitor Inc. (292) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:mmr-14290820 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6506234000 -Registrant FAX:+1.6506188571 -Registrant Email:dns-admin@google.com -Admin ID:mmr-14290820 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6506234000 -Admin FAX:+1.6506188571 -Admin Email:dns-admin@google.com -Tech ID:mmr-14290820 -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6506234000 -Tech FAX:+1.6506188571 -Tech Email:dns-admin@google.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM - - diff --git a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.expected b/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.txt b/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.expected b/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.expected deleted file mode 100644 index de7d595ed..000000000 --- a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.expected +++ /dev/null @@ -1,100 +0,0 @@ -#disclaimer - %s == "Access to .POST REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .POST Registry registry database. The data in this record is provided by .POST Registry for informational purposes only, and .POST Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .POST Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "posteitaliane.post" - -#domain_id - %s == "D19482-POST" - - -#status - %s == ["TRANSFER PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-09-21 12:03:07 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-09-21 12:07:40 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-21 12:03:07 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R4947-POST" - %s.name == "Universal Postal Union" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "ITPI30001" - %s[0].name == "Poste Italiane" - %s[0].organization == "Poste Italiane" - %s[0].address == "Viale Europa 190" - %s[0].city == "Rome" - %s[0].zip == "00144" - %s[0].state == "" - %s[0].country_code == "IT" - %s[0].phone == "+39.0659581" - %s[0].fax == "+39.065942298" - %s[0].email == "info@poste.it" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "UPU_C1002" - %s[0].name == "Giovanni Brardinoni" - %s[0].organization == "Poste Italiane" - %s[0].address == "Viale Europa 175" - %s[0].city == "Rome" - %s[0].zip == "00144" - %s[0].state == "" - %s[0].country_code == "IT" - %s[0].phone == "+39.0659583671" - %s[0].fax == "+39.0698688651" - %s[0].email == "Giovanni.Brardinoni@Postecom.it" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "UPU_C1001" - %s[0].name == "Andrea Speranza" - %s[0].organization == "Poste Italiane" - %s[0].address == "Viale Europa 175" - %s[0].city == "Rome" - %s[0].zip == "00144" - %s[0].state == "" - %s[0].country_code == "IT" - %s[0].phone == "+39.0659583086" - %s[0].fax == "+39.0659582032" - %s[0].email == "netsecurity@postecom.it" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns.poste.it" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.poste.it" diff --git a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.txt b/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.txt deleted file mode 100644 index d697b4df4..000000000 --- a/spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.txt +++ /dev/null @@ -1,106 +0,0 @@ -Access to .POST REGISTRY WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -.POST Registry registry database. The data in this record is provided by -.POST Registry for informational purposes only, and .POST Registry does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. .POST Registry reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D19482-POST -Domain Name:POSTEITALIANE.POST -Created On:21-Sep-2012 12:03:07 UTC -Last Updated On:21-Sep-2012 12:07:40 UTC -Expiration Date:21-Sep-2014 12:03:07 UTC -Sponsoring Registrar:Universal Postal Union (R4947-POST) -Status:TRANSFER PROHIBITED -Registrant ID:ITPI30001 -Registrant Name:Poste Italiane -Registrant Organization:Poste Italiane -Registrant Street1:Viale Europa 190 -Registrant Street2: -Registrant Street3: -Registrant City:Rome -Registrant State/Province: -Registrant Postal Code:00144 -Registrant Country:IT -Registrant Phone:+39.0659581 -Registrant Phone Ext.: -Registrant FAX:+39.065942298 -Registrant FAX Ext.: -Registrant Email:info@poste.it -Admin ID:UPU_C1002 -Admin Name:Giovanni Brardinoni -Admin Organization:Poste Italiane -Admin Street1:Viale Europa 175 -Admin Street2: -Admin Street3: -Admin City:Rome -Admin State/Province: -Admin Postal Code:00144 -Admin Country:IT -Admin Phone:+39.0659583671 -Admin Phone Ext.: -Admin FAX:+39.0698688651 -Admin FAX Ext.: -Admin Email:Giovanni.Brardinoni@Postecom.it -Billing ID:UPU_C1003 -Billing Name:Plautina Loreti -Billing Organization:Poste Italiane -Billing Street1:Viale Europa 175 -Billing Street2: -Billing Street3: -Billing City:Rome -Billing State/Province: -Billing Postal Code:00144 -Billing Country:IT -Billing Phone:+39.0659585699 -Billing Phone Ext.: -Billing FAX:+39.0659589591 -Billing FAX Ext.: -Billing Email:loretip@posteitaliane.it -Tech ID:UPU_C1001 -Tech Name:Andrea Speranza -Tech Organization:Poste Italiane -Tech Street1:Viale Europa 175 -Tech Street2: -Tech Street3: -Tech City:Rome -Tech State/Province: -Tech Postal Code:00144 -Tech Country:IT -Tech Phone:+39.0659583086 -Tech Phone Ext.: -Tech FAX:+39.0659582032 -Tech FAX Ext.: -Tech Email:netsecurity@postecom.it -Name Server:DNS.POSTE.IT -Name Server:DNS2.POSTE.IT -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -DNSSEC:Signed -DS Created 1:21-Sep-2012 12:04:45 UTC -DS Key Tag 1:43356 -Algorithm 1:7 -Digest Type 1:1 -Digest 1:DB013B5320B837FB3DF1F6A3ADCEA54910729ECB -DS Maximum Signature Life 1:3456000 seconds - - diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.expected b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.txt b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.expected b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.expected deleted file mode 100644 index 6453d905d..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.expected +++ /dev/null @@ -1,100 +0,0 @@ -#disclaimer - %s == "Access to .PRO REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .PRO Registry registry database. The data in this record is provided by .PRO Registry for informational purposes only, and .PRO Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .PRO Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.pro" - -#domain_id - %s == "D11545-PRO" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-07-22 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-07 09:18:18 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-08 00:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R2341-PRO" - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "google" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "google" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "google" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.txt b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.txt deleted file mode 100644 index 564013b39..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.txt +++ /dev/null @@ -1,102 +0,0 @@ -Access to .PRO REGISTRY WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -.PRO Registry registry database. The data in this record is provided by -.PRO Registry for informational purposes only, and .PRO Registry does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. .PRO Registry reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D11545-PRO -Domain Name:GOOGLE.PRO -Created On:22-Jul-2008 00:00:00 UTC -Last Updated On:07-Aug-2013 09:18:18 UTC -Expiration Date:08-Sep-2014 00:00:00 UTC -Sponsoring Registrar:MarkMonitor Inc. (R2341-PRO) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:google -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant Phone Ext.: -Registrant FAX:+1.6506188571 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:google -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin Phone Ext.: -Admin FAX:+1.6506188571 -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Billing ID:mmr-132627 -Billing Name:CCOPS Billing -Billing Organization:MarkMonitor, Inc. -Billing Street1:391 N. Ancestor Place -Billing Street2: -Billing Street3: -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83704 -Billing Country:US -Billing Phone:+1.2083895740 -Billing Phone Ext.: -Billing FAX:+1.2083895771 -Billing FAX Ext.: -Billing Email:ccopsbilling@markmonitor.com -Tech ID:google -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech Street2: -Tech Street3: -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech Phone Ext.: -Tech FAX:+1.6506188571 -Tech FAX Ext.: -Tech Email:dns-admin@google.com -Right to Use: -Name Server:NS2.GOOGLE.COM -Name Server:NS1.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - - diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.expected b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.expected deleted file mode 100644 index 6e8031345..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.expected +++ /dev/null @@ -1,5 +0,0 @@ -#status - %s == :reserved - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.txt b/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.txt deleted file mode 100644 index d35775783..000000000 --- a/spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -The domain nii.pro is a Governmental Reserved Name and is available for registration only by eligible applicants. diff --git a/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected b/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected deleted file mode 100644 index 95ce8a096..000000000 --- a/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected +++ /dev/null @@ -1,47 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "ADEQUATEHQ.COM@PROXY.DREAMHOST.COM" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "ADEQUATEHQ.COM@PROXY.DREAMHOST.COM" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "ADEQUATEHQ.COM@PROXY.DREAMHOST.COM" diff --git a/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.txt b/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.txt deleted file mode 100644 index 8c19e8f73..000000000 --- a/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.txt +++ /dev/null @@ -1,118 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: ADEQUATEHQ.COM - Registrar: NEW DREAM NETWORK, LLC - Whois Server: whois.dreamhost.com - Referral URL: http://www.dreamhost.com - Name Server: NS1.DREAMHOST.COM - Name Server: NS2.DREAMHOST.COM - Name Server: NS3.DREAMHOST.COM - Status: ok - Updated Date: 23-aug-2011 - Creation Date: 23-aug-2011 - Expiration Date: 23-aug-2014 - ->>> Last update of whois database: Tue, 27 May 2014 01:46:31 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. - - - -Domain Name: ADEQUATEHQ.COM -Registry Domain ID: NA -Registrar WHOIS Server: whois.dreamhost.com -Registrar URL: www.dreamhost.com -Registrar Registration Expiration Date: 2014-08-23 20:45:51Z -Registrar: DREAMHOST -Registrar IANA ID: 431 -Registrar Abuse Contact Email: domain-abuse@dreamhost.com -Registrar Abuse Contact Phone: +1.2132719359 -Domain Status: ok -Registry Registrant ID: -Registrant Name: PRIVATE REGISTRANT -Registrant Organization: A HAPPY DREAMHOST CUSTOMER -Registrant Street: 417 ASSOCIATED RD #324 -Registrant Street: C/O ADEQUATEHQ.COM -Registrant City: BREA -Registrant State/Province: CA -Registrant Postal Code: 92821 -Registrant Country: US -Registrant Phone: +1.7147064182 -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: ADEQUATEHQ.COM@PROXY.DREAMHOST.COM -Registry Admin ID: -Admin Name: PRIVATE REGISTRANT -Admin Organization: A HAPPY DREAMHOST CUSTOMER -Admin Street: 417 ASSOCIATED RD #324 -Admin Street: C/O ADEQUATEHQ.COM -Admin City: BREA -Admin State/Province: CA -Admin Postal Code: 92821 -Admin Country: US -Admin Phone: +1.7147064182 -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: ADEQUATEHQ.COM@PROXY.DREAMHOST.COM -Registry Tech ID: -Tech Name: PRIVATE REGISTRANT -Tech Organization: A HAPPY DREAMHOST CUSTOMER -Tech Street: 417 ASSOCIATED RD #324 -Tech Street: C/O ADEQUATEHQ.COM -Tech City: BREA -Tech State/Province: CA -Tech Postal Code: 92821 -Tech Country: US -Tech Phone: +1.7147064182 -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: ADEQUATEHQ.COM@PROXY.DREAMHOST.COM -Name Server: NS1.DREAMHOST.COM -Name Server: NS2.DREAMHOST.COM -Name Server: NS3.DREAMHOST.COM -DNSSEC: unSigned -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -Last update of WHOIS database: 2013-12-13 16:50:52Z -DreamHost whois server terms of service: http://whois.dreamhost.com/ - -DreamHost is a global Web hosting and cloud services provider with over 375,000 customers and 1.2 million blogs, websites and apps hosted. The company offers a wide spectrum of Web hosting and cloud services including Shared Hosting, Virtual Private Servers (VPS), Dedicated Server Hosting, Domain Name Registration, the cloud storage service, DreamObjects, and the cloud computing service DreamCompute. Please visit http://DreamHost.com for more information. diff --git a/spec/fixtures/responses/whois.dreamhost.com/status_registered.expected b/spec/fixtures/responses/whois.dreamhost.com/status_registered.expected deleted file mode 100644 index fd357104f..000000000 --- a/spec/fixtures/responses/whois.dreamhost.com/status_registered.expected +++ /dev/null @@ -1,88 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-09-22 21:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-14 16:53:27 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-09-22 04:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "431" - %s.name == "DREAMHOST" - %s.organization == "DREAMHOST" - %s.url == "www.dreamhost.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O DREAMHOST.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O DREAMHOST.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "PRIVATE REGISTRANT" - %s[0].organization == "A HAPPY DREAMHOST CUSTOMER" - %s[0].address == "417 ASSOCIATED RD #324, C/O DREAMHOST.COM" - %s[0].city == "BREA" - %s[0].zip == "92821" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.7147064182" - %s[0].fax == "" - %s[0].email == "YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.dreamhost.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.dreamhost.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.dreamhost.com" diff --git a/spec/fixtures/responses/whois.dreamhost.com/status_registered.txt b/spec/fixtures/responses/whois.dreamhost.com/status_registered.txt deleted file mode 100644 index 0d0d0857d..000000000 --- a/spec/fixtures/responses/whois.dreamhost.com/status_registered.txt +++ /dev/null @@ -1,65 +0,0 @@ - - -Domain Name: DREAMHOST.COM -Registry Domain ID: NA -Registrar WHOIS Server: whois.dreamhost.com -Registrar URL: www.dreamhost.com -Updated Date: 2013-12-14 16:53:27Z -Creation Date: 1997-09-22 21:00:00Z -Registrar Registration Expiration Date: 2015-09-22 04:00:00Z -Registrar: DREAMHOST -Registrar IANA ID: 431 -Registrar Abuse Contact Email: domain-abuse@dreamhost.com -Registrar Abuse Contact Phone: +1.2132719359 -Domain Status: clientTransferProhibited -Registry Registrant ID: -Registrant Name: PRIVATE REGISTRANT -Registrant Organization: A HAPPY DREAMHOST CUSTOMER -Registrant Street: 417 ASSOCIATED RD #324 -Registrant Street: C/O DREAMHOST.COM -Registrant City: BREA -Registrant State/Province: CA -Registrant Postal Code: 92821 -Registrant Country: US -Registrant Phone: +1.7147064182 -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM -Registry Admin ID: -Admin Name: PRIVATE REGISTRANT -Admin Organization: A HAPPY DREAMHOST CUSTOMER -Admin Street: 417 ASSOCIATED RD #324 -Admin Street: C/O DREAMHOST.COM -Admin City: BREA -Admin State/Province: CA -Admin Postal Code: 92821 -Admin Country: US -Admin Phone: +1.7147064182 -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM -Registry Tech ID: -Tech Name: PRIVATE REGISTRANT -Tech Organization: A HAPPY DREAMHOST CUSTOMER -Tech Street: 417 ASSOCIATED RD #324 -Tech Street: C/O DREAMHOST.COM -Tech City: BREA -Tech State/Province: CA -Tech Postal Code: 92821 -Tech Country: US -Tech Phone: +1.7147064182 -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM -Name Server: NS1.DREAMHOST.COM -Name Server: NS2.DREAMHOST.COM -Name Server: NS3.DREAMHOST.COM -DNSSEC: unSigned -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -Last update of WHOIS database: 2013-12-14 16:53:27Z -DreamHost whois server terms of service: http://whois.dreamhost.com/ - -DreamHost is a global Web hosting and cloud services provider with over 375,000 customers and 1.2 million blogs, websites and apps hosted. The company offers a wide spectrum of Web hosting and cloud services including Shared Hosting, Virtual Private Servers (VPS), Dedicated Server Hosting, Domain Name Registration, the cloud storage service, DreamObjects, and the cloud computing service DreamCompute. Please visit http://DreamHost.com for more information. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture1.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture1.txt deleted file mode 100644 index 10bd5b89f..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture1.txt +++ /dev/null @@ -1,63 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: NIC.EDU - -Registrant: - North Idaho College - 1000 W. Garden Avenue - Coeur d'Alene, ID 83814 - UNITED STATES - -Administrative Contact: - NetAdmin - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - netsys@nic.edu - -Technical Contact: - Dennis L Noordam - Windows System Administrator - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - dlnoordam@nic.edu - -Name Servers: - NICNS1.NIC.EDU 198.187.233.211 - NICNS2.NIC.EDU 198.187.233.212 - -Domain record activated: 20-Dec-1996 -Domain record last updated: 29-Jun-2010 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture2.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture2.txt deleted file mode 100644 index 4d9252a50..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture2.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: HARVARD.EDU - -Registrant: - Harvard University - HUIT Network Services - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - -Administrative Contact: - Jacques N Laflamme - Director, Network Services - Harvard University - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - (617) 384-6663 - jacques_laflamme@harvard.edu - -Technical Contact: - Network Operations - Harvard University - HUIT Network Services - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - (617) 495-7777 - netmanager@harvard.edu - -Name Servers: - EXTERNALDNS-C1.HARVARD.EDU 128.103.200.35 - EXTERNALDNS-C2.HARVARD.EDU 128.103.200.51 - EXTERNALDNS-C3.BR.HARVARD.EDU 128.119.3.185 - -Domain record activated: 27-Jun-1985 -Domain record last updated: 19-Mar-2012 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture3.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture3.txt deleted file mode 100644 index 041f48967..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture3.txt +++ /dev/null @@ -1,67 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: STANFORD.EDU - -Registrant: - Stanford University - The Board of Trustees of the Leland Stanford Junior University - 241 Panama Street, Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - -Administrative Contact: - - Domain Admin - Stanford University - 241 Panama Street Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - (650) 723-4328 - sunet-admin@stanford.edu - -Technical Contact: - - Domain Admin - Stanford University - 241 Panama Street Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - (650) 723-4328 - sunet-admin@stanford.edu - -Name Servers: - ARGUS.STANFORD.EDU 171.64.7.115, 2607:f6d0:0:9113::ab40:773 - AVALLONE.STANFORD.EDU 171.64.7.88, 2607:f6d0:0:9116::ab40:758 - ATALANTE.STANFORD.EDU 171.64.7.61, 2607:f6d0:0:d32::ab40:73d - AERATHEA.STANFORD.EDU 152.3.104.250 - -Domain record activated: 04-Oct-1985 -Domain record last updated: 07-May-2009 -Domain expires: 31-Jul-2013 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture4.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture4.txt deleted file mode 100644 index d9bf72682..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture4.txt +++ /dev/null @@ -1,68 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: NYU.EDU - -Registrant: - New York University - ITS Communications Operations Services - 7 East 12th Street, 5th Floor - New York, NY 10003 - UNITED STATES - -Administrative Contact: - - NYU Network Operations Admin Role Account - New York University, ITS C&CS - 7 East 12th Street - 5th Floor - New York, NY 10003 - UNITED STATES - (212) 998-3431 - domreg.admin@nyu.edu - -Technical Contact: - - Network Operations Center Role Account - New York University, ITS COS - 7 East 12th Street - Room 501 - New York, NY 10003 - UNITED STATES - (212) 998-3444 - noc@nyu.edu - -Name Servers: - NS1.NYU.EDU 128.122.253.83 - NS2.NYU.EDU 128.122.253.42 - NYU-NS.BERKELEY.EDU - -Domain record activated: 08-Oct-1986 -Domain record last updated: 12-Oct-2007 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture5.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture5.txt deleted file mode 100644 index 3a40f8142..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture5.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: UIUC.EDU - -Registrant: - University of Illinois at Urbana Champaign - CITES 1120 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801-2910 - UNITED STATES - -Administrative Contact: - Tracy L. Smith - University of Illinois at Urbana-Champaign - CITES 2105 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801-4399 - UNITED STATES - (217) 244-2032 - edu-admin@listserv.illinois.edu - -Technical Contact: - Charles Kline - University of Illinois at Urbana Champaign - CITES 1120 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801 - UNITED STATES - (217) 333-3339 - edu-tech@listserv.illinois.edu - -Name Servers: - DNS1.ILLINOIS.EDU - DNS2.ILLINOIS.EDU - DNS1.IU.EDU - -Domain record activated: 18-Jul-1985 -Domain record last updated: 22-Mar-2011 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/fixture6.txt b/spec/fixtures/responses/whois.educause.edu/edu/fixture6.txt deleted file mode 100644 index e4284afe2..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/fixture6.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: BROWN.EDU - -Registrant: - Brown University - Computing & Information - Services Box 1885 - Providence, RI 02912-1885 - UNITED STATES - -Administrative Contact: - Kenise Harris - CIS Manager - Brown University - 115 Waterman St., Box 1885 - Providence, RI 02912-1885 - UNITED STATES - (401) 863-7223 - kenise_harris@brown.edu - -Technical Contact: - - NOC - Brown University - 115 Waterman St., Box 1885 - Providence, RI 02912-1885 - UNITED STATES - (401) 863-7247 - noc@brown.edu - -Name Servers: - BRU-NS1.BROWN.EDU 128.148.248.11 - BRU-NS2.BROWN.EDU 128.148.248.12 - NS1.UCSB.EDU - -Domain record activated: 27-Aug-1986 -Domain record last updated: 05-Jan-2011 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.expected deleted file mode 100644 index 5aa4c2baa..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.expected +++ /dev/null @@ -1,27 +0,0 @@ -// Description: -// The standard registrant contact property. - -// The standard registrant contact follows this schema: -// -// [ORGANIZATION] -// [ADDRESS] -// [CITY, ST ZIP] -// [COUNTRY] - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "North Idaho College" - %s[0].address == "1000 W. Garden Avenue" - %s[0].city == "Coeur d'Alene" - %s[0].zip == "83814" - %s[0].state == "ID" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.txt deleted file mode 100644 index 10bd5b89f..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.txt +++ /dev/null @@ -1,63 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: NIC.EDU - -Registrant: - North Idaho College - 1000 W. Garden Avenue - Coeur d'Alene, ID 83814 - UNITED STATES - -Administrative Contact: - NetAdmin - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - netsys@nic.edu - -Technical Contact: - Dennis L Noordam - Windows System Administrator - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - dlnoordam@nic.edu - -Name Servers: - NICNS1.NIC.EDU 198.187.233.211 - NICNS2.NIC.EDU 198.187.233.212 - -Domain record activated: 20-Dec-1996 -Domain record last updated: 29-Jun-2010 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.expected deleted file mode 100644 index 69b651ae0..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.expected +++ /dev/null @@ -1,28 +0,0 @@ -// Description: -// The registrant contact property contains additional tokens in the organization. -// For the sake of simplicity, these tokens are attached to the address. - -// This case follows this schema: -// -// [ORGANIZATION] -// [ADDRESS]* -// [CITY, ST ZIP] -// [COUNTRY] - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "Harvard University" - %s[0].address == "HUIT Network Services\n60 Oxford Street" - %s[0].city == "Cambridge" - %s[0].zip == "02138" - %s[0].state == "MA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.txt deleted file mode 100644 index 4d9252a50..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: HARVARD.EDU - -Registrant: - Harvard University - HUIT Network Services - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - -Administrative Contact: - Jacques N Laflamme - Director, Network Services - Harvard University - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - (617) 384-6663 - jacques_laflamme@harvard.edu - -Technical Contact: - Network Operations - Harvard University - HUIT Network Services - 60 Oxford Street - Cambridge, MA 02138 - UNITED STATES - (617) 495-7777 - netmanager@harvard.edu - -Name Servers: - EXTERNALDNS-C1.HARVARD.EDU 128.103.200.35 - EXTERNALDNS-C2.HARVARD.EDU 128.103.200.51 - EXTERNALDNS-C3.BR.HARVARD.EDU 128.119.3.185 - -Domain record activated: 27-Jun-1985 -Domain record last updated: 19-Mar-2012 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.expected deleted file mode 100644 index db601ac8a..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.expected +++ /dev/null @@ -1,26 +0,0 @@ -// Description: -// The registrant contact property is missing the address. - -// This case follows this schema: -// -// [ORGANIZATION] -// [CITY, ST ZIP] -// [COUNTRY] - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "Massachusetts Institute of Technology" - %s[0].address == nil - %s[0].city == "Cambridge" - %s[0].zip == "02139" - %s[0].state == "MA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.txt deleted file mode 100644 index 35ecc2dfa..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.txt +++ /dev/null @@ -1,55 +0,0 @@ -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: MIT.EDU - -Registrant: - Massachusetts Institute of Technology - Cambridge, MA 02139 - UNITED STATES - -Administrative Contact: - Mark Silis - Massachusetts Institute of Technology - MIT Room W92-167, 77 Massachusetts Avenue - Cambridge, MA 02139-4307 - UNITED STATES - (617) 324-5900 - mark@mit.edu - -Technical Contact: - MIT Network Operations - Massachusetts Institute of Technology - MIT Room W92-167, 77 Massachusetts Avenue - Cambridge, MA 02139-4307 - UNITED STATES - (617) 253-8400 - network@mit.edu - -Domain record activated: 23-May-1985 -Domain record last updated: 18-Jun-2010 -Domain expires: 31-Jul-2012 - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.expected deleted file mode 100644 index 9691c4228..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.expected +++ /dev/null @@ -1,27 +0,0 @@ -// Description: -// The registrant contact property is missing the ZIP. - -// This case follows this schema: -// -// [ORGANIZATION] -// [ADDRESS]* -// [CITY] -// [COUNTRY] - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "The American University of the Caribbean School of Medicine" - %s[0].address == "c/o Campbell Corporate Services, Ltd.\nScotiabank Building, P. O. Box 268" - %s[0].city == "Grand Cayman" - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "CAYMAN ISLANDS" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.txt deleted file mode 100644 index d4c5e1bdb..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.txt +++ /dev/null @@ -1,65 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: AUCMED.EDU - -Registrant: - The American University of the Caribbean School of Medicine - c/o Campbell Corporate Services, Ltd. - Scotiabank Building, P. O. Box 268 - Grand Cayman - CAYMAN ISLANDS - -Administrative Contact: - Ron Spaide - VP, CIO - Devry Medical International, Inc - 630 US Highway 1 - North Brunswick, NJ 08902 - UNITED STATES - (732) 509-4796 - rspaide@devrymedical.org - -Technical Contact: - Bill Huber - Director, Network Operations - DeVry Medical International, Inc - 630 US Highway 1 - North Brunswick, NJ 08902 - UNITED STATES - (732) 509-4796 - bhuber@devrymedical.org - -Name Servers: - NS1.GEODNS.NET - NS2.GEODNS.NET - -Domain record activated: 02-Jul-1997 -Domain record last updated: 09-Aug-2011 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.expected deleted file mode 100644 index f9c31c95e..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.expected +++ /dev/null @@ -1,31 +0,0 @@ -// Description: -// The standard contact property. - -// The standard contact follows this schema: -// -// [NAME] -// [ROLE] -// [ORGANIZATION] -// [ADDRESS] -// [CITY, ST ZIP] -// [COUNTRY] -// [PHONE] -// [EMAIL] - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - // %s[0].type == ANYTHING - %s[0].id == nil - %s[0].name == "Dennis L Noordam\nWindows System Administrator\nNorth Idaho College" - %s[0].organization == nil - %s[0].address == "1000 W. Garden Avenue" - %s[0].city == "Coeur d Alene" - %s[0].zip == "83814" - %s[0].state == "ID" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(208) 769-7860" - %s[0].fax == nil - %s[0].email == "dlnoordam@nic.edu" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.txt deleted file mode 100644 index 10bd5b89f..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts.txt +++ /dev/null @@ -1,63 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: NIC.EDU - -Registrant: - North Idaho College - 1000 W. Garden Avenue - Coeur d'Alene, ID 83814 - UNITED STATES - -Administrative Contact: - NetAdmin - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - netsys@nic.edu - -Technical Contact: - Dennis L Noordam - Windows System Administrator - North Idaho College - 1000 W. Garden Avenue - Coeur d Alene, ID 83814 - UNITED STATES - (208) 769-7860 - dlnoordam@nic.edu - -Name Servers: - NICNS1.NIC.EDU 198.187.233.211 - NICNS2.NIC.EDU 198.187.233.212 - -Domain record activated: 20-Dec-1996 -Domain record last updated: 29-Jun-2010 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.expected deleted file mode 100644 index ded0c634c..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.expected +++ /dev/null @@ -1,31 +0,0 @@ -// Description: -// The contact property does not contain the job position, but it contains a multiple street. -// The final token count is the same of a standard contact (8 tokens). - -// This case follows this schema: -// -// [NAME] -// [ORGANIZATION] -// [ADDRESS]* -// [CITY, ST ZIP] -// [COUNTRY] -// [PHONE] -// [EMAIL] - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - // %s[0].type == ANYTHING - %s[0].id == nil - %s[0].name == "Information Technology\nEDUCAUSE" - %s[0].organization == nil - %s[0].address == "4772 Walnut Street\nSte 206" - %s[0].city == "Boulder" - %s[0].zip == "80301" - %s[0].state == "CO" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(303) 449-4430" - %s[0].fax == nil - %s[0].email == "netadmin@educause.edu" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.txt deleted file mode 100644 index 91f0de77f..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: EDUCAUSE.EDU - -Registrant: - EDUCAUSE - 4772 Walnut Street - Suite 206 - Boulder, CO 80301 - UNITED STATES - -Administrative Contact: - Information Technology - EDUCAUSE - 4772 Walnut Street - Ste 206 - Boulder, CO 80301 - UNITED STATES - (303) 449-4430 - netadmin@educause.edu - -Technical Contact: - Information Technology - EDUCAUSE - 4772 Walnut Street - Ste 206 - Boulder, CO 80301 - UNITED STATES - (303) 449-4430 - netadmin@educause.edu - -Name Servers: - NS3.EDUCAUSE.EDU 198.59.61.50 - NS4.EDUCAUSE.EDU 192.52.179.69 - NS5.EDUCAUSE.EDU 198.59.61.50 - -Domain record activated: 11-Mar-1998 -Domain record last updated: 02-Oct-2009 -Domain expires: 31-Jul-2010 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.expected deleted file mode 100644 index dfe39cd62..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.expected +++ /dev/null @@ -1,32 +0,0 @@ -// Description: -// The contact property contains an empty organization name. -// The final token count is the same of a standard contact (8 tokens). - -// This case follows this schema: -// -// [NAME] -// [ROLE] -// [ORGANIZATION] -// [ADDRESS] -// [CITY, ST ZIP] -// [COUNTRY] -// [PHONE] -// [EMAIL] - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - // %s[0].type == ANYTHING - %s[0].id == nil - %s[0].name == "Domain Admin\nStanford University" - %s[0].organization == nil - %s[0].address == "241 Panama Street Pine Hall, Room 115" - %s[0].city == "Stanford" - %s[0].zip == "94305-4122" - %s[0].state == "CA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(650) 723-4328" - %s[0].fax == nil - %s[0].email == "sunet-admin@stanford.edu" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.txt deleted file mode 100644 index 041f48967..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.txt +++ /dev/null @@ -1,67 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: STANFORD.EDU - -Registrant: - Stanford University - The Board of Trustees of the Leland Stanford Junior University - 241 Panama Street, Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - -Administrative Contact: - - Domain Admin - Stanford University - 241 Panama Street Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - (650) 723-4328 - sunet-admin@stanford.edu - -Technical Contact: - - Domain Admin - Stanford University - 241 Panama Street Pine Hall, Room 115 - Stanford, CA 94305-4122 - UNITED STATES - (650) 723-4328 - sunet-admin@stanford.edu - -Name Servers: - ARGUS.STANFORD.EDU 171.64.7.115, 2607:f6d0:0:9113::ab40:773 - AVALLONE.STANFORD.EDU 171.64.7.88, 2607:f6d0:0:9116::ab40:758 - ATALANTE.STANFORD.EDU 171.64.7.61, 2607:f6d0:0:d32::ab40:73d - AERATHEA.STANFORD.EDU 152.3.104.250 - -Domain record activated: 04-Oct-1985 -Domain record last updated: 07-May-2009 -Domain expires: 31-Jul-2013 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.expected deleted file mode 100644 index ee4ac660e..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.expected +++ /dev/null @@ -1,32 +0,0 @@ -// Description: -// The contact property contains a ZIP code of XXXXX-XXXX. -// The final token count is the same of a standard contact (8 tokens). - -// This case follows this schema: -// -// [NAME] -// [ROLE] -// [ORGANIZATION] -// [ADDRESS] -// [CITY, ST ZIP] -// [COUNTRY] -// [PHONE] -// [EMAIL] - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - // %s[0].type == ANYTHING - %s[0].id == nil - %s[0].name == "Tracy L. Smith\nUniversity of Illinois at Urbana-Champaign\nCITES 2105 Digital Computer Laboratory" - %s[0].organization == nil - %s[0].address == "1304 West Springfield Avenue" - %s[0].city == "Urbana" - %s[0].zip == "61801-4399" - %s[0].state == "IL" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(217) 244-2032" - %s[0].fax == nil - %s[0].email == "edu-admin@listserv.illinois.edu" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.txt deleted file mode 100644 index 3a40f8142..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.txt +++ /dev/null @@ -1,66 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: UIUC.EDU - -Registrant: - University of Illinois at Urbana Champaign - CITES 1120 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801-2910 - UNITED STATES - -Administrative Contact: - Tracy L. Smith - University of Illinois at Urbana-Champaign - CITES 2105 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801-4399 - UNITED STATES - (217) 244-2032 - edu-admin@listserv.illinois.edu - -Technical Contact: - Charles Kline - University of Illinois at Urbana Champaign - CITES 1120 Digital Computer Laboratory - 1304 West Springfield Avenue - Urbana, IL 61801 - UNITED STATES - (217) 333-3339 - edu-tech@listserv.illinois.edu - -Name Servers: - DNS1.ILLINOIS.EDU - DNS2.ILLINOIS.EDU - DNS1.IU.EDU - -Domain record activated: 18-Jul-1985 -Domain record last updated: 22-Mar-2011 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.expected deleted file mode 100644 index 61443dc6a..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.expected +++ /dev/null @@ -1,32 +0,0 @@ -// Description: -// The contact property contains an address where no lines starts with a digit. -// This specific case caused infinite loop. - -// This case follows this schema: -// -// [NAME] -// [ROLE] -// [ORGANIZATION] -// [ADDRESS] -// [CITY, ST ZIP] -// [COUNTRY] -// [PHONE] -// [EMAIL] - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - // %s[0].type == ANYTHING - %s[0].id == nil - %s[0].name == "ITS Business Office\nSyracuse University\nInformation Technology and Services\nCenter for Science and Technology" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == "Syracuse" - %s[0].zip == "13244" - %s[0].state == "NY" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(315) 443-6189" - %s[0].fax == nil - %s[0].email == "itsoffice@syr.edu" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.txt deleted file mode 100644 index 64c11d268..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.txt +++ /dev/null @@ -1,68 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: SYR.EDU - -Registrant: - Syracuse University - Room 200 Machinery Hall - Syracuse, NY 13244 - UNITED STATES - -Administrative Contact: - - ITS Business Office - Syracuse University - Information Technology and Services - Center for Science and Technology - Syracuse, NY 13244 - UNITED STATES - (315) 443-6189 - itsoffice@syr.edu - -Technical Contact: - - Networking - Syracuse University - Room 200 Machinery Hall - Syracuse, NY 13244 - UNITED STATES - (315) 443-2677 - ndd@listserv.syr.edu - -Name Servers: - LURCH.CNS.SYR.EDU 128.230.12.5 - ICARUS.SYR.EDU 128.230.1.49 - SUEC1.SYR.EDU 128.230.152.29 - NS1.TWTELECOM.NET - NS2.TWTELECOM.NET - -Domain record activated: 02-Sep-1986 -Domain record last updated: 07-Jul-2010 -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.expected b/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.txt b/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.txt deleted file mode 100644 index 8c56bd3f3..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.txt +++ /dev/null @@ -1,64 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: PCIHEALTH.EDU - -Registrant: - PCI Health Training Center - 8101 John Carpenter Freeway - Dallas, TX 75247-4720 - UNITED STATES - -Administrative Contact: - Kelly Drake - admissions - PCI Health Training Center - 8101 John Carpenter Freeway - Dallas, TX 75247-4720 - UNITED STATES - (214) 630-0568 - kdrake@pcihealth.net - -Technical Contact: - daniel Roy - InfoTech Services - PCI Health Training Center - 8101 John Carpenter Freeway - Dallas, TX 75247-4720 - UNITED STATES - (214) 215-1764 - dan@nativetechnology.net - -Name Servers: - NS1.MAXIMUMASP.COM - NS2.MAXIMUMASP.COM - -Domain record activated: 12-Mar-2004 -Domain record last updated: unknown -Domain expires: 31-Jul-2012 - - diff --git a/spec/fixtures/responses/whois.educause.edu/edu/status_available.expected b/spec/fixtures/responses/whois.educause.edu/edu/status_available.expected deleted file mode 100644 index a5013e0a3..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.educause.edu/edu/status_available.txt b/spec/fixtures/responses/whois.educause.edu/edu/status_available.txt deleted file mode 100644 index 832cde6e5..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/status_available.txt +++ /dev/null @@ -1,28 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -No Match diff --git a/spec/fixtures/responses/whois.educause.edu/edu/status_registered.expected b/spec/fixtures/responses/whois.educause.edu/edu/status_registered.expected deleted file mode 100644 index 93b7d4432..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s == "\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n" - - -#domain - %s == "academia.edu" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-05-10} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-04-04} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-31} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "Academia" - %s[0].address == "251 Kearny St\nsuite 520" - %s[0].city == "San Francisco" - %s[0].zip == "94108" - %s[0].state == "CA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Academia, Inc." - %s[0].organization == nil - %s[0].address == "251 Kearny St\nsuite 520" - %s[0].city == "San Francisco" - %s[0].zip == "94108" - %s[0].state == "CA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(415) 829-2341" - %s[0].fax == nil - %s[0].email == "helpdesk@academia.edu" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Academia, Inc." - %s[0].organization == nil - %s[0].address == "251 Kearny St\nsuite 520" - %s[0].city == "San Francisco" - %s[0].zip == "94108" - %s[0].state == "CA" - %s[0].country == "UNITED STATES" - %s[0].country_code == nil - %s[0].phone == "(415) 829-2341" - %s[0].fax == nil - %s[0].email == "helpdesk@academia.edu" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns-1484.awsdns-57.org" - %s[1] %CLASS{nameserver} - %s[1].name == "ns-225.awsdns-28.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns-1850.awsdns-39.co.uk" - %s[3] %CLASS{nameserver} - %s[3].name == "ns-629.awsdns-14.net" diff --git a/spec/fixtures/responses/whois.educause.edu/edu/status_registered.txt b/spec/fixtures/responses/whois.educause.edu/edu/status_registered.txt deleted file mode 100644 index 67ae8ee18..000000000 --- a/spec/fixtures/responses/whois.educause.edu/edu/status_registered.txt +++ /dev/null @@ -1,65 +0,0 @@ - -This Registry database contains ONLY .EDU domains. -The data in the EDUCAUSE Whois database is provided -by EDUCAUSE for information purposes in order to -assist in the process of obtaining information about -or related to .edu domain registration records. - -The EDUCAUSE Whois database is authoritative for the -.EDU domain. - -A Web interface for the .EDU EDUCAUSE Whois Server is -available at: http://whois.educause.net - -By submitting a Whois query, you agree that this information -will not be used to allow, enable, or otherwise support -the transmission of unsolicited commercial advertising or -solicitations via e-mail. The use of electronic processes to -harvest information from this server is generally prohibited -except as reasonably necessary to register or modify .edu -domain names. - -You may use "%" as a wildcard in your search. For further -information regarding the use of this WHOIS server, please -type: help - --------------------------- - -Domain Name: ACADEMIA.EDU - -Registrant: - Academia - 251 Kearny St - suite 520 - San Francisco, CA 94108 - UNITED STATES - -Administrative Contact: - Academia, Inc. - 251 Kearny St - suite 520 - San Francisco, CA 94108 - UNITED STATES - (415) 829-2341 - helpdesk@academia.edu - -Technical Contact: - Academia, Inc. - 251 Kearny St - suite 520 - San Francisco, CA 94108 - UNITED STATES - (415) 829-2341 - helpdesk@academia.edu - -Name Servers: - NS-1484.AWSDNS-57.ORG - NS-225.AWSDNS-28.COM - NS-1850.AWSDNS-39.CO.UK - NS-629.AWSDNS-14.NET - -Domain record activated: 10-May-1999 -Domain record last updated: 04-Apr-2012 -Domain expires: 31-Jul-2014 - - diff --git a/spec/fixtures/responses/whois.eenet.ee/ee/status_available.expected b/spec/fixtures/responses/whois.eenet.ee/ee/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.eenet.ee/ee/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.eenet.ee/ee/status_available.txt b/spec/fixtures/responses/whois.eenet.ee/ee/status_available.txt deleted file mode 100755 index bd2b61d63..000000000 --- a/spec/fixtures/responses/whois.eenet.ee/ee/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ - -The registry database contains only .EE, .COM.EE, .PRI.EE, .FIE.EE, -.ORG.EE and .MED.EE domains. - -NOT FOUND: u34jedzcq.ee - diff --git a/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.expected b/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.expected deleted file mode 100644 index 14a3cc36f..000000000 --- a/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-22} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-05-28} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.txt b/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.txt deleted file mode 100755 index 62c653c98..000000000 --- a/spec/fixtures/responses/whois.eenet.ee/ee/status_registered.txt +++ /dev/null @@ -1,27 +0,0 @@ - -The registry database contains only .EE, .COM.EE, .PRI.EE, .FIE.EE, -.ORG.EE and .MED.EE domains. - -Registrant: - ADVOKAADIBÜROO SORAINEN AS - PÄRNU MNT, 15, HARJUMAA TALLINN KESKLINN 10141 - TEL 5274536 - FAX +372 6400 901 - - Domain Name: google.ee - - Contacts: - Mart Meier mart.meier@sorainen.ee - Joshua Hopping ccops@markmonitor.com - - Record created on 22-Apr-2003 - Record changed on 28-May-2010 - - Domain servers: - ns1.google.com. - ns2.google.com. - -Registrar: EENET -URL: http://www.eenet.ee/EENet/dom_reeglid.html (in estonian) -URL: http://www.eenet.ee/EENet/ee-tldomreg.html - diff --git a/spec/fixtures/responses/whois.enom.com/status_available.expected b/spec/fixtures/responses/whois.enom.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.enom.com/status_available.txt b/spec/fixtures/responses/whois.enom.com/status_available.txt deleted file mode 100644 index 6f760a3a9..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Domain not found. diff --git a/spec/fixtures/responses/whois.enom.com/status_registered.expected b/spec/fixtures/responses/whois.enom.com/status_registered.expected deleted file mode 100644 index 29dd0c62d..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_registered.expected +++ /dev/null @@ -1,112 +0,0 @@ -#domain - %s == "enom.com" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-10-24 00:00:00} - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "eNom, Inc." - %s.organization == "eNom, Inc." - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "DNS MANAGER" - %s[0].organization == "ENOM, INC." - %s[0].address == "P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300" - %s[0].city == "KIRKLAND" - %s[0].zip == "98033" - %s[0].state == "WA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "" - %s[0].fax == "" - %s[0].email == "" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "DNS MANAGER" - %s[0].organization == "ENOM, INC." - %s[0].address == "P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300" - %s[0].city == "KIRKLAND" - %s[0].zip == "98033" - %s[0].state == "WA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.4259744689" - %s[0].fax == "+1.4259744791" - %s[0].email == "DOMAINS@DEMANDMEDIA.COM" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "DNS MANAGER" - %s[0].organization == "ENOM, INC." - %s[0].address == "P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300" - %s[0].city == "KIRKLAND" - %s[0].zip == "98033" - %s[0].state == "WA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.4259744689" - %s[0].fax == "+1.4259744791" - %s[0].email == "DOMAINS@DEMANDMEDIA.COM" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "dns11.enom.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dns12.enom.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "dns13.enom.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.enom.com/status_registered.txt b/spec/fixtures/responses/whois.enom.com/status_registered.txt deleted file mode 100644 index 1303a2448..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_registered.txt +++ /dev/null @@ -1,63 +0,0 @@ -Visit AboutUs.org for more information about enom.com -AboutUs: enom.com - -Domain Name: enom.com -Creation Date: 24 Oct 1997 00:00:00 -Registrar: eNom, Inc. -Registrant Name: DNS MANAGER -Registrant Organization: ENOM, INC. -Registrant Street: P.O. BOX 7449 -Registrant Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Registrant City: KIRKLAND -Registrant State/Province: WA -Registrant Postal Code: 98033 -Registrant Country: US -Admin Name: DNS MANAGER -Admin Organization: ENOM, INC. -Admin Street: P.O. BOX 7449 -Admin Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Admin City: KIRKLAND -Admin State/Province: WA -Admin Postal Code: 98033 -Admin Country: US -Admin Phone: +1.4259744689 -Admin Phone Ext: -Admin Fax: +1.4259744791 -Admin Fax Ext: -Admin Email: DOMAINS@DEMANDMEDIA.COM -Tech Name: DNS MANAGER -Tech Organization: ENOM, INC. -Tech Street: P.O. BOX 7449 -Tech Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Tech City: KIRKLAND -Tech State/Province: WA -Tech Postal Code: 98033 -Tech Country: US -Tech Phone: +1.4259744689 -Tech Phone Ext: -Tech Fax: +1.4259744791 -Tech Fax Ext: -Tech Email: DOMAINS@DEMANDMEDIA.COM -Name Servers: Dns11.enom.com -Name Servers: Dns12.enom.com -Name Servers: Dns13.enom.com - -Get Noticed on the Internet! Increase visibility for this domain name by listing it at www.whoisbusinesslistings.com - -The data in this whois database is provided to you for information -purposes only, that is, to assist you in obtaining information about or -related to a domain name registration record. We make this information -available "as is," and do not guarantee its accuracy. By submitting a -whois query, you agree that you will use this data only for lawful -purposes and that, under no circumstances will you use this data to: (1) -enable high volume, automated, electronic processes that stress or load -this whois database system providing you this information; or (2) allow, -enable, or otherwise support the transmission of mass unsolicited, -commercial advertising or solicitations via direct mail, electronic -mail, or by telephone. The compilation, repackaging, dissemination or -other use of this data is expressly prohibited without prior written -consent from us. - -We reserve the right to modify these terms at any time. By submitting -this query, you agree to abide by these terms. -Version 6.3 4/3/2002 diff --git a/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.expected b/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.txt b/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.txt deleted file mode 100644 index 860f669f6..000000000 --- a/spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.txt +++ /dev/null @@ -1,64 +0,0 @@ -Visit AboutUs.org for more information about enom.com -AboutUs: enom.com - -Domain Name: enom.com -Creation Date: 24 Oct 1997 00:00:00 -Updated Date: -Registrar: eNom, Inc. -Registrant Name: DNS MANAGER -Registrant Organization: ENOM, INC. -Registrant Street: P.O. BOX 7449 -Registrant Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Registrant City: KIRKLAND -Registrant State/Province: WA -Registrant Postal Code: 98033 -Registrant Country: US -Admin Name: DNS MANAGER -Admin Organization: ENOM, INC. -Admin Street: P.O. BOX 7449 -Admin Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Admin City: KIRKLAND -Admin State/Province: WA -Admin Postal Code: 98033 -Admin Country: US -Admin Phone: +1.4259744689 -Admin Phone Ext: -Admin Fax: +1.4259744791 -Admin Fax Ext: -Admin Email: DOMAINS@DEMANDMEDIA.COM -Tech Name: DNS MANAGER -Tech Organization: ENOM, INC. -Tech Street: P.O. BOX 7449 -Tech Street: 5808 LAKE WASHINGTON BLVD. NE, SUITE 300 -Tech City: KIRKLAND -Tech State/Province: WA -Tech Postal Code: 98033 -Tech Country: US -Tech Phone: +1.4259744689 -Tech Phone Ext: -Tech Fax: +1.4259744791 -Tech Fax Ext: -Tech Email: DOMAINS@DEMANDMEDIA.COM -Name Servers: Dns11.enom.com -Name Servers: Dns12.enom.com -Name Servers: Dns13.enom.com - -Get Noticed on the Internet! Increase visibility for this domain name by listing it at www.whoisbusinesslistings.com - -The data in this whois database is provided to you for information -purposes only, that is, to assist you in obtaining information about or -related to a domain name registration record. We make this information -available "as is," and do not guarantee its accuracy. By submitting a -whois query, you agree that you will use this data only for lawful -purposes and that, under no circumstances will you use this data to: (1) -enable high volume, automated, electronic processes that stress or load -this whois database system providing you this information; or (2) allow, -enable, or otherwise support the transmission of mass unsolicited, -commercial advertising or solicitations via direct mail, electronic -mail, or by telephone. The compilation, repackaging, dissemination or -other use of this data is expressly prohibited without prior written -consent from us. - -We reserve the right to modify these terms at any time. By submitting -this query, you agree to abide by these terms. -Version 6.3 4/3/2002 diff --git a/spec/fixtures/responses/whois.eu.org/eu.org/status_available.expected b/spec/fixtures/responses/whois.eu.org/eu.org/status_available.expected deleted file mode 100644 index 4e84c0a64..000000000 --- a/spec/fixtures/responses/whois.eu.org/eu.org/status_available.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.eu.org/eu.org/status_available.txt b/spec/fixtures/responses/whois.eu.org/eu.org/status_available.txt deleted file mode 100644 index 79786389c..000000000 --- a/spec/fixtures/responses/whois.eu.org/eu.org/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Key not found diff --git a/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.expected b/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.expected deleted file mode 100644 index 93e7a7607..000000000 --- a/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.txt b/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.txt deleted file mode 100644 index 6bc401d86..000000000 --- a/spec/fixtures/responses/whois.eu.org/eu.org/status_registered.txt +++ /dev/null @@ -1,18 +0,0 @@ -domain: GOOGLE.EU.ORG -address: Mueller Michael -address: Wilhelm-Busch-Str. 35 -address: 32108 Bad Salzuflen -address: Germany -changed: 2003-03-28 00:00:00+01:00 -tech-c: MM114-FREE -admin-c: MM114-FREE - -person: Mueller Michael -nic-hdl: MM114-FREE -address: Wilhelm-Busch-Str. 35 -address: 32108 Bad Salzuflen -address: Germany -phone: +49 005222 94569 -e-mail: mm114-d7ea0ef920c90b777acb325103212a7c@handles.eu.org -changed: 2003-09-14 00:00:00+02:00 - diff --git a/spec/fixtures/responses/whois.eu/eu/property_nameservers.expected b/spec/fixtures/responses/whois.eu/eu/property_nameservers.expected deleted file mode 100644 index 25d61812b..000000000 --- a/spec/fixtures/responses/whois.eu/eu/property_nameservers.expected +++ /dev/null @@ -1,17 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "a.nic.eu" - %s[1] %CLASS{nameserver} - %s[1].name == "l.nic.eu" - %s[2] %CLASS{nameserver} - %s[2].name == "p.nic.eu" - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.eurid.eu" - %s[3].ipv4 == "91.220.191.220" - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "ns2.eurid.eu" - %s[4].ipv4 == "195.234.53.220" - %s[4].ipv6 == nil diff --git a/spec/fixtures/responses/whois.eu/eu/property_nameservers.txt b/spec/fixtures/responses/whois.eu/eu/property_nameservers.txt deleted file mode 100644 index 2cd34a8c2..000000000 --- a/spec/fixtures/responses/whois.eu/eu/property_nameservers.txt +++ /dev/null @@ -1,74 +0,0 @@ -% The WHOIS service offered by EURid and the access to the records -% in the EURid WHOIS database are provided for information purposes -% only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to -% the registration records of existing domain names. -% -% EURid cannot, under any circumstances, be held liable in case the -% stored information would prove to be wrong, incomplete or not -% accurate in any sense. -% -% By submitting a query you agree not to use the information made -% available to: -% -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, -% copy and/or use or re-utilise in any form and by any means -% (electronically or not) the whole or a quantitatively or qualitatively -% substantial part of the contents of the WHOIS database without prior -% and explicit permission by EURid, nor in any attempt hereof, to apply -% automated, electronic processes to EURid (or its systems). -% -% You agree that any reproduction and/or transmission of data for -% commercial purposes will always be considered as the extraction of a -% substantial part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept -% that EURid can take measures to limit the use of its WHOIS services -% in order to protect the privacy of its registrants or the integrity -% of the database. -% -% The EURid WHOIS service on port 43 (textual whois) never -% discloses any information concerning the registrant. -% Registrant information can be obtained through use of the -% webbased whois service available from the EURid website www.eurid.eu -% -% WHOIS eurid -Domain: eurid - -Registrant: - NOT DISCLOSED! - Visit www.eurid.eu for webbased whois. - -Registrar Technical Contacts: - Name: EURid vzw/asbl Technical staff - Organisation: EURid vzw/asbl - Language: en - Phone: +32.24012750 - Fax: +32.24012751 - Email: tech@eurid.eu - - -Registrar: - Name: EURid vzw/asbl - Website: www.eurid.eu - -Name servers: - a.nic.eu - l.nic.eu - p.nic.eu - ns1.eurid.eu (91.220.191.220) - ns2.eurid.eu (195.234.53.220) - -Keys: - keyTag:34023 flags:KSK protocol:3 algorithm:RSA-SHA1-NSEC3 pubKey:AwEAAbu3N0HTlocsABTY4SmW5Et6kAwa1BHg2Jmjcy87VIvKrubLCjeOFLbC2hklqnlZvlyUI5DzmS3YW/1iGNQJ+u9Rdv63BWq1HPCimkxJasSQvIff1zTYDujCucJgnn5Y3nVnJYaRvn3pmaQYmVA4jL/b3vuOmCI1jNxUNKnfxYXntYBEvfU2C824Bsv+ngKwAVIW/+3dtDhCsHfYzN8lIRHXR9yiG3/sLvFUDUH4n9qIwYGFQ00Kiv/j35VGWwruLS2nj98tw2zEgKg9otcunatVSltUnajuauaTamSTDU/cKk45QHumbQxqxQ6CMv3irDsfVYh85tUeMtiXTb4Sn7s= - -Please visit www.eurid.eu for more info. diff --git a/spec/fixtures/responses/whois.eu/eu/response_throttled.expected b/spec/fixtures/responses/whois.eu/eu/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.eu/eu/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.eu/eu/response_throttled.txt b/spec/fixtures/responses/whois.eu/eu/response_throttled.txt deleted file mode 100644 index 65e978152..000000000 --- a/spec/fixtures/responses/whois.eu/eu/response_throttled.txt +++ /dev/null @@ -1,45 +0,0 @@ -% The WHOIS service offered by EURid and the access to the records -% in the EURid WHOIS database are provided for information purposes -% only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to -% the registration records of existing domain names. -% -% EURid cannot, under any circumstances, be held liable in case the -% stored information would prove to be wrong, incomplete or not -% accurate in any sense. -% -% By submitting a query you agree not to use the information made -% available to: -% -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, -% copy and/or use or re-utilise in any form and by any means -% (electronically or not) the whole or a quantitatively or qualitatively -% substantial part of the contents of the WHOIS database without prior -% and explicit permission by EURid, nor in any attempt hereof, to apply -% automated, electronic processes to EURid (or its systems). -% -% You agree that any reproduction and/or transmission of data for -% commercial purposes will always be considered as the extraction of a -% substantial part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept -% that EURid can take measures to limit the use of its WHOIS services -% in order to protect the privacy of its registrants or the integrity -% of the database. -% -% The EURid WHOIS service on port 43 (textual whois) never -% discloses any information concerning the registrant. -% Registrant information can be obtained through use of the -% webbased whois service available from the EURid website www.eurid.eu -% -% WHOIS wholesalegolfshop.eu --1: Still in grace period, wait 7777777 seconds diff --git a/spec/fixtures/responses/whois.eu/eu/status_available.expected b/spec/fixtures/responses/whois.eu/eu/status_available.expected deleted file mode 100644 index e85ed4982..000000000 --- a/spec/fixtures/responses/whois.eu/eu/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#domain - %s == "u34jedzcq.eu" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.eu/eu/status_available.txt b/spec/fixtures/responses/whois.eu/eu/status_available.txt deleted file mode 100644 index b2b500b6a..000000000 --- a/spec/fixtures/responses/whois.eu/eu/status_available.txt +++ /dev/null @@ -1,47 +0,0 @@ -% The WHOIS service offered by EURid and the access to the records -% in the EURid WHOIS database are provided for information purposes -% only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to -% the registration records of existing domain names. -% -% EURid cannot, under any circumstances, be held liable in case the -% stored information would prove to be wrong, incomplete or not -% accurate in any sense. -% -% By submitting a query you agree not to use the information made -% available to: -% -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, -% copy and/or use or re-utilise in any form and by any means -% (electronically or not) the whole or a quantitatively or qualitatively -% substantial part of the contents of the WHOIS database without prior -% and explicit permission by EURid, nor in any attempt hereof, to apply -% automated, electronic processes to EURid (or its systems). -% -% You agree that any reproduction and/or transmission of data for -% commercial purposes will always be considered as the extraction of a -% substantial part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept -% that EURid can take measures to limit the use of its WHOIS services -% in order to protect the privacy of its registrants or the integrity -% of the database. -% -% The EURid WHOIS service on port 43 (textual whois) never -% discloses any information concerning the registrant. -% Registrant and onsite contact information can be obtained through use of the -% webbased whois service available from the EURid website www.eurid.eu -% -% WHOIS u34jedzcq -Domain: u34jedzcq -Status: AVAILABLE - diff --git a/spec/fixtures/responses/whois.eu/eu/status_registered.expected b/spec/fixtures/responses/whois.eu/eu/status_registered.expected deleted file mode 100644 index 06b3e4db7..000000000 --- a/spec/fixtures/responses/whois.eu/eu/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#domain - %s == "google.eu" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == "www.markmonitor.com" - - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{0} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.eu/eu/status_registered.txt b/spec/fixtures/responses/whois.eu/eu/status_registered.txt deleted file mode 100644 index 3c9ec3e14..000000000 --- a/spec/fixtures/responses/whois.eu/eu/status_registered.txt +++ /dev/null @@ -1,71 +0,0 @@ -% The WHOIS service offered by EURid and the access to the records -% in the EURid WHOIS database are provided for information purposes -% only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to -% the registration records of existing domain names. -% -% EURid cannot, under any circumstances, be held liable in case the -% stored information would prove to be wrong, incomplete or not -% accurate in any sense. -% -% By submitting a query you agree not to use the information made -% available to: -% -% - allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email or -% otherwise; -% - target advertising in any possible way; -% -% - to cause nuisance in any possible way to the registrants by sending -% (whether by automated, electronic processes capable of enabling -% high volumes or other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, -% copy and/or use or re-utilise in any form and by any means -% (electronically or not) the whole or a quantitatively or qualitatively -% substantial part of the contents of the WHOIS database without prior -% and explicit permission by EURid, nor in any attempt hereof, to apply -% automated, electronic processes to EURid (or its systems). -% -% You agree that any reproduction and/or transmission of data for -% commercial purposes will always be considered as the extraction of a -% substantial part of the content of the WHOIS database. -% -% By submitting the query you agree to abide by this policy and accept -% that EURid can take measures to limit the use of its WHOIS services -% in order to protect the privacy of its registrants or the integrity -% of the database. -% -% The EURid WHOIS service on port 43 (textual whois) never -% discloses any information concerning the registrant. -% Registrant and onsite contact information can be obtained through use of the -% webbased whois service available from the EURid website www.eurid.eu -% -% WHOIS google -Domain: google - -Registrant: - NOT DISCLOSED! - Visit www.eurid.eu for webbased whois. - -Onsite(s): - NOT DISCLOSED! - Visit www.eurid.eu for webbased whois. - -Reseller: - -Technical: - -Registrar: - Name: MarkMonitor Inc. - Website: www.markmonitor.com - -Name servers: - ns4.google.com - ns3.google.com - ns1.google.com - ns2.google.com - -Keys: - -Please visit www.eurid.eu for more info. diff --git a/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.expected b/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.expected deleted file mode 100644 index 2aa53c699..000000000 --- a/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.expected +++ /dev/null @@ -1,71 +0,0 @@ -#disclaimer - %s == "More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority" - - -#domain - %s == "oogle.fi" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-06-21} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-22} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-06-21} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "NURMI" - %s[0].name == "-" - %s[0].organization == "Minna" - %s[0].address == "Huovitie 3" - %s[0].city == "HELSINKI" - %s[0].zip == "00400" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+358201599789" - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "a.ns.netim.net" - %s[1] %CLASS{nameserver} - %s[1].name == "b.ns.netim.net" diff --git a/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.txt b/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.txt deleted file mode 100644 index 115737dc5..000000000 --- a/spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.txt +++ /dev/null @@ -1,21 +0,0 @@ -IP: UNABLE TO RESOLVE - -domain: oogle.fi -descr: Minna -descr: NURMI -address: - -address: Huovitie 3 -address: 00400 -address: HELSINKI -phone: +358201599789 -status: Grace Period -created: 21.6.2012 -modified: 22.6.2013 -expires: 21.6.2013 -nserver: a.ns.netim.net [Ok] -nserver: b.ns.netim.net [Ok] -dnssec: no - -More information is available at https://domain.fi/ -Copyright (c) Finnish Communications Regulatory Authority - diff --git a/spec/fixtures/responses/whois.fi/fi/status_available.expected b/spec/fixtures/responses/whois.fi/fi/status_available.expected deleted file mode 100644 index 76acacb4d..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s == "More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.fi/fi/status_available.txt b/spec/fixtures/responses/whois.fi/fi/status_available.txt deleted file mode 100644 index d0e3510de..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ - -Domain not found - -More information is available at https://domain.fi/ -Copyright (c) Finnish Communications Regulatory Authority - diff --git a/spec/fixtures/responses/whois.fi/fi/status_registered.expected b/spec/fixtures/responses/whois.fi/fi/status_registered.expected deleted file mode 100644 index 13cf8b521..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_registered.expected +++ /dev/null @@ -1,75 +0,0 @@ -#disclaimer - %s == "More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority" - - -#domain - %s == "google.fi" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-06-30} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-07} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-04} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "09073468" - %s[0].name == "Domain Administrator" - %s[0].organization == "Google Finland Oy" - %s[0].address == "Mannerheimintie 12 B" - %s[0].city == "HELSINKI" - %s[0].zip == "00100" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "35896966890" - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.fi/fi/status_registered.txt b/spec/fixtures/responses/whois.fi/fi/status_registered.txt deleted file mode 100644 index 22f4d7922..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_registered.txt +++ /dev/null @@ -1,22 +0,0 @@ - -domain: google.fi -descr: Google Finland Oy -descr: 09073468 -address: Domain Administrator -address: Mannerheimintie 12 B -address: 00100 -address: HELSINKI -phone: 35896966890 -status: Granted -created: 30.6.2006 -modified: 7.6.2013 -expires: 4.7.2014 -nserver: ns1.google.com [Ok] -nserver: ns2.google.com [Ok] -nserver: ns3.google.com [Ok] -nserver: ns4.google.com [Ok] -dnssec: no - -More information is available at https://domain.fi/ -Copyright (c) Finnish Communications Regulatory Authority - diff --git a/spec/fixtures/responses/whois.fi/fi/status_reserved.expected b/spec/fixtures/responses/whois.fi/fi/status_reserved.expected deleted file mode 100644 index facca0df4..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_reserved.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s == "More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :reserved - -#available? - %s == false - -#reserved? - %s == true - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.fi/fi/status_reserved.txt b/spec/fixtures/responses/whois.fi/fi/status_reserved.txt deleted file mode 100644 index d49a0e246..000000000 --- a/spec/fixtures/responses/whois.fi/fi/status_reserved.txt +++ /dev/null @@ -1,6 +0,0 @@ - -Domain not available - -More information is available at https://domain.fi/ -Copyright (c) Finnish Communications Regulatory Authority - diff --git a/spec/fixtures/responses/whois.gandi.net/status_available.expected b/spec/fixtures/responses/whois.gandi.net/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.gandi.net/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.gandi.net/status_available.txt b/spec/fixtures/responses/whois.gandi.net/status_available.txt deleted file mode 100644 index 8b1378917..000000000 --- a/spec/fixtures/responses/whois.gandi.net/status_available.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/spec/fixtures/responses/whois.gandi.net/status_registered.expected b/spec/fixtures/responses/whois.gandi.net/status_registered.expected deleted file mode 100644 index 89d2f877b..000000000 --- a/spec/fixtures/responses/whois.gandi.net/status_registered.expected +++ /dev/null @@ -1,114 +0,0 @@ -#domain - %s == "gandi.net" - -#domain_id - %s == "6683836_DOMAIN_NET-VRSN" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-02-23 12:12:59 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-23 18:42:52 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2023-05-21 14:09:56 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "81" - %s.name == "GANDI SAS" - %s.organization == "GANDI SAS" - %s.url == "http://www.gandi.net" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Stephan RAMOIN" - %s[0].organization == "Gandi SAS" - %s[0].address == "63-65 Boulevard Massena" - %s[0].city == "Paris" - %s[0].zip == "75013" - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33.143737851" - %s[0].fax == "+33.143731851" - %s[0].email == "61ebd5b3df9f45f2b3f67f6dd01e1049-523678@contact.gandi.net" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Noc GANDI" - %s[0].organization == "GANDI SAS" - %s[0].address == "63-65 Boulevard MASSENA" - %s[0].city == "Paris" - %s[0].zip == "75013" - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33.143737851" - %s[0].fax == "+33.143731851" - %s[0].email == "12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Noc GANDI" - %s[0].organization == "GANDI SAS" - %s[0].address == "63-65 Boulevard MASSENA" - %s[0].city == "Paris" - %s[0].zip == "75013" - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33.143737851" - %s[0].fax == "+33.143731851" - %s[0].email == "12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "dns0.gandi.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "dns1.gandi.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "dns2.gandi.net" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "dns3.gandi.net" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.gandi.net/status_registered.txt b/spec/fixtures/responses/whois.gandi.net/status_registered.txt deleted file mode 100644 index 64e4b48b9..000000000 --- a/spec/fixtures/responses/whois.gandi.net/status_registered.txt +++ /dev/null @@ -1,83 +0,0 @@ -Domain Name: gandi.net -Registry Domain ID: 6683836_DOMAIN_NET-VRSN -Registrar WHOIS Server: whois.gandi.net -Registrar URL: http://www.gandi.net -Updated Date: 2013-10-23T18:42:52Z -Creation Date: 2000-02-23T12:12:59Z -Registrar Registration Expiration Date: 2023-05-21T14:09:56Z -Registrar: GANDI SAS -Registrar IANA ID: 81 -Registrar Abuse Contact Email: abuse@support.gandi.net -Registrar Abuse Contact Phone: +33.170377661 -Reseller: GANDI SAS -Domain Status: clientTransferProhibited -Domain Status: -Domain Status: -Domain Status: -Domain Status: -Registry Registrant ID: -Registrant Name: Stephan RAMOIN -Registrant Organization: Gandi SAS -Registrant Street: 63-65 Boulevard Massena -Registrant City: Paris -Registrant State/Province: -Registrant Postal Code: 75013 -Registrant Country: FR -Registrant Phone: +33.143737851 -Registrant Phone Ext: -Registrant Fax: +33.143731851 -Registrant Fax Ext: -Registrant Email: 61ebd5b3df9f45f2b3f67f6dd01e1049-523678@contact.gandi.net -Registry Admin ID: -Admin Name: Noc GANDI -Admin Organization: GANDI SAS -Admin Street: 63-65 Boulevard MASSENA -Admin City: Paris -Admin State/Province: -Admin Postal Code: 75013 -Admin Country: FR -Admin Phone: +33.143737851 -Admin Phone Ext: -Admin Fax: +33.143731851 -Admin Fax Ext: -Admin Email: 12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net -Registry Tech ID: -Tech Name: Noc GANDI -Tech Organization: GANDI SAS -Tech Street: 63-65 Boulevard MASSENA -Tech City: Paris -Tech State/Province: -Tech Postal Code: 75013 -Tech Country: FR -Tech Phone: +33.143737851 -Tech Phone Ext: -Tech Fax: +33.143731851 -Tech Fax Ext: -Tech Email: 12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net -Name Server: DNS0.GANDI.NET -Name Server: DNS1.GANDI.NET -Name Server: DNS2.GANDI.NET -Name Server: DNS3.GANDI.NET -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -DNSSEC: Unsigned -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2013-11-15T10:56:54Z <<< - -Reseller Email: -Reseller URL: - -Personal data access and use are governed by French law, any use for -the purpose of unsolicited mass commercial advertising as well as any -mass or automated inquiries (for any intent other than the -registration or modification of a domain name) are strictly forbidden. -Copy of whole or part of our database without Gandi's endorsement is -strictly forbidden. -The owner of a domain is the person specified as "Registrant Name" for -a natural person and "Registrant Organization" for a legal person. -Domain ownership disputes should be settled using ICANN's Uniform -Dispute Resolution Policy: http://www.icann.org/en/help/dndr#udrp diff --git a/spec/fixtures/responses/whois.gg/gg/status_available.expected b/spec/fixtures/responses/whois.gg/gg/status_available.expected deleted file mode 100644 index 509f4b956..000000000 --- a/spec/fixtures/responses/whois.gg/gg/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.gg" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.gg/gg/status_available.txt b/spec/fixtures/responses/whois.gg/gg/status_available.txt deleted file mode 100644 index eaad733e1..000000000 --- a/spec/fixtures/responses/whois.gg/gg/status_available.txt +++ /dev/null @@ -1,33 +0,0 @@ -Domain Name: u34jedzcq.gg -Domain Status: Available - -This information is provided free of charge from the Channel Islands' -Register of Internet Names. The copyright and database rights in this -information and in the contents are owned by Island Networks Ltd -whose Registered Office is at 12 Victoria St, St Anne's GY9 3UF - -WHOIS query results shown may lag behind the Register. - -You may not access this server or use any data obtained from it -without written licence except for private, non-commercial use for the -purpose(s) of determining availability of, or confirming the registration of -a domain name on the Register. - -Any other use constitutes unauthorised access to a computer, -which is a statutory offence under the Computer Misuse -(Bailiwick of Guernsey) Law 1991, and/or similar legislation -in other parts of the British Islands and elsewhere. - -Furthermore, you may never do any of the following - -(a) use data obtained from this server for advertising; -(b) repackage, reuse or redistribute the data; -(c) obscure, remove or hide any or all of this notice; or -(d) make excessive queries. - -Access may be withdrawn or restricted at any time -without notice. - - - ->>> Last update of WHOIS database: 2014-05-13T07:47:04.784Z <<< diff --git a/spec/fixtures/responses/whois.gg/gg/status_registered.expected b/spec/fixtures/responses/whois.gg/gg/status_registered.expected deleted file mode 100644 index 3d3efc3c8..000000000 --- a/spec/fixtures/responses/whois.gg/gg/status_registered.expected +++ /dev/null @@ -1,39 +0,0 @@ -#domain - %s == "google.gg" - -#domain_id - %s == "24221-CI" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-30 00:00:00 UTC} - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.gg/gg/status_registered.txt b/spec/fixtures/responses/whois.gg/gg/status_registered.txt deleted file mode 100644 index 62f737387..000000000 --- a/spec/fixtures/responses/whois.gg/gg/status_registered.txt +++ /dev/null @@ -1,64 +0,0 @@ -Domain Name: google.gg -Domain ID: 24221-CI -WHOIS Server: whois.gg -Referral URL: -Creation Date: 2003-04-30T00:00:00.000Z -Sponsoring Registrar: MarkMonitor Inc. -Sponsoring Registrar IANA ID: -Domain Status: clientDeleteProhibited -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited - -Registrant ID: 32764-CI - -Admin ID: 32764-CI - -Billing ID: 32762-CI - -Tech ID: 32764-CI - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns4.google.com -Name Server: ns3.google.com - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: http://www.markmonitor.com - - -This information is provided free of charge from the Channel Islands' -Register of Internet Names. The copyright and database rights in this -information and in the contents are owned by Island Networks Ltd -whose Registered Office is at 12 Victoria St, St Anne's GY9 3UF - -WHOIS query results shown may lag behind the Register. - -You may not access this server or use any data obtained from it -without written licence except for private, non-commercial use for the -purpose(s) of determining availability of, or confirming the registration of -a domain name on the Register. - -Any other use constitutes unauthorised access to a computer, -which is a statutory offence under the Computer Misuse -(Bailiwick of Guernsey) Law 1991, and/or similar legislation -in other parts of the British Islands and elsewhere. - -Furthermore, you may never do any of the following - -(a) use data obtained from this server for advertising; -(b) repackage, reuse or redistribute the data; -(c) obscure, remove or hide any or all of this notice; or -(d) make excessive queries. - -Access may be withdrawn or restricted at any time -without notice. - - - ->>> Last update of WHOIS database: 2014-05-13T07:47:04.784Z <<< diff --git a/spec/fixtures/responses/whois.godaddy.com/property_dates_not_available.txt b/spec/fixtures/responses/whois.godaddy.com/property_dates_not_available.txt deleted file mode 100644 index ab48c63bb..000000000 --- a/spec/fixtures/responses/whois.godaddy.com/property_dates_not_available.txt +++ /dev/null @@ -1,54 +0,0 @@ -The data contained in GoDaddy.com, Inc.'s WhoIs database, -while believed by the company to be reliable, is provided "as is" -with no guarantee or warranties regarding its accuracy. This -information is provided for the sole purpose of assisting you -in obtaining information about domain name registration records. -Any use of this data for any other purpose is expressly forbidden without the prior written -permission of GoDaddy.com, Inc. By submitting an inquiry, -you agree to these terms of usage and limitations of warranty. In particular, -you agree not to use this data to allow, enable, or otherwise make possible, -dissemination or collection of this data, in part or in its entirety, for any -purpose, such as the transmission of unsolicited advertising and -and solicitations of any kind, including spam. You further agree -not to use this data to enable high volume, automated or robotic electronic -processes designed to collect or compile this data for any purpose, -including mining this data for your own personal or commercial purposes. - -Please note: the registrant of the domain name is specified -in the "registrant" field. In most cases, GoDaddy.com, Inc. -is not the registrant of domain names listed in this database. - - -Registrant: - Darrin Demchuk - 2920 Clairemont Dr - Apt 12 - San Diego, CA 92117 - United States - - Registered through: GoDaddy.com, Inc. (http://www.godaddy.com) - Domain Name: YOGAEXERCISEWORLD.COM - Created on: 13-Apr-10 - Expires on: 13-Apr-12 - Last Updated on: 26-May-11 - - Administrative Contact: - Demchuk, Darrin darrindemchuk@gmail.com - 2920 Clairemont Dr - Apt 12 - San Diego, CA 92117 - United States - +1.8589529307 Fax -- - - Technical Contact: - Demchuk, Darrin darrindemchuk@gmail.com - 2920 Clairemont Dr - Apt 12 - San Diego, CA 92117 - United States - +1.8589529307 Fax -- - - Domain servers in listed order: - NS1.PROMOTIONSURGEADMIN.COM - NS2.PROMOTIONSURGEADMIN.COM - diff --git a/spec/fixtures/responses/whois.godaddy.com/status_registered.expected b/spec/fixtures/responses/whois.godaddy.com/status_registered.expected deleted file mode 100644 index 5e89c35db..000000000 --- a/spec/fixtures/responses/whois.godaddy.com/status_registered.expected +++ /dev/null @@ -1,87 +0,0 @@ -#status - %s %ERROR{AttributeNotSupported} - -#available? - %s == false - -#registered? - %s == true - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "GoDaddy.com, LLC" - %s.organization == nil - %s.url == "http://www.godaddy.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Go Daddy Go Daddy" - %s[0].organization == "Go Daddy" - %s[0].address == "14455 N Hayden Rd Suite 219" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == "United States" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "Go Daddy Go Daddy" - %s[0].organization == "Go Daddy" - %s[0].address == "14455 N Hayden Rd Suite 219" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == "United States" - %s[0].phone == "+1.4805058800" - %s[0].fax == "+1.4805058844" - %s[0].email == "dns@jomax.net" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "Go Daddy Go Daddy" - %s[0].organization == "Go Daddy" - %s[0].address == "14455 N Hayden Rd Suite 219" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == "United States" - %s[0].phone == "+1.4805058800" - %s[0].fax == "+1.4805058844" - %s[0].email == "dns@jomax.net" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "CNS1.SECURESERVER.NET" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "CNS2.SECURESERVER.NET" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "CNS3.SECURESERVER.NET" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.godaddy.com/status_registered.txt b/spec/fixtures/responses/whois.godaddy.com/status_registered.txt deleted file mode 100644 index feee9355c..000000000 --- a/spec/fixtures/responses/whois.godaddy.com/status_registered.txt +++ /dev/null @@ -1,95 +0,0 @@ -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. -Domain Name: GODADDY.COM -Registrar URL: http://www.godaddy.com -Updated Date: 2013-06-02 07:16:24 -Creation Date: 1999-03-02 00:00:00 -Registrar Expiration Date: 2021-11-01 06:59:59 -Registrar: GoDaddy.com, LLC -Registrant Name: Go Daddy Go Daddy -Registrant Organization: Go Daddy -Registrant Street: 14455 N Hayden Rd Suite 219 -Registrant City: Scottsdale -Registrant State/Province: Arizona -Registrant Postal Code: 85260 -Registrant Country: United States -Admin Name: Go Daddy Go Daddy -Admin Organization: Go Daddy -Admin Street: 14455 N Hayden Rd Suite 219 -Admin City: Scottsdale -Admin State/Province: Arizona -Admin Postal Code: 85260 -Admin Country: United States -Admin Phone: +1.4805058800 -Admin Fax: +1.4805058844 -Admin Email: dns@jomax.net -Tech Name: Go Daddy Go Daddy -Tech Organization: Go Daddy -Tech Street: 14455 N Hayden Rd Suite 219 -Tech City: Scottsdale -Tech State/Province: Arizona -Tech Postal Code: 85260 -Tech Country: United States -Tech Phone: +1.4805058800 -Tech Fax: +1.4805058844 -Tech Email: dns@jomax.net -Name Server: CNS1.SECURESERVER.NET -Name Server: CNS2.SECURESERVER.NET -Name Server: CNS3.SECURESERVER.NET - -**************************************************** -See Business Registration Listing -**************************************************** -Copy and paste the link below to view additional details: -http://who.godaddy.com/whoischeck.aspx?domain=GODADDY.COM - -The data contained in GoDaddy.com, LLC's WhoIs database, -while believed by the company to be reliable, is provided "as is" -with no guarantee or warranties regarding its accuracy. This -information is provided for the sole purpose of assisting you -in obtaining information about domain name registration records. -Any use of this data for any other purpose is expressly forbidden without the prior written -permission of GoDaddy.com, LLC. By submitting an inquiry, -you agree to these terms of usage and limitations of warranty. In particular, -you agree not to use this data to allow, enable, or otherwise make possible, -dissemination or collection of this data, in part or in its entirety, for any -purpose, such as the transmission of unsolicited advertising and -and solicitations of any kind, including spam. You further agree -not to use this data to enable high volume, automated or robotic electronic -processes designed to collect or compile this data for any purpose, -including mining this data for your own personal or commercial purposes. - -Please note: the registrant of the domain name is specified -in the "registrant" section. In most cases, GoDaddy.com, LLC -is not the registrant of domain names listed in this database. diff --git a/spec/fixtures/responses/whois.gov.za/gov.za/status_available.expected b/spec/fixtures/responses/whois.gov.za/gov.za/status_available.expected deleted file mode 100644 index cddf65398..000000000 --- a/spec/fixtures/responses/whois.gov.za/gov.za/status_available.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.gov.za/gov.za/status_available.txt b/spec/fixtures/responses/whois.gov.za/gov.za/status_available.txt deleted file mode 100644 index 5b653b678..000000000 --- a/spec/fixtures/responses/whois.gov.za/gov.za/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No match found for u34jedzcq.gov.za diff --git a/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.expected b/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.expected deleted file mode 100644 index cbe822891..000000000 --- a/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-09-03} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.txt b/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.txt deleted file mode 100644 index 641214b54..000000000 --- a/spec/fixtures/responses/whois.gov.za/gov.za/status_registered.txt +++ /dev/null @@ -1,29 +0,0 @@ -1a. Domain Name : dha.gov.za -1b. Select One : Update Existing Domain name -2a. Department Name : Department of Home Affairs -2b. Postal Address : Private Bag x114,Pretoria, -2c. Postal Code : 0001 -3a. Admin Contact Name : Zakhele Khuzwayo -3b. Title\Position : Director: Information Systems Security -3c. Department : Department of Home Affairs -3d. Email : zakhele.khuzwayo@dha.gov.za -3e. Postal Address : Private Bag x114,0001, -3f. Postal Code : Pretoria -4a. Tech Contact Name : David D. Sussens -4b. Title\Position : Mr. -4c. Department : SITA -4d. Email : david.sussens@sita.co.za -4e. Postal Address : Private Bag x114,Pretoria, -4f. Postal Code : 0001 -5a. Primary NS : ns1.dha.gov.za -5b. Primary NS IP : 164.151.130.210 -5c. Secondary NS : ns2.dha.gov.za -5d. Secondary NS IP : 164.151.130.211 -6a. Primary MX name : mailgate01.sita.co.za -6b. Primary MX IP : 196.34.195.8 -7a. Place : Pretoria -7b. Date : 2012/09/03 -7c. Name of Applicant : Zakhele Khuzwayo - - -**End** diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.expected b/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.expected deleted file mode 100644 index aee072824..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.expected +++ /dev/null @@ -1,2 +0,0 @@ -#expires_on - %s == nil diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.txt b/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.txt deleted file mode 100644 index 10d4c638f..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.txt +++ /dev/null @@ -1,104 +0,0 @@ - - ------------------------------------------------------------------------------- - Whois server by HKDNR - ------------------------------------------------------------------------------- - Domain names in the .com.hk, .net.hk, .edu.hk, .org.hk, - .gov.hk, idv.hk. and .hk can now be registered with HKDNR. - Go to http://www.hkdnr.net.hk for detail information. - ------------------------------------------------------------------------------- - - - -Domain Name: BRIGHTER.COM.HK - -Contract Version: Old Contract - -Registrar Name: Hong Kong Domain Name Registration Company Limited - -Registrar Contact Information: Email: enquiry@hkdnr.hk Hotline: +852 2319 1313 - - - - -Registrant Contact Information: - -Company English Name (It should be the same as the registered/corporation name on your Business Register Certificate or relevant documents): THE BRIGHTER CO -Company Chinese name: - -Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG., -55 HUNG TO ROAD, -KWUN TONG, KOWLOON -Country: HK -Email: qhau@neotech-hk.com -Domain Name Commencement Date: 23-12-1998 -Expiry Date: null -Re-registration Status: Complete - - - -Administrative Contact Information: - -Given name: QUEENIE -Family name: HAU -Company name: THE BRIGHTER COMPANY -Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG.,55 HUNG TO ROAD,KWUN TONG, KOWLOON -Country: HK -Phone: +852-23426328 -Fax: +852-23428180 -Email: qhau@neotech-hk.com -Account Name: HK2763316T - - - - -Technical Contact Information: - -Family name: HAU -Company name: THE BRIGHTER COMPANY -Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG., -55 HUNG TO ROAD, -KWUN TONG, KOWLOON -Country: HK -Phone: +852-23426328 -Fax: +852-23428180 -Email: qhau@neotech-hk.com - - - - -Name Servers Information: - -NS5.HOSTINGSPEED.NET -NS2.HOSTINGSPEED.NET - - - - ------------------------------------------------------------------------------- - The Registry contains ONLY .com.hk, .net.hk, .edu.hk, .org.hk, - .gov.hk, idv.hk. and .hk $domains. - ------------------------------------------------------------------------------- - -WHOIS Terms of Use -By using this WHOIS search enquiry service you agree to these terms of use. -The data in HKDNR's WHOIS search engine is for information purposes only and HKDNR does not guarantee the accuracy of the data. The data is provided to assist people to obtain information about the registration record of domain names registered by HKDNR. You agree to use the data for lawful purposes only. - -You are not authorised to use high-volume, electronic or automated processes to access, query or harvest data from this WHOIS search enquiry service. - -You agree that you will not and will not allow anyone else to: - -a. use the data for mass unsolicited commercial advertising of any sort via any medium including telephone, email or fax; or - -b. enable high volume, automated or electronic processes that apply to HKDNR or its computer systems including the WHOIS search enquiry service; or - -c. without the prior written consent of HKDNR compile, repackage, disseminate, disclose to any third party or use the data for a purpose other than obtaining information about a domain name registration record; or - -d. use such data to derive an economic benefit for yourself. - -HKDNR in its sole discretion may terminate your access to the WHOIS search enquiry service (including, without limitation, blocking your IP address) at any time including, without limitation, for excessive use of the WHOIS search enquiry service. - -HKDNR may modify these terms of use at any time by publishing the modified terms of use on its website. - - - - - - diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.expected b/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.txt b/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.txt deleted file mode 100644 index 77dca392b..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -The domain has not been registered. diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.expected b/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.expected deleted file mode 100644 index 1dfc705a1..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-04-06} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-31} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.txt b/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.txt deleted file mode 100644 index 7f1390708..000000000 --- a/spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.txt +++ /dev/null @@ -1,111 +0,0 @@ - - ------------------------------------------------------------------------------- - Whois server by HKIRC - ------------------------------------------------------------------------------- - .hk top level Domain names can be registered via HKIRC-Accredited Registrars. - Go to https://www.hkirc.hk/content.jsp?id=280 for details. - ------------------------------------------------------------------------------- - - - -Domain Name: GOOGLE.HK - -Domain Status: Active - - -Contract Version: Refer to registrar - -Registrar Name: MARKMONITOR INC. - -Registrar Contact Information: Email: ccops@markmonitor.com - -Reseller: - - - - -Registrant Contact Information: - -Company English Name (It should be the same as the registered/corporation name on your Business Register Certificate or relevant documents): GOOGLE INC. -Company Chinese name: - -Address: 1600 AMPHITHEATRE PARKWAY 94043 -Country: US -Email: dns-admin@google.com -Domain Name Commencement Date: 06-04-2004 -Expiry Date: 31-03-2014 -Re-registration Status: Complete - - - -Administrative Contact Information: - -Given name: DNS -Family name: ADMIN -Company name: GOOGLE INC. -Address: 1600 AMPHITHEATRE PARKWAY 94043 -Country: US -Phone: +1-6502530000 -Fax: +1-6502530001 -Email: dns-admin@google.com -Account Name: HK3602487T - - - - -Technical Contact Information: - -Family name: ADMIN -Company name: GOOGLE INC. -Address: 1600 AMPHITHEATRE PARKWAY 94043 -Country: US -Phone: +1-6502530000 -Fax: +1-6502530001 -Email: dns-admin@google.com - - - - -Name Servers Information: - -NS1.GOOGLE.COM -NS2.GOOGLE.COM -NS3.GOOGLE.COM -NS4.GOOGLE.COM - - - -Status Information: - -Domain Prohibit Status: - - - ------------------------------------------------------------------------------- - The Registry contains ONLY .com.hk, .net.hk, .edu.hk, .org.hk, - .gov.hk, idv.hk. and .hk $domains. - ------------------------------------------------------------------------------- - -WHOIS Terms of Use -By using this WHOIS search enquiry service you agree to these terms of use. -The data in HKDNR's WHOIS search engine is for information purposes only and HKDNR does not guarantee the accuracy of the data. The data is provided to assist people to obtain information about the registration record of domain names registered by HKDNR. You agree to use the data for lawful purposes only. - -You are not authorised to use high-volume, electronic or automated processes to access, query or harvest data from this WHOIS search enquiry service. - -You agree that you will not and will not allow anyone else to: - -a. use the data for mass unsolicited commercial advertising of any sort via any medium including telephone, email or fax; or - -b. enable high volume, automated or electronic processes that apply to HKDNR or its computer systems including the WHOIS search enquiry service; or - -c. without the prior written consent of HKDNR compile, repackage, disseminate, disclose to any third party or use the data for a purpose other than obtaining information about a domain name registration record; or - -d. use such data to derive an economic benefit for yourself. - -HKDNR in its sole discretion may terminate your access to the WHOIS search enquiry service (including, without limitation, blocking your IP address) at any time including, without limitation, for excessive use of the WHOIS search enquiry service. - -HKDNR may modify these terms of use at any time by publishing the modified terms of use on its website. - - - - - - diff --git a/spec/fixtures/responses/whois.iana.org/arpa/status_available.txt b/spec/fixtures/responses/whois.iana.org/arpa/status_available.txt deleted file mode 100644 index f60680f1d..000000000 --- a/spec/fixtures/responses/whois.iana.org/arpa/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -% IANA WHOIS server -% for more information on IANA, visit http://www.iana.org -% This query returned 0 objects. -% -% You queried for u34jedzcq.arpa but this server does not have -% any data for u34jedzcq.arpa. -% -% If you need further information please check the web site -% or use -h for help - diff --git a/spec/fixtures/responses/whois.iana.org/arpa/status_registered.txt b/spec/fixtures/responses/whois.iana.org/arpa/status_registered.txt deleted file mode 100644 index dc2a2b18c..000000000 --- a/spec/fixtures/responses/whois.iana.org/arpa/status_registered.txt +++ /dev/null @@ -1,45 +0,0 @@ -% IANA WHOIS server -% for more information on IANA, visit http://www.iana.org -% This query returned 1 object - -domain: IP6.ARPA - -organisation: Internet Assigned Numbers Authority (IANA) -address: 4676 Admiralty Way -address: Suite 330 -address: Marina del Rey California 90292-6610 -address: US - -contact: administrative -organisation: Internet Architecture Board (IAB) -organisation: c/o IETF Administrative Support Activity, ISOC -address: 1775 Wiehle Ave. -address: Suite 102 -address: Reston Virginia 20190-5108 -address: United States -phone: +1 703 326 9880 -fax-no: +1 703 326 9881 -e-mail: iab@iab.org - -contact: technical -organisation: Internet Assigned Numbers Authority (IANA) -address: 4676 Admiralty Way -address: Suite 330 -address: Marina del Rey California 90292-6610 -address: United States -phone: +1 310 823 9358 -fax-no: +1 310 823 8649 -e-mail: iana@iana.org - -nserver: A.IP6-SERVERS.ARPA 199.212.0.73 2001:500:13:0:0:0:0:73 -nserver: B.IP6-SERVERS.ARPA 199.253.182.182 2001:500:86::86 -nserver: C.IP6-SERVERS.ARPA 196.216.169.11 2001:43f8:110::11 -nserver: D.IP6-SERVERS.ARPA 200.7.86.53 2001:13c7:7012::53 -nserver: E.IP6-SERVERS.ARPA 2001:dc0:2001:a:4608::59 202.12.29.59 -nserver: F.IP6-SERVERS.ARPA 193.0.9.2 2001:67c:e0::2 -ds-rdata: 13880 8 2 068554efcb5861f42af93ef8e79c442a86c16fc5652e6b6d2419ed527f344d17 - -created: 2001-11-10 -changed: 2011-07-21 -source: IANA - diff --git a/spec/fixtures/responses/whois.iana.org/int/status_available.expected b/spec/fixtures/responses/whois.iana.org/int/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.iana.org/int/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.iana.org/int/status_available.txt b/spec/fixtures/responses/whois.iana.org/int/status_available.txt deleted file mode 100644 index 20677415a..000000000 --- a/spec/fixtures/responses/whois.iana.org/int/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -% IANA WHOIS server -% for more information on IANA, visit http://www.iana.org -% This query returned 0 objects. -% -% You queried for u34jedzcq.int but this server does not have -% any data for u34jedzcq.int. -% -% If you need further information please check the web site -% or use -h for help - diff --git a/spec/fixtures/responses/whois.iana.org/int/status_registered.expected b/spec/fixtures/responses/whois.iana.org/int/status_registered.expected deleted file mode 100644 index 715485ca3..000000000 --- a/spec/fixtures/responses/whois.iana.org/int/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-08-26} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-08-07} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == nil - %s[0].organization == "North Atlantic Treaty Organization" - %s[0].address == "Blvd Leopold III" - %s[0].city == "1110 Brussels" - %s[0].zip == "Brussels" - %s[0].country == "Belgium" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Aidan Murdock" - %s[0].organization == nil - %s[0].address == "SHAPE" - %s[0].city == "NCIA SP SDD SAS NAR" - %s[0].zip == "Mons Hainaut 7010" - %s[0].country == "Belgium" - %s[0].country_code == nil - %s[0].phone == "+32 65 44 9168" - %s[0].fax == "+32 65 44 9480" - %s[0].email == "aidan.murdock@ncia.nato.int" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Francesco Conserva" - %s[0].organization == nil - %s[0].address == "SHAPE" - %s[0].city == "NCIA SP SMD ENT EMA" - %s[0].zip == "Mons Hainaut 7010" - %s[0].country == "Belgium" - %s[0].country_code == nil - %s[0].phone == "+32 65 44 7534" - %s[0].fax == "+32 65 44 7556" - %s[0].email == "francesco.conserva@ncia.nato.int" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{7} - %s[0] %CLASS{nameserver} - %s[0].name == "globe.nc3a.nato.int" - %s[0].ipv4 == "192.41.140.178" - %s[1] %CLASS{nameserver} - %s[1].name == "max.nra.nato.int" - %s[1].ipv4 == "192.101.252.69" - %s[2] %CLASS{nameserver} - %s[2].name == "maxima.nra.nato.int" - %s[2].ipv4 == "193.110.130.68" - %s[3] %CLASS{nameserver} - %s[3].name == "ns.namsa.nato.int" - %s[3].ipv4 == "193.168.11.15" - %s[4] %CLASS{nameserver} - %s[4].name == "ns.saclantc.nato.int" - %s[4].ipv4 == "192.106.197.1" - %s[5] %CLASS{nameserver} - %s[5].name == "ns1.cs.ucl.ac.uk" - %s[5].ipv4 == "128.16.5.32" - %s[6] %CLASS{nameserver} - %s[6].name == "ns1.drenet.dnd.ca" - %s[6].ipv4 == "131.136.242.3" diff --git a/spec/fixtures/responses/whois.iana.org/int/status_registered.txt b/spec/fixtures/responses/whois.iana.org/int/status_registered.txt deleted file mode 100644 index c292e7374..000000000 --- a/spec/fixtures/responses/whois.iana.org/int/status_registered.txt +++ /dev/null @@ -1,44 +0,0 @@ -% IANA WHOIS server -% for more information on IANA, visit http://www.iana.org -% This query returned 1 object - -domain: NATO.INT - -organisation: North Atlantic Treaty Organization -address: Blvd Leopold III -address: 1110 Brussels -address: Brussels -address: Belgium - -contact: administrative -name: Aidan Murdock -address: SHAPE -address: NCIA SP SDD SAS NAR -address: Mons Hainaut 7010 -address: Belgium -phone: +32 65 44 9168 -fax-no: +32 65 44 9480 -e-mail: aidan.murdock@ncia.nato.int - -contact: technical -name: Francesco Conserva -address: SHAPE -address: NCIA SP SMD ENT EMA -address: Mons Hainaut 7010 -address: Belgium -phone: +32 65 44 7534 -fax-no: +32 65 44 7556 -e-mail: francesco.conserva@ncia.nato.int - -nserver: GLOBE.NC3A.NATO.INT 192.41.140.178 -nserver: MAX.NRA.NATO.INT 192.101.252.69 -nserver: MAXIMA.NRA.NATO.INT 193.110.130.68 -nserver: NS.NAMSA.NATO.INT 193.168.11.15 193.168.15.15 -nserver: NS.SACLANTC.NATO.INT 192.106.197.1 -nserver: NS1.CS.UCL.AC.UK 128.16.5.32 -nserver: NS1.DRENET.DND.CA 131.136.242.3 - -created: 1997-08-26 -changed: 2012-08-07 -source: IANA - diff --git a/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected b/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected deleted file mode 100644 index 338281355..000000000 --- a/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected +++ /dev/null @@ -1,37 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %CLASS{time} - %s %TIME{1999-09-27} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.txt b/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.txt deleted file mode 100644 index ae2a1d4b6..000000000 --- a/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.txt +++ /dev/null @@ -1,17 +0,0 @@ -% IANA WHOIS server -% for more information on IANA, visit http://www.iana.org -% This query returned 1 object - -domain: EH - -organisation: Not assigned - -contact: administrative -organisation: Not assigned - -contact: technical -organisation: Not assigned - -changed: 1999-09-27 -source: IANA - diff --git a/spec/fixtures/responses/whois.iis.nu/nu/status_available.expected b/spec/fixtures/responses/whois.iis.nu/nu/status_available.expected deleted file mode 100644 index d48c3cb27..000000000 --- a/spec/fixtures/responses/whois.iis.nu/nu/status_available.expected +++ /dev/null @@ -1,51 +0,0 @@ -#disclaimer - %s == "Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. # Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .nu top level domain. This whois printout is printed with UTF-8 encoding." - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.iis.nu/nu/status_available.txt b/spec/fixtures/responses/whois.iis.nu/nu/status_available.txt deleted file mode 100644 index 93ef92fea..000000000 --- a/spec/fixtures/responses/whois.iis.nu/nu/status_available.txt +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. # Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. -# Result of search for registered domain names under -# the .nu top level domain. -# This whois printout is printed with UTF-8 encoding. -# -domain "u34jedzcq.nu" not found. diff --git a/spec/fixtures/responses/whois.iis.nu/nu/status_registered.expected b/spec/fixtures/responses/whois.iis.nu/nu/status_registered.expected deleted file mode 100644 index 2ee190721..000000000 --- a/spec/fixtures/responses/whois.iis.nu/nu/status_registered.expected +++ /dev/null @@ -1,76 +0,0 @@ -#disclaimer - %s == "Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. # Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .nu top level domain. This whois printout is printed with UTF-8 encoding." - - -#domain - %s == "google.nu" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-07} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-05-06} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-06-07} - - -#registrar - %s %CLASS{registrar} - %s.name == "MarkMonitor Inc." - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-142621" - %s[0].name == nil - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.iis.nu/nu/status_registered.txt b/spec/fixtures/responses/whois.iis.nu/nu/status_registered.txt deleted file mode 100644 index 4678ed7e8..000000000 --- a/spec/fixtures/responses/whois.iis.nu/nu/status_registered.txt +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. # Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. -# Result of search for registered domain names under -# the .nu top level domain. -# This whois printout is printed with UTF-8 encoding. -# -state: active -domain: google.nu -holder: mmr-142621 -admin-c: - -tech-c: - -billing-c: - -created: 1999-06-07 -modified: 2014-05-06 -expires: 2015-06-07 -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -dnssec: unsigned delegation -status: ok -registrar: MarkMonitor Inc. diff --git a/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.expected b/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.expected deleted file mode 100644 index 29d72fcc4..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.expected +++ /dev/null @@ -1,10 +0,0 @@ -#created_on - %s %CLASS{time} - %s %TIME{2010-08-05} - -#updated_on - %s == nil - -#expires_on - %s %CLASS{time} - %s %TIME{2011-08-05} diff --git a/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.txt b/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.txt deleted file mode 100644 index ec1680a95..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.txt +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: active -domain: populiscreate.se -holder: eds1008-4130626 -admin-c: eds0903-00001 -tech-c: eds0903-00002 -billing-c: eds0903-00001 -created: 2010-08-05 -modified: - -expires: 2011-08-05 -nserver: ns2.eurodns.com -nserver: ns1.eurodns.com -dnssec: unsigned delegation -status: ok -registrar: EuroDNS S.A diff --git a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.expected b/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.expected deleted file mode 100644 index 607ebbada..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.expected +++ /dev/null @@ -1,7 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{nameserver} - %s[0].name == "freja.nhv.se" - %s[0].ipv4 == "82.96.40.83" - %s[0].ipv6 == nil diff --git a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.txt b/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.txt deleted file mode 100644 index b3e8ab688..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.txt +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: active -domain: nhv.se -holder: nordis0702-00149 -admin-c: - -tech-c: - -billing-c: - -created: 1992-11-05 -modified: 2014-03-18 -expires: 2014-12-31 -nserver: freja.nhv.se 82.96.40.83 -dnssec: unsigned delegation -status: ok -registrar: SE Direkt diff --git a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.expected deleted file mode 100644 index 022bb01c6..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.expected +++ /dev/null @@ -1,15 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.loopia.se" - %s[0].ipv4 == "93.188.0.21" - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.loopia.se" - %s[1].ipv4 == "93.188.0.20" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.loopia.se" - %s[2].ipv4 == "93.188.0.21" - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.loopia.se" - %s[3].ipv4 == "93.188.0.20" diff --git a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.txt deleted file mode 100644 index b56c0d8a0..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: active -domain: loopia.se -holder: looloo8804-00001 -admin-c: - -tech-c: - -billing-c: - -created: 2003-09-15 -modified: 2010-02-15 -expires: 2020-09-15 -transferred: 2009-03-09 -nserver: ns2.loopia.se 93.188.0.21 -nserver: ns4.loopia.se 93.188.0.20 -nserver: ns3.loopia.se 93.188.0.21 -nserver: ns1.loopia.se 93.188.0.20 -dnssec: unsigned delegation -status: ok -registrar: Loopia AB diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.expected b/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.expected deleted file mode 100644 index d3349a696..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.expected +++ /dev/null @@ -1,35 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %TIME{2000-11-01} - -#updated_on - %s == nil - -#expires_on - %s %TIME{2006-04-18} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - -#registrar - %s %CLASS{registrar} - %s.name == "CoreRegistry" diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.txt b/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.txt deleted file mode 100644 index 47519ddf1..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_inactive.txt +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: system -domain: example.se -holder: - -admin-c: - -tech-c: - -billing-c: - -created: 2000-11-01 -modified: - -expires: 2006-04-18 -nserver: - -dnssec: unsigned delegation -status: inactive -registrar: CoreRegistry -reason: SE Blocked, Example and test domains diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_missing.txt b/spec/fixtures/responses/whois.iis.se/se/property_status_missing.txt deleted file mode 100644 index 82dacbc48..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_missing.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -"u34jedzcq.se" not found. diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_ok.expected b/spec/fixtures/responses/whois.iis.se/se/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_ok.txt b/spec/fixtures/responses/whois.iis.se/se/property_status_ok.txt deleted file mode 100644 index b076f2ed7..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_ok.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: active -domain: google.se -holder: googoo5855-00001 -admin-c: - -tech-c: - -billing-c: - -created: 2008-10-20 -modified: 2009-08-01 -expires: 2010-10-20 -transferred: 2009-03-06 -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -dnssec: unsigned delegation -status: ok -registrar: MarkMonitor Inc \ No newline at end of file diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.expected b/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.txt b/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.txt deleted file mode 100644 index cb42ff5c5..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.txt +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. - -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. - -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. - -# Result of search for registered domain names under -# the .SE top level domain. - -# The data is in the UTF-8 character set and the result is -# printed with eight bits. - -state: deactivated -domain: ogogle.se -holder: magnus4427-00001 -admin-c: - -tech-c: - -billing-c: - -created: 2008-06-14 -modified: 2012-02-20 -expires: 2013-06-14 -transferred: 2009-06-04 -deactivationdate: 2013-07-15 -date_to_delete: 2013-09-13 -date_to_release: 2013-10-06 -nserver: ns1.binero.se -nserver: ns2.binero.se -dnssec: unsigned delegation -status: serverHold -registrar: Frobbit AB diff --git a/spec/fixtures/responses/whois.iis.se/se/status_available.expected b/spec/fixtures/responses/whois.iis.se/se/status_available.expected deleted file mode 100644 index 422c1624c..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/status_available.expected +++ /dev/null @@ -1,51 +0,0 @@ -#disclaimer - %s == "Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .SE top level domain. This whois printout is printed with UTF-8 encoding." - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.iis.se/se/status_available.txt b/spec/fixtures/responses/whois.iis.se/se/status_available.txt deleted file mode 100644 index d1b70d7d1..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/status_available.txt +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. -# Result of search for registered domain names under -# the .SE top level domain. -# This whois printout is printed with UTF-8 encoding. -# -"u34jedzcq.se" not found. diff --git a/spec/fixtures/responses/whois.iis.se/se/status_registered.expected b/spec/fixtures/responses/whois.iis.se/se/status_registered.expected deleted file mode 100644 index a16474234..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/status_registered.expected +++ /dev/null @@ -1,76 +0,0 @@ -#disclaimer - %s == "Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .SE top level domain. This whois printout is printed with UTF-8 encoding." - - -#domain - %s == "google.se" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-10-20} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-18} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-20} - - -#registrar - %s %CLASS{registrar} - %s.name == "MarkMonitor Inc" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr8008-53808" - %s[0].name == nil - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.iis.se/se/status_registered.txt b/spec/fixtures/responses/whois.iis.se/se/status_registered.txt deleted file mode 100644 index 10ed5087d..000000000 --- a/spec/fixtures/responses/whois.iis.se/se/status_registered.txt +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). -# All rights reserved. -# The information obtained through searches, or otherwise, is protected -# by the Swedish Copyright Act (1960:729) and international conventions. -# It is also subject to database protection according to the Swedish -# Copyright Act. -# Any use of this material to target advertising or -# similar activities is forbidden and will be prosecuted. -# If any of the information below is transferred to a third -# party, it must be done in its entirety. This server must -# not be used as a backend for a search engine. -# Result of search for registered domain names under -# the .SE top level domain. -# This whois printout is printed with UTF-8 encoding. -# -state: active -domain: google.se -holder: mmr8008-53808 -admin-c: - -tech-c: - -billing-c: - -created: 2008-10-20 -modified: 2013-09-18 -expires: 2014-10-20 -transferred: 2009-03-06 -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -dnssec: unsigned delegation -status: serverDeleteProhibited -status: serverUpdateProhibited -status: serverTransferProhibited -registrar: MarkMonitor Inc diff --git a/spec/fixtures/responses/whois.in.ua/in.ua/status_available.expected b/spec/fixtures/responses/whois.in.ua/in.ua/status_available.expected deleted file mode 100644 index f304d3ea8..000000000 --- a/spec/fixtures/responses/whois.in.ua/in.ua/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.in.ua/in.ua/status_available.txt b/spec/fixtures/responses/whois.in.ua/in.ua/status_available.txt deleted file mode 100644 index 32b98a39b..000000000 --- a/spec/fixtures/responses/whois.in.ua/in.ua/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ -% In.UA whois server. (whois.in.ua) -% All questions regarding this service please send to help@whois.in.ua -% To search for domains and In.UA maintainers using the web, visit http://whois.in.ua -% No records found for object U34JEDZCQ.IN.UA diff --git a/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.expected b/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.expected deleted file mode 100644 index 63c8d3206..000000000 --- a/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-12-16 13:41:04} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-12-18 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns12.uadns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns11.uadns.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns10.uadns.com" diff --git a/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.txt b/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.txt deleted file mode 100644 index fc0adcd87..000000000 --- a/spec/fixtures/responses/whois.in.ua/in.ua/status_registered.txt +++ /dev/null @@ -1,16 +0,0 @@ -% In.UA whois server. (whois.in.ua) -% All questions regarding this service please send to help@whois.in.ua -% To search for domains and In.UA maintainers using the web, visit http://whois.in.ua -domain: dle.in.ua -descr: dle.in.ua -admin-c: VP535-UANIC -tech-c: NIC-UANIC -status: OK-UNTIL 20131218000000 -nserver: NS12.UADNS.COM -nserver: NS11.UADNS.COM -nserver: NS10.UADNS.COM -mnt-by: DRS-MNT-INUA -mnt-lower: DRS-MNT-INUA -changed: notify@drs.ua 20121216134104 -source: INUA - diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.expected b/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.expected deleted file mode 100644 index ace5213ea..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == [] diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.txt b/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.expected b/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.expected deleted file mode 100644 index f43ba268f..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT RENEW PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.txt b/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.txt deleted file mode 100644 index b83ce08db..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.txt +++ /dev/null @@ -1,86 +0,0 @@ -Access to .IN WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -.IN registry database. The data in this record is provided by -.IN Registry for informational purposes only, and .IN does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. .IN reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D3271170-AFIN -Domain Name:VIDEOGRATIS.IN -Created On:27-Jan-2009 05:01:05 UTC -Last Updated On:01-Jul-2010 12:55:17 UTC -Expiration Date:27-Jan-2011 05:01:05 UTC -Sponsoring Registrar:GoDaddy.com Inc. (R101-AFIN) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT RENEW PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:CR51214064 -Registrant Name:claudio spada -Registrant Organization:sirismedia -Registrant Street1:foro buonaparte 69 -Registrant Street2: -Registrant Street3: -Registrant City:milano -Registrant State/Province:italy -Registrant Postal Code:20121 -Registrant Country:AX -Registrant Phone:+91.03902861317 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant Email:domini@siris.com -Admin ID:CR51214074 -Admin Name:claudio spada -Admin Organization:sirismedia -Admin Street1:foro buonaparte 69 -Admin Street2: -Admin Street3: -Admin City:milano -Admin State/Province:italy -Admin Postal Code:20121 -Admin Country:AX -Admin Phone:+91.03902861317 -Admin Phone Ext.: -Admin FAX: -Admin FAX Ext.: -Admin Email:domini@siris.com -Tech ID:CR51214069 -Tech Name:claudio spada -Tech Organization:sirismedia -Tech Street1:foro buonaparte 69 -Tech Street2: -Tech Street3: -Tech City:milano -Tech State/Province:italy -Tech Postal Code:20121 -Tech Country:AX -Tech Phone:+91.03902861317 -Tech Phone Ext.: -Tech FAX: -Tech FAX Ext.: -Tech Email:domini@siris.com -Name Server:NS1.SLICEHOST.NET -Name Server:NS2.SLICEHOST.NET -Name Server:NS3.SLICEHOST.NET -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.expected b/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.expected deleted file mode 100644 index 0075a8d42..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["OK"] diff --git a/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.txt b/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.txt deleted file mode 100644 index b57a69f99..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.txt +++ /dev/null @@ -1,83 +0,0 @@ -Access to .IN WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -.IN registry database. The data in this record is provided by -.IN Registry for informational purposes only, and .IN does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. .IN reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D21089-AFIN -Domain Name:GOOGLE.IN -Created On:14-Feb-2005 20:35:14 UTC -Last Updated On:06-Apr-2009 18:20:09 UTC -Expiration Date:14-Feb-2011 20:35:14 UTC -Sponsoring Registrar:Mark Monitor (R84-AFIN) -Status:OK -Registrant ID:EPPIPM-143349 -Registrant Name:Admin DNS -Registrant Organization:GOOGLE INC. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View, CA -Registrant State/Province: -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6503300100 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:EPPIPM-143349 -Admin Name:Admin DNS -Admin Organization:GOOGLE INC. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View, CA -Admin State/Province: -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6503300100 -Admin Phone Ext.: -Admin FAX: -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Tech ID:EPPIPM-143349 -Tech Name:Admin DNS -Tech Organization:GOOGLE INC. -Tech Street1:1600 Amphitheatre Parkway -Tech Street2: -Tech Street3: -Tech City:Mountain View, CA -Tech State/Province: -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6503300100 -Tech Phone Ext.: -Tech FAX: -Tech FAX Ext.: -Tech Email:dns-admin@google.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.inregistry.net/in/status_available.expected b/spec/fixtures/responses/whois.inregistry.net/in/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.inregistry.net/in/status_available.txt b/spec/fixtures/responses/whois.inregistry.net/in/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.inregistry.net/in/status_registered.expected b/spec/fixtures/responses/whois.inregistry.net/in/status_registered.expected deleted file mode 100644 index a3b87cb77..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/status_registered.expected +++ /dev/null @@ -1,109 +0,0 @@ -#disclaimer - %s == "Access to .IN WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .IN registry database. The data in this record is provided by .IN Registry for informational purposes only, and .IN does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .IN reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.in" - -#domain_id - %s == "D21089-AFIN" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %TIME{2005-02-14 20:35:14 UTC} - -#updated_on - %s %TIME{2015-01-13 10:22:36 UTC} - -#expires_on - %s %TIME{2016-02-14 20:35:14 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R84-AFIN" - %s.name == "Mark Monitor" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-108695" - %s[0].name == "Christina Chiou" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-108695" - %s[0].name == "Christina Chiou" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-108695" - %s[0].name == "Christina Chiou" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.inregistry.net/in/status_registered.txt b/spec/fixtures/responses/whois.inregistry.net/in/status_registered.txt deleted file mode 100644 index e171a8799..000000000 --- a/spec/fixtures/responses/whois.inregistry.net/in/status_registered.txt +++ /dev/null @@ -1,70 +0,0 @@ -Access to .IN WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .IN registry database. The data in this record is provided by .IN Registry for informational purposes only, and .IN does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .IN reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. - -Domain ID:D21089-AFIN -Domain Name:GOOGLE.IN -Created On:14-Feb-2005 20:35:14 UTC -Last Updated On:13-Jan-2015 10:22:36 UTC -Expiration Date:14-Feb-2016 20:35:14 UTC -Sponsoring Registrar:Mark Monitor (R84-AFIN) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:mmr-108695 -Registrant Name:Christina Chiou -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant Phone Ext.: -Registrant FAX:+1.6502530001 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:mmr-108695 -Admin Name:Christina Chiou -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin Phone Ext.: -Admin FAX:+1.6502530001 -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Tech ID:mmr-108695 -Tech Name:Christina Chiou -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech Street2: -Tech Street3: -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech Phone Ext.: -Tech FAX:+1.6502530001 -Tech FAX Ext.: -Tech Email:dns-admin@google.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -DNSSEC:Unsigned diff --git a/spec/fixtures/responses/whois.isnic.is/is/status_available.expected b/spec/fixtures/responses/whois.isnic.is/is/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.isnic.is/is/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.isnic.is/is/status_available.txt b/spec/fixtures/responses/whois.isnic.is/is/status_available.txt deleted file mode 100644 index 83cffba32..000000000 --- a/spec/fixtures/responses/whois.isnic.is/is/status_available.txt +++ /dev/null @@ -1,7 +0,0 @@ -% This is the ISNIC Whois server. -% -% Rights restricted by copyright. -% See http://www.isnic.is/copyright.php - -% -% No entries found for query "u34jedzcq.is". diff --git a/spec/fixtures/responses/whois.isnic.is/is/status_registered.expected b/spec/fixtures/responses/whois.isnic.is/is/status_registered.expected deleted file mode 100644 index 9f1b9c8d5..000000000 --- a/spec/fixtures/responses/whois.isnic.is/is/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-05-22} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-22} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.isnic.is/is/status_registered.txt b/spec/fixtures/responses/whois.isnic.is/is/status_registered.txt deleted file mode 100644 index e615a5459..000000000 --- a/spec/fixtures/responses/whois.isnic.is/is/status_registered.txt +++ /dev/null @@ -1,55 +0,0 @@ -% This is the ISNIC Whois server. -% -% Rights restricted by copyright. -% See http://www.isnic.is/copyright.php - -domain: google.is -descr: Google Inc -descr: 1600 Ampitheatre Parkway -descr: Mountain View, California 94043 -descr: US -admin-c: GI58-IS -tech-c: MTC2-IS -zone-c: AG49-IS -billing-c: MTC2-IS -nserver: ns1.google.com -nserver: ns2.google.com -created: May 22 2002 -expires: May 22 2014 -source: ISNIC - -person: Markmonitor Tech Contact -address: 391 N. Ancestor Pl. -address: Boise, ID 83704 -address: US -phone: +1 208 3895740 -fax-no: -e-mail: ccops@markmonitor.com -nic-hdl: MTC2-IS -created: July 22 2004 -source: ISNIC - -role: Google Inc. -address: 1600 Amphitheatre Parkway -address: Mountain View, CA 94043 -address: US -phone: -fax-no: -e-mail: ccops@markmonitor.com -nic-hdl: GI58-IS -created: October 9 2012 -source: ISNIC - -person: Amit Garg -address: Google Inc. -address: 1600 Amphitheatre Parkway -address: Mountain View, CA 94043 -address: US -phone: +1 650 3300100 -fax-no: +1 650 6188571 -e-mail: dns-admin@google.com -nic-hdl: AG49-IS -created: October 3 2004 -source: ISNIC - - diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.expected b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.txt b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.txt deleted file mode 100644 index a0e1dd08c..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.txt +++ /dev/null @@ -1,19 +0,0 @@ - -% The data in the WHOIS database of the .il registry is provided -% by ISOC-IL for information purposes, and to assist persons in -% obtaining information about or related to a domain name -% registration record. ISOC-IL does not guarantee its accuracy. -% By submitting a WHOIS query, you agree that you will use this -% Data only for lawful purposes and that, under no circumstances -% will you use this Data to: (1) allow, enable, or otherwise -% support the transmission of mass unsolicited, commercial -% advertising or solicitations via e-mail (spam); -% or (2) enable high volume, automated, electronic processes that -% apply to ISOC-IL (or its systems). -% ISOC-IL reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -% No data was found to match the request criteria. - - -% Rights to the data above are restricted by copyright. diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.expected b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.txt b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.txt deleted file mode 100644 index d0cc559a4..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.txt +++ /dev/null @@ -1,52 +0,0 @@ - -% The data in the WHOIS database of the .il registry is provided -% by ISOC-IL for information purposes, and to assist persons in -% obtaining information about or related to a domain name -% registration record. ISOC-IL does not guarantee its accuracy. -% By submitting a WHOIS query, you agree that you will use this -% Data only for lawful purposes and that, under no circumstances -% will you use this Data to: (1) allow, enable, or otherwise -% support the transmission of mass unsolicited, commercial -% advertising or solicitations via e-mail (spam); -% or (2) enable high volume, automated, electronic processes that -% apply to ISOC-IL (or its systems). -% ISOC-IL reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -query: spd.co.il - -reg-name: spd -domain: spd.co.il - -descr: avi hirsh -descr: beeri 17 -descr: ganney tikva -descr: 55900 -descr: Israel -admin-c: II-AH9666-IL -tech-c: II-AH9666-IL -zone-c: II-AH9666-IL -nserver: ns11.spd.co.il -nserver: ns12.spd.co.il -validity: 21-08-2011 -status: Transfer Allowed -changed: domain-registrar AT isoc.org.il 20010821 (Assigned) -changed: domain-registrar AT isoc.org.il 20031028 (Changed) -changed: domain-registrar AT isoc.org.il 20050126 (Changed) - -person: avi hirsh -address: sPD -address: beeri 23 -address: ganney tikva -address: 55900 -address: Israel -phone: 972-68-719751 -e-mail: admin AT spd.co.il -nic-hdl: II-AH9666-IL -changed: domain-registrar AT isoc.org.il 20010821 -changed: domain-registrar AT isoc.org.il 20031028 - -registrar name: Israel Internet Association ISOC-IL -registrar info: www.isoc.org.il - -% Rights to the data above are restricted by copyright. diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.expected b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.txt b/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.txt deleted file mode 100644 index 836101142..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.txt +++ /dev/null @@ -1,84 +0,0 @@ - -% The data in the WHOIS database of the .il registry is provided -% by ISOC-IL for information purposes, and to assist persons in -% obtaining information about or related to a domain name -% registration record. ISOC-IL does not guarantee its accuracy. -% By submitting a WHOIS query, you agree that you will use this -% Data only for lawful purposes and that, under no circumstances -% will you use this Data to: (1) allow, enable, or otherwise -% support the transmission of mass unsolicited, commercial -% advertising or solicitations via e-mail (spam); -% or (2) enable high volume, automated, electronic processes that -% apply to ISOC-IL (or its systems). -% ISOC-IL reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -domain: isoc.org.il -descr: Israel Internet Association (ISOC-IL) -descr: 6 Bareket st., POB 7210 -descr: Petach Tikva -descr: 49517 -descr: Israel -phone: +972 3 9700900 -fax-no: +972 3 9700901 -e-mail: info-domains AT isoc.org.il -admin-c: II-DS1453-IL -tech-c: II-AB17965-IL -zone-c: II-DS1453-IL -nserver: ns.isoc.org.il -nserver: grappa.isoc.org.il -nserver: aristo.tau.ac.il -nserver: relay.huji.ac.il -nserver: drns.isoc.org.il -nserver: sps-pb.isc.org -validity: N/A -status: Transfer Locked -changed: registrar AT ns.il 19960111 (Assigned) -changed: registrar AT ns.il 19960623 (Changed) -changed: registrar AT ns.il 19990812 (Changed) -changed: domain-registrar AT isoc.org.il 20020617 (Changed) -changed: domain-registrar AT isoc.org.il 20020618 (Changed) -changed: domain-registrar AT isoc.org.il 20030629 (Changed) -changed: domain-registrar AT isoc.org.il 20040420 (Changed) -changed: domain-registrar AT isoc.org.il 20040420 (Changed) -changed: domain-registrar AT isoc.org.il 20050816 (Changed) -changed: domain-registrar AT isoc.org.il 20060611 (Changed) -changed: domain-registrar AT isoc.org.il 20090706 (Changed) -changed: domain-registrar AT isoc.org.il 20100207 (Changed) -changed: domain-registrar AT isoc.org.il 20100509 (Changed) -changed: domain-registrar AT isoc.org.il 20100511 (Changed) -changed: domain-registrar AT isoc.org.il 20101007 (Changed) - -person: Doron Shikmoni -address: Israel Internet Association (ISOC-IL) -address: 6 Bareket st., POB 7210 -address: Petach Tikva -address: 49517 -address: Israel -phone: +972 3 9700900 -fax-no: +972 3 9700901 -e-mail: doron AT isoc.org.il -nic-hdl: II-DS1453-IL -changed: hank AT vm.tau.ac.il 19980702 -changed: registrar AT ns.il 19990812 -changed: domain-registrar AT isoc.org.il 20040420 -changed: domain-registrar AT isoc.org.il 20040420 -changed: Managing Registrar 20090706 - -person: Ariel Biener -address: Israel Internet Associaiton (ISOC-IL) -address: 6 Bareket st., POB 7210 -address: Petach Tikva -address: 49517 -address: Israel -phone: +972 3 9700900 -fax-no: +972 3 9700901 -e-mail: ariel AT isoc.org.il -nic-hdl: II-AB17965-IL -changed: Managing Registrar 20100207 -changed: domain-registrar AT isoc.org.il 20100207 - -registrar name: Israel Internet Association ISOC-IL -registrar info: www.isoc.org.il - -% Rights to the data above are restricted by copyright. diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/status_available.expected b/spec/fixtures/responses/whois.isoc.org.il/il/status_available.expected deleted file mode 100644 index fccfb20cb..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/status_available.txt b/spec/fixtures/responses/whois.isoc.org.il/il/status_available.txt deleted file mode 100644 index a0e1dd08c..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ - -% The data in the WHOIS database of the .il registry is provided -% by ISOC-IL for information purposes, and to assist persons in -% obtaining information about or related to a domain name -% registration record. ISOC-IL does not guarantee its accuracy. -% By submitting a WHOIS query, you agree that you will use this -% Data only for lawful purposes and that, under no circumstances -% will you use this Data to: (1) allow, enable, or otherwise -% support the transmission of mass unsolicited, commercial -% advertising or solicitations via e-mail (spam); -% or (2) enable high volume, automated, electronic processes that -% apply to ISOC-IL (or its systems). -% ISOC-IL reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -% No data was found to match the request criteria. - - -% Rights to the data above are restricted by copyright. diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.expected b/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.expected deleted file mode 100644 index 0dd0b2649..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-16} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns.isoc.org.il" - %s[1] %CLASS{nameserver} - %s[1].name == "grappa.isoc.org.il" - %s[2] %CLASS{nameserver} - %s[2].name == "aristo.tau.ac.il" - %s[3] %CLASS{nameserver} - %s[3].name == "relay.huji.ac.il" - %s[4] %CLASS{nameserver} - %s[4].name == "drns.isoc.org.il" - %s[5] %CLASS{nameserver} - %s[5].name == "sns-pb.isc.org" diff --git a/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.txt b/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.txt deleted file mode 100644 index be1f756df..000000000 --- a/spec/fixtures/responses/whois.isoc.org.il/il/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ - -% The data in the WHOIS database of the .il registry is provided -% by ISOC-IL for information purposes, and to assist persons in -% obtaining information about or related to a domain name -% registration record. ISOC-IL does not guarantee its accuracy. -% By submitting a WHOIS query, you agree that you will use this -% Data only for lawful purposes and that, under no circumstances -% will you use this Data to: (1) allow, enable, or otherwise -% support the transmission of mass unsolicited, commercial -% advertising or solicitations via e-mail (spam); -% or (2) enable high volume, automated, electronic processes that -% apply to ISOC-IL (or its systems). -% ISOC-IL reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -query: isoc.org.il - -reg-name: isoc -domain: isoc.org.il - -descr: Israel Internet Association (ISOC-IL) -descr: 6 Bareket st., POB 7210 -descr: Petach Tikva -descr: 49517 -descr: Israel -phone: +972 3 9700900 -fax-no: +972 3 9700901 -e-mail: info-domains AT isoc.org.il -admin-c: II-DB11403-IL -tech-c: II-DB11403-IL -zone-c: II-DB11403-IL -nserver: ns.isoc.org.il -nserver: grappa.isoc.org.il -nserver: aristo.tau.ac.il -nserver: relay.huji.ac.il -nserver: drns.isoc.org.il -nserver: sns-pb.isc.org -validity: N/A -status: Transfer Locked -changed: registrar AT ns.il 19960111 (Assigned) -changed: registrar AT ns.il 19960623 (Changed) -changed: registrar AT ns.il 19990812 (Changed) -changed: domain-registrar AT isoc.org.il 20020617 (Changed) -changed: domain-registrar AT isoc.org.il 20020618 (Changed) -changed: domain-registrar AT isoc.org.il 20030629 (Changed) -changed: domain-registrar AT isoc.org.il 20040420 (Changed) -changed: domain-registrar AT isoc.org.il 20040420 (Changed) -changed: domain-registrar AT isoc.org.il 20050816 (Changed) -changed: domain-registrar AT isoc.org.il 20060611 (Changed) -changed: domain-registrar AT isoc.org.il 20090706 (Changed) -changed: domain-registrar AT isoc.org.il 20100207 (Changed) -changed: domain-registrar AT isoc.org.il 20100509 (Changed) -changed: domain-registrar AT isoc.org.il 20100511 (Changed) -changed: domain-registrar AT isoc.org.il 20101007 (Changed) -changed: domain-registrar AT isoc.org.il 20120506 (Changed) -changed: domain-registrar AT isoc.org.il 20140116 (Changed) - -person: Dina Beer -address: Israel Internet Association (ISOC-IL) -address: 6 Bareket st., POB 7210 -address: Petach Tikva -address: 49517 -address: Israel -phone: +972 3 9700900 -fax-no: +972 3 9700901 -e-mail: dina.b AT isoc.org.il -nic-hdl: II-DB11403-IL -changed: domain-registrar AT isoc.org.il 20140116 - -registrar name: Israel Internet Association ISOC-IL -registrar info: www.isoc.org.il - -% Rights to the data above are restricted by copyright. diff --git a/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected b/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.txt b/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.txt deleted file mode 100644 index 90ebb7f86..000000000 --- a/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ - -No such domain u34jedzcq.ac.uk - diff --git a/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected b/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected deleted file mode 100644 index d364164ff..000000000 --- a/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected +++ /dev/null @@ -1,38 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-11-07} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-03-20} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-16} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "agate.lut.ac.uk" - %s[0].ipv4 == "158.125.1.100" - %s[1] %CLASS{nameserver} - %s[1].name == "bgate.lut.ac.uk" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "cgate.lut.ac.uk" - %s[2].ipv4 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.ja.net" - %s[3].ipv4 == nil diff --git a/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.txt b/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.txt deleted file mode 100644 index 1ca65dd6f..000000000 --- a/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.txt +++ /dev/null @@ -1,39 +0,0 @@ - -Domain: - lboro.ac.uk - -Registered For: - Loughborough University - -Domain Owner: - Loughborough University - -Registered By: - Jisc Collections and Janet Limited - -Servers: - agate.lut.ac.uk 158.125.1.100 - bgate.lut.ac.uk - cgate.lut.ac.uk - ns3.ja.net - -Registrant Contact: - M S Cook - -Registrant Address: - Computing Services, Loughborough University, Loughborough, Leicestershire - LE11 3TU - United Kingdom - +44 1509 223498 (Phone) - +44 1509 223989 (FAX) - m.s.cook@lboro.ac.uk - -Renewal date: - Monday 16th Jun 2014 - -Entry updated: - Wednesday 20th March 2013 - -Entry created: - Friday 7th November 2003 - diff --git a/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected b/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.txt b/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.txt deleted file mode 100644 index 895b8a246..000000000 --- a/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ - -No such domain u34jedzcq.gov.uk - diff --git a/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected b/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected deleted file mode 100644 index 3acf5d9a8..000000000 --- a/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected +++ /dev/null @@ -1,42 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-09-17} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-01-13} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-03-30} - - -#nameservers - %s %CLASS{array} - %s %SIZE{8} - %s[0] %CLASS{nameserver} - %s[0].name == "eur5.akam.net" - %s[1] %CLASS{nameserver} - %s[1].name == "eur6.akam.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1-173.akam.net" - %s[3] %CLASS{nameserver} - %s[3].name == "ns1-31.akam.net" - %s[4] %CLASS{nameserver} - %s[4].name == "usc4.akam.net" - %s[5] %CLASS{nameserver} - %s[5].name == "use10.akam.net" - %s[6] %CLASS{nameserver} - %s[6].name == "usw2.akam.net" - %s[7] %CLASS{nameserver} - %s[7].name == "usw4.akam.net" diff --git a/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.txt b/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.txt deleted file mode 100644 index dcedf769f..000000000 --- a/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.txt +++ /dev/null @@ -1,45 +0,0 @@ - -Domain: - direct.gov.uk - -Registered For: - Directgov - -Domain Owner: - Department for Work and Pensions - -Registered By: - NTT Europe Online Ltd - -Servers: - eur5.akam.net - eur6.akam.net - ns1-173.akam.net - ns1-31.akam.net - usc4.akam.net - use10.akam.net - usw2.akam.net - usw4.akam.net - -Registrant Contact: - Directgov Director - -Registrant Address: - Hercules House - Hercules Road - London - SE1 7DU - United Kingdom - +44 207 261 8723 (Phone) - +44 207 261 8696 (FAX) - helpdesk@directgov.gsi.gov.uk - -Renewal date: - Wednesday 30th Mar 2011 - -Entry updated: - Wednesday 13th January 2010 - -Entry created: - Wednesday 17th September 2003 - diff --git a/spec/fixtures/responses/whois.je/je/status_available.expected b/spec/fixtures/responses/whois.je/je/status_available.expected deleted file mode 100644 index b52f8be24..000000000 --- a/spec/fixtures/responses/whois.je/je/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.je" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.je/je/status_available.txt b/spec/fixtures/responses/whois.je/je/status_available.txt deleted file mode 100644 index fd1bbe8ff..000000000 --- a/spec/fixtures/responses/whois.je/je/status_available.txt +++ /dev/null @@ -1,33 +0,0 @@ -This information is provided free of charge from the Channel Islands' -Register of Internet Names. The copyright and database rights in this -information and in the contents are owned by Island Networks (Jersey) Ltd. -whose registered office is at 10 Hilgrove St, St Helier JE4 8SU - -WHOIS query results shown may lag behind the Register. - -You may not access this server or use any data obtained from it -without written licence except for private, non-commercial use for the -purpose(s) of determining availability of, or confirming registration of -a domain name on the Register. - -Any other use constitutes unauthorised access to a computer, -which is a statutory offence under the Computer Misuse -(Jersey) Law 1995, and/or similar legislation -in other parts of the British Islands and elsewhere. - -Furthermore, you may never do any of the following - -(a) use data obtained from this server for advertising; -(b) repackage, reuse or redistribute the data; -(c) obscure, remove or hide any or all of this notice; or -(d) make excessive queries. - -Access may be withdrawn or restricted at any time -without notice. - -Domain Information -Query: u34jedzcq.je -Status: Not Registered - - - diff --git a/spec/fixtures/responses/whois.je/je/status_registered.expected b/spec/fixtures/responses/whois.je/je/status_registered.expected deleted file mode 100644 index 5fa893a22..000000000 --- a/spec/fixtures/responses/whois.je/je/status_registered.expected +++ /dev/null @@ -1,39 +0,0 @@ -#domain - %s == "google.je" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-10-31 00:00:00 UTC} - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.je/je/status_registered.txt b/spec/fixtures/responses/whois.je/je/status_registered.txt deleted file mode 100644 index 20063f52e..000000000 --- a/spec/fixtures/responses/whois.je/je/status_registered.txt +++ /dev/null @@ -1,48 +0,0 @@ -This information is provided free of charge from the Channel Islands' -Register of Internet Names. The copyright and database rights in this -information and in the contents are owned by Island Networks (Jersey) Ltd. -whose registered office is at 10 Hilgrove St, St Helier JE4 8SU - -WHOIS query results shown may lag behind the Register. - -You may not access this server or use any data obtained from it -without written licence except for private, non-commercial use for the -purpose(s) of determining availability of, or confirming registration of -a domain name on the Register. - -Any other use constitutes unauthorised access to a computer, -which is a statutory offence under the Computer Misuse -(Jersey) Law 1995, and/or similar legislation -in other parts of the British Islands and elsewhere. - -Furthermore, you may never do any of the following - -(a) use data obtained from this server for advertising; -(b) repackage, reuse or redistribute the data; -(c) obscure, remove or hide any or all of this notice; or -(d) make excessive queries. - -Access may be withdrawn or restricted at any time -without notice. - -Domain Information -Query: google.je -Status: Active -Created: 31 Oct 2002 00:00 UTC -Name Servers: - ns1.google.com - ns2.google.com - ns4.google.com - ns3.google.com - -Registrar Information -Registrar Name: MarkMonitor Inc. -Registration URL: http://www.markmonitor.com - - - - -Registrant: -Name: Google Inc. -Organisation: Google Inc. - diff --git a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.expected b/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.expected deleted file mode 100644 index 88c61dd8a..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :suspended - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.txt b/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.txt deleted file mode 100644 index 84512971c..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.txt +++ /dev/null @@ -1,18 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] GAYLIFE.CO.JP -g. [Organization] Suspended Domain Name -l. [Organization Type] Suspended Domain Name -m. [Administrative Contact] -n. [Technical Contact] -p. [Name Server] -s. [Signing Key] -[State] Deleted (2013/01/31) -[Registered Date] -[Connected Date] -[Last Update] 2012/08/08 12:00:43 (JST) - diff --git a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.expected b/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.txt b/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.txt deleted file mode 100644 index 0d80ccb55..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -IP: UNABLE TO RESOLVE -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] AHOO.CO.JP -g. [Organization] yamazakipan corp. -l. [Organization Type] Corporation -m. [Administrative Contact] TY20986JP -n. [Technical Contact] TY20986JP -p. [Name Server] -s. [Signing Key] -[State] Registered (2014/03/31) -[Registered Date] 2013/03/20 -[Connected Date] -[Last Update] 2013/07/08 16:50:07 (JST) - diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.expected b/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.expected deleted file mode 100644 index 42a9e8a39..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.txt b/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.txt deleted file mode 100644 index 8e9569e32..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.txt +++ /dev/null @@ -1,27 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -[Domain Name] VEGANWIZ.JP - -[Registrant] - -[Name Server] -[Signing Key] - -[Created on] 2010/07/07 -[Expires on] 2012/08/31 -[Status] Suspended -[Last Updated] 2012/08/01 00:29:53 (JST) - -Contact Information: -[Name] -[Email] -[Web Page] -[Postal code] -[Postal Address] -[Phone] -[Fax] - diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.expected b/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.txt b/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.txt deleted file mode 100644 index a0ce2f155..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.txt +++ /dev/null @@ -1,28 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -[Domain Name] FLIRTBOX.JP - -[Registrant] Tobias Marx - -[Name Server] ns1.hans.hosteurope.de -[Name Server] ns2.hans.hosteurope.de -[Signing Key] - -[Created on] 2003/12/09 -[Expires on] 2011/12/31 -[Status] To be suspended -[Last Updated] 2011/12/21 18:30:48 (JST) - -Contact Information: -[Name] Tobias Marx -[Email] superoverdrive@gmx.de -[Web Page] -[Postal code] 166-0002 -[Postal Address] 3-43-13 Kouenji-kita Suginami-ku -[Phone] +4915122947636 -[Fax] - diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected b/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected deleted file mode 100644 index a11b5a3f0..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected +++ /dev/null @@ -1,3 +0,0 @@ -#updated_on - %s %CLASS{time} - %s %TIME{2010-10-18 11:30:47 JST} diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.txt b/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.txt deleted file mode 100644 index 3439a533b..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.txt +++ /dev/null @@ -1,28 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -[Domain Name] FASHIONWATCH.JP - -[Registrant] coco coco - -[Name Server] ns172.ip-asia.com -[Name Server] ns171.ip-asia.com - -[Created on] 2009/05/11 -[Expires on] 2011/05/31 -[Status] Active -[Last Updated] 2010/10/18 11:30:47 (JST) - -Contact Information: -[Name] coco coco -[Email] wld19800720@163.com -[Web Page] -[Postal code] 166-0002 -[Postal Address] 3-43-13 Koenji-kita - Suginami-ku - Tokyo -[Phone] 1312748435 -[Fax] diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected b/spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_available.txt b/spec/fixtures/responses/whois.jprs.jp/jp/status_available.txt deleted file mode 100644 index 6abd74fa8..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -No match!! - -With JPRS WHOIS, you can query the following domain name information -sponsored by JPRS. - - All of registered JP domain name - - gTLD domain name of which sponsoring registrar is JPRS -Detail: http://jprs.jp/about/dom-search/jprs-whois/ (only in Japanese) - -For IP address information, please refer to the following WHOIS servers: - - JPNIC WHOIS (whois.nic.ad.jp) - - APNIC WHOIS (whois.apnic.net) - - ARIN WHOIS (whois.arin.net) - - RIPE WHOIS (whois.ripe.net) - - LACNIC WHOIS (whois.lacnic.net) - - AfriNIC WHOIS (whois.afrinic.net) - diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected b/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected deleted file mode 100644 index 4092fec4a..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-05-30} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-06-01 01:05:07} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-31} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.txt b/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.txt deleted file mode 100644 index ed59a9a66..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.txt +++ /dev/null @@ -1,32 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -[Domain Name] GOOGLE.JP - -[Registrant] Google Inc. - -[Name Server] ns1.google.com -[Name Server] ns2.google.com -[Name Server] ns3.google.com -[Name Server] ns4.google.com -[Signing Key] - -[Created on] 2005/05/30 -[Expires on] 2014/05/31 -[Status] Active -[Last Updated] 2013/06/01 01:05:07 (JST) - -Contact Information: -[Name] Google Inc. -[Email] dns-admin@google.com -[Web Page] -[Postal code] 94043 -[Postal Address] Mountain View - 1600 Amphitheatre Parkway - US -[Phone] 16502530000 -[Fax] 16502530001 - diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected b/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected deleted file mode 100644 index ca0447f68..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected +++ /dev/null @@ -1,24 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s == nil - -#updated_on - %s %CLASS{time} - %s %TIME{2001-02-21 00:00:00} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.txt b/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.txt deleted file mode 100644 index 1505cdbff..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.txt +++ /dev/null @@ -1,27 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -[Domain Name] EXAMPLE.JP - -[Registrant] - -[Name Server] -[Signing Key] - -[Created on] -[Expires on] -[Status] Reserved -[Last Updated] 2001/02/21 00:00:00 (JST) - -Contact Information: -[Name] -[Email] -[Web Page] -[Postal code] -[Postal Address] -[Phone] -[Fax] - diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.expected b/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.expected deleted file mode 100644 index 5a79c9509..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.expected +++ /dev/null @@ -1,2 +0,0 @@ -#created_on - %s == nil diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.txt b/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.txt deleted file mode 100644 index 376d2710d..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.txt +++ /dev/null @@ -1,20 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] U-TOKYO.AC.JP -g. [Organization] University of Tokyo -l. [Organization Type] National University -m. [Administrative Contact] MN010JP -n. [Technical Contact] MN010JP -n. [Technical Contact] YS7474JP -p. [Name Server] dns1.nc.u-tokyo.ac.jp -p. [Name Server] dns2.nc.u-tokyo.ac.jp -p. [Name Server] dns3.nc.u-tokyo.ac.jp -s. [Signing Key] -[State] Connected (2012/03/31) -[Registered Date] -[Connected Date] -[Last Update] 2011/04/01 01:35:47 (JST) diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.expected b/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.expected deleted file mode 100644 index e5b50f284..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.txt b/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.txt deleted file mode 100644 index a71e43b47..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.txt +++ /dev/null @@ -1,24 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] NE.JP -d. [Network Service Name] Network Service Domain -l. [Organization Type] -m. [Administrative Contact] -n. [Technical Contact] -p. [Name Server] a.dns.jp -p. [Name Server] b.dns.jp -p. [Name Server] c.dns.jp -p. [Name Server] d.dns.jp -p. [Name Server] e.dns.jp -p. [Name Server] f.dns.jp -p. [Name Server] g.dns.jp -s. [Signing Key] -[State] Reserved -[Registered Date] -[Connected Date] -[Last Update] 2005/03/30 17:37:52 (JST) - diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.txt b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.txt deleted file mode 100644 index 3757790aa..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.txt +++ /dev/null @@ -1,17 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -No match!! - -With JP WHOIS, you can query JP domain name information. -Detail: http://jprs.jp/info/jp-whois/ - -For IP address information, please refer to the following WHOIS servers: - - JPNIC WHOIS (whois.nic.ad.jp) - - APNIC WHOIS (whois.apnic.net) - - ARIN WHOIS (whois.arin.net) - - RIPE WHOIS (whois.ripe.net) - - LACNIC WHOIS (whois.lacnic.net) - - AfriNIC WHOIS (whois.afrinic.net) diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected deleted file mode 100644 index b45a55e8c..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-09-11} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-10-23 19:22:08} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-09-30} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.txt b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.txt deleted file mode 100644 index fe22532e6..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] GOOGLE.NE.JP -d. [Network Service Name] Google Inc. -l. [Organization Type] Network Service -m. [Administrative Contact] HR058JP -n. [Technical Contact] TW38378JP -p. [Name Server] ns1.google.com -p. [Name Server] ns2.google.com -p. [Name Server] ns3.google.com -p. [Name Server] ns4.google.com -[State] Connected (2010/09/30) -[Registered Date] 2003/09/11 -[Connected Date] 2003/09/11 -[Last Update] 2009/10/23 19:22:08 (JST) diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.expected b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.expected deleted file mode 100644 index e5b50f284..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.txt b/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.txt deleted file mode 100644 index a71e43b47..000000000 --- a/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.txt +++ /dev/null @@ -1,24 +0,0 @@ -[ JPRS database provides information on network administration. Its use is ] -[ restricted to network administration purposes. For further information, ] -[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] -[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] - -Domain Information: -a. [Domain Name] NE.JP -d. [Network Service Name] Network Service Domain -l. [Organization Type] -m. [Administrative Contact] -n. [Technical Contact] -p. [Name Server] a.dns.jp -p. [Name Server] b.dns.jp -p. [Name Server] c.dns.jp -p. [Name Server] d.dns.jp -p. [Name Server] e.dns.jp -p. [Name Server] f.dns.jp -p. [Name Server] g.dns.jp -s. [Signing Key] -[State] Reserved -[Registered Date] -[Connected Date] -[Last Update] 2005/03/30 17:37:52 (JST) - diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.expected b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.txt b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.txt deleted file mode 100644 index f1adb3d87..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.txt +++ /dev/null @@ -1,22 +0,0 @@ -% Copyright KENIC - -% The data below is provided for information purposes -% and to assist persons in obtaining information about or -% related to domain name registrations. -% By submitting a whois query, you agree to use this data -% only for lawful purposes. - - -% remarks: Security issues should also be addressed to noc@kenic.or.ke -% remarks: Mail abuse issues should also be addressed to abuse@kenic.or.ke - -% whois.kenic.or.ke accepts only direct match queries. -% Types of queries are: domains (.KE) and POCs. - - -Domain Information -Query: u34jedzcq.ke -Status: Not Registered - - - diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.expected b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.expected deleted file mode 100644 index b9bcb107a..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.expected +++ /dev/null @@ -1,27 +0,0 @@ -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - -#invalid? - %s == true diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.txt b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.txt deleted file mode 100644 index 2b93c6ccc..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.txt +++ /dev/null @@ -1,22 +0,0 @@ -% Copyright KENIC - -% The data below is provided for information purposes -% and to assist persons in obtaining information about or -% related to domain name registrations. -% By submitting a whois query, you agree to use this data -% only for lawful purposes. - - -% remarks: Security issues should also be addressed to noc@kenic.or.ke -% remarks: Mail abuse issues should also be addressed to abuse@kenic.or.ke - -% whois.kenic.or.ke accepts only direct match queries. -% Types of queries are: domains (.KE) and POCs. - - -Domain Information -Query: www.housekenya.co.ke -Status: This WHOIS server does not have any records for that zone. - - - diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.expected b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.expected deleted file mode 100644 index 1044ee937..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-18 00:00:00 EAT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-16 12:48:00 EAT} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-01 00:00:00 EAT} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.txt b/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.txt deleted file mode 100644 index 95c511b0a..000000000 --- a/spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.txt +++ /dev/null @@ -1,77 +0,0 @@ -% Copyright KENIC - -% The data below is provided for information purposes -% and to assist persons in obtaining information about or -% related to domain name registrations. -% By submitting a whois query, you agree to use this data -% only for lawful purposes. - - -% remarks: Security issues should also be addressed to noc@kenic.or.ke -% remarks: Mail abuse issues should also be addressed to abuse@kenic.or.ke - -% whois.kenic.or.ke accepts only direct match queries. -% Types of queries are: domains (.KE) and POCs. - - -Domain Information -Query: google.co.ke -Status: Active -Created: 18 Apr 2003 00:00 EAT -Modified: 16 Dec 2013 12:48 EAT -Expires: 01 Jan 2015 00:00 EAT -Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -Registrar Information -Registrar Name: Afriregister Limited - - - - -Registrant: -Name: DNS Admin -Organisation: Google Inc. -Address: - 1600 Amphitheatre Parkway - Mountain View, CA 94043 - US -Phone Number: +1.6502530000 - - -Admin Contact: -Name: DNS Admin -Organisation: Google Inc. -Address: - 1600 Amphitheatre Parkway - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com -Phone Number: +1.6502530000 - - -Technical Contact: -Name: DNS Admin -Organisation: Google Inc. -Address: - 1600 Amphitheatre Parkway - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com -Phone Number: +1.6502530000 - - -Billing Contact: -Name: Domain Administrator -Organisation: MarkMonitor Inc. -Address: - 391 N. Ancestor Place - Boise, ID 83704 - US -Email Address: ccopsbilling@markmonitor.com -Phone Number: +1.2083895740 -Fax Number: +1.2083895771 - diff --git a/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.expected deleted file mode 100644 index a4b98230a..000000000 --- a/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "prmns.lg.co.kr" - %s[0].ipv4 == "165.243.5.15" - %s[1] %CLASS{nameserver} - %s[1].name == "secns.lg.co.kr" - %s[1].ipv4 == "203.247.133.133" diff --git a/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.txt deleted file mode 100644 index deb5adbee..000000000 --- a/spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.txt +++ /dev/null @@ -1,63 +0,0 @@ -query : lg.co.kr - - -# KOREAN(UTF8) - -도메인이름 : lg.co.kr -등록인 : 주식회사 엘지 -등록인 주소 : 서울시 영등포구 여의도동 20 LG트윈타워 -등록인 우편번호 : 150721 -책임자 : 도메인관리자 -책임자 전자우편 : young@lg.com -책임자 전화번호 : 02-3773-2322 -등록일 : 1995. 03. 20. -최근 정보 변경일 : 2012. 02. 28. -사용 종료일 : 2021. 10. 15. -정보공개여부 : Y -등록대행자 : (주)후이즈(http://whois.co.kr) - -1차 네임서버 정보 - 호스트이름 : prmns.lg.co.kr - IP 주소 : 165.243.5.15 - -2차 네임서버 정보 - 호스트이름 : secns.lg.co.kr - IP 주소 : 203.247.133.133 - -네임서버 이름이 .kr이 아닌 경우는 IP주소가 보이지 않습니다. - - -# ENGLISH - -Domain Name : lg.co.kr -Registrant : LG Corp. -Registrant Address : LG Twintower 20, Youido-dong, Youngdeungpo-gu,, Seoul -Registrant Zip Code : 150721 -Administrative Contact(AC) : Domain-Manager -AC E-Mail : young@lg.com -AC Phone Number : 02-3773-2322 -Registered Date : 1995. 03. 20. -Last Updated Date : 2012. 02. 28. -Expiration Date : 2021. 10. 15. -Publishes : Y -Authorized Agency : Whois Corp.(http://whois.co.kr) - -Primary Name Server - Host Name : prmns.lg.co.kr - IP Address : 165.243.5.15 - -Secondary Name Server - Host Name : secns.lg.co.kr - IP Address : 203.247.133.133 - - -상기 정보는 UTF-8 인코딩되어 서비스되고 있습니다. -EUC-KR 인코딩 서비스는 oldwhois.kisa.or.kr에서 서비스 되고 있습니다. -The above information is encoded with UTF-8 -EUC-KR encoding WHOIS is being serviced in this URL:oldwhois.kisa.or.kr - - -- KISA/KRNIC Whois Service - - - - diff --git a/spec/fixtures/responses/whois.kr/kr/status_available.expected b/spec/fixtures/responses/whois.kr/kr/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.kr/kr/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.kr/kr/status_available.txt b/spec/fixtures/responses/whois.kr/kr/status_available.txt deleted file mode 100644 index e2cbba7fc..000000000 --- a/spec/fixtures/responses/whois.kr/kr/status_available.txt +++ /dev/null @@ -1,23 +0,0 @@ -query : u34jedzcq.kr - - -# KOREAN(UTF8) - -상기 도메인이름은 등록되어 있지 않습니다. - - -# ENGLISH - -Above domain name is not registered to KRNIC. - - -상기 정보는 UTF-8 인코딩되어 서비스되고 있습니다. -EUC-KR 인코딩 서비스는 oldwhois.kisa.or.kr에서 서비스 되고 있습니다. -The above information is encoded with UTF-8 -EUC-KR encoding WHOIS is being serviced in this URL:oldwhois.kisa.or.kr - - -- KISA/KRNIC Whois Service - - - - diff --git a/spec/fixtures/responses/whois.kr/kr/status_registered.expected b/spec/fixtures/responses/whois.kr/kr/status_registered.expected deleted file mode 100644 index 6b304868c..000000000 --- a/spec/fixtures/responses/whois.kr/kr/status_registered.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-03-02} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-10-04} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-02} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.kr/kr/status_registered.txt b/spec/fixtures/responses/whois.kr/kr/status_registered.txt deleted file mode 100644 index 6e2f10ce6..000000000 --- a/spec/fixtures/responses/whois.kr/kr/status_registered.txt +++ /dev/null @@ -1,59 +0,0 @@ -query : google.kr - - -# KOREAN(UTF8) - -도메인이름 : google.kr -등록인 : 구글코리아유한회사 -등록인 주소 : 서울시 강남구 역삼동 737 강남파이낸스센터 22층 -등록인 우편번호 : 135984 -책임자 : Domain Administrator -책임자 전자우편 : dns-admin@google.com -책임자 전화번호 : 82.25319000 -등록일 : 2007. 03. 02. -최근 정보 변경일 : 2010. 10. 04. -사용 종료일 : 2015. 03. 02. -정보공개여부 : Y -등록대행자 : (주)후이즈(http://whois.co.kr) - -1차 네임서버 정보 - 호스트이름 : ns1.google.com - -2차 네임서버 정보 - 호스트이름 : ns2.google.com - -네임서버 이름이 .kr이 아닌 경우는 IP주소가 보이지 않습니다. - - -# ENGLISH - -Domain Name : google.kr -Registrant : Google Korea, LLC -Registrant Address : 22nd Floor Gangnam Finance Center, 737 Yeoksam-dong Kangnam-ku Seoul -Registrant Zip Code : 135984 -Administrative Contact(AC) : Domain Administrator -AC E-Mail : dns-admin@google.com -AC Phone Number : 82.25319000 -Registered Date : 2007. 03. 02. -Last Updated Date : 2010. 10. 04. -Expiration Date : 2015. 03. 02. -Publishes : Y -Authorized Agency : Whois Corp.(http://whois.co.kr) - -Primary Name Server - Host Name : ns1.google.com - -Secondary Name Server - Host Name : ns2.google.com - - -상기 정보는 UTF-8 인코딩되어 서비스되고 있습니다. -EUC-KR 인코딩 서비스는 oldwhois.kisa.or.kr에서 서비스 되고 있습니다. -The above information is encoded with UTF-8 -EUC-KR encoding WHOIS is being serviced in this URL:oldwhois.kisa.or.kr - - -- KISA/KRNIC Whois Service - - - - diff --git a/spec/fixtures/responses/whois.markmonitor.com/com/status_registered.txt b/spec/fixtures/responses/whois.markmonitor.com/com/status_registered.txt deleted file mode 100644 index 517113ce4..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/com/status_registered.txt +++ /dev/null @@ -1,84 +0,0 @@ -Domain Name: google.com -Registry Domain ID: -Registrar WHOIS Server: whois.markmonitor.com -Registrar URL: http://www.markmonitor.com -Updated Date: 2013-12-06T08:17:22-0800 -Creation Date: 2002-10-02T00:00:00-0700 -Registrar Registration Expiration Date: 2020-09-13T21:00:00-0700 -Registrar: MarkMonitor, Inc. -Registrar IANA ID: 292 -Registrar Abuse Contact Email: compliance@markmonitor.com -Registrar Abuse Contact Phone: +1.2083895740 -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: clientDeleteProhibited -Registry Registrant ID: -Registrant Name: Dns Admin -Registrant Organization: Google Inc. -Registrant Street: Please contact contact-admin@google.com, 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Registry Admin ID: -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Registry Tech ID: -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 2400 E. Bayshore Pkwy -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6503300100 -Tech Phone Ext: -Tech Fax: +1.6506181499 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: ns1.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com -Name Server: ns2.google.com -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2014-03-18T06:33:25-0700 <<< - -The Data in MarkMonitor.com's WHOIS database is provided by MarkMonitor.com for -information purposes, and to assist persons in obtaining information about or -related to a domain name registration record. MarkMonitor.com does not guarantee -its accuracy. By submitting a WHOIS query, you agree that you will use this Data -only for lawful purposes and that, under no circumstances will you use this Data to: - (1) allow, enable, or otherwise support the transmission of mass unsolicited, - commercial advertising or solicitations via e-mail (spam); or - (2) enable high volume, automated, electronic processes that apply to - MarkMonitor.com (or its systems). -MarkMonitor.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by this policy. - -MarkMonitor is the Global Leader in Online Brand Protection. - -MarkMonitor Domain Management(TM) -MarkMonitor Brand Protection(TM) -MarkMonitor AntiPiracy(TM) -MarkMonitor AntiFraud(TM) -Professional and Managed Services - -Visit MarkMonitor at http://www.markmonitor.com -Contact us at +1.8007459229 -In Europe, at +44.02032062220 --- diff --git a/spec/fixtures/responses/whois.markmonitor.com/net/status_registered.txt b/spec/fixtures/responses/whois.markmonitor.com/net/status_registered.txt deleted file mode 100644 index 2f5b0702e..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/net/status_registered.txt +++ /dev/null @@ -1,84 +0,0 @@ -Domain Name: google.net -Registry Domain ID: -Registrar WHOIS Server: whois.markmonitor.com -Registrar URL: http://www.markmonitor.com -Updated Date: 2014-02-11T02:23:44-0800 -Creation Date: 2002-10-02T00:00:00-0700 -Registrar Registration Expiration Date: 2015-03-14T21:00:00-0700 -Registrar: MarkMonitor, Inc. -Registrar IANA ID: 292 -Registrar Abuse Contact Email: compliance@markmonitor.com -Registrar Abuse Contact Phone: +1.2083895740 -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: clientDeleteProhibited -Registry Registrant ID: -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6506234000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Registry Admin ID: -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Registry Tech ID: -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6506234000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns4.google.com -Name Server: ns3.google.com -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2014-03-18T06:37:44-0700 <<< - -The Data in MarkMonitor.com's WHOIS database is provided by MarkMonitor.com for -information purposes, and to assist persons in obtaining information about or -related to a domain name registration record. MarkMonitor.com does not guarantee -its accuracy. By submitting a WHOIS query, you agree that you will use this Data -only for lawful purposes and that, under no circumstances will you use this Data to: - (1) allow, enable, or otherwise support the transmission of mass unsolicited, - commercial advertising or solicitations via e-mail (spam); or - (2) enable high volume, automated, electronic processes that apply to - MarkMonitor.com (or its systems). -MarkMonitor.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by this policy. - -MarkMonitor is the Global Leader in Online Brand Protection. - -MarkMonitor Domain Management(TM) -MarkMonitor Brand Protection(TM) -MarkMonitor AntiPiracy(TM) -MarkMonitor AntiFraud(TM) -Professional and Managed Services - -Visit MarkMonitor at http://www.markmonitor.com -Contact us at +1.8007459229 -In Europe, at +44.02032062220 - diff --git a/spec/fixtures/responses/whois.markmonitor.com/response_throttled.expected b/spec/fixtures/responses/whois.markmonitor.com/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.markmonitor.com/response_throttled.txt b/spec/fixtures/responses/whois.markmonitor.com/response_throttled.txt deleted file mode 100644 index d98b6e1cb..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -You have exceeded your quota of queries. diff --git a/spec/fixtures/responses/whois.markmonitor.com/status_available.expected b/spec/fixtures/responses/whois.markmonitor.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.markmonitor.com/status_available.txt b/spec/fixtures/responses/whois.markmonitor.com/status_available.txt deleted file mode 100644 index 5a7c5a5cc..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/status_available.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - -No match for "U34JEDZCQ.COM". ->>> Last update of whois database: Tue, 26 Nov 2013 18:16:57 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. diff --git a/spec/fixtures/responses/whois.markmonitor.com/status_registered.expected b/spec/fixtures/responses/whois.markmonitor.com/status_registered.expected deleted file mode 100644 index 43670a26f..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/status_registered.expected +++ /dev/null @@ -1,112 +0,0 @@ -#domain - %s == "google.com" - -#domain_id - %s == "" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-10-02 00:00:00 -0700} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-29 11:50:06 -0700} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-09-13 21:00:00 -0700} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor, Inc." - %s.organization == "MarkMonitor, Inc." - %s.url == "http://www.markmonitor.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Dns Admin" - %s[0].organization == "Google Inc." - %s[0].address == "Please contact contact-admin@google.com, 1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "2400 E. Bayshore Pkwy" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.markmonitor.com/status_registered.txt b/spec/fixtures/responses/whois.markmonitor.com/status_registered.txt deleted file mode 100644 index 1d8b9001f..000000000 --- a/spec/fixtures/responses/whois.markmonitor.com/status_registered.txt +++ /dev/null @@ -1,84 +0,0 @@ -Domain Name: google.com -Registry Domain ID: -Registrar WHOIS Server: whois.markmonitor.com -Registrar URL: http://www.markmonitor.com -Updated Date: 2013-10-29T11:50:06-0700 -Creation Date: 2002-10-02T00:00:00-0700 -Registrar Registration Expiration Date: 2020-09-13T21:00:00-0700 -Registrar: MarkMonitor, Inc. -Registrar IANA ID: 292 -Registrar Abuse Contact Email: compliance@markmonitor.com -Registrar Abuse Contact Phone: +1.2083895740 -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: clientDeleteProhibited -Registry Registrant ID: -Registrant Name: Dns Admin -Registrant Organization: Google Inc. -Registrant Street: Please contact contact-admin@google.com, 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Registry Admin ID: -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Registry Tech ID: -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 2400 E. Bayshore Pkwy -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6503300100 -Tech Phone Ext: -Tech Fax: +1.6506181499 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: ns2.google.com -Name Server: ns1.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2013-11-26T10:13:53-0800 <<< - -The Data in MarkMonitor.com's WHOIS database is provided by MarkMonitor.com for -information purposes, and to assist persons in obtaining information about or -related to a domain name registration record. MarkMonitor.com does not guarantee -its accuracy. By submitting a WHOIS query, you agree that you will use this Data -only for lawful purposes and that, under no circumstances will you use this Data to: - (1) allow, enable, or otherwise support the transmission of mass unsolicited, - commercial advertising or solicitations via e-mail (spam); or - (2) enable high volume, automated, electronic processes that apply to - MarkMonitor.com (or its systems). -MarkMonitor.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by this policy. - -MarkMonitor is the Global Leader in Online Brand Protection. - -MarkMonitor Domain Management(TM) -MarkMonitor Brand Protection(TM) -MarkMonitor AntiPiracy(TM) -MarkMonitor AntiFraud(TM) -Professional and Managed Services - -Visit MarkMonitor at http://www.markmonitor.com -Contact us at +1.8007459229 -In Europe, at +44.02032062220 --- diff --git a/spec/fixtures/responses/whois.monic.mo/mo/status_available.expected b/spec/fixtures/responses/whois.monic.mo/mo/status_available.expected deleted file mode 100644 index e1874cdb9..000000000 --- a/spec/fixtures/responses/whois.monic.mo/mo/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.monic.mo/mo/status_available.txt b/spec/fixtures/responses/whois.monic.mo/mo/status_available.txt deleted file mode 100644 index e86ea8168..000000000 --- a/spec/fixtures/responses/whois.monic.mo/mo/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ - -Whois Server Version 1.0 - -This whois server contains domain data from the MO zone. - -No match for "U34JEDZCQ.MO". diff --git a/spec/fixtures/responses/whois.monic.mo/mo/status_registered.expected b/spec/fixtures/responses/whois.monic.mo/mo/status_registered.expected deleted file mode 100644 index cf8346a76..000000000 --- a/spec/fixtures/responses/whois.monic.mo/mo/status_registered.expected +++ /dev/null @@ -1,55 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "umac.mo" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MONIC" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "umacsn1.umac.mo" - %s[1] %CLASS{nameserver} - %s[1].name == "umacsn2.umac.mo" diff --git a/spec/fixtures/responses/whois.monic.mo/mo/status_registered.txt b/spec/fixtures/responses/whois.monic.mo/mo/status_registered.txt deleted file mode 100644 index cc9495c15..000000000 --- a/spec/fixtures/responses/whois.monic.mo/mo/status_registered.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Whois Server Version 1.0 - -This whois server contains domain data from the MO zone. - - Domain Name: UMAC.MO - Registrar: MONIC - Whois Server: whois.monic.mo - Referral URL: http;//www.monic.mo/ - Name Server: UMACSN1.UMAC.MO - Name Server: UMACSN2.UMAC.MO diff --git a/spec/fixtures/responses/whois.museum/museum/status_available.expected b/spec/fixtures/responses/whois.museum/museum/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.museum/museum/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.museum/museum/status_available.txt b/spec/fixtures/responses/whois.museum/museum/status_available.txt deleted file mode 100644 index 17e75afed..000000000 --- a/spec/fixtures/responses/whois.museum/museum/status_available.txt +++ /dev/null @@ -1,18 +0,0 @@ -% Musedoma Whois Server Copyright (C) 2007 Museum Domain Management Association -% -% NOTICE: Access to Musedoma Whois information is provided to assist in -% determining the contents of an object name registration record in the -% Musedoma database. The data in this record is provided by Musedoma for -% informational purposes only, and Musedoma does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of Musedoma or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. Musedoma reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -% Object "u34jedzcq.museum" NOT FOUND. diff --git a/spec/fixtures/responses/whois.museum/museum/status_registered.expected b/spec/fixtures/responses/whois.museum/museum/status_registered.expected deleted file mode 100644 index 83a8b281c..000000000 --- a/spec/fixtures/responses/whois.museum/museum/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-11-10 15:23:42 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2002-04-04 17:48:43 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2003-07-31 11:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "nic.museum" - %s[0].ipv4 == "130.242.24.5" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "nic.frd.se" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.museum/museum/status_registered.txt b/spec/fixtures/responses/whois.museum/museum/status_registered.txt deleted file mode 100644 index 85c4c0748..000000000 --- a/spec/fixtures/responses/whois.museum/museum/status_registered.txt +++ /dev/null @@ -1,92 +0,0 @@ -% Musedoma Whois Server Copyright (C) 2007 Museum Domain Management Association -% -% NOTICE: Access to Musedoma Whois information is provided to assist in -% determining the contents of an object name registration record in the -% Musedoma database. The data in this record is provided by Musedoma for -% informational purposes only, and Musedoma does not guarantee its -% accuracy. This service is intended only for query-based access. You -% agree that you will use this data only for lawful purposes and that, -% under no circumstances will you use this data to: (a) allow, enable, -% or otherwise support the transmission by e-mail, telephone or -% facsimile of unsolicited, commercial advertising or solicitations; or -% (b) enable automated, electronic processes that send queries or data -% to the systems of Musedoma or registry operators, except as reasonably -% necessary to register object names or modify existing registrations. -% All rights reserved. Musedoma reserves the right to modify these terms at -% any time. By submitting this query, you agree to abide by this policy. -% -% WARNING: THIS RESPONSE IS NOT AUTHENTIC -% -% The selected character encoding "US-ASCII" is not able to represent all -% characters in this output. Those characters that could not be represented -% have been replaced with the unaccented ASCII equivalents. Please -% resubmit your query with a suitable character encoding in order to receive -% an authentic response. -% -Domain ID: D778-MUSEUM -Domain Name: musedoma.museum -Domain Name ACE: musedoma.museum -Domain Language: -Registrar ID: CORE-904 (Musedoma) -Created On: 2001-11-10 15:23:42 GMT -Last Updated On: 2002-04-04 17:48:43 GMT -Expiration Date: 2003-07-31 11:00:00 GMT -Maintainer: -Status: ok -Registrant ID: AC727-MUSEUM -Registrant Name: n/a -Registrant Organization: Museum Domain Management Association -Registrant Street: Frescativaegen 40 -Registrant City: Stockholm -Registrant State/Province: -Registrant Postal Code: 104 05 -Registrant Country: SE -Registrant Phone: -Registrant Phone Ext: -Registrant Fax: -Registrant Fax Ext: -Registrant Email: ck@nrm.se -Admin ID: C728-MUSEUM -Admin Name: Cary Karp -Admin Organization: Museum Domain Management Association -Admin Street: Frescativaegen 40 -Admin City: Stockholm -Admin State/Province: -Admin Postal Code: 104 05 -Admin Country: SE -Admin Phone: -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: ck@nic.museum -Tech ID: C728-MUSEUM -Tech Name: Cary Karp -Tech Organization: Museum Domain Management Association -Tech Street: Frescativaegen 40 -Tech City: Stockholm -Tech State/Province: -Tech Postal Code: 104 05 -Tech Country: SE -Tech Phone: -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: ck@nic.museum -Billing ID: C728-MUSEUM -Billing Name: Cary Karp -Billing Organization: Museum Domain Management Association -Billing Street: Frescativaegen 40 -Billing City: Stockholm -Billing State/Province: -Billing Postal Code: 104 05 -Billing Country: SE -Billing Phone: -Billing Phone Ext: -Billing Fax: -Billing Fax Ext: -Billing Email: ck@nic.museum -Name Server: nic.museum 130.242.24.5 -Name Server ACE: nic.museum 130.242.24.5 -Name Server: nic.frd.se -Name Server ACE: nic.frd.se - diff --git a/spec/fixtures/responses/whois.mynic.my/my/status_available.expected b/spec/fixtures/responses/whois.mynic.my/my/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.mynic.my/my/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.mynic.my/my/status_available.txt b/spec/fixtures/responses/whois.mynic.my/my/status_available.txt deleted file mode 100644 index 1309fa10e..000000000 --- a/spec/fixtures/responses/whois.mynic.my/my/status_available.txt +++ /dev/null @@ -1,16 +0,0 @@ -Welcome to .my DOMAIN REGISTRY Whois Server. --------------------------------------------------- - For alternative search, - whois -h whois.domainregistry.my xxxxx#option - - Type the command as below for display help: - whois -h whois.domainregistry.my help#h - - - Note: Code is previously known as MYNIC Handle. - Please note that the query limit is 500 per day from the same IP. --------------------------------------------------- - -SEARCH BY DOMAIN NAME - -Domain Name [u34jedzcq.my] does not exist in database diff --git a/spec/fixtures/responses/whois.mynic.my/my/status_registered.expected b/spec/fixtures/responses/whois.mynic.my/my/status_registered.expected deleted file mode 100644 index 150a6ad21..000000000 --- a/spec/fixtures/responses/whois.mynic.my/my/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-05-13} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-11} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-13} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == "216.239.32.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == "216.239.34.10" diff --git a/spec/fixtures/responses/whois.mynic.my/my/status_registered.txt b/spec/fixtures/responses/whois.mynic.my/my/status_registered.txt deleted file mode 100644 index 985b4b0dc..000000000 --- a/spec/fixtures/responses/whois.mynic.my/my/status_registered.txt +++ /dev/null @@ -1,119 +0,0 @@ -Welcome to .my DOMAIN REGISTRY Whois Server. --------------------------------------------------- - For alternative search, - whois -h whois.domainregistry.my xxxxx#option - - Type the command as below for display help: - whois -h whois.domainregistry.my help#h - - - Note: Code is previously known as MYNIC Handle. - Please note that the query limit is 500 per day from the same IP. --------------------------------------------------- - -SEARCH BY DOMAIN NAME - -a [Domain Name] google.my -b [Registration No.] D6A017331 -c [Record Created] 13-MAY-2009 -d [Record Expired] 13-MAY-2014 -e [Record Last Modified] 11-OCT-2013 -f [Invoicing Party] R014 - Network Admin Team - Integricity Corporation Sdn Bhd - L1-46, First Floor, SStwo Mall - 40, Jalan SS2/72 - 47300 Petaling Jaya - Selangor - Malaysia - domain@fatservers.my - (Tel) 603-79570700 - (Fax) 603-79572700 - -g [Registrant Code] INTEG4.ORG - Integricity Corporation Sdn. Bhd. - (532745-U) - L1-46, First Floor, SStwo Mall - 40, Jalan SS2/72 - 47300 Petaling Jaya - Selangor - (Tel) 603-79570700 - (Fax) 603-79572700 - -h [Administrative Contact Code] ALEXLAM3.CON - Network Admin Team - Integricity Corporation Sdn. Bhd. - L1-46, First Floor, SStwo Mall - 40, Jalan SS2/72 - 47300 Petaling Jaya - Selangor - Malaysia - domain@fatservers.my - (Tel) 603-79570700 - (Fax) 603-79572700 - -i [Billing Contact Code] ALEXLAM3.CON - Network Admin Team - Integricity Corporation Sdn. Bhd. - L1-46, First Floor, SStwo Mall - 40, Jalan SS2/72 - 47300 Petaling Jaya - Selangor - Malaysia - domain@fatservers.my - (Tel) 603-79570700 - (Fax) 603-79572700 - -j [Technical Contact Code] ALEXLAM3.CON - Network Admin Team - Integricity Corporation Sdn. Bhd. - L1-46, First Floor, SStwo Mall - 40, Jalan SS2/72 - 47300 Petaling Jaya - Selangor - Malaysia - domain@fatservers.my - (Tel) 603-79570700 - (Fax) 603-79572700 - - k [Primary Name Server] NS1GOOG0.SER - ns1.google.com 216.239.32.10 - - l [Secondary Name Server] NS2GOOG0.SER - ns2.google.com 216.239.34.10 - - -Disclaimer :- - -MYNIC, the Registry for .my has collected this information for the WHOIS -database through a MYNIC-Accredited Reseller. This information is provided to -you for informational purposes only and is designed to assist persons in -determining contents of a domain name registration record in the MYNIC registry -database. - -MYNIC makes this information available to you "as is" and does not guarantee -its accuracy. - -By submitting a WHOIS query, you agree that you will use this data only for -lawful purposes and that, under no circumstances will you use this data: -(1) to allow, enable, or otherwise support the transmission of mass unsolicited, - commercial advertising or solicitations via electronic mail, or otherwise; -(2) for spamming or speculative purposes or commercial purpose; -(3) to enable high volume, automated, electronic processes that apply to the - registry (or its systems) or -(4) for any other abusive purpose - -Compilation, repackaging, dissemination, or other use of the WHOIS database in -its entirety, or of a substantial portion thereof, is not allowed without -MYNIC's prior written permission. MYNIC reserves the right to modify or change -these conditions at any time without prior or subsequent notification of any -kind. By executing this query, in any manner whatsoever, you agree to abide by -these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE -AVAILABILITY OF A DOMAIN NAME. - -All domain names are subject to MYNIC's Registration Rules and Agreement for the -Registration of Domain Name. -For details, please visit our website at www.domainregistry.my. - diff --git a/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.expected b/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.expected deleted file mode 100644 index 4c896095b..000000000 --- a/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.na" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.txt b/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.txt deleted file mode 100644 index 3dd674005..000000000 --- a/spec/fixtures/responses/whois.na-nic.com.na/na/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain Name: u34jedzcq.na -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our whois database through the use of electronic processes that are high-volume and/or automated. - -The contents of the WHOIS is Dr Lisse's intellectual property and is provided by NA-NiC under exclusive license as a service to the Internet community. The data is for information purposes only. NA-NiC does not guarantee its accuracy. By submitting a Whois query, you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA, its members (or CoCCA or member computer systems). - -The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. We reserve the right to enter IP addresses and/or corresponding networks of offenders into our IPTables. - -.NA(R), Copyright(C) 1991, 1995, 2008, 2012 Dr Lisse - ->>> Last update of WHOIS database: 2013-12-18T10:04:59.934Z <<< diff --git a/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.expected b/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.expected deleted file mode 100644 index d7d73311d..000000000 --- a/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "google.na" - -#domain_id - %s == "4100-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-03-27 22:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-22 17:07:58 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-19 23:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" diff --git a/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.txt b/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.txt deleted file mode 100644 index 03af14385..000000000 --- a/spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.txt +++ /dev/null @@ -1,75 +0,0 @@ -Domain Name: google.na -Domain ID: 4100-CoCCA -WHOIS Server: -Referral URL: -Updated Date: 2013-07-22T17:07:58.776Z -Creation Date: 2007-03-27T22:00:00.000Z -Registry Expiry Date: 2014-08-19T23:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited - -Registrant ID: 11969-CoCCA -Registrant Name: Google Inc -Registrant Organization: -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View, CA 94043 -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US -Registrant Email: info@google.na - -Admin ID: 11898-CoCCA -Admin Name: Christina Chiou -Admin Organization: Google Inc -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6503300100 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Tech ID: 11871-CoCCA -Tech Name: CCOPS Provisioning -Tech Organization: MarkMonitor -Tech Street: 10400 Overland Road, PMB 155 -Tech City: Boise, ID 83709 -Tech State/Province: -Tech Postal Code: -Tech Country: US -Tech Email: ccops@markmonitor.com - -Name Server: ns2.google.com -Name Server: ns1.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Inc. 391 N Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: Kevin Pearl -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com -Sponsoring Registrar Admin Contact: Kevin Pearl -Sponsoring Registrar Admin Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our whois database through the use of electronic processes that are high-volume and/or automated. - -The contents of the WHOIS is Dr Lisse's intellectual property and is provided by NA-NiC under exclusive license as a service to the Internet community. The data is for information purposes only. NA-NiC does not guarantee its accuracy. By submitting a Whois query, you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA, its members (or CoCCA or member computer systems). - -The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. We reserve the right to enter IP addresses and/or corresponding networks of offenders into our IPTables. - -.NA(R), Copyright(C) 1991, 1995, 2008, 2012 Dr Lisse - ->>> Last update of WHOIS database: 2013-12-18T10:04:59.934Z <<< diff --git a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.expected b/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.expected deleted file mode 100644 index ad5afa3cd..000000000 --- a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.expected +++ /dev/null @@ -1,15 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "PLAY NEW CALEDONIA" - %s[0].organization == nil - %s[0].address == "12 BOULEVARD VAUBAN\nBP 2839" - %s[0].city == "NOUMEA CEDEX" - %s[0].zip == "98846" - %s[0].state == nil - %s[0].country == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.txt b/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.txt deleted file mode 100644 index 1f7b7384a..000000000 --- a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state.txt +++ /dev/null @@ -1,22 +0,0 @@ - -Whois .NC - -Domain : rya.nc -Created on : 2013-03-15 -Expires on : 2014-03-15 -Last updated on : 2013-03-19 - -Domain server 1 : ns1.linode.com -Domain server 2 : ns2.linode.com -Domain server 3 : ns3.linode.com - -Registrant name : PLAY NEW CALEDONIA -Registrant type : Societe (SARL) -Registrant address 1 : 12 BOULEVARD VAUBAN -Registrant address 2 : BP 2839 -Registrant address 3 : 98846 NOUMEA CEDEX - -Contact firstname : Charly -Contact lastname : Montes - -more details on http://www.whois.nc diff --git a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.expected b/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.expected deleted file mode 100644 index b1fccc1ba..000000000 --- a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.expected +++ /dev/null @@ -1,15 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "DTSI" - %s[0].organization == nil - %s[0].address == "BP 15101" - %s[0].city == "NOUMEA CEDEX" - %s[0].zip == "98804" - %s[0].state == nil - %s[0].country == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil diff --git a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.txt b/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.txt deleted file mode 100644 index f14357d3a..000000000 --- a/spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Whois .NC - -Domain : gouv.nc -Created on : 1999-10-20 -Expires on : 2012-10-20 -Last updated on : 2011-10-20 - -Domain server 1 : ns1.gouv.nc -Domain server 2 : ns2.gouv.nc -Domain server 3 : ns3.gouv.nc - -Registrant name : DTSI -Registrant type : Societe () -Registrant address 1 : BP 15101 -Registrant address 2 : 98804 NOUMEA CEDEX - -Contact firstname : Eric -Contact lastname : Auvinet - -more details on http://www.whois.nc diff --git a/spec/fixtures/responses/whois.nc/nc/status_available.expected b/spec/fixtures/responses/whois.nc/nc/status_available.expected deleted file mode 100644 index 1b9f21934..000000000 --- a/spec/fixtures/responses/whois.nc/nc/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nc/nc/status_available.txt b/spec/fixtures/responses/whois.nc/nc/status_available.txt deleted file mode 100644 index f1a8fdd8c..000000000 --- a/spec/fixtures/responses/whois.nc/nc/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ - -Whois .NC - -No entries found in the .nc database - -more details on http://www.whois.nc diff --git a/spec/fixtures/responses/whois.nc/nc/status_registered.expected b/spec/fixtures/responses/whois.nc/nc/status_registered.expected deleted file mode 100644 index cda42dbd4..000000000 --- a/spec/fixtures/responses/whois.nc/nc/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "domaine.nc" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-05-14} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-03} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-05-14} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "CCTLD" - %s[0].organization == nil - %s[0].address == "1 RUE MONCHOVET\n7 EME ETAGE\nLE WARUNA 1" - %s[0].city == "NOUMEA CEDEX" - %s[0].zip == "98841" - %s[0].state == nil - %s[0].country == "NEW CALEDONIA" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "any-ns1.nc" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.nc" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.nc" diff --git a/spec/fixtures/responses/whois.nc/nc/status_registered.txt b/spec/fixtures/responses/whois.nc/nc/status_registered.txt deleted file mode 100644 index 1ad56c8f5..000000000 --- a/spec/fixtures/responses/whois.nc/nc/status_registered.txt +++ /dev/null @@ -1,24 +0,0 @@ - -Whois .NC - -Domain : domaine.nc -Created on : 2006-05-14 -Expires on : 2016-05-14 -Last updated on : 2013-04-03 - -Domain server 1 : any-ns1.nc -Domain server 2 : ns1.nc -Domain server 3 : ns2.nc - -Registrant name : CCTLD -Registrant type : Societe (CCTLD.NC) -Registrant address 1 : 1 RUE MONCHOVET -Registrant address 2 : 7 EME ETAGE -Registrant address 3 : LE WARUNA 1 -Registrant address 4 : 98841 NOUMEA CEDEX -Registrant address 5 : NEW CALEDONIA - -Contact firstname : Pascal -Contact lastname : Schiavo - -more details on http://www.whois.nc diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_available.expected b/spec/fixtures/responses/whois.netcom.cm/cm/status_available.expected deleted file mode 100644 index 9de89f027..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.cm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_available.txt b/spec/fixtures/responses/whois.netcom.cm/cm/status_available.txt deleted file mode 100644 index 4dbaa69ef..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by Netcom SARL as a service to the internet -community on behalf of Netcom SARL accredited registrars and resellers. - -The data is for information purposes only. Netcom SARL does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to Netcom SARL members (or their computer systems). The -compilation, repackaging, dissemination or other use of this Data is prohibited. - -Domain Information -Query: u34jedzcq.cm -Status: Not Registered - - - diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.expected b/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.expected deleted file mode 100644 index 6f1cd6f7b..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.cm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-10-07 10:02 WAT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-20 17:47 WAT} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-07 10:02 WAT} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.txt b/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.txt deleted file mode 100644 index 4fb350455..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_registered.txt +++ /dev/null @@ -1,72 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by Netcom SARL as a service to the internet -community on behalf of Netcom SARL accredited registrars and resellers. - -The data is for information purposes only. Netcom SARL does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to Netcom SARL members (or their computer systems). The -compilation, repackaging, dissemination or other use of this Data is prohibited. - -Domain Information -Query: google.cm -Status: Active -Created: 07 Oct 2009 10:02 WAT -Modified: 20 Sep 2013 17:47 WAT -Expires: 07 Oct 2014 10:02 WAT -Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -Registrar Information -Registrar Name: MarkMonitor Inc. - - - - -Registrant: -Name: DNS Admin -Organisation: Google Inc. -Address: - 2400 E. Bayshore Pkwy - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com - - -Admin Contact: -Name: DNS Admin -Organisation: Google Inc. -Address: - 2400 E. Bayshore Pkwy - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com - - -Technical Contact: -Name: DNS Admin -Organisation: Google Inc. -Address: - 2400 E. Bayshore Pkwy - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com - - -Billing Contact: -Name: MarkMonitor Inc. -Organisation: MarkMonitor Inc. -Address: - 391 N Ancestor Place - Boise, ID 83704 - US -Email Address: ccopsbilling@markmonitor.com - diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.expected b/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.expected deleted file mode 100644 index b3d4b163f..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "imdb.cm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-08-28 01:00 WAT} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-24 09:17 WAT} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-08-28 01:00 WAT} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Registrar ANTIC" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.refinedhosting.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.refinedhosting.net" diff --git a/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.txt b/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.txt deleted file mode 100644 index 7214a35ee..000000000 --- a/spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.txt +++ /dev/null @@ -1,61 +0,0 @@ -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by Netcom SARL as a service to the internet -community on behalf of Netcom SARL accredited registrars and resellers. - -The data is for information purposes only. Netcom SARL does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to Netcom SARL members (or their computer systems). The -compilation, repackaging, dissemination or other use of this Data is prohibited. - -Domain Information -Query: imdb.cm -Status: Suspended -Created: 28 Aug 2009 01:00 WAT -Modified: 24 Jan 2014 09:17 WAT -Expires: 28 Aug 2011 01:00 WAT -Name Servers: - ns1.refinedhosting.net - ns2.refinedhosting.net - -Registrar Information -Registrar Name: Registrar ANTIC - - - - -Registrant: -Name: Camtel | ANTIC l Legacy-Escrow -Address: - 3403 Messa Yaounde Immeuble Cacoco A1 - Ngousso CM -Email Address: cm.legacy@netcom.cm - - -Admin Contact: -Name: Camtel | ANTIC l Legacy-Escrow -Address: - 3403 Messa Yaounde Immeuble Cacoco A1 - Ngousso CM -Email Address: cm.legacy@netcom.cm - - -Technical Contact: -Name: Camtel | ANTIC l Legacy-Escrow -Address: - 3403 Messa Yaounde Immeuble Cacoco A1 - Ngousso CM -Email Address: cm.legacy@netcom.cm - - -Billing Contact: -Name: Camtel | ANTIC l Legacy-Escrow -Address: - 3403 Messa Yaounde Immeuble Cacoco A1 - Ngousso CM -Email Address: cm.legacy@netcom.cm diff --git a/spec/fixtures/responses/whois.networksolutions.com/status_available.expected b/spec/fixtures/responses/whois.networksolutions.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.networksolutions.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.networksolutions.com/status_available.txt b/spec/fixtures/responses/whois.networksolutions.com/status_available.txt deleted file mode 100644 index 7794fa1c4..000000000 --- a/spec/fixtures/responses/whois.networksolutions.com/status_available.txt +++ /dev/null @@ -1,17 +0,0 @@ -The data in Networksolutions.com's WHOIS database is provided to you by -Networksolutions.com for information purposes only, that is, to assist you in -obtaining information about or related to a domain name registration -record. Networksolutions.com makes this information available "as is," and -does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, -under no circumstances will you use this data to: (1) allow, enable, -or otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via direct mail, electronic mail, or by -telephone; or (2) enable high volume, automated, electronic processes -that apply to Networksolutions.com (or its systems). The compilation, -repackaging, dissemination or other use of this data is expressly -prohibited without the prior written consent of Networksolutions.com. -Networksolutions.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by these terms. - -No match for "NOTFOUNDTHERE.COM". diff --git a/spec/fixtures/responses/whois.networksolutions.com/status_registered.expected b/spec/fixtures/responses/whois.networksolutions.com/status_registered.expected deleted file mode 100644 index ed4a5c4b8..000000000 --- a/spec/fixtures/responses/whois.networksolutions.com/status_registered.expected +++ /dev/null @@ -1,108 +0,0 @@ -#domain - %s == "xif.com" - -#domain_id - %s == "" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-06-10} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-02-13} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-09} - - -#registrar - %s %CLASS{registrar} - %s.id == "2" - %s.name == "NETWORK SOLUTIONS, LLC." - %s.organization == "NETWORK SOLUTIONS, LLC." - %s.url == "http//www.networksolutions.com/en_US/" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "XIF Communications" - %s[0].organization == "XIF Communications" - %s[0].address == "1200 New Hampshire Avenue NW" - %s[0].city == "Washington" - %s[0].zip == "20036" - %s[0].state == "DC" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "202-463-7200" - %s[0].fax == "999-999-9999" - %s[0].email == "noc@xif.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Communications, XIF ContactMiddleName" - %s[0].organization == "XIF Communications" - %s[0].address == "1200 New Hampshire Avenue NW" - %s[0].city == "Washington" - %s[0].zip == "20036" - %s[0].state == "DC" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "202-463-7200" - %s[0].fax == "202-318-4003" - %s[0].email == "noc@xif.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Communications, XIF ContactMiddleName" - %s[0].organization == "XIF Communications" - %s[0].address == "1200 New Hampshire Avenue NW" - %s[0].city == "Washington" - %s[0].zip == "20036" - %s[0].state == "DC" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "202-463-7200" - %s[0].fax == "202-318-4003" - %s[0].email == "noc@xif.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns01.xif.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns-east.cerf.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns-west.cerf.net" diff --git a/spec/fixtures/responses/whois.networksolutions.com/status_registered.txt b/spec/fixtures/responses/whois.networksolutions.com/status_registered.txt deleted file mode 100644 index 522845ae3..000000000 --- a/spec/fixtures/responses/whois.networksolutions.com/status_registered.txt +++ /dev/null @@ -1,71 +0,0 @@ -The data in Networksolutions.com's WHOIS database is provided to you by -Networksolutions.com for information purposes only, that is, to assist you in -obtaining information about or related to a domain name registration -record. Networksolutions.com makes this information available "as is," and -does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, -under no circumstances will you use this data to: (1) allow, enable, -or otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via direct mail, electronic mail, or by -telephone; or (2) enable high volume, automated, electronic processes -that apply to Networksolutions.com (or its systems). The compilation, -repackaging, dissemination or other use of this data is expressly -prohibited without the prior written consent of Networksolutions.com. -Networksolutions.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by these terms. - -Domain Name: XIF.COM -Registry Domain ID: -Registrar WHOIS Server: whois.networksolutions.com -Registrar URL: http//www.networksolutions.com/en_US/ -Updated Date: 2012-02-13 -Creation Date: 1997-06-10 -Registrar Registration Expiration Date: 2014-06-09 -Registrar: NETWORK SOLUTIONS, LLC. -Registrar IANA ID: 2 -Registrar Abuse Contact Email: abuse@web.com -Registrar Abuse Contact Phone: 1-800-333-7680 -Reseller: -Domain Status: clientTransferProhibited -Registry Registrant ID: -Registrant Name: XIF Communications -Registrant Organization: XIF Communications -Registrant Street: 1200 New Hampshire Avenue NW -Registrant City: Washington -Registrant State: DC -Registrant Postal Code: 20036 -Registrant Country: US -Registrant Phone: 202-463-7200 -Registrant Phone Ext: -Registrant Fax: 999-999-9999 -Registrant Email: noc@xif.com -Registry Admin ID: -Admin Name: Communications, XIF ContactMiddleName -Admin Organization: XIF Communications -Admin Street: 1200 New Hampshire Avenue NW -Admin City: Washington -Admin State: DC -Admin Postal Code: 20036 -Admin Country: US -Admin Phone: 202-463-7200 -Admin Phone Ext: -Admin Fax: 202-318-4003 -Admin Email: noc@xif.com -Registry Tech ID: -Tech Name: Communications, XIF ContactMiddleName -Tech Organization: XIF Communications -Tech Street: 1200 New Hampshire Avenue NW -Tech City: Washington -Tech State: DC -Tech Postal Code: 20036 -Tech Country: US -Tech Phone: 202-463-7200 -Tech Phone Ext: -Tech Fax: 202-318-4003 -Tech Email: noc@xif.com -Name Server: NS01.XIF.COM -Name Server: NS-EAST.CERF.NET -Name Server: NS-WEST.CERF.NET -DNSSEC: -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of whois database: Fri, 01 Nov 2013 14:17:32 UTC <<< diff --git a/spec/fixtures/responses/whois.nic.ac/ac/status_available.expected b/spec/fixtures/responses/whois.nic.ac/ac/status_available.expected deleted file mode 100644 index 569fcdfa6..000000000 --- a/spec/fixtures/responses/whois.nic.ac/ac/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "u34jedzcq.ac" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ac/ac/status_available.txt b/spec/fixtures/responses/whois.nic.ac/ac/status_available.txt deleted file mode 100644 index 1e2936194..000000000 --- a/spec/fixtures/responses/whois.nic.ac/ac/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Domain u34jedzcq.ac is available for purchase -Please visit http://www.nic.ac/ for more information - diff --git a/spec/fixtures/responses/whois.nic.ac/ac/status_registered.expected b/spec/fixtures/responses/whois.nic.ac/ac/status_registered.expected deleted file mode 100644 index 760c92113..000000000 --- a/spec/fixtures/responses/whois.nic.ac/ac/status_registered.expected +++ /dev/null @@ -1,73 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.ac" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-03} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == nil - %s[0].state == "CA" - %s[0].country == "US" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ac/ac/status_registered.txt b/spec/fixtures/responses/whois.nic.ac/ac/status_registered.txt deleted file mode 100644 index 35b501b1d..000000000 --- a/spec/fixtures/responses/whois.nic.ac/ac/status_registered.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Domain : google.ac -Status : Live -Expiry : 2014-04-03 - -NS 1 : ns1.google.com -NS 2 : ns2.google.com -NS 3 : ns3.google.com -NS 4 : ns4.google.com - -Owner : DNS Admin -Owner : Google Inc. -Owner : 1600 Amphitheatre Parkway -Owner : Mountain View -Owner : CA -Owner : US - diff --git a/spec/fixtures/responses/whois.nic.af/af/status_available.expected b/spec/fixtures/responses/whois.nic.af/af/status_available.expected deleted file mode 100644 index 0bf555fb4..000000000 --- a/spec/fixtures/responses/whois.nic.af/af/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.af" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.af/af/status_available.txt b/spec/fixtures/responses/whois.nic.af/af/status_available.txt deleted file mode 100644 index 953ae0ee4..000000000 --- a/spec/fixtures/responses/whois.nic.af/af/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Domain Name: u34jedzcq.af -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by AFGNIC as a service to the internet community. - -The data is for information purposes only. AFGNIC does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -ADRAS Helpdesk | http://helpdesk.adras.af - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.af/af/status_registered.expected b/spec/fixtures/responses/whois.nic.af/af/status_registered.expected deleted file mode 100644 index fe40b300a..000000000 --- a/spec/fixtures/responses/whois.nic.af/af/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.af" - -#domain_id - %s == "345679-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-10-05 03:51:17 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-16 06:50:48 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-05 03:51:17 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.af/af/status_registered.txt b/spec/fixtures/responses/whois.nic.af/af/status_registered.txt deleted file mode 100644 index 5988c7719..000000000 --- a/spec/fixtures/responses/whois.nic.af/af/status_registered.txt +++ /dev/null @@ -1,90 +0,0 @@ -Domain Name: google.af -Domain ID: 345679-CoCCA -WHOIS Server: whois.nic.af -Referral URL: -Updated Date: 2014-01-16T06:50:48.226Z -Creation Date: 2009-10-05T03:51:17.979Z -Registry Expiry Date: 2014-05-05T03:51:17.974Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 969675-CoCCA -Registrant Name: Google Inc. -Registrant Organization: -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 969675-CoCCA -Admin Name: Google Inc. -Admin Organization: -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Billing ID: 969676-CoCCA -Billing Name: eMarkmonitor Inc. dba MarkMonitor -Billing Organization: -Billing Street: PMB 155 -Billing Street: 10400 Overland Road -Billing City: Boise -Billing State/Province: Idaho 83709 -Billing Postal Code: -Billing Country: US -Billing Phone: +1.2083895799 -Billing Phone Ext: -Billing Email: ccops@markmonitor.com - -Tech ID: 969675-CoCCA -Tech Name: Google Inc. -Tech Organization: -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by AFGNIC as a service to the internet community. - -The data is for information purposes only. AFGNIC does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -ADRAS Helpdesk | http://helpdesk.adras.af - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.ag/ag/status_available.expected b/spec/fixtures/responses/whois.nic.ag/ag/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.ag/ag/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ag/ag/status_available.txt b/spec/fixtures/responses/whois.nic.ag/ag/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.nic.ag/ag/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.ag/ag/status_registered.expected b/spec/fixtures/responses/whois.nic.ag/ag/status_registered.expected deleted file mode 100644 index 9361aa109..000000000 --- a/spec/fixtures/responses/whois.nic.ag/ag/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.ag" - -#domain_id - %s == "D48552-LRCC" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-01-05 14:06:59 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-04 10:20:49 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-05 14:06:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R22-LRCC" - %s.name == "MarkMonitor, Inc." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "AGRS-129819" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "AGRS-129819" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "AGRS-129819" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ag/ag/status_registered.txt b/spec/fixtures/responses/whois.nic.ag/ag/status_registered.txt deleted file mode 100644 index a3b4f9004..000000000 --- a/spec/fixtures/responses/whois.nic.ag/ag/status_registered.txt +++ /dev/null @@ -1,100 +0,0 @@ -Access to CCTLD WHOIS information is provided to assist persons in -determining the contents of a domain name registration record in the -Afilias registry database. The data in this record is provided by -Afilias Limited for informational purposes only, and Afilias does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass unsolicited, commercial advertising or solicitations -to entities other than the data recipient's own existing customers; or -(b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator, a Registrar, or -Afilias except as reasonably necessary to register domain names or -modify existing registrations. All rights reserved. Afilias reserves -the right to modify these terms at any time. By submitting this query, -you agree to abide by this policy. - -Domain ID:D48552-LRCC -Domain Name:GOOGLE.AG -Created On:05-Jan-2003 14:06:59 UTC -Last Updated On:04-Dec-2013 10:20:49 UTC -Expiration Date:05-Jan-2015 14:06:59 UTC -Sponsoring Registrar:MarkMonitor, Inc. (R22-LRCC) -Status:CLIENT DELETE PROHIBITED -Status:CLIENT TRANSFER PROHIBITED -Status:CLIENT UPDATE PROHIBITED -Registrant ID:AGRS-129819 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street1:1600 Amphitheatre Parkway -Registrant Street2: -Registrant Street3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant Phone Ext.: -Registrant FAX:+1.6506188571 -Registrant FAX Ext.: -Registrant Email:dns-admin@google.com -Admin ID:AGRS-129819 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street1:1600 Amphitheatre Parkway -Admin Street2: -Admin Street3: -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin Phone Ext.: -Admin FAX:+1.6506188571 -Admin FAX Ext.: -Admin Email:dns-admin@google.com -Billing ID:AGRS-129293 -Billing Name:CCOPS -Billing Organization:MarkMonitor -Billing Street1:PMB 155 -Billing Street2:10400 Overland Rd. -Billing Street3: -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83709-1433 -Billing Country:US -Billing Phone:+1.20838957 -Billing Phone Ext.: -Billing FAX:+1.20838957 -Billing FAX Ext.: -Billing Email:ccops@markmonitor.com -Tech ID:AGRS-129819 -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech Street2: -Tech Street3: -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech Phone Ext.: -Tech FAX:+1.6506188571 -Tech FAX Ext.: -Tech Email:dns-admin@google.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - diff --git a/spec/fixtures/responses/whois.nic.as/as/status_available.expected b/spec/fixtures/responses/whois.nic.as/as/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.nic.as/as/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.as/as/status_available.txt b/spec/fixtures/responses/whois.nic.as/as/status_available.txt deleted file mode 100644 index ed59bfd13..000000000 --- a/spec/fixtures/responses/whois.nic.as/as/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.as/as/status_registered.expected b/spec/fixtures/responses/whois.nic.as/as/status_registered.expected deleted file mode 100644 index bdd056b61..000000000 --- a/spec/fixtures/responses/whois.nic.as/as/status_registered.expected +++ /dev/null @@ -1,35 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil diff --git a/spec/fixtures/responses/whois.nic.as/as/status_registered.txt b/spec/fixtures/responses/whois.nic.as/as/status_registered.txt deleted file mode 100644 index 1bcb6d050..000000000 --- a/spec/fixtures/responses/whois.nic.as/as/status_registered.txt +++ /dev/null @@ -1,49 +0,0 @@ -Domain: - google.as - -Status: - ST_CL_UPDATEPROHIBITED ST_CL_DELETEPROHIBITED ST_CL_TRANSFERPROHIBITED - -Registrant: - Google, Inc. - - -Registrar: - MarkMonitor Inc. (http://www.markmonitor.com) - -Relevant dates: - Registered on 02nd August 2000 - Registry fee due on 02nd August each year - -Registration status: - Registered until cancelled - -Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - -WHOIS lookup made on Mon, 20 Jul 2015 12:24:55 BST - -This WHOIS information is provided for free by CIDR, operator of -the backend registry for domain names ending in GG, JE, and AS. - -Copyright (c) and database right AS Domain Registry 1997 - 2015. - -You may not access this WHOIS server or use any data from it except -as permitted by the relevant Terms and Condition, available in full at -http://""www.nic.as/policy.cfm - -They include restrictions and prohibitions on - -- using or re-using the data for advertising; -- using or re-using the service for commercial purposes without a licence; -- repackaging, recompilation, redistribution or reuse; -- obscuring, removing or hiding any or all of this notice; -- exceeding query rate or volume limits. - -The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. - diff --git a/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.expected b/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.expected deleted file mode 100644 index 5192c360e..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.txt b/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.txt deleted file mode 100644 index ac71d5051..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.txt +++ /dev/null @@ -1,160 +0,0 @@ -DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered -by DotAsia and the access to the records in the DotAsia WHOIS database are provided -for information purposes only. It allows persons to check whether a specific -domain name is still available or not and to obtain information related to -the registration records of existing domain names. DotAsia cannot, under any -circumstances, be held liable in case the stored information would prove to -be wrong, incomplete, or not accurate in any sense. By submitting a query -you agree not to use the information made available to: allow, enable or -otherwise support the transmission of unsolicited, commercial advertising or -other solicitations whether via email or otherwise; target advertising in any -possible way; or to cause nuisance in any possible way to the registrants by -sending (whether by automated, electronic processes capable of enabling high -volumes or other possible means) messages to them. Without prejudice to the -above, it is explicitly forbidden to extract, copy and/or use or re-utilise -in any form and by any means (electronically or not) the whole or a -quantitatively or qualitatively substantial part of the contents of the WHOIS -database without prior and explicit permission by DotAsia, nor in any attempt -hereof, or to apply automated, electronic processes to DotAsia (or its systems). -You agree that any reproduction and/or transmission of data for commercial -purposes will always be considered as the extraction of a substantial part of -the content of the WHOIS database. By submitting the query you agree to abide -by this policy and accept that DotAsia can take measures to limit the use of its -WHOIS services in order to protect the privacy of its registrants or the -integrity of the database. - -Domain ID:D1032500-ASIA -Domain Name:NOVALASH.ASIA -Domain Create Date:30-Oct-2008 22:54:15 UTC -Domain Expiration Date:30-Oct-2012 22:54:15 UTC -Domain Last Updated Date:01-Oct-2010 03:30:34 UTC -Last Transferred Date: -IPR Name: -IPR Number: -IPR CC Locality: -IPR Applied: -IPR Registered: -IPR Class: -IPR form: -IPR Entitlement: -IPR Type: -Created by:007Names, Inc. R94-ASIA (91) -Last Updated by Registrar:007Names, Inc. R94-ASIA (91) -Sponsoring Registrar:007Names, Inc. R94-ASIA (91) -Registration Agent ID: -Registration Agent Name: -Registration Agent Organization: -Registration Agent Address: -Registration Agent Address2: -Registration Agent Address3: -Registration Agent City: -Registration Agent State/Province: -Registration Agent Country/Economy: -Registration Agent Postal Code: -Registration Agent Phone: -Registration Agent Phone Ext.: -Registration Agent FAX: -Registration Agent FAX Ext.: -Registration Agent E-mail: -Maintainer URL: -Domain Status:CLIENT DELETE PROHIBITED -Domain Status:CLIENT TRANSFER PROHIBITED -Registrant ID:7AERFN4T4P -Registrant Name:Sophy Merszei -Registrant Organization:Novalash -Registrant Address:3701 W. Alabama -Registrant Address2: -Registrant Address3: -Registrant City:Houston -Registrant State/Province:TX -Registrant Country/Economy:US -Registrant Postal Code:77027 -Registrant Phone:+1.8664301261 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant E-mail:khickman@awsp.com -Administrative ID:5MTMZMT3K1 -Administrative Name:Sophy Merszei -Administrative Organization:Novalash -Administrative Address:3701 W. Alabama -Administrative Address2: -Administrative Address3: -Administrative City:Houston -Administrative State/Province:TX -Administrative Country/Economy:US -Administrative Postal Code:77027 -Administrative Phone:+1.8664301261 -Administrative Phone Ext.: -Administrative FAX: -Administrative FAX Ext.: -Administrative E-mail:khickman@awsp.com -Technical ID:FR-11594d9eed91 -Technical Name:Edward Lin -Technical Organization:EDM Enterprise Co., LTD -Technical Address:No. 10 Lane 241, Chung Shan Road -Technical Address2: -Technical Address3: -Technical City:Shen Kang Hsiang -Technical State/Province:Taichung Hsien -Technical Country/Economy:TW -Technical Postal Code:35000 -Technical Phone:+886.425625115 -Technical Phone Ext.: -Technical FAX: -Technical FAX Ext.: -Technical E-mail:doamina@yahoo.com -Billing ID:5MTMZMT3K1 -Billing Name:Sophy Merszei -Billing Organization:Novalash -Billing Address:3701 W. Alabama -Billing Address2: -Billing Address3: -Billing City:Houston -Billing State/Province:TX -Billing Country/Economy:US -Billing Postal Code:77027 -Billing Phone:+1.8664301261 -Billing Phone Ext.: -Billing FAX: -Billing FAX Ext.: -Billing E-mail:khickman@awsp.com -CED ID:FR-11594d9eed91 -CED CC Locality:TW -CED State/Province:Taichung Hsien -CED City:Shen Kang Hsiang -CED Type of Legal Entity:Corporations or Companies -CED Type (Other): -CED Form of Identification:Certificate of Incorporation or equivalent business registration certificate -CED Form of ID (Other): -CED Identification Number:N9fTw -Operations and Notifications ID:7AERFN4T4P -Operations and Notifications Name:Sophy Merszei -Operations and Notifications Organization:Novalash -Operations and Notifications Address:3701 W. Alabama -Operations and Notifications Address2: -Operations and Notifications Address3: -Operations and Notifications City:Houston -Operations and Notifications State/Province:TX -Operations and Notifications Country/Economy:US -Operations and Notifications Postal Code:77027 -Operations and Notifications Phone:+1.8664301261 -Operations and Notifications Phone Ext.: -Operations and Notifications FAX: -Operations and Notifications FAX Ext.: -Operations and Notifications E-mail:khickman@awsp.com -Nameservers:NS2.RACKSPACE.COM -Nameservers:NS.RASKSPACE.COM -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: - - diff --git a/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.expected b/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.expected deleted file mode 100644 index 82e603c3b..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.txt b/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.txt deleted file mode 100644 index 1ac12a30d..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/property_status_single.txt +++ /dev/null @@ -1,159 +0,0 @@ -DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered -by DotAsia and the access to the records in the DotAsia WHOIS database are provided -for information purposes only. It allows persons to check whether a specific -domain name is still available or not and to obtain information related to -the registration records of existing domain names. DotAsia cannot, under any -circumstances, be held liable in case the stored information would prove to -be wrong, incomplete, or not accurate in any sense. By submitting a query -you agree not to use the information made available to: allow, enable or -otherwise support the transmission of unsolicited, commercial advertising or -other solicitations whether via email or otherwise; target advertising in any -possible way; or to cause nuisance in any possible way to the registrants by -sending (whether by automated, electronic processes capable of enabling high -volumes or other possible means) messages to them. Without prejudice to the -above, it is explicitly forbidden to extract, copy and/or use or re-utilise -in any form and by any means (electronically or not) the whole or a -quantitatively or qualitatively substantial part of the contents of the WHOIS -database without prior and explicit permission by DotAsia, nor in any attempt -hereof, or to apply automated, electronic processes to DotAsia (or its systems). -You agree that any reproduction and/or transmission of data for commercial -purposes will always be considered as the extraction of a substantial part of -the content of the WHOIS database. By submitting the query you agree to abide -by this policy and accept that DotAsia can take measures to limit the use of its -WHOIS services in order to protect the privacy of its registrants or the -integrity of the database. - -Domain ID:D93126-ASIA -Domain Name:CJ7.ASIA -Domain Create Date:15-Jan-2008 11:28:02 UTC -Domain Expiration Date:15-Jan-2010 11:28:02 UTC -Domain Last Updated Date:16-Mar-2008 04:30:25 UTC -Last Transferred Date: -IPR Name:DotAsia Organisation Ltd -IPR Number: -IPR CC Locality:HK -IPR Applied: -IPR Registered: -IPR Class: -IPR form: -IPR Entitlement: -IPR Type:SR1 -Created by:dotASIA R4-ASIA (9998) -Last Updated by Registrar:ASIA Registry R6-ASIA (9996) -Sponsoring Registrar:dotASIA R4-ASIA (9998) -Registration Agent ID: -Registration Agent Name: -Registration Agent Organization: -Registration Agent Address: -Registration Agent Address2: -Registration Agent Address3: -Registration Agent City: -Registration Agent State/Province: -Registration Agent Country/Economy: -Registration Agent Postal Code: -Registration Agent Phone: -Registration Agent Phone Ext.: -Registration Agent FAX: -Registration Agent FAX Ext.: -Registration Agent E-mail: -Maintainer URL: -Domain Status:OK -Registrant ID:FR-1158300cc88a -Registrant Name:Pioneer Domain (Temporary Delegation) -Registrant Organization:DotAsia Organisation -Registrant Address:Unit 617, Miramar Tower -Registrant Address2:132 Nathan Road -Registrant Address3: -Registrant City:Tsim Sha Tsui -Registrant State/Province:Kowloon -Registrant Country/Economy:HK -Registrant Postal Code:HK -Registrant Phone:+852.35202635 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant E-mail:domains@registry.asia -Administrative ID:FR-11582fd1b4a9 -Administrative Name:DotAsia Organisation -Administrative Organization:DotAsia Organisation -Administrative Address:Unit 617, Miramar Tower -Administrative Address2:132 Nathan Road -Administrative Address3: -Administrative City:Tsim Sha Tsui -Administrative State/Province:Kowloon -Administrative Country/Economy:HK -Administrative Postal Code:HK -Administrative Phone:+852.35202635 -Administrative Phone Ext.: -Administrative FAX: -Administrative FAX Ext.: -Administrative E-mail:domains@registry.asia -Technical ID:FR-11582fd1b4a9 -Technical Name:DotAsia Organisation -Technical Organization:DotAsia Organisation -Technical Address:Unit 617, Miramar Tower -Technical Address2:132 Nathan Road -Technical Address3: -Technical City:Tsim Sha Tsui -Technical State/Province:Kowloon -Technical Country/Economy:HK -Technical Postal Code:HK -Technical Phone:+852.35202635 -Technical Phone Ext.: -Technical FAX: -Technical FAX Ext.: -Technical E-mail:domains@registry.asia -Billing ID:FR-11582fd1b4a9 -Billing Name:DotAsia Organisation -Billing Organization:DotAsia Organisation -Billing Address:Unit 617, Miramar Tower -Billing Address2:132 Nathan Road -Billing Address3: -Billing City:Tsim Sha Tsui -Billing State/Province:Kowloon -Billing Country/Economy:HK -Billing Postal Code:HK -Billing Phone:+852.35202635 -Billing Phone Ext.: -Billing FAX: -Billing FAX Ext.: -Billing E-mail:domains@registry.asia -CED ID:FR-11582fd1b4a9 -CED CC Locality:HK -CED State/Province: -CED City: -CED Type of Legal Entity:Corporations or Companies -CED Type (Other): -CED Form of Identification:Certificate of Incorporation or equivalent business registration certificate -CED Form of ID (Other): -CED Identification Number:1073566 -Operations and Notifications ID:FR-11582fd1b4a9 -Operations and Notifications Name:DotAsia Organisation -Operations and Notifications Organization:DotAsia Organisation -Operations and Notifications Address:Unit 617, Miramar Tower -Operations and Notifications Address2:132 Nathan Road -Operations and Notifications Address3: -Operations and Notifications City:Tsim Sha Tsui -Operations and Notifications State/Province:Kowloon -Operations and Notifications Country/Economy:HK -Operations and Notifications Postal Code:HK -Operations and Notifications Phone:+852.35202635 -Operations and Notifications Phone Ext.: -Operations and Notifications FAX: -Operations and Notifications FAX Ext.: -Operations and Notifications E-mail:domains@registry.asia -Nameservers:NS1.DOTASIA.ORG -Nameservers:NS2.DOTASIA.ORG -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: - - diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_available.expected b/spec/fixtures/responses/whois.nic.asia/asia/status_available.expected deleted file mode 100644 index 31e4bf0ce..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_available.expected +++ /dev/null @@ -1,54 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_available.txt b/spec/fixtures/responses/whois.nic.asia/asia/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_registered.expected b/spec/fixtures/responses/whois.nic.asia/asia/status_registered.expected deleted file mode 100644 index ca8cc60f6..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_registered.expected +++ /dev/null @@ -1,112 +0,0 @@ -#disclaimer - %s == "DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered by DotAsia and the access to the records in the DotAsia WHOIS database are provided for information purposes only. It allows persons to check whether a specific domain name is still available or not and to obtain information related to the registration records of existing domain names. DotAsia cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete, or not accurate in any sense. By submitting a query you agree not to use the information made available to: allow, enable or otherwise support the transmission of unsolicited, commercial advertising or other solicitations whether via email or otherwise; target advertising in any possible way; or to cause nuisance in any possible way to the registrants by sending (whether by automated, electronic processes capable of enabling high volumes or other possible means) messages to them. Without prejudice to the above, it is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the WHOIS database without prior and explicit permission by DotAsia, nor in any attempt hereof, or to apply automated, electronic processes to DotAsia (or its systems). You agree that any reproduction and/or transmission of data for commercial purposes will always be considered as the extraction of a substantial part of the content of the WHOIS database. By submitting the query you agree to abide by this policy and accept that DotAsia can take measures to limit the use of its WHOIS services in order to protect the privacy of its registrants or the integrity of the database." - - -#domain - %s == "cj7.asia" - -#domain_id - %s == "D93126-ASIA" - - -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-01-15 11:28:02 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-15 22:20:16 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-15 11:28:02 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "800046" - %s.name == "dotASIA R4-ASIA" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "FR-132aa75b4bf65" - %s[0].name == "RAXCO ASSETS CORP." - %s[0].organization == "RAXCO ASSETS CORP." - %s[0].address == "RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK" - %s[0].city == "Hong Kong" - %s[0].zip == "" - %s[0].state == "" - %s[0].country_code == "HK" - %s[0].phone == "+852.21190333" - %s[0].fax == "+852.23045326" - %s[0].email == "eddie.yeung@bingogroup.com.hk" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "FR-132aa7afe0967" - %s[0].name == "Eddie Yeung" - %s[0].organization == "RAXCO ASSETS CORP." - %s[0].address == "RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK" - %s[0].city == "Hong Kong" - %s[0].zip == "" - %s[0].state == "" - %s[0].country_code == "HK" - %s[0].phone == "+852.21190333" - %s[0].fax == "" - %s[0].email == "eddie.yeung@bingogroup.com.hk" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "FR-132aa7afe0967" - %s[0].name == "Eddie Yeung" - %s[0].organization == "RAXCO ASSETS CORP." - %s[0].address == "RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK" - %s[0].city == "Hong Kong" - %s[0].zip == "" - %s[0].state == "" - %s[0].country_code == "HK" - %s[0].phone == "+852.21190333" - %s[0].fax == "" - %s[0].email == "eddie.yeung@bingogroup.com.hk" - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.dnspod.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.dnspod.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.dnspod.net" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.dnspod.net" - %s[4] %CLASS{nameserver} - %s[4].name == "ns5.dnspod.net" - %s[5] %CLASS{nameserver} - %s[5].name == "ns6.dnspod.net" - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_registered.txt b/spec/fixtures/responses/whois.nic.asia/asia/status_registered.txt deleted file mode 100644 index ed16d0775..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_registered.txt +++ /dev/null @@ -1,134 +0,0 @@ -DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered -by DotAsia and the access to the records in the DotAsia WHOIS database are provided -for information purposes only. It allows persons to check whether a specific -domain name is still available or not and to obtain information related to -the registration records of existing domain names. DotAsia cannot, under any -circumstances, be held liable in case the stored information would prove to -be wrong, incomplete, or not accurate in any sense. By submitting a query -you agree not to use the information made available to: allow, enable or -otherwise support the transmission of unsolicited, commercial advertising or -other solicitations whether via email or otherwise; target advertising in any -possible way; or to cause nuisance in any possible way to the registrants by -sending (whether by automated, electronic processes capable of enabling high -volumes or other possible means) messages to them. Without prejudice to the -above, it is explicitly forbidden to extract, copy and/or use or re-utilise -in any form and by any means (electronically or not) the whole or a -quantitatively or qualitatively substantial part of the contents of the WHOIS -database without prior and explicit permission by DotAsia, nor in any attempt -hereof, or to apply automated, electronic processes to DotAsia (or its systems). -You agree that any reproduction and/or transmission of data for commercial -purposes will always be considered as the extraction of a substantial part of -the content of the WHOIS database. By submitting the query you agree to abide -by this policy and accept that DotAsia can take measures to limit the use of its -WHOIS services in order to protect the privacy of its registrants or the -integrity of the database. - -Domain ID:D93126-ASIA -Domain Name:CJ7.ASIA -Domain Create Date:15-Jan-2008 11:28:02 UTC -Domain Expiration Date:15-Jan-2015 11:28:02 UTC -Domain Last Updated Date:15-Jan-2014 22:20:16 UTC -Last Transferred Date: -IPR Name:CJ7 -IPR CC Locality:HK -IPR Type:SR1 -Created by:dotASIA R4-ASIA (800046) -Last Updated by Registrar:ASIA Registry R6-ASIA (700001) -Sponsoring Registrar:dotASIA R4-ASIA (800046) -Domain Status:OK -Status:AUTORENEWPERIOD -Registrant ID:FR-132aa75b4bf65 -Registrant Name:RAXCO ASSETS CORP. -Registrant Organization:RAXCO ASSETS CORP. -Registrant Address:RM 1201-1204 12/F -Registrant Address2:SEA BIRD HSE -Registrant Address3:22-28 WYNDHAM ST CENTRAL HK -Registrant City:Hong Kong -Registrant State/Province: -Registrant Country/Economy:HK -Registrant Postal Code: -Registrant Phone:+852.21190333 -Registrant Phone Ext.: -Registrant FAX:+852.23045326 -Registrant FAX Ext.: -Registrant E-mail:eddie.yeung@bingogroup.com.hk -Administrative ID:FR-132aa7afe0967 -Administrative Name:Eddie Yeung -Administrative Organization:RAXCO ASSETS CORP. -Administrative Address:RM 1201-1204 12/F -Administrative Address2:SEA BIRD HSE -Administrative Address3:22-28 WYNDHAM ST CENTRAL HK -Administrative City:Hong Kong -Administrative State/Province: -Administrative Country/Economy:HK -Administrative Postal Code: -Administrative Phone:+852.21190333 -Administrative Phone Ext.: -Administrative FAX: -Administrative FAX Ext.: -Administrative E-mail:eddie.yeung@bingogroup.com.hk -Technical ID:FR-132aa7afe0967 -Technical Name:Eddie Yeung -Technical Organization:RAXCO ASSETS CORP. -Technical Address:RM 1201-1204 12/F -Technical Address2:SEA BIRD HSE -Technical Address3:22-28 WYNDHAM ST CENTRAL HK -Technical City:Hong Kong -Technical State/Province: -Technical Country/Economy:HK -Technical Postal Code: -Technical Phone:+852.21190333 -Technical Phone Ext.: -Technical FAX: -Technical FAX Ext.: -Technical E-mail:eddie.yeung@bingogroup.com.hk -Billing ID:FR-132aa774c1b66 -Billing Name:Frankie Chan -Billing Organization:RAXCO ASSETS CORP. -Billing Address:RM 1201-1204 12/F -Billing Address2:SEA BIRD HSE -Billing Address3:22-28 WYNDHAM ST CENTRAL HK -Billing City:Hong Kong -Billing State/Province: -Billing Country/Economy:HK -Billing Postal Code: -Billing Phone:+852.21190333 -Billing Phone Ext.: -Billing FAX: -Billing FAX Ext.: -Billing E-mail:eddie.yeung@bingogroup.com.hk -CED ID:FR-132aa75b4bf65 -CED CC Locality:HK -CED Type of Legal Entity:Corporations or Companies -CED Form of Identification:Certificate of Incorporation or equivalent business registration certificate -CED Identification Number:35119870 -Operations and Notifications ID:FR-132aa75b4bf65 -Operations and Notifications Name:RAXCO ASSETS CORP. -Operations and Notifications Organization:RAXCO ASSETS CORP. -Operations and Notifications Address:RM 1201-1204 12/F -Operations and Notifications Address2:SEA BIRD HSE -Operations and Notifications Address3:22-28 WYNDHAM ST CENTRAL HK -Operations and Notifications City:Hong Kong -Operations and Notifications State/Province: -Operations and Notifications Country/Economy:HK -Operations and Notifications Postal Code: -Operations and Notifications Phone:+852.21190333 -Operations and Notifications Phone Ext.: -Operations and Notifications FAX:+852.23045326 -Operations and Notifications FAX Ext.: -Operations and Notifications E-mail:eddie.yeung@bingogroup.com.hk -Nameservers:NS1.DNSPOD.NET -Nameservers:NS2.DNSPOD.NET -Nameservers:NS3.DNSPOD.NET -Nameservers:NS4.DNSPOD.NET -Nameservers:NS5.DNSPOD.NET -Nameservers:NS6.DNSPOD.NET -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: - - diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.expected b/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.expected deleted file mode 100644 index 263f11762..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.expected +++ /dev/null @@ -1,54 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :reserved - -#reserved? - %s == true - -#available? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.txt b/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.txt deleted file mode 100644 index 8a70b35fc..000000000 --- a/spec/fixtures/responses/whois.nic.asia/asia/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -Reserved by DotAsia diff --git a/spec/fixtures/responses/whois.nic.at/at/status_available.expected b/spec/fixtures/responses/whois.nic.at/at/status_available.expected deleted file mode 100644 index fccfb20cb..000000000 --- a/spec/fixtures/responses/whois.nic.at/at/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.at/at/status_available.txt b/spec/fixtures/responses/whois.nic.at/at/status_available.txt deleted file mode 100644 index 40f916fe7..000000000 --- a/spec/fixtures/responses/whois.nic.at/at/status_available.txt +++ /dev/null @@ -1,25 +0,0 @@ -% Copyright (c)2014 by NIC.AT (1) -% -% Restricted rights. -% -% Except for agreed Internet operational purposes, no part of this -% information may be reproduced, stored in a retrieval system, or -% transmitted, in any form or by any means, electronic, mechanical, -% recording, or otherwise, without prior permission of NIC.AT on behalf -% of itself and/or the copyright holders. Any use of this material to -% target advertising or similar activities is explicitly forbidden and -% can be prosecuted. -% -% It is furthermore strictly forbidden to use the Whois-Database in such -% a way that jeopardizes or could jeopardize the stability of the -% technical systems of NIC.AT under any circumstances. In particular, -% this includes any misuse of the Whois-Database and any use of the -% Whois-Database which disturbs its operation. -% -% Should the user violate these points, NIC.AT reserves the right to -% deactivate the Whois-Database entirely or partly for the user. -% Moreover, the user shall be held liable for any and all damage -% arising from a violation of these points. - -% nothing found - diff --git a/spec/fixtures/responses/whois.nic.at/at/status_registered.expected b/spec/fixtures/responses/whois.nic.at/at/status_registered.expected deleted file mode 100644 index 9b113ba24..000000000 --- a/spec/fixtures/responses/whois.nic.at/at/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-04-26 17:57:27} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.at/at/status_registered.txt b/spec/fixtures/responses/whois.nic.at/at/status_registered.txt deleted file mode 100644 index a9372cf9a..000000000 --- a/spec/fixtures/responses/whois.nic.at/at/status_registered.txt +++ /dev/null @@ -1,91 +0,0 @@ -% Copyright (c)2014 by NIC.AT (1) -% -% Restricted rights. -% -% Except for agreed Internet operational purposes, no part of this -% information may be reproduced, stored in a retrieval system, or -% transmitted, in any form or by any means, electronic, mechanical, -% recording, or otherwise, without prior permission of NIC.AT on behalf -% of itself and/or the copyright holders. Any use of this material to -% target advertising or similar activities is explicitly forbidden and -% can be prosecuted. -% -% It is furthermore strictly forbidden to use the Whois-Database in such -% a way that jeopardizes or could jeopardize the stability of the -% technical systems of NIC.AT under any circumstances. In particular, -% this includes any misuse of the Whois-Database and any use of the -% Whois-Database which disturbs its operation. -% -% Should the user violate these points, NIC.AT reserves the right to -% deactivate the Whois-Database entirely or partly for the user. -% Moreover, the user shall be held liable for any and all damage -% arising from a violation of these points. - -domain: google.at -registrant: GI7803022-NICAT -admin-c: GI7803024-NICAT -tech-c: GI1919751-NICAT -tech-c: GI7803025-NICAT -nserver: ns1.google.com -remarks: 216.239.32.10 -nserver: ns2.google.com -remarks: 216.239.34.10 -nserver: ns3.google.com -remarks: 216.239.36.10 -nserver: ns4.google.com -remarks: 216.239.38.10 -changed: 20110426 17:57:27 -source: AT-DOM - -personname: DNS Admin -organization: Google Inc. -street address: 1600 Amphitheatre Parkway -postal code: 94043 -city: Mountain View -country: United States -phone: +16502530000 -fax-no: +16502530001 -e-mail: dns-admin@google.com -nic-hdl: GI7803022-NICAT -changed: 20110111 00:07:31 -source: AT-DOM - -personname: DNS Admin -organization: Google Inc. -street address: 1600 Amphitheatre Parkway -postal code: 94043 -city: Mountain View -country: United States -phone: +16502530000 -fax-no: +16502530001 -e-mail: dns-admin@google.com -nic-hdl: GI7803024-NICAT -changed: 20110111 00:07:55 -source: AT-DOM - -personname: -organization: Google Inc. -street address: 1600 Amphitheatre Parkway -postal code: USA-94043 -city: Mountain View, CA -country: United States -phone: +16506234000 -fax-no: +16506188571 -e-mail: dns-admin@google.com -nic-hdl: GI1919751-NICAT -changed: 20050617 21:36:20 -source: AT-DOM - -personname: DNS Admin -organization: Google Inc. -street address: 1600 Amphitheatre Parkway -postal code: 94043 -city: Mountain View -country: United States -phone: +16502530000 -fax-no: +16502530001 -e-mail: dns-admin@google.com -nic-hdl: GI7803025-NICAT -changed: 20110111 00:08:30 -source: AT-DOM - diff --git a/spec/fixtures/responses/whois.nic.bj/bj/status_available.expected b/spec/fixtures/responses/whois.nic.bj/bj/status_available.expected deleted file mode 100644 index e0abcfbfb..000000000 --- a/spec/fixtures/responses/whois.nic.bj/bj/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.bj/bj/status_available.txt b/spec/fixtures/responses/whois.nic.bj/bj/status_available.txt deleted file mode 100644 index 3248c0df7..000000000 --- a/spec/fixtures/responses/whois.nic.bj/bj/status_available.txt +++ /dev/null @@ -1,5 +0,0 @@ -swhoisd 3.0.5 -BENIN .BJ -Searching for u34jedzcq.bj. -No records matching u34jedzcq.bj found. - diff --git a/spec/fixtures/responses/whois.nic.bj/bj/status_registered.expected b/spec/fixtures/responses/whois.nic.bj/bj/status_registered.expected deleted file mode 100644 index 95fc5c7af..000000000 --- a/spec/fixtures/responses/whois.nic.bj/bj/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.bj" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-03-25 01:57:22 PDT} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-08-10 01:57:22 PDT} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "GOOGLE INC (ED0155)" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.nic.bj/bj/status_registered.txt b/spec/fixtures/responses/whois.nic.bj/bj/status_registered.txt deleted file mode 100644 index 3f9103038..000000000 --- a/spec/fixtures/responses/whois.nic.bj/bj/status_registered.txt +++ /dev/null @@ -1,42 +0,0 @@ -swhoisd 3.0.5 -BENIN .BJ -Searching for google.bj. Found 2 record(s) matching google.bj. - -Domain: (Handle google) -Name: GOOGLE INC (ED0155) -Domain Name: google.bj -Name Server 1: ns1.google.com -NS1 IP address: 216.239.32.10 -Name Server 2: ns2.google.com -NS2 IP address: 216.239.34.10 -Name Server 3: ns3.google.com -NS2 IP address: 216.239.36.10 -Name Server 2: ns2.google.com -NS4 IP address: 216.239.38.10 -Country: USA -Address: 1600 Amphitheatre Parkway, Moutain View CA 94043, US -Telephone: : +1.6506234000 -FAX No: : +1.6506188571 -Created: Mar 25 01:57:22 PDT 2009 -Last Updated: Aug 10 01:57:22 PDT 2012 - -Domain: (Handle igoogle) -Name: GOOGLE INC IGOOGLE (ED0152) -Domain Name: igoogle.bj -Name Server 1: ns1.google.com -NS1 IP address: 216.239.32.10 -Name Server 2: ns2.google.com -NS2 IP address: 216.239.34.10 -Name Server 3: ns3.google.com -NS2 IP address: 216.239.36.10 -Name Server 2: ns2.google.com -NS4 IP address: 216.239.38.10 -Country: USA -Address: 1600 Amphitheatre Parkway, Moutain View CA 94043, US -Telephone: : +1.6506234000 -FAX No: : +1.6506188571 -Created: Mar 25 01:57:22 PDT 2009 -Last Updated: Aug 10 01:57:22 PDT 2012 - -To single out one record, look it up with "!XXX", where XXX is the handle. - diff --git a/spec/fixtures/responses/whois.nic.bo/bo/status_available.expected b/spec/fixtures/responses/whois.nic.bo/bo/status_available.expected deleted file mode 100644 index a2ccfc029..000000000 --- a/spec/fixtures/responses/whois.nic.bo/bo/status_available.expected +++ /dev/null @@ -1,29 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.bo/bo/status_available.txt b/spec/fixtures/responses/whois.nic.bo/bo/status_available.txt deleted file mode 100644 index 28c4fc176..000000000 --- a/spec/fixtures/responses/whois.nic.bo/bo/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ - - -whois.nic.bo solo acepta consultas con dominios .bo \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.bo/bo/status_registered.expected b/spec/fixtures/responses/whois.nic.bo/bo/status_registered.expected deleted file mode 100644 index d6c87e5ff..000000000 --- a/spec/fixtures/responses/whois.nic.bo/bo/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#domain - %s == "google.bo" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-08-22} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-22} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.bo/bo/status_registered.txt b/spec/fixtures/responses/whois.nic.bo/bo/status_registered.txt deleted file mode 100644 index 0fdde8fbf..000000000 --- a/spec/fixtures/responses/whois.nic.bo/bo/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ -Dominio: google.bo - -TITULAR: -Organizacion: Google Inc. -Nombre: Google Inc -Email: mail en nameaction.com -Pais: Estados Unidos de America -Ciudad: Mountain View -Direccion: 1600 Amphitheatre Parkway Mountain View -Telefono: 16502530000 - - -CONTACTO ADMINISTRATIVO: -Organizacion: MarkMonitor Inc. -Nombre: Domain Administrator -Email: ccops en markmonitor.com -Pais: Estados Unidos de America -Ciudad: Boise -Direccion: 391 N. Ancestor pl. -Telefono: 12083895740 - - -CONTACTO TECNICO: -Organizacion: MarkMonitor -Nombre: MarkMonitor -Email: mail en nameaction.com -Pais: USA -Ciudad: Boise, Idaho 83704 -Direccion: 391 N. Ancestor Place -Telefono: +1208389 5783 - - -CONTACTO FINANCIERO: -Organizacion: MarkMonitor Inc. -Nombre: Domain Administrator -Email: ccops en markmonitor.com -Pais: Estados Unidos de America -Ciudad: Boise -Direccion: 391 N. Ancestor pl. -Telefono: 12083895740 - - -Fecha de registro: 2006-08-22 -Fecha de vencimiento: 2014-08-22 - - -whois.nic.bo solo acepta consultas con dominios .bo \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.cd/cd/status_available.expected b/spec/fixtures/responses/whois.nic.cd/cd/status_available.expected deleted file mode 100644 index 177db1d8e..000000000 --- a/spec/fixtures/responses/whois.nic.cd/cd/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.cd" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.cd/cd/status_available.txt b/spec/fixtures/responses/whois.nic.cd/cd/status_available.txt deleted file mode 100644 index 3fc2761b3..000000000 --- a/spec/fixtures/responses/whois.nic.cd/cd/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain Name: u34jedzcq.cd -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. This WHOIS database is provided by CDnic as a service to the internet community on behalf of Congo, the Democratic Republic (La Republique Democratique du Congo ? RDC). - -The data is for information purposes only. CDnic does not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CDnic it's members (or CDnic or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2014-02-18T11:46:50.985Z <<< diff --git a/spec/fixtures/responses/whois.nic.cd/cd/status_registered.expected b/spec/fixtures/responses/whois.nic.cd/cd/status_registered.expected deleted file mode 100644 index 8ee0caab7..000000000 --- a/spec/fixtures/responses/whois.nic.cd/cd/status_registered.expected +++ /dev/null @@ -1,38 +0,0 @@ -#domain - %s == "google.cd" - -#domain_id - %s == "5758-CD" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MARKMONITOR" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{0} diff --git a/spec/fixtures/responses/whois.nic.cd/cd/status_registered.txt b/spec/fixtures/responses/whois.nic.cd/cd/status_registered.txt deleted file mode 100644 index c69cf77c1..000000000 --- a/spec/fixtures/responses/whois.nic.cd/cd/status_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -Domain Name: google.cd -Domain ID: 5758-CD -Sponsoring Registrar: MARKMONITOR -Sponsoring Registrar IANA ID: - - - - - - -DNSSEC: unsigned - - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. This WHOIS database is provided by CDnic as a service to the internet community on behalf of Congo, the Democratic Republic (La Republique Democratique du Congo ? RDC). - -The data is for information purposes only. CDnic does not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CDnic it's members (or CDnic or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2014-02-18T11:46:50.985Z <<< diff --git a/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.expected b/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.expected deleted file mode 100644 index 039fabc1c..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.expected +++ /dev/null @@ -1,16 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].name == "EISD John" - %s[0].address == "Room 208, Furong Road, Changsha City\nCN-41000 Changsha\nChina" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].name == "xie huijie" - %s[0].address == "xie huijie\nNo95.Lane768.Ruili Road.Minhang District\nCN-200240 shanghai\nChina" - -#admin_contacts - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.txt b/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.txt deleted file mode 100644 index 39913f48d..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/property_contacts.txt +++ /dev/null @@ -1,26 +0,0 @@ -whois: This information is subject to an Acceptable Use Policy. -See http://www.nic.ch/terms/aup.html - - -Domain name: -ggoogle.ch - -Holder of domain name: -EISD John -Room 208, Furong Road, Changsha City -CN-41000 Changsha -China -Contractual Language: German - -Technical contact: -xie huijie -xie huijie -No95.Lane768.Ruili Road.Minhang District -CN-200240 shanghai -China - -DNSSEC:N - -Name servers: -ns3.domainmanager.com -ns4.domainmanager.com diff --git a/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.expected deleted file mode 100644 index af02d9d0c..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.citrin.ch" - %s[0].ipv4 == "193.247.72.8" - %s[0].ipv6 == "2001:8a8:21:5::11" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.citrin.ch" - %s[1].ipv4 == "62.12.149.3" - %s[1].ipv6 == "2001:8a8:21:5::12" diff --git a/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.txt deleted file mode 100644 index ceac6c1bc..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.txt +++ /dev/null @@ -1,27 +0,0 @@ -whois: This information is subject to an Acceptable Use Policy. -See http://www.nic.ch/terms/aup.html - - -Domain name: -pui.ch - -Holder of domain name: -Keller Philipp -Schauenbergstrasse 26 -CH-8046 Zürich -Switzerland -Contractual Language: German - -Technical contact: -Keller Philipp -Schauenbergstrasse 26 -CH-8046 Zürich -Switzerland - -DNSSEC:N - -Name servers: -ns1.citrin.ch [193.247.72.8] -ns1.citrin.ch [2001:8a8:21:5::11] -ns2.citrin.ch [2001:8a8:21:5::12] -ns2.citrin.ch [62.12.149.3] diff --git a/spec/fixtures/responses/whois.nic.ch/ch/status_available.expected b/spec/fixtures/responses/whois.nic.ch/ch/status_available.expected deleted file mode 100644 index 5e7be613e..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/status_available.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ch/ch/status_available.txt b/spec/fixtures/responses/whois.nic.ch/ch/status_available.txt deleted file mode 100644 index 43a8daa5f..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -We do not have an entry in our database matching your query. - diff --git a/spec/fixtures/responses/whois.nic.ch/ch/status_registered.expected b/spec/fixtures/responses/whois.nic.ch/ch/status_registered.expected deleted file mode 100644 index 967d5d72b..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].name == "Google Inc." - %s[0].address == "Administrator Domain\nAmphitheatre Parkway 1600\nUS-94043 Mountain View, CA\nUnited States" - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].name == "Google Inc." - %s[0].address == "DNS Admin\n2400 E. Bayshore Pkwy\nUS-94043 Mountain View\nUnited States" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ch/ch/status_registered.txt b/spec/fixtures/responses/whois.nic.ch/ch/status_registered.txt deleted file mode 100644 index 34b592058..000000000 --- a/spec/fixtures/responses/whois.nic.ch/ch/status_registered.txt +++ /dev/null @@ -1,29 +0,0 @@ -whois: This information is subject to an Acceptable Use Policy. -See http://www.nic.ch/terms/aup.html - - -Domain name: -google.ch - -Holder of domain name: -Google Inc. -Administrator Domain -Amphitheatre Parkway 1600 -US-94043 Mountain View, CA -United States -Contractual Language: English - -Technical contact: -Google Inc. -DNS Admin -2400 E. Bayshore Pkwy -US-94043 Mountain View -United States - -DNSSEC:N - -Name servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com diff --git a/spec/fixtures/responses/whois.nic.ci/ci/status_available.expected b/spec/fixtures/responses/whois.nic.ci/ci/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.nic.ci/ci/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ci/ci/status_available.txt b/spec/fixtures/responses/whois.nic.ci/ci/status_available.txt deleted file mode 100644 index 6891190d8..000000000 --- a/spec/fixtures/responses/whois.nic.ci/ci/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ -All rights reserved. -Copyright "Generic NIC". - -Domain u34jedzcq.ci not found \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.ci/ci/status_registered.expected b/spec/fixtures/responses/whois.nic.ci/ci/status_registered.expected deleted file mode 100644 index 0607fc7db..000000000 --- a/spec/fixtures/responses/whois.nic.ci/ci/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-01-27 11:14:47.77} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-02-14 11:14:47.77} - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ci/ci/status_registered.txt b/spec/fixtures/responses/whois.nic.ci/ci/status_registered.txt deleted file mode 100644 index 30a48b6a3..000000000 --- a/spec/fixtures/responses/whois.nic.ci/ci/status_registered.txt +++ /dev/null @@ -1,19 +0,0 @@ -All rights reserved. -Copyright "Generic NIC". - -Domain: google.ci -Created: 2006-01-27 11:14:47.77 -Registrar: afriregister -Expiration date: 2014-02-14 11:14:47.77 -Owner's handle: DG181-NICCI -Administrative Contact's handle: DG181-NICCI -Technical Contact's handle: DG181-NICCI - -Nameserver: ns1.google.com -Address of ns1.google.com: 216.239.32.10 -Nameserver: ns2.google.com -Address of ns2.google.com: 216.239.34.10 -Nameserver: ns3.google.com -Address of ns3.google.com: 216.239.36.10 -Nameserver: ns4.google.com - diff --git a/spec/fixtures/responses/whois.nic.cl/cl/status_available.expected b/spec/fixtures/responses/whois.nic.cl/cl/status_available.expected deleted file mode 100644 index 6d42b24f6..000000000 --- a/spec/fixtures/responses/whois.nic.cl/cl/status_available.expected +++ /dev/null @@ -1,20 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt b/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt deleted file mode 100644 index 304dfe662..000000000 --- a/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -u34jedzcq.cl: no existe diff --git a/spec/fixtures/responses/whois.nic.cl/cl/status_registered.expected b/spec/fixtures/responses/whois.nic.cl/cl/status_registered.expected deleted file mode 100644 index bd6ea56c5..000000000 --- a/spec/fixtures/responses/whois.nic.cl/cl/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.google.com" - %s[0].ipv4 == "216.239.36.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[1].ipv4 == "216.239.38.10" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[2].ipv4 == "216.239.32.10" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" - %s[3].ipv4 == "216.239.34.10" diff --git a/spec/fixtures/responses/whois.nic.cl/cl/status_registered.txt b/spec/fixtures/responses/whois.nic.cl/cl/status_registered.txt deleted file mode 100644 index 22dccf337..000000000 --- a/spec/fixtures/responses/whois.nic.cl/cl/status_registered.txt +++ /dev/null @@ -1,28 +0,0 @@ -google.cl: - -ACE: google.cl (RFC-3490, RFC-3491, RFC-3492) - -Google Inc. Representada por NameAction Chile S.A. (ASESORIAS NAMEACTION CHILE LIMITADA) - -Contacto Administrativo (Administrative Contact): - Nombre : Markmonitor Tech - Organización: Markmonitor - -Contacto Técnico (Technical Contact): - Nombre : Markmonitor Tech - Organización: MarkMonitor - -Servidores de nombre (Domain servers): - ns3.google.com (216.239.36.10) - ns4.google.com (216.239.38.10) - ns1.google.com (216.239.32.10) - ns2.google.com (216.239.34.10) - -Última modificación al formulario - (Database last updated on): 23 de agosto de 2012 (10:10:08 GMT) - -Más información (More information): - http://www.nic.cl/registry/Whois.do?d=google.cl - -Este mensajes está impreso en ISO-8859-1 -(This message is printed in ISO-8859-1) diff --git a/spec/fixtures/responses/whois.nic.co/co/status_available.expected b/spec/fixtures/responses/whois.nic.co/co/status_available.expected deleted file mode 100644 index d1a29220c..000000000 --- a/spec/fixtures/responses/whois.nic.co/co/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == "u34jedzcq.co" - -#domain_id - %s == nil - - -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.co/co/status_available.txt b/spec/fixtures/responses/whois.nic.co/co/status_available.txt deleted file mode 100644 index 7970c40bf..000000000 --- a/spec/fixtures/responses/whois.nic.co/co/status_available.txt +++ /dev/null @@ -1,38 +0,0 @@ -Not found: u34jedzcq.co - ->>>> Whois database was last updated on: Wed Jan 22 22:07:33 GMT 2014 <<<< -.CO Internet, S.A.S., the Administrator for .CO, has collected this -information for the WHOIS database through Accredited Registrars. -This information is provided to you for informational purposes only -and is designed to assist persons in determining contents of a domain -name registration record in the .CO Internet registry database. .CO -Internet makes this information available to you "as is" and does not -guarantee its accuracy. - -By submitting a WHOIS query, you agree that you will use this data -only for lawful purposes and that, under no circumstances will you -use this data: (1) to allow, enable, or otherwise support the transmission -of mass unsolicited, commercial advertising or solicitations via direct -mail, electronic mail, or by telephone; (2) in contravention of any -applicable data and privacy protection laws; or (3) to enable high volume, -automated, electronic processes that apply to the registry (or its systems). -Compilation, repackaging, dissemination, or other use of the WHOIS -database in its entirety, or of a substantial portion thereof, is not allowed -without .CO Internet's prior written permission. .CO Internet reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. In some limited cases, -domains that might appear as available in whois might not actually be -available as they could be already registered and the whois not yet updated -and/or they could be part of the Restricted list. In this cases, performing a -check through your Registrar's (EPP check) will give you the actual status -of the domain. Additionally, domains currently or previously used as -extensions in 3rd level domains will not be available for registration in the -2nd level. For example, org.co,mil.co,edu.co,com.co,net.co,nom.co,arts.co, -firm.co,info.co,int.co,web.co,rec.co,co.co. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT -INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -All domain names are subject to certain additional domain name registration -rules. For details, please visit our site at www.cointernet.co . diff --git a/spec/fixtures/responses/whois.nic.co/co/status_registered.expected b/spec/fixtures/responses/whois.nic.co/co/status_registered.expected deleted file mode 100644 index f9dc2f315..000000000 --- a/spec/fixtures/responses/whois.nic.co/co/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "t.co" - -#domain_id - %s == "D740225-CO" - - -#status - %s == ["clientTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-04-26 07:50:40 GMT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-14 13:03:24 GMT} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-04-25 23:59:59 GMT} - - -#registrar - %s %CLASS{registrar} - %s.id == "299" - %s.name == "CSC CORPORATE DOMAINS" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "365684910586C791" - %s[0].name == "Twitter, Inc." - %s[0].organization == "Twitter, Inc." - %s[0].address == "1355 Market Street\nSuite 900" - %s[0].city == "San Francisco" - %s[0].zip == "94103" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.4152229670" - %s[0].fax == "+1.4152220922" - %s[0].email == "domains@twitter.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "868543810568A633" - %s[0].name == "Domain Admin" - %s[0].organization == "Twitter, Inc." - %s[0].address == "1355 Market Street\nSuite 900" - %s[0].city == "San Francisco" - %s[0].zip == "94103" - %s[0].state == "California" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.4152229670" - %s[0].fax == "+1.4152220922" - %s[0].email == "domains@twitter.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "42101611057C7478" - %s[0].name == "Tech Admin" - %s[0].organization == "Twitter, Inc." - %s[0].address == "1355 Market Street\nSuite 900" - %s[0].city == "San Francisco" - %s[0].zip == "94103" - %s[0].state == "California" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.4152229670" - %s[0].fax == "+1.4152220922" - %s[0].email == "domains-tech@twitter.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.p34.dynect.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.p34.dynect.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.p34.dynect.net" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.p34.dynect.net" diff --git a/spec/fixtures/responses/whois.nic.co/co/status_registered.txt b/spec/fixtures/responses/whois.nic.co/co/status_registered.txt deleted file mode 100644 index 4fb9aea81..000000000 --- a/spec/fixtures/responses/whois.nic.co/co/status_registered.txt +++ /dev/null @@ -1,104 +0,0 @@ -Domain Name: T.CO -Domain ID: D740225-CO -Sponsoring Registrar: CSC CORPORATE DOMAINS -Sponsoring Registrar IANA ID: 299 -Registrar URL (registration services): whois.corporatedomains.com -Domain Status: clientTransferProhibited -Registrant ID: 365684910586C791 -Registrant Name: Twitter, Inc. -Registrant Organization: Twitter, Inc. -Registrant Address1: 1355 Market Street -Registrant Address2: Suite 900 -Registrant City: San Francisco -Registrant State/Province: CA -Registrant Postal Code: 94103 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.4152229670 -Registrant Facsimile Number: +1.4152220922 -Registrant Email: domains@twitter.com -Administrative Contact ID: 868543810568A633 -Administrative Contact Name: Domain Admin -Administrative Contact Organization: Twitter, Inc. -Administrative Contact Address1: 1355 Market Street -Administrative Contact Address2: Suite 900 -Administrative Contact City: San Francisco -Administrative Contact State/Province: California -Administrative Contact Postal Code: 94103 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.4152229670 -Administrative Contact Facsimile Number: +1.4152220922 -Administrative Contact Email: domains@twitter.com -Billing Contact ID: 341112710590A136 -Billing Contact Name: ccTLD Billing -Billing Contact Organization: CSC Corporate Domains, Inc. -Billing Contact Address1: 2711 Centerville Rd. -Billing Contact City: Wilmington -Billing Contact State/Province: DE -Billing Contact Postal Code: 19808 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.3026365400 -Billing Contact Facsimile Number: +1.3026365454 -Billing Contact Email: ccTLD-billing@cscinfo.com -Technical Contact ID: 42101611057C7478 -Technical Contact Name: Tech Admin -Technical Contact Organization: Twitter, Inc. -Technical Contact Address1: 1355 Market Street -Technical Contact Address2: Suite 900 -Technical Contact City: San Francisco -Technical Contact State/Province: California -Technical Contact Postal Code: 94103 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.4152229670 -Technical Contact Facsimile Number: +1.4152220922 -Technical Contact Email: domains-tech@twitter.com -Name Server: NS1.P34.DYNECT.NET -Name Server: NS2.P34.DYNECT.NET -Name Server: NS3.P34.DYNECT.NET -Name Server: NS4.P34.DYNECT.NET -Created by Registrar: INJECTCSR -Last Updated by Registrar: CSC CORPORATE DOMAINS -Last Transferred Date: Sun Oct 13 16:51:10 GMT 2013 -Domain Registration Date: Mon Apr 26 07:50:40 GMT 2010 -Domain Expiration Date: Mon Apr 25 23:59:59 GMT 2016 -Domain Last Updated Date: Mon Oct 14 13:03:24 GMT 2013 - ->>>> Whois database was last updated on: Tue Feb 18 20:39:30 GMT 2014 <<<< -.CO Internet, S.A.S., the Administrator for .CO, has collected this -information for the WHOIS database through Accredited Registrars. -This information is provided to you for informational purposes only -and is designed to assist persons in determining contents of a domain -name registration record in the .CO Internet registry database. .CO -Internet makes this information available to you "as is" and does not -guarantee its accuracy. - -By submitting a WHOIS query, you agree that you will use this data -only for lawful purposes and that, under no circumstances will you -use this data: (1) to allow, enable, or otherwise support the transmission -of mass unsolicited, commercial advertising or solicitations via direct -mail, electronic mail, or by telephone; (2) in contravention of any -applicable data and privacy protection laws; or (3) to enable high volume, -automated, electronic processes that apply to the registry (or its systems). -Compilation, repackaging, dissemination, or other use of the WHOIS -database in its entirety, or of a substantial portion thereof, is not allowed -without .CO Internet's prior written permission. .CO Internet reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. In some limited cases, -domains that might appear as available in whois might not actually be -available as they could be already registered and the whois not yet updated -and/or they could be part of the Restricted list. In this cases, performing a -check through your Registrar's (EPP check) will give you the actual status -of the domain. Additionally, domains currently or previously used as -extensions in 3rd level domains will not be available for registration in the -2nd level. For example, org.co,mil.co,edu.co,com.co,net.co,nom.co,arts.co, -firm.co,info.co,int.co,web.co,rec.co,co.co. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT -INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -All domain names are subject to certain additional domain name registration -rules. For details, please visit our site at www.cointernet.co . diff --git a/spec/fixtures/responses/whois.nic.college/college/status_available.expected b/spec/fixtures/responses/whois.nic.college/college/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.college/college/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.college/college/status_available.txt b/spec/fixtures/responses/whois.nic.college/college/status_available.txt deleted file mode 100644 index b1b30e987..000000000 --- a/spec/fixtures/responses/whois.nic.college/college/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.college/college/status_registered.expected b/spec/fixtures/responses/whois.nic.college/college/status_registered.expected deleted file mode 100644 index 1ae07f593..000000000 --- a/spec/fixtures/responses/whois.nic.college/college/status_registered.expected +++ /dev/null @@ -1,123 +0,0 @@ -#disclaimer - %s == "Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance." - - -#domain - %s == "nic.college" - -#domain_id - %s == "D1465621-CNIC" - - -#status - %s == ["serverTransferProhibited", "serverUpdateProhibited", "serverDeleteProhibited", "serverRenewProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2013-09-11 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-09-12 00:15:47 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-09-11 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "9999" - %s.name == "CentralNic Ltd" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H5178905" - %s[0].name == "Domain Administrator" - %s[0].organization == "XYZ.COM LLC" - %s[0].address == "2121 E Tropicana Ave Suite #2" - %s[0].city == "Las Vegas" - %s[0].zip == "89119" - %s[0].state == "NV" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8009998422" - %s[0].fax == "+1.7023578299" - %s[0].email == "icann@xyz.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H5178905" - %s[0].name == "Domain Administrator" - %s[0].organization == "XYZ.COM LLC" - %s[0].address == "2121 E Tropicana Ave Suite #2" - %s[0].city == "Las Vegas" - %s[0].zip == "89119" - %s[0].state == "NV" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8009998422" - %s[0].fax == "+1.7023578299" - %s[0].email == "icann@xyz.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H5178905" - %s[0].name == "Domain Administrator" - %s[0].organization == "XYZ.COM LLC" - %s[0].address == "2121 E Tropicana Ave Suite #2" - %s[0].city == "Las Vegas" - %s[0].zip == "89119" - %s[0].state == "NV" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8009998422" - %s[0].fax == "+1.7023578299" - %s[0].email == "icann@xyz.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns0.centralnic-dns.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.centralnic-dns.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.centralnic-dns.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.centralnic-dns.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "ns4.centralnic-dns.com" - %s[4].ipv4 == nil - %s[4].ipv6 == nil - %s[5] %CLASS{nameserver} - %s[5].name == "ns5.centralnic-dns.com" - %s[5].ipv4 == nil - %s[5].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.college/college/status_registered.txt b/spec/fixtures/responses/whois.nic.college/college/status_registered.txt deleted file mode 100644 index 271cd914e..000000000 --- a/spec/fixtures/responses/whois.nic.college/college/status_registered.txt +++ /dev/null @@ -1,89 +0,0 @@ -Domain Name: NIC.COLLEGE -Domain ID: D1465621-CNIC -WHOIS Server: whois.centralnic.com -Referral URL: http://www.centralnic.com/ -Updated Date: 2014-09-12T00:15:47.0Z -Creation Date: 2013-09-11T00:00:00.0Z -Registry Expiry Date: 2015-09-11T23:59:59.0Z -Sponsoring Registrar: CentralNic Ltd -Sponsoring Registrar IANA ID: 9999 -Domain Status: serverTransferProhibited -Domain Status: serverUpdateProhibited -Domain Status: serverDeleteProhibited -Domain Status: serverRenewProhibited -Registrant ID: H5178905 -Registrant Name: Domain Administrator -Registrant Organization: XYZ.COM LLC -Registrant Street: 2121 E Tropicana Ave Suite #2 -Registrant City: Las Vegas -Registrant State/Province: NV -Registrant Postal Code: 89119 -Registrant Country: US -Registrant Phone: +1.8009998422 -Registrant Phone Ext: -Registrant Fax: +1.7023578299 -Registrant Fax Ext: -Registrant Email: icann@xyz.com -Admin ID: H5178905 -Admin Name: Domain Administrator -Admin Organization: XYZ.COM LLC -Admin Street: 2121 E Tropicana Ave Suite #2 -Admin City: Las Vegas -Admin State/Province: NV -Admin Postal Code: 89119 -Admin Country: US -Admin Phone: +1.8009998422 -Admin Phone Ext: -Admin Fax: +1.7023578299 -Admin Fax Ext: -Admin Email: icann@xyz.com -Tech ID: H5178905 -Tech Name: Domain Administrator -Tech Organization: XYZ.COM LLC -Tech Street: 2121 E Tropicana Ave Suite #2 -Tech City: Las Vegas -Tech State/Province: NV -Tech Postal Code: 89119 -Tech Country: US -Tech Phone: +1.8009998422 -Tech Phone Ext: -Tech Fax: +1.7023578299 -Tech Fax Ext: -Tech Email: icann@xyz.com -Name Server: NS0.CENTRALNIC-DNS.COM -Name Server: NS1.CENTRALNIC-DNS.COM -Name Server: NS2.CENTRALNIC-DNS.COM -Name Server: NS3.CENTRALNIC-DNS.COM -Name Server: NS4.CENTRALNIC-DNS.COM -Name Server: NS5.CENTRALNIC-DNS.COM -DNSSEC: unsigned -Billing ID: H5178905 -Billing Name: Domain Administrator -Billing Organization: XYZ.COM LLC -Billing Street: 2121 E Tropicana Ave Suite #2 -Billing City: Las Vegas -Billing State/Province: NV -Billing Postal Code: 89119 -Billing Country: US -Billing Phone: +1.8009998422 -Billing Phone Ext: -Billing Fax: +1.7023578299 -Billing Fax Ext: -Billing Email: icann@xyz.com ->>> Last update of WHOIS database: 2015-05-13T10:34:31.0Z <<< - -For more information on Whois status codes, please visit https://icann.org/epp - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names registered by our -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Access to the whois service is rate limited. For more information, please -see https://registrar-console.centralnic.com/pub/whois_guidance. - diff --git a/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.expected b/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.expected deleted file mode 100644 index b5ddbc304..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"] diff --git a/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.txt b/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.txt deleted file mode 100644 index 312250540..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.txt +++ /dev/null @@ -1,125 +0,0 @@ -.coop registry WHOIS server - -For help on using this server use "?" (without the quotes). -For more .coop information browse to http://www.coop - -The domain records that match "moscowfood.coop" are listed below. - --------------------------------------------------------------------------------- - -Domain ID: 5662D-COOP -Domain Name: moscowfood.coop -Expiry Date: 30 Jan 2013 00:00:00 UTC -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Sponsoring registrar: Domain Bank Inc. -Sponsoring registrar ID: 31 -Created by: DCLLC -Created by ID: 0 -Last updated by: Domain Bank Inc. -Last updated by ID: 31 -Created: 09 Oct 2001 04:36:36 UTC -Last updated: 04 Jan 2011 20:32:37 UTC -Last transferred: 28 Jan 2004 14:30:00 UTC - -Contact Type: registrant -Contact ID: 71764C-COOP -Name: Kenna Eaton -Organisation: Moscow Food Co-op -Street 1: P. O. Box 9485 -Street 2: -Street 3: -City: Moscow -State/Province: ID -Postal code: 83843 -Country: United States -Voice: +1.2088828537 -Voice extn: -Fax: +1.2088828082 -Fax extn: -Email: kenna@moscowfood.coop - -Contact Type: admin -Contact ID: 74326C-COOP -Name: Carol Spurling -Organisation: Moscow Food Co-op -Street 1: P. O. Box 9485 -Street 2: -Street 3: -City: Moscow -State/Province: ID -Postal code: 83843 -Country: United States -Voice: +1.2086690763 -Voice extn: -Fax: -Fax extn: -Email: outreach@moscowfood.coop - -Contact Type: billing -Contact ID: 75003C-COOP -Name: Sandy Hughes -Organisation: Moscow Food Co-op -Street 1: P. O. Box 9485 -Street 2: -Street 3: -City: Moscow -State/Province: ID -Postal code: 83843 -Country: United States -Voice: +1.2088828537 -Voice extn: -Fax: +1.2088828082 -Fax extn: -Email: payable@moscowfood.coop - -Contact Type: tech -Contact ID: 75916C-COOP -Name: Joseph Erhard-Hudson -Organisation: Moscow Food Co-op -Street 1: P. O. Box 9485 -Street 2: -Street 3: -City: Moscow -State/Province: ID -Postal code: 83843 -Country: United States -Voice: +1.2088828537 -Voice extn: -Fax: +1.2088828082 -Fax extn: -Email: joseph@moscowfood.coop - -Host ID: 22941H-COOP -Host Name: ns2.west-datacenter.net - -Host ID: 22942H-COOP -Host Name: ns1.west-datacenter.net - --------------------------------------------------------------------------------- - -The .coop registry WHOIS database provides information for .coop registered -names only. Although every effort is made to maintain the accuracy of the WHOIS -data, accuracy cannot be guaranteed. - -This service is intended only for query-based access. You agree that you will -use this data only for lawful purposes and that, under no circumstances will you -use this data to: (a) allow, enable, or otherwise support the transmission by -e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or -solicitations to entities other than the data recipient's own existing -customers; or (b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator or any ICANN-Accredited -Registrar, except as reasonably necessary to register domain names or modify -existing registrations. The compilation, repackaging, dissemination or other use -of this Data is expressly prohibited without the prior written consent of -dotCoop. All rights reserved. dotCoop reserves the right to modify these terms -at any time. By submitting this query, you agree to abide by this policy. - -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT -GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT DOTCOOP IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE -INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. -THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE -CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER -VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. diff --git a/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.expected b/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.expected deleted file mode 100644 index ff6bdbc87..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["ok"] diff --git a/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.txt b/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.txt deleted file mode 100644 index 4f7ddbeb9..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/property_status_single.txt +++ /dev/null @@ -1,123 +0,0 @@ -.coop registry WHOIS server - -For help on using this server use "?" (without the quotes). -For more .coop information browse to http://www.coop - -The domain records that match "calgary.coop" are listed below. - --------------------------------------------------------------------------------- - -Domain ID: 7441D-COOP -Domain Name: calgary.coop -Expiry Date: 31 Jan 2012 22:12:44 UTC -Domain Status: ok -Sponsoring registrar: domains.coop -Sponsoring registrar ID: 465 -Created by: DCLLC -Created by ID: 0 -Last updated by: domains.coop -Last updated by ID: 465 -Created: 31 Jan 2002 22:12:44 UTC -Last updated: 17 Jan 2007 23:58:04 UTC -Last transferred: - -Contact Type: registrant -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: admin -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: billing -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: tech -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Host ID: 59300H-COOP -Host Name: ns1.calgarycoop.net - -Host ID: 59301H-COOP -Host Name: ns2.calgarycoop.net - --------------------------------------------------------------------------------- - -The .coop registry WHOIS database provides information for .coop registered -names only. Although every effort is made to maintain the accuracy of the WHOIS -data, accuracy cannot be guaranteed. - -This service is intended only for query-based access. You agree that you will -use this data only for lawful purposes and that, under no circumstances will you -use this data to: (a) allow, enable, or otherwise support the transmission by -e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or -solicitations to entities other than the data recipient's own existing -customers; or (b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator or any ICANN-Accredited -Registrar, except as reasonably necessary to register domain names or modify -existing registrations. The compilation, repackaging, dissemination or other use -of this Data is expressly prohibited without the prior written consent of -dotCoop. All rights reserved. dotCoop reserves the right to modify these terms -at any time. By submitting this query, you agree to abide by this policy. - -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT -GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT DOTCOOP IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE -INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. -THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE -CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER -VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. diff --git a/spec/fixtures/responses/whois.nic.coop/coop/status_available.expected b/spec/fixtures/responses/whois.nic.coop/coop/status_available.expected deleted file mode 100644 index 03cb4d2b5..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.coop/coop/status_available.txt b/spec/fixtures/responses/whois.nic.coop/coop/status_available.txt deleted file mode 100644 index b96b2e78f..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/status_available.txt +++ /dev/null @@ -1,33 +0,0 @@ -.coop registry WHOIS server - -For help on using this server use "?" (without the quotes). -For more .coop information browse to http://www.coop - -No domain records were found to match "u34jedzcq.coop" - --------------------------------------------------------------------------------- - -The .coop registry WHOIS database provides information for .coop registered -names only. Although every effort is made to maintain the accuracy of the WHOIS -data, accuracy cannot be guaranteed. - -This service is intended only for query-based access. You agree that you will -use this data only for lawful purposes and that, under no circumstances will you -use this data to: (a) allow, enable, or otherwise support the transmission by -e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or -solicitations to entities other than the data recipient's own existing -customers; or (b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator or any ICANN-Accredited -Registrar, except as reasonably necessary to register domain names or modify -existing registrations. The compilation, repackaging, dissemination or other use -of this Data is expressly prohibited without the prior written consent of -dotCoop. All rights reserved. dotCoop reserves the right to modify these terms -at any time. By submitting this query, you agree to abide by this policy. - -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT -GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT DOTCOOP IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE -INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. -THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE -CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER -VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. diff --git a/spec/fixtures/responses/whois.nic.coop/coop/status_registered.expected b/spec/fixtures/responses/whois.nic.coop/coop/status_registered.expected deleted file mode 100644 index ef6e7d9e5..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/status_registered.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-01-31 22:12:44 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-01-04 18:30:54 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-01-31 22:12:44 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.calgarycoop.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.calgarycoop.net" diff --git a/spec/fixtures/responses/whois.nic.coop/coop/status_registered.txt b/spec/fixtures/responses/whois.nic.coop/coop/status_registered.txt deleted file mode 100644 index 0c95f1af0..000000000 --- a/spec/fixtures/responses/whois.nic.coop/coop/status_registered.txt +++ /dev/null @@ -1,123 +0,0 @@ -.coop registry WHOIS server - -For help on using this server use "?" (without the quotes). -For more .coop information browse to http://www.coop - -The domain records that match "calgary.coop" are listed below. - --------------------------------------------------------------------------------- - -Domain ID: 7441D-COOP -Domain Name: calgary.coop -Expiry Date: 31 Jan 2017 22:12:44 UTC -Domain Status: ok -Sponsoring registrar: domains.coop -Sponsoring registrar ID: 465 -Created by: DCLLC -Created by ID: 0 -Last updated by: domains.coop -Last updated by ID: 465 -Created: 31 Jan 2002 22:12:44 UTC -Last updated: 04 Jan 2012 18:30:54 UTC -Last transferred: - -Contact Type: registrant -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: admin -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: billing -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Contact Type: tech -Contact ID: 54100C-COOP -Name: Net Admin -Organisation: Calgary Co operative Association Limited -Street 1: 2735 39 Avenue NE -Street 2: -Street 3: -City: Calgary -State/Province: AB -Postal code: T1Y 7C7 -Country: Canada -Voice: +1.4032196025 -Voice extn: -Fax: +1.4032995416 -Fax extn: -Email: netadmin@calgarycoop.com - -Host ID: 59300H-COOP -Host Name: ns1.calgarycoop.net - -Host ID: 59301H-COOP -Host Name: ns2.calgarycoop.net - --------------------------------------------------------------------------------- - -The .coop registry WHOIS database provides information for .coop registered -names only. Although every effort is made to maintain the accuracy of the WHOIS -data, accuracy cannot be guaranteed. - -This service is intended only for query-based access. You agree that you will -use this data only for lawful purposes and that, under no circumstances will you -use this data to: (a) allow, enable, or otherwise support the transmission by -e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or -solicitations to entities other than the data recipient's own existing -customers; or (b) enable high volume, automated, electronic processes that send -queries or data to the systems of Registry Operator or any ICANN-Accredited -Registrar, except as reasonably necessary to register domain names or modify -existing registrations. The compilation, repackaging, dissemination or other use -of this Data is expressly prohibited without the prior written consent of -dotCoop. All rights reserved. dotCoop reserves the right to modify these terms -at any time. By submitting this query, you agree to abide by this policy. - -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT -GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT DOTCOOP IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE -INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. -THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE -CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER -VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. diff --git a/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.expected b/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.txt b/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.txt deleted file mode 100644 index 0cea2dd60..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.txt +++ /dev/null @@ -1,59 +0,0 @@ -Domain Name: communication.cx -Domain ID: 919354-CoCCA -WHOIS Server: whois.nic.cx -Referral URL: -Updated Date: -Creation Date: 2013-07-17T10:26:59.132Z -Registry Expiry Date: 2014-07-17T10:26:59.365Z -Sponsoring Registrar: Marcaria.com -Domain Status: ok -Registrant ID: 919353-CoCCA -Registrant Name: Matthew Marks -Registrant Street: 162 Locarna Way -Registrant City: Pittsburgh -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US -Registrant Phone: +1.3054348621 -Registrant Phone Ext: -Registrant Email: domains@marcaria.com -Admin ID: 99834-CoCCA -Admin Name: Francisco Fuentealba -Admin Street: UNKNOWN -Admin City: Miami -Admin State/Province: -Admin Postal Code: -Admin Country: US -Admin Phone: -Admin Phone Ext: -Admin Email: domains@marcaria.com -Billing ID: 99834-CoCCA -Billing Name: Francisco Fuentealba -Billing Street: UNKNOWN -Billing City: Miami -Billing State/Province: -Billing Postal Code: -Billing Country: US -Billing Phone: -Billing Phone Ext: -Billing Email: domains@marcaria.com -Tech ID: 99834-CoCCA -Tech Name: Francisco Fuentealba -Tech Street: UNKNOWN -Tech City: Miami -Tech State/Province: -Tech Postal Code: -Tech Country: US -Tech Phone: -Tech Phone Ext: -Tech Email: domains@marcaria.com -Name Server: ns01.trademarkarea.com -Name Server: ns02.trademarkarea.com -DNSSEC: unsigned ->>> Last update of WHOIS database: 2014-07-13T20:36:14.284Z <<< - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by Christmas Island Internet Administration Limited ("CiiA"). - -CiiA makes every effort to maintain the completeness and accuracy of the Whois data, but cannot guarantee that the results are error-free. Therefore, any data provided through the Whois service are on an "as is" basis without any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT CIIA IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the results of the Whois constitutes acceptance of these terms, conditions and limitations. Whois data may be requested only for lawful purposes, in particular, to protect legal rights and obligations. Illegitimate uses of Whois data include, but are not limited to, unsolicited email, data mining, direct marketing or any other improper purpose. Any request made for Whois data will be documented by CiiA but will not be used for any commercial purpose whatsoever. NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -? 2000-2014 CiiA, All rights reserved. diff --git a/spec/fixtures/responses/whois.nic.cx/cx/status_available.expected b/spec/fixtures/responses/whois.nic.cx/cx/status_available.expected deleted file mode 100644 index a664ca023..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.cx" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.cx/cx/status_available.txt b/spec/fixtures/responses/whois.nic.cx/cx/status_available.txt deleted file mode 100644 index beb3e6ae7..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain Name: u34jedzcq.cx -Domain Status: No Object Found ->>> Last update of WHOIS database: 2014-07-13T20:33:16.857Z <<< - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by Christmas Island Internet Administration Limited ("CiiA"). - -CiiA makes every effort to maintain the completeness and accuracy of the Whois data, but cannot guarantee that the results are error-free. Therefore, any data provided through the Whois service are on an "as is" basis without any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT CIIA IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the results of the Whois constitutes acceptance of these terms, conditions and limitations. Whois data may be requested only for lawful purposes, in particular, to protect legal rights and obligations. Illegitimate uses of Whois data include, but are not limited to, unsolicited email, data mining, direct marketing or any other improper purpose. Any request made for Whois data will be documented by CiiA but will not be used for any commercial purpose whatsoever. NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -? 2000-2014 CiiA, All rights reserved. diff --git a/spec/fixtures/responses/whois.nic.cx/cx/status_registered.expected b/spec/fixtures/responses/whois.nic.cx/cx/status_registered.expected deleted file mode 100644 index 22ce82a2b..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.cx" - -#domain_id - %s == "447518-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-07-29 18:15:42 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-06-28 09:18:02 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-07-29 18:15:42 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.cx/cx/status_registered.txt b/spec/fixtures/responses/whois.nic.cx/cx/status_registered.txt deleted file mode 100644 index 30d1e51b2..000000000 --- a/spec/fixtures/responses/whois.nic.cx/cx/status_registered.txt +++ /dev/null @@ -1,63 +0,0 @@ -Domain Name: google.cx -Domain ID: 447518-CoCCA -WHOIS Server: whois.nic.cx -Referral URL: -Updated Date: 2014-06-28T09:18:02.516Z -Creation Date: 2010-07-29T18:15:42.056Z -Registry Expiry Date: 2015-07-29T18:15:42.158Z -Sponsoring Registrar: MarkMonitor -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: ok -Domain Status: clientDeleteProhibited -Registrant ID: 969680-CoCCA -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Admin ID: 969680-CoCCA -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Tech ID: 969680-CoCCA -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: ns1.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com -Name Server: ns2.google.com -DNSSEC: unsigned ->>> Last update of WHOIS database: 2014-07-13T20:33:16.857Z <<< - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by Christmas Island Internet Administration Limited ("CiiA"). - -CiiA makes every effort to maintain the completeness and accuracy of the Whois data, but cannot guarantee that the results are error-free. Therefore, any data provided through the Whois service are on an "as is" basis without any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT CIIA IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the results of the Whois constitutes acceptance of these terms, conditions and limitations. Whois data may be requested only for lawful purposes, in particular, to protect legal rights and obligations. Illegitimate uses of Whois data include, but are not limited to, unsolicited email, data mining, direct marketing or any other improper purpose. Any request made for Whois data will be documented by CiiA but will not be used for any commercial purpose whatsoever. NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -? 2000-2014 CiiA, All rights reserved. diff --git a/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.expected b/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.expected deleted file mode 100644 index 9961f6f6e..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.expected +++ /dev/null @@ -1,17 +0,0 @@ -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].id == "WEBAREAL-CZ" - %s[0].name == "Jaroslav Hansal" - %s[0].organization == nil - %s[0].address == "Rudolfovská tř. 247/85\nČeské Budějovice\n37001\nCZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "info@webareal.cz" - %s[0].created_on %TIME{2009-04-10 14:48:02} diff --git a/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.txt b/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.txt deleted file mode 100644 index 8cb44a3f8..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.txt +++ /dev/null @@ -1,57 +0,0 @@ -% (c) 2006-2013 CZ.NIC, z.s.p.o. -% -% Intended use of supplied data and information -% -% Data contained in the domain name register, as well as information -% supplied through public information services of CZ.NIC association, -% are appointed only for purposes connected with Internet network -% administration and operation, or for the purpose of legal or other -% similar proceedings, in process as regards a matter connected -% particularly with holding and using a concrete domain name. -% -% Full text available at: -% http://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/ -% -% See also a search service at http://www.nic.cz/whois/ -% -% -% Whoisd Server Version: 3.6.0 -% Timestamp: Wed Feb 27 15:10:05 2013 - -domain: rybarskepotreby-marek.cz -registrant: A24CONTACT-42407 -nsset: WEBAREAL-CZ -registrar: REG-ACTIVE24 -status: paid and in zone -registered: 31.12.2010 03:39:20 -changed: 04.01.2011 18:57:14 -expire: 31.12.2013 - -contact: A24CONTACT-42407 -org: Leoš Marek -name: Leoš Marek -address: Krásný Dvůr 180 -address: Krásný Dvůr -address: 43972 -address: CZ -registrar: REG-ACTIVE24 -created: 31.12.2010 03:36:50 - -nsset: WEBAREAL-CZ -nserver: ns.unihost.cz -nserver: ns2.unihost.cz -tech-c: WEBAREAL-CZ -registrar: REG-GENREG -created: 10.04.2009 14:51:09 - -contact: WEBAREAL-CZ -name: Jaroslav Hansal -address: Rudolfovská tř. 247/85 -address: České Budějovice -address: 37001 -address: CZ -e-mail: info@webareal.cz -registrar: REG-GENREG -created: 10.04.2009 14:48:02 - - diff --git a/spec/fixtures/responses/whois.nic.cz/cz/property_status_expired.expected b/spec/fixtures/responses/whois.nic.cz/cz/property_status_expired.expected deleted file mode 100644 index f68910233..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/property_status_expired.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == [:expired] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.cz/cz/property_status_missing.expected b/spec/fixtures/responses/whois.nic.cz/cz/property_status_missing.expected deleted file mode 100644 index 055c8f1b0..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == [:available] - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.cz/cz/property_status_paid.expected b/spec/fixtures/responses/whois.nic.cz/cz/property_status_paid.expected deleted file mode 100644 index cba24fafd..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/property_status_paid.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == [:registered] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.cz/cz/property_status_to_be_deleted.expected b/spec/fixtures/responses/whois.nic.cz/cz/property_status_to_be_deleted.expected deleted file mode 100644 index 1baf80b8a..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/property_status_to_be_deleted.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == [:delete_candidate] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.expected b/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.txt b/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.txt deleted file mode 100644 index 49688391d..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -Your connection limit exceeded. Please slow down and try again later. diff --git a/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.expected b/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.expected deleted file mode 100644 index 4525016e1..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.expected +++ /dev/null @@ -1,11 +0,0 @@ -#created_on - %s %CLASS{time} - %s %TIME{2006-01-30 18:55:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-03-06 15:53:04} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-01-30} diff --git a/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.txt b/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.txt deleted file mode 100644 index fb8d55317..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.txt +++ /dev/null @@ -1,84 +0,0 @@ -% (c) 2006-2013 CZ.NIC, z.s.p.o. -% -% Intended use of supplied data and information -% -% Data contained in the domain name register, as well as information -% supplied through public information services of CZ.NIC association, -% are appointed only for purposes connected with Internet network -% administration and operation, or for the purpose of legal or other -% similar proceedings, in process as regards a matter connected -% particularly with holding and using a concrete domain name. -% -% Full text available at: -% http://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/ -% -% See also a search service at http://www.nic.cz/whois/ -% -% -% Whoisd Server Version: 3.6.0 -% Timestamp: Fri Feb 22 11:20:02 2013 - -domain: realityporno.cz -registrant: SB:GLOBE-SPKA040146 -admin-c: GLOBE-PKVO462567 -nsset: NSS:GLOBE-SGLO000001:1 -keyset: A24-KEYSET -registrar: REG-ACTIVE24 -status: paid and in zone -registered: 30.01.2006 18:55:00 -changed: 06.03.2010 15:53:04 -expire: 30.01.2014 - -contact: SB:GLOBE-SPKA040146 -org: PK62, a.s -name: PK62, a.s -address: Bohdalecka 6/1420 -address: Praha 10 -address: 10100 -address: CZ -e-mail: domeny@pk62.cz -registrar: REG-ACTIVE24 -created: 19.11.2004 15:05:00 - -contact: GLOBE-PKVO462567 -name: Pavel Kvoriak -address: Bohdalecka 6/1420 -address: Praha 10 -address: 10100 -address: CZ -phone: +420.281090653 -fax-no: +420.281090622 -e-mail: domeny@pk62.cz -registrar: REG-ACTIVE24 -created: 19.11.2004 14:05:00 - -nsset: NSS:GLOBE-SGLO000001:1 -nserver: beta.ns.active24.cz (81.0.238.27, 2001:1528:151::12) -nserver: gama.ns.active24.sk -nserver: alfa.ns.active24.cz (81.95.96.2, 2a02:4a8:ac24:100::96:2) -tech-c: ACTIVE24 -registrar: REG-ACTIVE24 -created: 01.10.2007 02:00:00 -changed: 19.07.2011 15:27:33 - -contact: ACTIVE24 -org: ACTIVE 24, s.r.o. -name: ACTIVE 24, s.r.o. -address: Sokolovská 394/17 -address: Praha 8 -address: 186 00 -address: CZ -phone: +420.234262000 -fax-no: +420.234262009 -registrar: REG-ACTIVE24 -created: 29.04.2008 12:35:02 -changed: 28.11.2012 15:33:24 - -keyset: A24-KEYSET -dnskey: 257 3 5 AwEAAaZg1mHVw0d/qllyQBGqnRGJGRbL/51OuJ/QmAwt5VACOeIbRjAOfZ5RDvnjc9IekSVgXiSjDuO+gSm63bvFHTiGLKUnJD03TmB12oOctDB0pMs0eQT+2HoKdkgmqipzqYssVZOdcb/t/NP3fq3xLdYlJgTBmx1769NsyF602her5PSojVcxRjUlqqA4zNmN9K2r6+xrbhSHf0+dGC2u8O4bW1qGEoeo2M+xr7oUiUL8yH5n0DbhxcribLcuGro1LTn4s3P9xTYGSRb0Pd9rK0s7csb7FxyGdwsOqmZr47t3UQn2pp8q4guca2ef/hjevkq+wVZv/eUHhu6FzMCYTqc= -tech-c: ACTIVE24 -registrar: REG-ACTIVE24 -created: 26.11.2008 14:12:02 -changed: 07.10.2011 21:51:15 - - diff --git a/spec/fixtures/responses/whois.nic.cz/cz/status_available.expected b/spec/fixtures/responses/whois.nic.cz/cz/status_available.expected deleted file mode 100644 index dffb6d9bc..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == [:available] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.cz/cz/status_available.txt b/spec/fixtures/responses/whois.nic.cz/cz/status_available.txt deleted file mode 100644 index 04e91bcf0..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/status_available.txt +++ /dev/null @@ -1,24 +0,0 @@ -% (c) 2006-2014 CZ.NIC, z.s.p.o. -% -% Intended use of supplied data and information -% -% Data contained in the domain name register, as well as information -% supplied through public information services of CZ.NIC association, -% are appointed only for purposes connected with Internet network -% administration and operation, or for the purpose of legal or other -% similar proceedings, in process as regards a matter connected -% particularly with holding and using a concrete domain name. -% -% Full text available at: -% http://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/ -% -% See also a search service at http://www.nic.cz/whois/ -% -% -% Whoisd Server Version: 3.9.0 - -%ERROR:101: no entries found -% -% No entries found. - - diff --git a/spec/fixtures/responses/whois.nic.cz/cz/status_registered.expected b/spec/fixtures/responses/whois.nic.cz/cz/status_registered.expected deleted file mode 100644 index afacd9541..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == " (c) 2006-2017 CZ.NIC, z.s.p.o.\n\nIntended use of supplied data and information\n\nData contained in the domain name register, as well as information\nsupplied through public information services of CZ.NIC association,\nare appointed only for purposes connected with Internet network\nadministration and operation, or for the purpose of legal or other\nsimilar proceedings, in process as regards a matter connected\nparticularly with holding and using a concrete domain name.\n\nFull text available at:\nhttp://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/\n\nSee also a search service at http://www.nic.cz/whois/\n\n" - -#domain - %s == "nic.cz" - -#domain_id - %s raise_error(Whois::AttributeNotSupported) - -#status - %s %CLASS{array} - %s == [:server_transfer_prohibited] - -#available? - %s == false - -#registered? - %s == true - -#created_on - %s %CLASS{time} - %s == Time.parse("30.10.1997 01:00:00") - -#updated_on - %s %CLASS{time} - %s == Time.parse("22.11.2016 15:07:40") - -#expires_on - %s %CLASS{time} - %s == Time.parse("15.03.2027") - -#registrar - %s %CLASS{registrar} - %s.id == "REG-CZNIC" - %s.name == "REG-CZNIC" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "CZ-NIC" - %s[0].name == "CZ.NIC, z.s.p.o." - %s[0].organization == "CZ.NIC, z.s.p.o." - %s[0].address == "Milesovska 1136/5\nPraha 3\n130 00\nCZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].email == "admin@nic.cz" - %s[0].created_on == Time.parse("17.10.2008 12:08:21") - %s[0].updated_on == Time.parse("09.01.2015 11:09:33") - -#admin_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "FEELA" - %s[0].name == "Ondřej Filip" - %s[0].organization == nil - %s[0].address == "Jeseniova 2852/16\nPraha 3\n13000\nCZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == Time.parse("04.01.2005 13:35:00") - %s[0].updated_on == Time.parse("17.07.2017 15:35:48") - -#technical_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0].id == "JTALIR" - %s[0].name == "Jaromír Talíř" - %s[1] %CLASS{contact} - %s[1].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[1].id == "JAROMIR-TALIR" - %s[1].name == "Jaromír Talíř" - %s[1].organization == nil - %s[1].address == "Americká 23\nPraha 2\n120 00\nCZ" - %s[1].city == nil - %s[1].zip == nil - %s[1].state == nil - %s[1].country_code == nil - %s[1].phone == nil - %s[1].fax == nil - %s[1].email == nil - %s[1].created_on == Time.parse("01.12.2011 17:35:04") - %s[1].updated_on == nil - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "d.ns.nic.cz" - %s[0].ipv4 == "193.29.206.1" - %s[0].ipv6 == "2001:678:1::1" - %s[1] %CLASS{nameserver} - %s[1].name == "a.ns.nic.cz" - %s[2] %CLASS{nameserver} - %s[2].name == "b.ns.nic.cz" diff --git a/spec/fixtures/responses/whois.nic.cz/cz/status_registered.txt b/spec/fixtures/responses/whois.nic.cz/cz/status_registered.txt deleted file mode 100644 index b2727e1bb..000000000 --- a/spec/fixtures/responses/whois.nic.cz/cz/status_registered.txt +++ /dev/null @@ -1,94 +0,0 @@ -% (c) 2006-2017 CZ.NIC, z.s.p.o. -% -% Intended use of supplied data and information -% -% Data contained in the domain name register, as well as information -% supplied through public information services of CZ.NIC association, -% are appointed only for purposes connected with Internet network -% administration and operation, or for the purpose of legal or other -% similar proceedings, in process as regards a matter connected -% particularly with holding and using a concrete domain name. -% -% Full text available at: -% http://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/ -% -% See also a search service at http://www.nic.cz/whois/ -% -% -% Whoisd Server Version: 3.10.2 -% Timestamp: Thu Sep 07 12:49:39 2017 - -domain: nic.cz -registrant: CZ-NIC -admin-c: FEELA -admin-c: MAPET -nsset: CZ.NIC -keyset: CZNIC -registrar: REG-CZNIC -status: Sponsoring registrar change forbidden -registered: 30.10.1997 01:00:00 -changed: 22.11.2016 15:07:40 -expire: 15.03.2027 - -contact: CZ-NIC -org: CZ.NIC, z.s.p.o. -name: CZ.NIC, z.s.p.o. -address: Milesovska 1136/5 -address: Praha 3 -address: 130 00 -address: CZ -phone: +420.222745111 -fax-no: +420.222745112 -e-mail: admin@nic.cz -registrar: REG-CZNIC -created: 17.10.2008 12:08:21 -changed: 09.01.2015 11:09:33 - -contact: FEELA -name: Ondřej Filip -address: Jeseniova 2852/16 -address: Praha 3 -address: 13000 -address: CZ -registrar: REG-MOJEID -created: 04.01.2005 13:35:00 -changed: 17.07.2017 15:35:48 - -contact: MAPET -name: Martin Peterka -registrar: REG-MOJEID -created: 06.03.2002 18:11:00 -changed: 16.02.2017 19:42:41 - -nsset: CZ.NIC -nserver: d.ns.nic.cz (193.29.206.1, 2001:678:1::1) -nserver: a.ns.nic.cz (194.0.12.1, 2001:678:f::1) -nserver: b.ns.nic.cz (194.0.13.1, 2001:678:10::1) -tech-c: JTALIR -tech-c: JAROMIR-TALIR -registrar: REG-CZNIC -created: 09.06.2008 14:30:16 -changed: 20.09.2013 11:18:20 - -contact: JTALIR -name: Jaromír Talíř -registrar: REG-MOJEID -created: 26.10.2010 10:53:34 -changed: 15.11.2016 15:04:44 - -contact: JAROMIR-TALIR -name: Jaromír Talíř -address: Americká 23 -address: Praha 2 -address: 120 00 -address: CZ -registrar: REG-MOJEID -created: 01.12.2011 17:35:04 - -keyset: CZNIC -dnskey: 257 3 13 LM4zvjUgZi2XZKsYooDE0HFYGfWp242fKB+O8sLsuox8S6MJTowY8lBDjZD7JKbmaNot3+1H8zU9TrDzWmmHwQ== -tech-c: JTALIR -registrar: REG-CZNIC -created: 20.05.2016 16:13:26 - - diff --git a/spec/fixtures/responses/whois.nic.design/design/status_available.expected b/spec/fixtures/responses/whois.nic.design/design/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.design/design/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.design/design/status_available.txt b/spec/fixtures/responses/whois.nic.design/design/status_available.txt deleted file mode 100644 index b1b30e987..000000000 --- a/spec/fixtures/responses/whois.nic.design/design/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.design/design/status_registered.expected b/spec/fixtures/responses/whois.nic.design/design/status_registered.expected deleted file mode 100644 index 605f00086..000000000 --- a/spec/fixtures/responses/whois.nic.design/design/status_registered.expected +++ /dev/null @@ -1,115 +0,0 @@ -#disclaimer - %s == "Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance." - - -#domain - %s == "toplevel.design" - -#domain_id - %s == "D7069819-CNIC" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2015-02-27 16:08:32 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-04-21 17:48:34 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-02-27 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "9999" - %s.name == "Top Level Design, LLC" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H4596017" - %s[0].name == "Domain Administrator" - %s[0].organization == "Top Level Design, LLC" - %s[0].address == "742 Ocean Club Place" - %s[0].city == "Fernandina Beach" - %s[0].zip == "32034" - %s[0].state == "Florida" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.5038888808" - %s[0].fax == "+1.6788841468" - %s[0].email == "ray@tldesign.co" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H4596017" - %s[0].name == "Domain Administrator" - %s[0].organization == "Top Level Design, LLC" - %s[0].address == "742 Ocean Club Place" - %s[0].city == "Fernandina Beach" - %s[0].zip == "32034" - %s[0].state == "Florida" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.5038888808" - %s[0].fax == "+1.6788841468" - %s[0].email == "ray@tldesign.co" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H4596017" - %s[0].name == "Domain Administrator" - %s[0].organization == "Top Level Design, LLC" - %s[0].address == "742 Ocean Club Place" - %s[0].city == "Fernandina Beach" - %s[0].zip == "32034" - %s[0].state == "Florida" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.5038888808" - %s[0].fax == "+1.6788841468" - %s[0].email == "ray@tldesign.co" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns-170.awsdns-21.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns-904.awsdns-49.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns-1067.awsdns-05.org" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns-1873.awsdns-42.co.uk" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.design/design/status_registered.txt b/spec/fixtures/responses/whois.nic.design/design/status_registered.txt deleted file mode 100644 index f82ac8f33..000000000 --- a/spec/fixtures/responses/whois.nic.design/design/status_registered.txt +++ /dev/null @@ -1,84 +0,0 @@ -Domain Name: TOPLEVEL.DESIGN -Domain ID: D7069819-CNIC -WHOIS Server: whois.nic.wiki -Referral URL: -Updated Date: 2015-04-21T17:48:34.0Z -Creation Date: 2015-02-27T16:08:32.0Z -Registry Expiry Date: 2016-02-27T23:59:59.0Z -Sponsoring Registrar: Top Level Design, LLC -Sponsoring Registrar IANA ID: 9999 -Domain Status: ok -Registrant ID: H4596017 -Registrant Name: Domain Administrator -Registrant Organization: Top Level Design, LLC -Registrant Street: 742 Ocean Club Place -Registrant City: Fernandina Beach -Registrant State/Province: Florida -Registrant Postal Code: 32034 -Registrant Country: US -Registrant Phone: +1.5038888808 -Registrant Phone Ext: -Registrant Fax: +1.6788841468 -Registrant Fax Ext: -Registrant Email: ray@tldesign.co -Admin ID: H4596017 -Admin Name: Domain Administrator -Admin Organization: Top Level Design, LLC -Admin Street: 742 Ocean Club Place -Admin City: Fernandina Beach -Admin State/Province: Florida -Admin Postal Code: 32034 -Admin Country: US -Admin Phone: +1.5038888808 -Admin Phone Ext: -Admin Fax: +1.6788841468 -Admin Fax Ext: -Admin Email: ray@tldesign.co -Tech ID: H4596017 -Tech Name: Domain Administrator -Tech Organization: Top Level Design, LLC -Tech Street: 742 Ocean Club Place -Tech City: Fernandina Beach -Tech State/Province: Florida -Tech Postal Code: 32034 -Tech Country: US -Tech Phone: +1.5038888808 -Tech Phone Ext: -Tech Fax: +1.6788841468 -Tech Fax Ext: -Tech Email: ray@tldesign.co -Name Server: NS-170.AWSDNS-21.COM -Name Server: NS-904.AWSDNS-49.NET -Name Server: NS-1067.AWSDNS-05.ORG -Name Server: NS-1873.AWSDNS-42.CO.UK -DNSSEC: unsigned -Billing ID: H4596017 -Billing Name: Domain Administrator -Billing Organization: Top Level Design, LLC -Billing Street: 742 Ocean Club Place -Billing City: Fernandina Beach -Billing State/Province: Florida -Billing Postal Code: 32034 -Billing Country: US -Billing Phone: +1.5038888808 -Billing Phone Ext: -Billing Fax: +1.6788841468 -Billing Fax Ext: -Billing Email: ray@tldesign.co ->>> Last update of WHOIS database: 2015-05-13T10:09:55.0Z <<< - -For more information on Whois status codes, please visit https://icann.org/epp - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names registered by our -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Access to the whois service is rate limited. For more information, please -see https://registrar-console.centralnic.com/pub/whois_guidance. - diff --git a/spec/fixtures/responses/whois.nic.dm/dm/status_available.expected b/spec/fixtures/responses/whois.nic.dm/dm/status_available.expected deleted file mode 100644 index a0a26873f..000000000 --- a/spec/fixtures/responses/whois.nic.dm/dm/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.dm/dm/status_available.txt b/spec/fixtures/responses/whois.nic.dm/dm/status_available.txt deleted file mode 100644 index 5df3eaf13..000000000 --- a/spec/fixtures/responses/whois.nic.dm/dm/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -not found... diff --git a/spec/fixtures/responses/whois.nic.dm/dm/status_registered.expected b/spec/fixtures/responses/whois.nic.dm/dm/status_registered.expected deleted file mode 100644 index 5f106d371..000000000 --- a/spec/fixtures/responses/whois.nic.dm/dm/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "This data is provided by DM REGISTRY for information purposes only in accordance with the DM REGISTRY TLD Privacy Policy. It is intended to assist persons to obtain information about or related to domain name registration records. DM REGISTRY does not guarantee its accuracy. By submitting this query, you agree to abide as follows:\nYou agree to use this data only for lawful purposes and that under no circumstances will you permit this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone or fax (spam); nor 2) enable high volume, automated, electronic processes to the systems of DM REGISTRY or Registrars, except as reasonably required to register new domain names or modify existing registrations; nor 3) will you generate a database of registered domain names and registrant data.\nThese terms may be changed without prior notice. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.dm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-08-23 23:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-23 17:50:34} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-23 23:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == "www.markmonitor.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "P-CQG21" - %s[0].name == "Company Google Inc." - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country_code == "US" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "P-DNA22" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country_code == "US" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "P-DXA21" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country_code == "US" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.dm/dm/status_registered.txt b/spec/fixtures/responses/whois.nic.dm/dm/status_registered.txt deleted file mode 100644 index 6c13f95e6..000000000 --- a/spec/fixtures/responses/whois.nic.dm/dm/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ -; This data is provided by DM REGISTRY for information purposes only in -; accordance with the DM REGISTRY TLD Privacy Policy. It is intended to -; assist persons to obtain information about or related to domain name -; registration records. DM REGISTRY does not guarantee its accuracy. -; By submitting this query, you agree to abide as follows: -; -; You agree to use this data only for lawful purposes and that under no -; circumstances will you permit this data to -; 1) allow, enable, or otherwise support the transmission of mass -; unsolicited, commercial advertising or solicitations via e-mail, -; telephone or fax (spam); nor -; 2) enable high volume, automated, electronic processes to the systems -; of DM REGISTRY or Registrars, except as reasonably required to -; register new domain names or modify existing registrations; nor -; 3) will you generate a database of registered domain names and -; registrant data. -; -; These terms may be changed without prior notice. -; By submitting this query, you agree to abide by this policy. - -domain name: GOOGLE.DM -registrar: MarkMonitor Inc. -url: www.markmonitor.com -status: ACTIVE -created date: 2004-08-23 23:00:00 -updated date: 2013-07-23 17:50:34 -expiration date: 2014-08-23 23:00:00 - -owner-contact: P-CQG21 -owner-name: Company Google Inc. -owner-street: 1600 Amphitheatre Parkway -owner-city: Mountain View -owner-zip: 94043 -owner-country: US - -admin-contact: P-DNA22 -admin-organization: Google Inc. -admin-name: DNS Admin -admin-street: 1600 Amphitheatre -admin-city: Mountain View -admin-zip: 94043 -admin-country: US - -tech-contact: P-DXA21 -tech-organization: Google Inc. -tech-name: DNS Admin -tech-street: 1600 Amphitheatre -tech-city: Mountain View -tech-zip: 94043 -tech-country: US - -billing-contact: P-DXA21 -billing-organization: Google Inc. -billing-name: DNS Admin -billing-street: 1600 Amphitheatre -billing-city: Mountain View -billing-zip: 94043 -billing-country: US - -nameserver: ns1.google.com -nameserver: ns2.google.com -nameserver: ns3.google.com -nameserver: ns4.google.com - -; Please register your domains at; www.markmonitor.com - diff --git a/spec/fixtures/responses/whois.nic.dz/dz/status_available.expected b/spec/fixtures/responses/whois.nic.dz/dz/status_available.expected deleted file mode 100644 index 4e84c0a64..000000000 --- a/spec/fixtures/responses/whois.nic.dz/dz/status_available.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.dz/dz/status_available.txt b/spec/fixtures/responses/whois.nic.dz/dz/status_available.txt deleted file mode 100644 index ba26d20a5..000000000 --- a/spec/fixtures/responses/whois.nic.dz/dz/status_available.txt +++ /dev/null @@ -1,20 +0,0 @@ -This is JWhoisServer serving ccTLD dz -Java Whois Server 0.4.1.0 (c) 2006 - 2012 Klaus Zerwes zero-sys.net -######################################################################### -# All data copyright of the organization unit running this server! -# By querying this server, you agree that you : -# -may use this data only for lawful purposes; -# -will not re-use data for any kind of support -# for the transmission of unsolicited advertising -# via e-mail, telephone, or facsimile; -# -will not reproduce and/or store any part of the data -# without prior permission of the copyright holders; -# -are aware of and agree to the fact that all access to the -# server is under constant monitoring and will be logged -# for the purpose of prosecution in case of missuse! -######################################################################### - -NO OBJECT FOUND! -object:. . . . . . . . . . . . . . . . . . . . . .u34jedzcq.dz -type:. . . . . . . . . . . . . . . . . . . . . . .templates - diff --git a/spec/fixtures/responses/whois.nic.dz/dz/status_registered.expected b/spec/fixtures/responses/whois.nic.dz/dz/status_registered.expected deleted file mode 100644 index e3c2835a4..000000000 --- a/spec/fixtures/responses/whois.nic.dz/dz/status_registered.expected +++ /dev/null @@ -1,21 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.dz/dz/status_registered.txt b/spec/fixtures/responses/whois.nic.dz/dz/status_registered.txt deleted file mode 100644 index ceb9cf459..000000000 --- a/spec/fixtures/responses/whois.nic.dz/dz/status_registered.txt +++ /dev/null @@ -1,33 +0,0 @@ -This is JWhoisServer serving ccTLD dz -Java Whois Server 0.4.1.0 (c) 2006 - 2012 Klaus Zerwes zero-sys.net -######################################################################### -# All data copyright of the organization unit running this server! -# By querying this server, you agree that you : -# -may use this data only for lawful purposes; -# -will not re-use data for any kind of support -# for the transmission of unsolicited advertising -# via e-mail, telephone, or facsimile; -# -will not reproduce and/or store any part of the data -# without prior permission of the copyright holders; -# -are aware of and agree to the fact that all access to the -# server is under constant monitoring and will be logged -# for the purpose of prosecution in case of missuse! -######################################################################### - -Description#. . . . . . . . . . . . . . . . . . . Google Inc -Nom de domaine#. . . . . . . . . . . . . . . . . .google.dz -Contact administratif#. . . . . . . . . . . . . . Domain Administrator -Organisme administratif#. . . . . . . . . . . . . Google INC -Adresse contact administratif#. . . . . . . . . . 1600 Amphitheatre Parkway, Mountain View, CA 94043 US -Telephone contact administratif#. . . . . . . . . +16503300100 -Fax contact administratif#. . . . . . . . . . . . +16506188571 -Mail contact administratif#. . . . . . . . . . . .dns-admin@google.com -Contact technique#. . . . . . . . . . . . . . . . Domain Administrator -Organisme technique#. . . . . . . . . . . . . . . MARKMONITOR, Inc -Adresse contact technique#. . . . . . . . . . . . 391 N Ancestor Place Boise, ID 83704 US -Telephone contact technique#. . . . . . . . . . . +12083895740 -Fax contact technique#. . . . . . . . . . . . . . +12083895771 -Mail contact technique#. . . . . . . . . . . . . .ccops@markmonitor.com -Registrar#. . . . . . . . . . . . . . . . . . . . cerist -Date de creation#. . . . . . . . . . . . . . . . .10/01/2007 - diff --git a/spec/fixtures/responses/whois.nic.ec/ex/status_available.expected b/spec/fixtures/responses/whois.nic.ec/ex/status_available.expected deleted file mode 100644 index 4ff98b996..000000000 --- a/spec/fixtures/responses/whois.nic.ec/ex/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ec" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ec/ex/status_available.txt b/spec/fixtures/responses/whois.nic.ec/ex/status_available.txt deleted file mode 100644 index 600b3241c..000000000 --- a/spec/fixtures/responses/whois.nic.ec/ex/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ - - -Los datos detallados a continuación por NIC.EC es informacion publica cuyo proposito es -unicamente informativo que sirve para la obtencion de la informacion acerca de o -relacionado con los registros de un Nombre de Dominio. Los datos se muestran de acuerdo -a los datos de NIC.EC en la ultima actualizacion de su base de datos. Al realizar una -busqueda de WHOIS de un dominio, usted declara y acepta que los datos seran utilizados -solo para fines legales y que no utilizara los datos para envios masivos no solicitados -de correo electronico o para publicidad o fines comerciales no solicitados. - - - -Domain Information -Query: u34jedzcq.ec -Status: Not Registered - - - - diff --git a/spec/fixtures/responses/whois.nic.ec/ex/status_registered.expected b/spec/fixtures/responses/whois.nic.ec/ex/status_registered.expected deleted file mode 100644 index c56320252..000000000 --- a/spec/fixtures/responses/whois.nic.ec/ex/status_registered.expected +++ /dev/null @@ -1,57 +0,0 @@ -#domain - %s == "google.ec" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-10-16 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-17 00:00:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-16 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == "www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.ec/ex/status_registered.txt b/spec/fixtures/responses/whois.nic.ec/ex/status_registered.txt deleted file mode 100644 index b1bc0f0fc..000000000 --- a/spec/fixtures/responses/whois.nic.ec/ex/status_registered.txt +++ /dev/null @@ -1,57 +0,0 @@ - - -Los datos detallados a continuación por NIC.EC es informacion publica cuyo proposito es -unicamente informativo que sirve para la obtencion de la informacion acerca de o -relacionado con los registros de un Nombre de Dominio. Los datos se muestran de acuerdo -a los datos de NIC.EC en la ultima actualizacion de su base de datos. Al realizar una -busqueda de WHOIS de un dominio, usted declara y acepta que los datos seran utilizados -solo para fines legales y que no utilizara los datos para envios masivos no solicitados -de correo electronico o para publicidad o fines comerciales no solicitados. - - - -Domain Information -Query: google.ec -Created: 16 Oct 2003 -Modified: 17 Sep 2013 -Expires: 16 Oct 2014 -Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -Registrar Information -Registrar Name: MarkMonitor Inc. -Registration URL: www.markmonitor.com -Address: 391 N. Ancestor Place -Boise, ID 83704 -Country: US - - - - -Registrant: -Name: Rose Hagan -Organisation: Google Inc. -Address: - 2400 E. Bayshore Pkwy - Mountain View, CA 94043 - US -Email Address: dns-admin@google.com -Phone Number: 1-6503300100 -Fax Number: 1-6503300100 - - -Admin Contact: -Name: Domain Provisioning -Organisation: MarkMonitor -Address: - 10400 Overland Rd.,PMB 155 - Boise, Idaho 83709 - US -Email Address: ccops@markmonitor.com -Phone Number: 1208-3895740 -Fax Number: 1208-3895799 - - diff --git a/spec/fixtures/responses/whois.nic.es/es/status_available.expected b/spec/fixtures/responses/whois.nic.es/es/status_available.expected deleted file mode 100644 index abe349f1f..000000000 --- a/spec/fixtures/responses/whois.nic.es/es/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "ES-NIC" - %s.organization == "ES-NIC Delegated Internet Registry for Spain" - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.es/es/status_available.txt b/spec/fixtures/responses/whois.nic.es/es/status_available.txt deleted file mode 100644 index 1b2ebff13..000000000 --- a/spec/fixtures/responses/whois.nic.es/es/status_available.txt +++ /dev/null @@ -1,42 +0,0 @@ - Conditions of use for the whois service via port 43 for .es domains - - Access will only be enabled for IP addresses authorised by Red.es. A maximum of one IP address per - user/organisation is permitted. - - Red.es accepts no responsibility whatsoever for the availability of access to WHOIS, which may be - suspended at any time and without prior warning at the discretion of the public entity. - - The service will be limited to the data established by Red.es. - - The user promises to make use of the service and to carry out any action derived from the aforesaid - use in accordance with current applicable regulations, in particular with legislation on “.es” domain - names and personal data protection. - - In particular, the user undertakes not to use the service to carry out abusive or speculative domain - name registrations, pursuant to section 5 of the Sixth Additional Provision of Law 34/2002, of 11 July, - on Services of the Information Society and Electronic Commerce. Likewise, the User undertakes not to - use the service to obtain data, the possession of which may contravene the provisions of Organic Law - 15/1999, of 13 December, on Personal Data Protection, and its Regulations, or in Law 34/2002, of 11 - July, on Services of the Information Society and Electronic Commerce. - - Failure to comply with these conditions will result in the immediate withdrawal of the service and any - registered domain name which breaches said conditions may be officially cancelled by Red.es. - - The User will be held accountable for the use they make of the service and will be responsible for any - claims that may be filed by third parties in this regard against Red.es and will have to compensate the - public entity for any damages it may incur as a result. - - The data which can be consulted via this service include: availability, name of the holder of a domain, - administrative and technical contact identifiers, domain creation date, domain expiration date, DNS - name server and IP DNS server (a maximum of 4 DNS). - - A maximum of 15 queries per minute can be made by each registered IP address. - - Queries can be performed on second and third level domains. - ------------------------------------------------------------------------------------------------------- - - There is no information available on the domain consulted. - - >>> LAST UPDATE: 09/10/2013 23:00:04 - ------------------------------------------------------------------------------------------------------- - More information on each domain may be consulted at www.dominios.es. diff --git a/spec/fixtures/responses/whois.nic.es/es/status_registered.expected b/spec/fixtures/responses/whois.nic.es/es/status_registered.expected deleted file mode 100644 index 5b15d3f23..000000000 --- a/spec/fixtures/responses/whois.nic.es/es/status_registered.expected +++ /dev/null @@ -1,58 +0,0 @@ -#domain - %s == "google.es" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{16/09/03} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{16/09/14} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "ES-NIC" - %s.organization == "ES-NIC Delegated Internet Registry for Spain" - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "GOOGLE INC." - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" diff --git a/spec/fixtures/responses/whois.nic.es/es/status_registered.txt b/spec/fixtures/responses/whois.nic.es/es/status_registered.txt deleted file mode 100644 index e3cf85f3d..000000000 --- a/spec/fixtures/responses/whois.nic.es/es/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ - Conditions of use for the whois service via port 43 for .es domains - - Access will only be enabled for IP addresses authorised by Red.es. A maximum of one IP address per - user/organisation is permitted. - - Red.es accepts no responsibility whatsoever for the availability of access to WHOIS, which may be - suspended at any time and without prior warning at the discretion of the public entity. - - The service will be limited to the data established by Red.es. - - The user promises to make use of the service and to carry out any action derived from the aforesaid - use in accordance with current applicable regulations, in particular with legislation on “.es” domain - names and personal data protection. - - In particular, the user undertakes not to use the service to carry out abusive or speculative domain - name registrations, pursuant to section 5 of the Sixth Additional Provision of Law 34/2002, of 11 July, - on Services of the Information Society and Electronic Commerce. Likewise, the User undertakes not to - use the service to obtain data, the possession of which may contravene the provisions of Organic Law - 15/1999, of 13 December, on Personal Data Protection, and its Regulations, or in Law 34/2002, of 11 - July, on Services of the Information Society and Electronic Commerce. - - Failure to comply with these conditions will result in the immediate withdrawal of the service and any - registered domain name which breaches said conditions may be officially cancelled by Red.es. - - The User will be held accountable for the use they make of the service and will be responsible for any - claims that may be filed by third parties in this regard against Red.es and will have to compensate the - public entity for any damages it may incur as a result. - - The data which can be consulted via this service include: availability, name of the holder of a domain, - administrative and technical contact identifiers, domain creation date, domain expiration date, DNS - name server and IP DNS server (a maximum of 4 DNS). - - A maximum of 15 queries per minute can be made by each registered IP address. - - Queries can be performed on second and third level domains. - ------------------------------------------------------------------------------------------------------- - - Domain: - ------- - Domain Name: google.es - Creation Date: 16/09/03 - Expiration Date: 16/09/14 - - Registrant: - ----------- - Registrant Name: GOOGLE INC. - - Domain Servers: - --------------- - Name Server 1: ns2.google.com - IPv4 Server 1: - IPv6 Server 1: - Name Server 2: ns1.google.com - IPv4 Server 2: - IPv6 Server 2: - Name Server 3: - IPv4 Server 3: - IPv6 Server 3: - Name Server 4: - IPv4 Server 4: - IPv6 Server 4: - - - >>> LAST UPDATE: 10/10/2013 07:00:02 - ------------------------------------------------------------------------------------------------------- - More information on each domain may be consulted at www.dominios.es. diff --git a/spec/fixtures/responses/whois.nic.fo/fo/status_available.expected b/spec/fixtures/responses/whois.nic.fo/fo/status_available.expected deleted file mode 100644 index ff807e0fa..000000000 --- a/spec/fixtures/responses/whois.nic.fo/fo/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fo/fo/status_available.txt b/spec/fixtures/responses/whois.nic.fo/fo/status_available.txt deleted file mode 100644 index 74810e225..000000000 --- a/spec/fixtures/responses/whois.nic.fo/fo/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -% This is the FO Database query service at whois.nic.fo -% The FO Database is subject to Terms and Conditions. -% See http://www.nic.fo/ -% Data served below is in Unicode. -% -% Whoisd Server Version: 2.2.0 - -%ERROR:101: no entries found -% -% No entries found. - - diff --git a/spec/fixtures/responses/whois.nic.fo/fo/status_registered.expected b/spec/fixtures/responses/whois.nic.fo/fo/status_registered.expected deleted file mode 100644 index 739b02915..000000000 --- a/spec/fixtures/responses/whois.nic.fo/fo/status_registered.expected +++ /dev/null @@ -1,88 +0,0 @@ -#domain - %s == "nic.fo" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-06-03 03:34:05} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-07-12 12:52:57} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-03} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "ID005359" - %s[0].name == nil - %s[0].organization == "FO-umsitingin" - %s[0].address == "Hoydalsvegur 19, Postboks 1255" - %s[0].city == "Torshavn" - %s[0].zip == "110" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FO" - %s[0].phone == "+298.322400" - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on %TIME{2010-07-21 19:11:55} - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].id == "ID005359" - %s[0].name == nil - %s[0].organization == "FO-umsitingin" - %s[0].address == "Hoydalsvegur 19, Postboks 1255" - %s[0].city == "Torshavn" - %s[0].zip == "110" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FO" - %s[0].phone == "+298.322400" - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on %TIME{2010-07-21 19:11:55} - - -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.gratisdns.dk" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.gratisdns.dk" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.gratisdns.dk" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.gratisdns.dk" - %s[4] %CLASS{nameserver} - %s[4].name == "ns5.gratisdns.dk" diff --git a/spec/fixtures/responses/whois.nic.fo/fo/status_registered.txt b/spec/fixtures/responses/whois.nic.fo/fo/status_registered.txt deleted file mode 100644 index bd8d4c1bb..000000000 --- a/spec/fixtures/responses/whois.nic.fo/fo/status_registered.txt +++ /dev/null @@ -1,33 +0,0 @@ -% This is the FO Database query service at whois.nic.fo -% The FO Database is subject to Terms and Conditions. -% See http://www.nic.fo/ -% Data served below is in Unicode. -% -% Whoisd Server Version: 2.2.0 -% Timestamp: Tue Feb 18 20:40:42 2014 - -domain: nic.fo -registrant: ID005359 -status: paid and in zone -registered: 03.06.2010 03:34:05 -changed: 12.07.2011 12:52:57 -expire: 03.01.2015 - -contact: ID005359 -org: FO-umsitingin -street: Hoydalsvegur 19, Postboks 1255 -city: Torshavn -postal code: 110 -country: FO -phone: +298.322400 -created: 21.07.2010 19:11:55 - -nserver: ns1.gratisdns.dk -nserver: ns2.gratisdns.dk -nserver: ns3.gratisdns.dk -nserver: ns4.gratisdns.dk -nserver: ns5.gratisdns.dk -tech-c: ID005359 -created: 12.07.2011 12:52:42 - - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected deleted file mode 100644 index 77fe64e89..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected +++ /dev/null @@ -1,17 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "ANO00-FRNIC" - %s[0].name == "Ano Nymous" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2007-09-03 00:00:00 UTC} diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.txt deleted file mode 100644 index 7b2f5bb12..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.txt +++ /dev/null @@ -1,83 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [82.52.158.225 REQUEST] >> shingara.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: shingara.fr -status: ACTIVE -hold: NO -holder-c: ANO00-FRNIC -admin-c: ANO00-FRNIC -tech-c: HU3-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL26764-FRNIC -registrar: 1&1 Internet AG -anniversary: 03/09 -created: 03/09/2007 -last-update: 06/07/2009 -source: FRNIC - -ns-list: NSL26764-FRNIC -nserver: ns0.vodkanoire.net -nserver: ns1.vodkanoire.net -nserver: ns2.vodkanoire.net -source: FRNIC - -registrar: 1&1 Internet AG -type: Isp Option 1 -address: Brauerstr. 48 -address: DE-76135 KARLSRUHE -country: DE -phone: +49 721 91374 0 -fax-no: +49 721 91374 215 -e-mail: hostmaster@1und1.de -website: http://registrar.1und1.de -anonymous: NO -registered: 17/01/2001 -source: FRNIC - -nic-hdl: HU3-FRNIC -type: ROLE -contact: Hostmaster UNETUN -address: 1&1 Internet Sarl. -address: 7, place de la Gare -address: 57200 Sarreguemines -country: FR -e-mail: hostmaster@1and1.fr -admin-c: IR2-FRNIC -tech-c: IR2-FRNIC -changed: 15/03/2004 hostmaster@1and1.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: ANO00-FRNIC -type: PERSON -contact: Ano Nymous -remarks: -------------- WARNING -------------- -remarks: While the registrar knows him/her, -remarks: this person chose to restrict access -remarks: to his/her personal data. So PLEASE, -remarks: don't send emails to Ano Nymous. This -remarks: address is bogus and there is no hope -remarks: of a reply. -remarks: -------------- WARNING -------------- -changed: 03/09/2007 anonymous@nowhere.xx.fr -anonymous: YES -obsoleted: NO -eligstatus: ok -eligdate: 03/09/2007 00:00:00 -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.expected deleted file mode 100644 index 3218380ff..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.expected +++ /dev/null @@ -1,18 +0,0 @@ -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "JMR39-FRNIC" - %s[0].name == "Jean Marc Raimondo" - %s[0].organization == "1C2" - %s[0].address == "20-22, rue Louis Armand\n75015 Paris" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 30 62 40 06" - %s[0].fax == nil - %s[0].email == "jmr@1c2.com" - %s[0].updated_on == nil diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.txt deleted file mode 100644 index d738baa9c..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.txt +++ /dev/null @@ -1,115 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.21.235.18 REQUEST] >> 1c2.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: 1c2.fr -status: ACTIVE -hold: NO -holder-c: U351-FRNIC -admin-c: JMR39-FRNIC -tech-c: HMO7-FRNIC -tech-c: AV372-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1231-FRNIC -registrar: MAGIC ON LINE -anniversary: 20/05 -created: 20/05/2004 -last-update: 16/07/2004 -source: FRNIC - -ns-list: NSL1231-FRNIC -nserver: ns.magic.fr [188.130.24.5] -nserver: ns2.magic.fr [62.39.164.10] -source: FRNIC - -registrar: MAGIC ON LINE -type: Isp Option 1 -address: 134 Avenue du Président Wilson -address: MONTREUIL SOUS BOIS CEDEX -country: FR -phone: +33 1 41 58 22 50 -fax-no: +33 1 56 72 93 30 -e-mail: pbarouk@magic.fr -website: http://www.magic.fr -anonymous: NO -registered: 01/01/1998 -source: FRNIC - -nic-hdl: JMR39-FRNIC -type: PERSON -contact: Jean Marc Raimondo -address: 1C2 -address: 20-22, rue Louis Armand -address: 75015 Paris -country: FR -phone: +33 1 30 62 40 06 -e-mail: jmr@1c2.com -registrar: MAGIC ON LINE -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: U351-FRNIC -type: ORGANIZATION -contact: 1C2 -address: 20-22, rue Louis Armand -address: 75015 Paris -country: FR -phone: +33 1 30 62 40 06 -e-mail: jmr@1c2.com -registrar: MAGIC ON LINE -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -eligstatus: ok -eligdate: 16/07/2004 00:00:00 -source: FRNIC - -nic-hdl: HMO7-FRNIC -type: ROLE -contact: Hostmaster Magic OnLine -address: CTS Informatique -address: 130-134, avenue du President Wilson -address: 93512 Montreuil Cedex -country: FR -phone: +33 1 41 58 22 50 -e-mail: hostmaster@magic.fr -admin-c: PB1693-FRNIC -tech-c: EC80-FRNIC -notify: hostmaster@magic.fr -registrar: MAGIC ON LINE -changed: 22/03/2007 hostmaster@magic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AV372-FRNIC -type: PERSON -contact: Alain Villatte -address: MAGIC ONLINE -address: 45, rue de la Procession -address: 75015 Paris -country: FR -phone: +33 1 53 69 54 59 -fax-no: +33 1 53 69 54 56 -e-mail: villatte@magic.fr -notify: hostmaster@magic.fr -registrar: MAGIC ON LINE -changed: 17/09/2007 JES@OLEANE.NET -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected deleted file mode 100644 index cf62b8d41..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.txt deleted file mode 100644 index cb346be81..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.txt +++ /dev/null @@ -1,98 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.181.162.148 REQUEST] >> google.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: google.fr -status: ACTIVE -hold: NO -holder-c: GI658-FRNIC -admin-c: TT599-FRNIC -tech-c: MC239-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL4386-FRNIC -registrar: eMARKMONITOR Inc. dba MARKMONITOR -anniversary: 03/06 -created: 27/07/2000 -last-update: 03/06/2009 -source: FRNIC - -ns-list: NSL4386-FRNIC -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -source: FRNIC - -registrar: eMARKMONITOR Inc. dba MARKMONITOR -type: Isp Option 1 -address: Emerald Tech Center -address: 391 N. Ancestor Place -address: ID 83704 BOISE -country: US -phone: +1 208 389 5740 -fax-no: +1 208 389 5771 -e-mail: ccops@markmonitor.com -website: http://www.markmonitor.com -anonymous: NO -registered: 10/01/2002 -source: FRNIC - -nic-hdl: GI658-FRNIC -type: ORGANIZATION -contact: Google Inc. -address: 1600, Amphitheatre Parkway -address: 94043 Mountain View Ca -country: US -phone: +1 650 253 0000 -fax-no: +1 650 618 8571 -e-mail: dns-admin@google.com -changed: 09/07/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: dy -source: FRNIC - -nic-hdl: TT599-FRNIC -type: PERSON -contact: Tu Tsao -address: Google France -address: 38, avenue de l'Opera -address: 75002 Paris -country: FR -phone: +33 6 50 33 00 10 -e-mail: dns-admin@google.com -changed: 24/02/2009 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: MC239-FRNIC -type: ROLE -contact: MARKMONITOR CCOPS -address: eMarkmonitor Inc. dba MarkMonitor -address: PMB 155 -address: 10400 Overland Road -address: 83709-1433 Boise, Id -address: US -phone: +01 2083895740 -e-mail: ccops@markmonitor.com -admin-c: DL534-FRNIC -tech-c: DL534-FRNIC -changed: 10/10/2008 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected deleted file mode 100644 index 0c0f8744d..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.boursedirect.fr" - %s[0].ipv4 == "212.157.203.190" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.boursedirect.fr" - %s[1].ipv4 == "212.157.203.189" - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.txt deleted file mode 100644 index cc0b5cbae..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.txt +++ /dev/null @@ -1,111 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [2.231.50.199 REQUEST] >> boursedirect.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: boursedirect.fr -status: ACTIVE -hold: NO -holder-c: BD1013-FRNIC -admin-c: HL505-FRNIC -tech-c: OH251-FRNIC -tech-c: AC2333-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL13398-FRNIC -registrar: FRANCE TELECOM -anniversary: 18/02 -created: 31/12/1997 -last-update: 08/06/2007 -source: FRNIC - -ns-list: NSL13398-FRNIC -nserver: ns1.boursedirect.fr [212.157.203.190 217.167.205.44 62.23.221.190 84.14.180.90 81.255.109.190] -nserver: ns2.boursedirect.fr [212.157.203.189 217.167.205.43 62.23.221.189 81.255.109.189 84.14.180.89] -source: FRNIC - -registrar: FRANCE TELECOM -type: Isp Option 1 -address: 6 Place d'Alleray -address: PARIS CEDEX 15 -country: FR -phone: +33 1 53 95 14 00 -fax-no: +33 1 53 95 14 01 -e-mail: domaine-admin@list.orange-ftgroup.com -website: http://www.orange-business.com/ -anonymous: NO -registered: 15/02/2006 -source: FRNIC - -nic-hdl: OH251-FRNIC -type: ROLE -contact: OLEANE Hostmaster -address: France Telecom -address: 13, rue de Javel -address: 75015 Paris -country: FR -phone: +33 1 53 95 14 00 -fax-no: +33 1 53 95 14 01 -e-mail: domaine-admin@list.orange-ftgroup.com -admin-c: CP460-FRNIC -tech-c: CW13-FRNIC -notify: hm-dbm-msgs@ripe.net -changed: 29/10/2004 hostmaster@oleane.net -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: BD1013-FRNIC -type: ORGANIZATION -contact: BOURSE DIRECT -address: 253, boulevard Pereire -address: 75852 Paris Cedex 17 -country: FR -phone: +33 1 56 43 71 85 -e-mail: hlestrat@boursedirect.fr -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -eligstatus: ok -eligdate: 31/12/1997 00:00:00 -source: FRNIC - -nic-hdl: HL505-FRNIC -type: PERSON -contact: Herve Lestrat -address: BOURSE DIRECT -address: 253, boulevard Pereire -address: 75852 Paris Cedex 17 -country: FR -phone: +33 1 56 43 71 85 -fax-no: +33 1 56 43 71 85 -e-mail: hlestrat@boursedirect.fr -changed: 22/07/2006 nic@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AC2333-FRNIC -type: PERSON -contact: Angin Christophe -address: BOURSE DIRECT -address: 253, boulevard Pereire -address: 75852 Paris Cedex 17 -country: FR -phone: +33 1 56 43 82 07 -changed: 05/07/2006 cgi@oleane.net -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected deleted file mode 100644 index f1547fec5..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected +++ /dev/null @@ -1,27 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.134.4.1" - %s[0].ipv6 == "2001:660:3003:2::4:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.ext.nic.fr" - %s[3].ipv4 == "193.51.208.13" - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "ns4.ext.nic.fr" - %s[4].ipv4 == "193.0.9.4" - %s[4].ipv6 == "2001:67c:e0::4" - %s[5] %CLASS{nameserver} - %s[5].name == "ns5.ext.nic.fr" - %s[5].ipv4 == "206.167.244.5" - %s[5].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.txt deleted file mode 100644 index a7ff32325..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.txt +++ /dev/null @@ -1,85 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [79.2.212.247 REQUEST] >> nic.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.fr -status: ACTIVE -hold: NO -holder-c: AFNI21-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL40383-FRNIC -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 02/08/2010 -source: FRNIC - -ns-list: NSL40383-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -nserver: ns1.ext.nic.fr [193.51.208.13] -nserver: ns4.ext.nic.fr [193.0.9.4 2001:67c:e0::4] -nserver: ns5.ext.nic.fr [206.167.244.5] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AFNI21-FRNIC -type: ORGANIZATION -contact: ASS FRANC NOMMAGE INTERNET EN COOP -address: immeuble international -address: 2, rue Stephenson -address: 78181 Montigny-le-Bretonneux -country: FR -changed: 02/12/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ok -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.txt deleted file mode 100644 index cb346be81..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.txt +++ /dev/null @@ -1,98 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.181.162.148 REQUEST] >> google.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: google.fr -status: ACTIVE -hold: NO -holder-c: GI658-FRNIC -admin-c: TT599-FRNIC -tech-c: MC239-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL4386-FRNIC -registrar: eMARKMONITOR Inc. dba MARKMONITOR -anniversary: 03/06 -created: 27/07/2000 -last-update: 03/06/2009 -source: FRNIC - -ns-list: NSL4386-FRNIC -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -source: FRNIC - -registrar: eMARKMONITOR Inc. dba MARKMONITOR -type: Isp Option 1 -address: Emerald Tech Center -address: 391 N. Ancestor Place -address: ID 83704 BOISE -country: US -phone: +1 208 389 5740 -fax-no: +1 208 389 5771 -e-mail: ccops@markmonitor.com -website: http://www.markmonitor.com -anonymous: NO -registered: 10/01/2002 -source: FRNIC - -nic-hdl: GI658-FRNIC -type: ORGANIZATION -contact: Google Inc. -address: 1600, Amphitheatre Parkway -address: 94043 Mountain View Ca -country: US -phone: +1 650 253 0000 -fax-no: +1 650 618 8571 -e-mail: dns-admin@google.com -changed: 09/07/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: dy -source: FRNIC - -nic-hdl: TT599-FRNIC -type: PERSON -contact: Tu Tsao -address: Google France -address: 38, avenue de l'Opera -address: 75002 Paris -country: FR -phone: +33 6 50 33 00 10 -e-mail: dns-admin@google.com -changed: 24/02/2009 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: MC239-FRNIC -type: ROLE -contact: MARKMONITOR CCOPS -address: eMarkmonitor Inc. dba MarkMonitor -address: PMB 155 -address: 10400 Overland Road -address: 83709-1433 Boise, Id -address: US -phone: +01 2083895740 -e-mail: ccops@markmonitor.com -admin-c: DL534-FRNIC -tech-c: DL534-FRNIC -changed: 10/10/2008 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.expected deleted file mode 100644 index 8592c316b..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.txt deleted file mode 100644 index 38bf8a37e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.txt +++ /dev/null @@ -1,84 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.13.187.22 REQUEST] >> amazingsales.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: amazingsales.fr -status: BLOCKED -hold: NO -holder-c: A19281-FRNIC -admin-c: OVH5-FRNIC -tech-c: OVH5-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL22715-FRNIC -registrar: OVH -anniversary: 09/02 -created: 09/02/2010 -last-update: 16/03/2010 -source: FRNIC - -ns-list: NSL22715-FRNIC -nserver: ns1.interdata.lt -nserver: ns2.interdata.lt -source: FRNIC - -registrar: OVH -type: Isp Option 1 -address: 2 Rue Kellermann -address: BP 80157 -address: ROUBAIX CEDEX 1 -country: FR -phone: +33 8 99 70 17 61 -fax-no: +33 3 20 83 99 28 -e-mail: support@ovh.com -website: http://www.ovh.fr -anonymous: NO -registered: 21/10/1999 -source: FRNIC - -nic-hdl: A19281-FRNIC -type: ORGANIZATION -contact: UAB AMAZINGSALES.COM -address: Linkmenu g. 15 -address: LT09300 Vilnius -country: LT -phone: +370 61282044 -e-mail: robertas@amazingsales.com -changed: 23/07/2010 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ok -source: FRNIC - -nic-hdl: OVH5-FRNIC -type: ROLE -contact: OVH NET -address: OVH -address: 140, quai du Sartel -address: 59100 Roubaix -country: FR -phone: +33 8 99 70 17 61 -e-mail: tech@ovh.net -trouble: Information: http://www.ovh.fr -trouble: Questions: mailto:tech@ovh.net -trouble: Spam: mailto:abuse@ovh.net -admin-c: OK217-FRNIC -tech-c: OK217-FRNIC -notify: tech@ovh.net -changed: 11/10/2006 tech@ovh.net -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.txt deleted file mode 100644 index 9bece3743..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.181.162.148 REQUEST] >> u34jedzcq.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.expected deleted file mode 100644 index d83200888..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.txt deleted file mode 100644 index 074875ccb..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.txt +++ /dev/null @@ -1,76 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [207.239.114.206 REQUEST] >> asso.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: asso.fr -status: NOT_OPEN -hold: NO -holder-c: SFAI2-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 04/06/2007 -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: SFAI2-FRNIC -type: ORGANIZATION -contact: Subdomain for associations in France -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.txt deleted file mode 100644 index 5cf61422e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.txt +++ /dev/null @@ -1,82 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.224.117 REQUEST] >> behotel.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: behotel.fr -status: REDEMPTION -pending: DELETE -hold: YES -holder-c: AS1245-FRNIC -admin-c: AS1245-FRNIC -tech-c: OVH5-FRNIC -zone-c: NFC1-FRNIC -registrar: OVH -anniversary: 11/01 -created: 11/01/2010 -last-update: 09/02/2011 -deleted: 09/02/2011 -source: FRNIC - -registrar: OVH -type: Isp Option 1 -address: 2 Rue Kellermann -address: BP 80157 -address: ROUBAIX CEDEX 1 -country: FR -phone: +33 8 99 70 17 61 -fax-no: +33 3 20 83 99 28 -e-mail: support@ovh.com -website: http://www.ovh.fr -anonymous: NO -registered: 21/10/1999 -source: FRNIC - -nic-hdl: AS1245-FRNIC -type: ORGANIZATION -contact: AUTREMENT SAS -address: AUTREMENT SAS -address: 27, rue Fongate -address: 13006 Marseille -country: FR -phone: +33 9 64 18 77 98 -fax-no: +33 4 96 17 57 51 -e-mail: nic-admin@autrementlemail.com -changed: 11/01/2010 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ok -source: FRNIC - -nic-hdl: OVH5-FRNIC -type: ROLE -contact: OVH NET -address: OVH -address: 140, quai du Sartel -address: 59100 Roubaix -country: FR -phone: +33 8 99 70 17 61 -e-mail: tech@ovh.net -trouble: Information: http://www.ovh.fr -trouble: Questions: mailto:tech@ovh.net -trouble: Spam: mailto:abuse@ovh.net -admin-c: OK217-FRNIC -tech-c: OK217-FRNIC -notify: tech@ovh.net -changed: 11/10/2006 tech@ovh.net -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.expected b/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.txt b/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.txt deleted file mode 100644 index dc6a070b6..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.txt +++ /dev/null @@ -1,80 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [95.74.216.182 REQUEST] >> behotel.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: behotel.fr -status: REGISTERED -hold: YES -holder-c: AS1245-FRNIC -admin-c: AS1245-FRNIC -tech-c: OVH5-FRNIC -zone-c: NFC1-FRNIC -registrar: OVH -anniversary: 11/01 -created: 11/01/2010 -last-update: 12/01/2011 -source: FRNIC - -registrar: OVH -type: Isp Option 1 -address: 2 Rue Kellermann -address: BP 80157 -address: ROUBAIX CEDEX 1 -country: FR -phone: +33 8 99 70 17 61 -fax-no: +33 3 20 83 99 28 -e-mail: support@ovh.com -website: http://www.ovh.fr -anonymous: NO -registered: 21/10/1999 -source: FRNIC - -nic-hdl: AS1245-FRNIC -type: ORGANIZATION -contact: AUTREMENT SAS -address: AUTREMENT SAS -address: 27, rue Fongate -address: 13006 Marseille -country: FR -phone: +33 9 64 18 77 98 -fax-no: +33 4 96 17 57 51 -e-mail: nic-admin@autrementlemail.com -changed: 11/01/2010 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ok -source: FRNIC - -nic-hdl: OVH5-FRNIC -type: ROLE -contact: OVH NET -address: OVH -address: 140, quai du Sartel -address: 59100 Roubaix -country: FR -phone: +33 8 99 70 17 61 -e-mail: tech@ovh.net -trouble: Information: http://www.ovh.fr -trouble: Questions: mailto:tech@ovh.net -trouble: Spam: mailto:abuse@ovh.net -admin-c: OK217-FRNIC -tech-c: OK217-FRNIC -notify: tech@ovh.net -changed: 11/10/2006 tech@ovh.net -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_remarks.txt b/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_remarks.txt deleted file mode 100644 index 7b2f5bb12..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_remarks.txt +++ /dev/null @@ -1,83 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [82.52.158.225 REQUEST] >> shingara.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: shingara.fr -status: ACTIVE -hold: NO -holder-c: ANO00-FRNIC -admin-c: ANO00-FRNIC -tech-c: HU3-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL26764-FRNIC -registrar: 1&1 Internet AG -anniversary: 03/09 -created: 03/09/2007 -last-update: 06/07/2009 -source: FRNIC - -ns-list: NSL26764-FRNIC -nserver: ns0.vodkanoire.net -nserver: ns1.vodkanoire.net -nserver: ns2.vodkanoire.net -source: FRNIC - -registrar: 1&1 Internet AG -type: Isp Option 1 -address: Brauerstr. 48 -address: DE-76135 KARLSRUHE -country: DE -phone: +49 721 91374 0 -fax-no: +49 721 91374 215 -e-mail: hostmaster@1und1.de -website: http://registrar.1und1.de -anonymous: NO -registered: 17/01/2001 -source: FRNIC - -nic-hdl: HU3-FRNIC -type: ROLE -contact: Hostmaster UNETUN -address: 1&1 Internet Sarl. -address: 7, place de la Gare -address: 57200 Sarreguemines -country: FR -e-mail: hostmaster@1and1.fr -admin-c: IR2-FRNIC -tech-c: IR2-FRNIC -changed: 15/03/2004 hostmaster@1and1.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: ANO00-FRNIC -type: PERSON -contact: Ano Nymous -remarks: -------------- WARNING -------------- -remarks: While the registrar knows him/her, -remarks: this person chose to restrict access -remarks: to his/her personal data. So PLEASE, -remarks: don't send emails to Ano Nymous. This -remarks: address is bogus and there is no hope -remarks: of a reply. -remarks: -------------- WARNING -------------- -changed: 03/09/2007 anonymous@nowhere.xx.fr -anonymous: YES -obsoleted: NO -eligstatus: ok -eligdate: 03/09/2007 00:00:00 -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_trouble.txt b/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_trouble.txt deleted file mode 100644 index 1a2cd1e7d..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/response_contains_contact_trouble.txt +++ /dev/null @@ -1,106 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.21.30.90 REQUEST] >> hotel.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: hotel.fr -status: ACTIVE -hold: NO -holder-c: ST2122-FRNIC -admin-c: GC2611-FRNIC -tech-c: GR283-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL13550-FRNIC -registrar: GANDI -anniversary: 30/05 -created: 12/04/2000 -last-update: 05/12/2007 -source: FRNIC - -ns-list: NSL13550-FRNIC -nserver: a.dns.gandi.net -nserver: b.dns.gandi.net -nserver: c.dns.gandi.net -source: FRNIC - -registrar: GANDI -type: Isp Option 1 -address: 15 Place de la Nation -address: PARIS -country: FR -phone: +33 1 70 37 76 61 -fax-no: +33 1 43 73 18 51 -e-mail: contact@gandi.net -website: http://www.gandi.net -anonymous: NO -registered: 09/03/2004 -source: FRNIC - -nic-hdl: GC2611-FRNIC -type: PERSON -contact: Georges Cachan -address: ASTOTEL -address: 29, rue de Caumartin -address: 75009 Paris -country: FR -phone: +33 1 44 51 11 12 -fax-no: +33 1 44 51 11 23 -e-mail: e13bc247e148d6586dcf316abe00764d-115877@contact.gandi.net -changed: 19/10/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: GR283-FRNIC -type: ROLE -contact: GANDI ROLE -address: Gandi -address: 15, place de la Nation -address: 75011 Paris -country: FR -e-mail: noc@gandi.net -trouble: ------------------------------------------------- -trouble: GANDI is an ICANN accredited registrar -trouble: for more information: -trouble: Web: http://www.gandi.net -trouble: ------------------------------------------------- -trouble: - network troubles: noc@gandi.net -trouble: - SPAM: abuse@gandi.net -trouble: ------------------------------------------------- -admin-c: NL346-FRNIC -tech-c: NL346-FRNIC -tech-c: TUF1-FRNIC -notify: noc@gandi.net -changed: 03/03/2006 noc@gandi.net -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: ST2122-FRNIC -type: ORGANIZATION -contact: STAR 3 -address: 34, rue Bergere -address: 75009 Paris -country: FR -phone: +33 1 44 51 11 12 -fax-no: +33 1 44 51 11 23 -e-mail: 48c80964ab9bf9f034d9e24c306e5035-s3461@contact.gandi.net -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -eligstatus: ok -eligdate: 12/04/2000 00:00:00 -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.txt deleted file mode 100644 index 1cc283378..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> -V Md5.0 google.fr -%% -%% RL Net [##########] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected b/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/fr/status_available.txt b/spec/fixtures/responses/whois.nic.fr/fr/status_available.txt deleted file mode 100644 index 9bece3743..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.181.162.148 REQUEST] >> u34jedzcq.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected deleted file mode 100644 index 546c8af38..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected +++ /dev/null @@ -1,91 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-07-27} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-06-03} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "GI658-FRNIC" - %s[0].name == nil - %s[0].organization == "Google Inc." - %s[0].address == "1600, Amphitheatre Parkway\n94043 Mountain View Ca" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1 650 253 0000" - %s[0].fax == "+1 650 618 8571" - %s[0].email == "dns-admin@google.com" - %s[0].updated_on %TIME{2009-07-09 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "TT599-FRNIC" - %s[0].name == "Tu Tsao" - %s[0].organization == "Google France" - %s[0].address == "38, avenue de l'Opera\n75002 Paris" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 6 50 33 00 10" - %s[0].fax == nil - %s[0].email == "dns-admin@google.com" - %s[0].updated_on %TIME{2009-02-24 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MC239-FRNIC" - %s[0].name == "MARKMONITOR CCOPS" - %s[0].organization == "eMarkmonitor Inc. dba MarkMonitor" - %s[0].address == "PMB 155\n10400 Overland Road\n83709-1433 Boise, Id\nUS" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+01 2083895740" - %s[0].fax == nil - %s[0].email == "ccops@markmonitor.com" - %s[0].updated_on %TIME{2008-10-10 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.fr/fr/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/fr/status_registered.txt deleted file mode 100644 index cb346be81..000000000 --- a/spec/fixtures/responses/whois.nic.fr/fr/status_registered.txt +++ /dev/null @@ -1,98 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.181.162.148 REQUEST] >> google.fr -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: google.fr -status: ACTIVE -hold: NO -holder-c: GI658-FRNIC -admin-c: TT599-FRNIC -tech-c: MC239-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL4386-FRNIC -registrar: eMARKMONITOR Inc. dba MARKMONITOR -anniversary: 03/06 -created: 27/07/2000 -last-update: 03/06/2009 -source: FRNIC - -ns-list: NSL4386-FRNIC -nserver: ns1.google.com -nserver: ns2.google.com -nserver: ns3.google.com -nserver: ns4.google.com -source: FRNIC - -registrar: eMARKMONITOR Inc. dba MARKMONITOR -type: Isp Option 1 -address: Emerald Tech Center -address: 391 N. Ancestor Place -address: ID 83704 BOISE -country: US -phone: +1 208 389 5740 -fax-no: +1 208 389 5771 -e-mail: ccops@markmonitor.com -website: http://www.markmonitor.com -anonymous: NO -registered: 10/01/2002 -source: FRNIC - -nic-hdl: GI658-FRNIC -type: ORGANIZATION -contact: Google Inc. -address: 1600, Amphitheatre Parkway -address: 94043 Mountain View Ca -country: US -phone: +1 650 253 0000 -fax-no: +1 650 618 8571 -e-mail: dns-admin@google.com -changed: 09/07/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: dy -source: FRNIC - -nic-hdl: TT599-FRNIC -type: PERSON -contact: Tu Tsao -address: Google France -address: 38, avenue de l'Opera -address: 75002 Paris -country: FR -phone: +33 6 50 33 00 10 -e-mail: dns-admin@google.com -changed: 24/02/2009 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: MC239-FRNIC -type: ROLE -contact: MARKMONITOR CCOPS -address: eMarkmonitor Inc. dba MarkMonitor -address: PMB 155 -address: 10400 Overland Road -address: 83709-1433 Boise, Id -address: US -phone: +01 2083895740 -e-mail: ccops@markmonitor.com -admin-c: DL534-FRNIC -tech-c: DL534-FRNIC -changed: 10/10/2008 ccops@markmonitor.com -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected b/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected deleted file mode 100644 index d149ad51c..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected +++ /dev/null @@ -1,15 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.93.0.1" - %s[0].ipv6 == "2001:660:3005:1::1:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" diff --git a/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.txt b/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.txt deleted file mode 100644 index fba662368..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.txt +++ /dev/null @@ -1,88 +0,0 @@ -%% * . * * -%% This is the AFNIC Whois server. * . . /.\ . -%% . /.^'\ * -%% complete date format : DD/MM/YYYY * * /'.'\ -%% short date format : DD/MM . * /.^'.'\ . -%% version : FRNIC-2.5 . . /'.^'.\ . -%% * ^^|_|^^ * -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [82.52.147.63 REQUEST] >> nic.pm -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.pm -status: ACTIVE -hold: NO -holder-c: APEM2-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.pm/ -remarks: Whois site at: whois.nic.fr -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 17/09/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.93.0.1 2001:660:3005:1::1:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: APEM2-FRNIC -type: ORGANIZATION -contact: Afnic (Saint-Pierre et Miquelon - CTOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -idstatus: cl -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.txt deleted file mode 100644 index be8e65e0e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> -V Md5.0 nic.pm -%% -%% RL Net [#########.] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected b/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/pm/status_available.txt b/spec/fixtures/responses/whois.nic.fr/pm/status_available.txt deleted file mode 100644 index baebe065d..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.21.31.69 REQUEST] >> u34jedzcq.pm -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected deleted file mode 100644 index ddbb21fc2..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected +++ /dev/null @@ -1,83 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-01-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2004-09-17} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "APEM2-FRNIC" - %s[0].name == nil - %s[0].organization == "Afnic (Saint-Pierre et Miquelon - CTOM)" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2008-10-09 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} diff --git a/spec/fixtures/responses/whois.nic.fr/pm/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/pm/status_registered.txt deleted file mode 100644 index abbab49cb..000000000 --- a/spec/fixtures/responses/whois.nic.fr/pm/status_registered.txt +++ /dev/null @@ -1,89 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.237.137 REQUEST] >> nic.pm -%% -%% RL Net [##########] - RL IP [########..] -%% - -domain: nic.pm -status: ACTIVE -hold: NO -holder-c: APEM2-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.pm/ -remarks: Whois site at: whois.nic.fr -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 17/09/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -registrar: AFNIC registry -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: APEM2-FRNIC -type: ORGANIZATION -contact: Afnic (Saint-Pierre et Miquelon - CTOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -registrar: AFNIC registry -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected b/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected deleted file mode 100644 index d149ad51c..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected +++ /dev/null @@ -1,15 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.93.0.1" - %s[0].ipv6 == "2001:660:3005:1::1:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" diff --git a/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.txt b/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.txt deleted file mode 100644 index 6a40e4ce2..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.txt +++ /dev/null @@ -1,83 +0,0 @@ -%% * . * * -%% This is the AFNIC Whois server. * . . /.\ . -%% . /.^'\ * -%% complete date format : DD/MM/YYYY * * /'.'\ -%% short date format : DD/MM . * /.^'.'\ . -%% version : FRNIC-2.5 . . /'.^'.\ . -%% * ^^|_|^^ * -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [82.52.147.63 REQUEST] >> nic.re -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.re -status: ACTIVE -hold: NO -holder-c: A1967-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 12/03/2009 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.93.0.1 2001:660:3005:1::1:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: A1967-FRNIC -type: ORGANIZATION -contact: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines -country: FR -changed: 02/12/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ok -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/re/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/re/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/re/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/re/response_throttled.txt deleted file mode 100644 index 9ca7cad03..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> -V Md5.0 nic.re -%% -%% RL Net [########..] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/re/status_available.expected b/spec/fixtures/responses/whois.nic.fr/re/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/re/status_available.txt b/spec/fixtures/responses/whois.nic.fr/re/status_available.txt deleted file mode 100644 index 6a6839e10..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.237.137 REQUEST] >> u34jedzcq.re -%% -%% RL Net [##########] - RL IP [########..] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected deleted file mode 100644 index 05961988e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected +++ /dev/null @@ -1,83 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-01-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-04-26} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "A1967-FRNIC" - %s[0].name == nil - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2009-12-02 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} diff --git a/spec/fixtures/responses/whois.nic.fr/re/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/re/status_registered.txt deleted file mode 100644 index fd78d228c..000000000 --- a/spec/fixtures/responses/whois.nic.fr/re/status_registered.txt +++ /dev/null @@ -1,94 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.237.137 REQUEST] >> nic.re -%% -%% RL Net [##########] - RL IP [#######...] -%% - -domain: nic.re -status: ACTIVE -hold: NO -holder-c: A1967-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -dsl-id: SIGN5-FRNIC -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 26/04/2011 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -ds-list: SIGN5-FRNIC -key1-tag: 11627 -key1-algo: 8 [RSASHA256] -key1-dgst-t: 2 [SHA-256] -key1-dgst: 20A0C64FD65B5518954D2F9E14D07D750966308786CA00D78F52136EBF89C61C -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -registrar: AFNIC registry -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: A1967-FRNIC -type: ORGANIZATION -contact: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines -country: FR -registrar: AFNIC registry -changed: 02/12/2009 nic@nic.fr -anonymous: NO -obsoleted: NO -eligstatus: ok -eligdate: 01/01/1995 00:00:00 -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.expected b/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.txt b/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.txt deleted file mode 100644 index ea627acbe..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.txt +++ /dev/null @@ -1,88 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.12.202.23 REQUEST] >> nic.tf -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.tf -status: FROZEN -hold: NO -holder-c: AAEA9-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.tf/ -remarks: Whois site at: whois.nic.tf -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 26/10 -created: 26/10/2004 -last-update: 29/10/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AAEA9-FRNIC -type: ORGANIZATION -contact: Afnic (Terres Australes et Antarctiques - TOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ni -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.txt deleted file mode 100644 index 920176240..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> nic.tf -%% -%% RL Net [########..] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected b/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/tf/status_available.txt b/spec/fixtures/responses/whois.nic.fr/tf/status_available.txt deleted file mode 100644 index e03bab28b..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.12.202.23 REQUEST] >> u34jedzcq.tf -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected deleted file mode 100644 index 2d94bfc9d..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected +++ /dev/null @@ -1,95 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-10-26} - -#updated_on - %s %CLASS{time} - %s %TIME{2004-10-29} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "AAEA9-FRNIC" - %s[0].name == nil - %s[0].organization == "Afnic (Terres Australes et Antarctiques - TOM)" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2008-10-09 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.134.4.1" - %s[0].ipv6 == "2001:660:3003:2::4:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" diff --git a/spec/fixtures/responses/whois.nic.fr/tf/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/tf/status_registered.txt deleted file mode 100644 index ea627acbe..000000000 --- a/spec/fixtures/responses/whois.nic.fr/tf/status_registered.txt +++ /dev/null @@ -1,88 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [87.12.202.23 REQUEST] >> nic.tf -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.tf -status: FROZEN -hold: NO -holder-c: AAEA9-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.tf/ -remarks: Whois site at: whois.nic.tf -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 26/10 -created: 26/10/2004 -last-update: 29/10/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AAEA9-FRNIC -type: ORGANIZATION -contact: Afnic (Terres Australes et Antarctiques - TOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -idstatus: ni -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.txt deleted file mode 100644 index f2cc10ed5..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> -V Md5.0 nic.wf -%% -%% RL Net [#########.] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected b/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/wf/status_available.txt b/spec/fixtures/responses/whois.nic.fr/wf/status_available.txt deleted file mode 100644 index a312692e2..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% o . ______________________ _______ o . o -%% This is the AFNIC Whois server. . o \_____ \ _ \ _ \/ __ \. o . -%% o . o/ ____/ /_\ \ /_\ \___ /o . o -%% complete date format : DD/MM/YYYY . o / \ \_/ \\_/ \/ / . o . -%% short date format : DD/MM o . \_______ \_____ /____ /__ /. o . o -%% version : FRNIC-2.5 . o . o . o \/o . o\/ o . \/. o\/ o . o . -%% o . o . o . o . o . o . o . o . o . o . o -%% Rights restricted by copyright. .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [79.3.208.223 REQUEST] >> u34jedzcq.wf -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected deleted file mode 100644 index 9f3a6b335..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected +++ /dev/null @@ -1,95 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-01-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2004-09-17} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "AEFT2-FRNIC" - %s[0].name == nil - %s[0].organization == "Afnic (Wallis et Futuna - TOM)" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2008-10-09 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.93.0.1" - %s[0].ipv6 == "2001:660:3005:1::1:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" diff --git a/spec/fixtures/responses/whois.nic.fr/wf/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/wf/status_registered.txt deleted file mode 100644 index 84186b3cb..000000000 --- a/spec/fixtures/responses/whois.nic.fr/wf/status_registered.txt +++ /dev/null @@ -1,88 +0,0 @@ -%% o . ______________________ _______ o . o -%% This is the AFNIC Whois server. . o \_____ \ _ \ _ \/ __ \. o . -%% o . o/ ____/ /_\ \ /_\ \___ /o . o -%% complete date format : DD/MM/YYYY . o / \ \_/ \\_/ \/ / . o . -%% short date format : DD/MM o . \_______ \_____ /____ /__ /. o . o -%% version : FRNIC-2.5 . o . o . o \/o . o\/ o . \/. o\/ o . o . -%% o . o . o . o . o . o . o . o . o . o . o -%% Rights restricted by copyright. .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [79.3.208.223 REQUEST] >> nic.wf -%% -%% RL Net [##########] - RL IP [#########.] -%% - -domain: nic.wf -status: ACTIVE -hold: NO -holder-c: AEFT2-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.wf/ -remarks: Whois site at: whois.nic.fr -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 17/09/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.93.0.1 2001:660:3005:1::1:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AEFT2-FRNIC -type: ORGANIZATION -contact: Afnic (Wallis et Futuna - TOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -idstatus: cl -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.expected b/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.txt b/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.txt deleted file mode 100644 index e1661e395..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/response_throttled.txt +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [111.168.33.209 REQUEST] >> -V Md5.0 nic.yt -%% -%% RL Net [##########] - RL IP [..........] -%% -%% Too many requests... -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected b/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected deleted file mode 100644 index 9c11bb69f..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected +++ /dev/null @@ -1,36 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.fr/yt/status_available.txt b/spec/fixtures/responses/whois.nic.fr/yt/status_available.txt deleted file mode 100644 index a78b2cd7d..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.237.137 REQUEST] >> u34jedzcq.yt -%% -%% RL Net [##########] - RL IP [#########.] -%% - -%% No entries found in the AFNIC Database. - diff --git a/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected b/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected deleted file mode 100644 index 3b020a6db..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected +++ /dev/null @@ -1,95 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-01-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2004-09-17} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "AC3598-FRNIC" - %s[0].name == nil - %s[0].organization == "Afnic (Mayotte - CTOM)" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].updated_on %TIME{2008-10-09 00:00:00 UTC} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "NFC1-FRNIC" - %s[0].name == "NIC France Contact" - %s[0].organization == "AFNIC" - %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "FR" - %s[0].phone == "+33 1 39 30 83 00" - %s[0].fax == nil - %s[0].email == "hostmaster@nic.fr" - %s[0].updated_on %TIME{2005-08-23 00:00:00 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.nic.fr" - %s[0].ipv4 == "192.134.4.1" - %s[0].ipv6 == "2001:660:3003:2::4:1" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.nic.fr" - %s[1].ipv4 == "192.93.0.4" - %s[1].ipv6 == "2001:660:3005:1::1:2" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.nic.fr" - %s[2].ipv4 == "192.134.0.49" - %s[2].ipv6 == "2001:660:3006:1::1:1" diff --git a/spec/fixtures/responses/whois.nic.fr/yt/status_registered.txt b/spec/fixtures/responses/whois.nic.fr/yt/status_registered.txt deleted file mode 100644 index d09d88a82..000000000 --- a/spec/fixtures/responses/whois.nic.fr/yt/status_registered.txt +++ /dev/null @@ -1,89 +0,0 @@ -%% -%% This is the AFNIC Whois server. -%% -%% complete date format : DD/MM/YYYY -%% short date format : DD/MM -%% version : FRNIC-2.5 -%% -%% Rights restricted by copyright. -%% See http://www.afnic.fr/afnic/web/mentions-legales-whois_en -%% -%% Use '-h' option to obtain more information about this service. -%% -%% [80.117.237.137 REQUEST] >> nic.yt -%% -%% RL Net [##########] - RL IP [########..] -%% - -domain: nic.yt -status: ACTIVE -hold: NO -holder-c: AC3598-FRNIC -admin-c: NFC1-FRNIC -tech-c: NFC1-FRNIC -zone-c: NFC1-FRNIC -nsl-id: NSL1-FRNIC -remarks: Website at: http://www.nic.yt/ -remarks: Whois site at: whois.nic.fr -remarks: Please email mailto: nic@nic.fr -remarks: Spam mailto: abuse@nic.fr -remarks: Test mailto: ping@nic.fr -registrar: AFNIC registry -anniversary: 01/01 -created: 01/01/1995 -last-update: 17/09/2004 -source: FRNIC - -ns-list: NSL1-FRNIC -nserver: ns1.nic.fr [192.134.4.1 2001:660:3003:2::4:1] -nserver: ns2.nic.fr [192.93.0.4 2001:660:3005:1::1:2] -nserver: ns3.nic.fr [192.134.0.49 2001:660:3006:1::1:1] -source: FRNIC - -registrar: AFNIC registry -type: Isp Option 2 -anonymous: YES -registered: 22/05/1997 -source: FRNIC - -nic-hdl: NFC1-FRNIC -type: ROLE -contact: NIC France Contact -address: AFNIC -address: immeuble international -address: 2, rue Stephenson -address: Montigny le Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -phone: +33 1 39 30 83 00 -e-mail: hostmaster@nic.fr -admin-c: NFC1-FRNIC -tech-c: PL12-FRNIC -tech-c: JP-FRNIC -tech-c: MS1887-FRNIC -tech-c: VL-FRNIC -tech-c: PR1249-FRNIC -tech-c: PV827-FRNIC -tech-c: GO661-FRNIC -tech-c: MS-FRNIC -tech-c: AI1-FRNIC -registrar: AFNIC registry -changed: 23/08/2005 hostmaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - -nic-hdl: AC3598-FRNIC -type: ORGANIZATION -contact: Afnic (Mayotte - CTOM) -address: immeuble international -address: 2, rue Stephenson -address: Montigny-Le-Bretonneux -address: 78181 Saint Quentin en Yvelines Cedex -country: FR -registrar: AFNIC registry -changed: 09/10/2008 whoismaster@nic.fr -anonymous: NO -obsoleted: NO -source: FRNIC - diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_available.expected b/spec/fixtures/responses/whois.nic.gd/gd/status_available.expected deleted file mode 100644 index a0a26873f..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_available.txt b/spec/fixtures/responses/whois.nic.gd/gd/status_available.txt deleted file mode 100644 index 5df3eaf13..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -not found... diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_registered.expected b/spec/fixtures/responses/whois.nic.gd/gd/status_registered.expected deleted file mode 100644 index 3b6bc1299..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_registered.expected +++ /dev/null @@ -1,109 +0,0 @@ -#disclaimer - %s == "The data in the WHOIS database of KSregistry GmbH is provided by KSregistry GmbH for information purposes, and to assist persons in obtaining information about or related to domain name registration records. KSregistry GmbH does not guarantee its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via E-mail (spam); or 2) enable high volume, automated, electronic processes that apply to KSregistry GmbH or its systems. KSregistry GmbH reserves the right to modify these terms. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.gd" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-12-11 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-12 16:07:05} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-12-11 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == "www.markmonitor.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "P-GXI35" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "P-GXI35" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "P-GXI35" - %s[0].name == "Google, Inc." - %s[0].organization == "Google, Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6503300100" - %s[0].fax == "+1.6506181499" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_registered.txt b/spec/fixtures/responses/whois.nic.gd/gd/status_registered.txt deleted file mode 100644 index d0698d38d..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ -; The data in the WHOIS database of KSregistry GmbH is provided by -; KSregistry GmbH for information purposes, and to assist persons in -; obtaining information about or related to domain name registration -; records. KSregistry GmbH does not guarantee its accuracy. -; By submitting a WHOIS query, you agree that you will use this data -; only for lawful purposes and that, under no circumstances, you will -; use this data to -; 1) allow, enable, or otherwise support the transmission of mass -; unsolicited, commercial advertising or solicitations via E-mail -; (spam); or -; 2) enable high volume, automated, electronic processes that apply -; to KSregistry GmbH or its systems. -; KSregistry GmbH reserves the right to modify these terms. -; By submitting this query, you agree to abide by this policy. - -domain name: GOOGLE.GD -registrar: MarkMonitor Inc. -url: www.markmonitor.com -status: clientupdateprohibited -status: clienttransferprohibited -created date: 2006-12-11 00:00:00 -updated date: 2013-11-12 16:07:05 -expiration date: 2014-12-11 00:00:00 - -owner-contact: P-GXI35 -owner-organization: Google, Inc. -owner-name: Google, Inc. -owner-street: 1600 Amphitheatre Parkway -owner-city: Mountain View -owner-zip: 94043 -owner-country: US -owner-phone: +1.6503300100 -owner-fax: +1.6506181499 -owner-email: dns-admin@google.com - -admin-contact: P-GXI35 -admin-organization: Google, Inc. -admin-name: Google, Inc. -admin-street: 1600 Amphitheatre Parkway -admin-city: Mountain View -admin-zip: 94043 -admin-country: US -admin-phone: +1.6503300100 -admin-fax: +1.6506181499 -admin-email: dns-admin@google.com - -tech-contact: P-GXI35 -tech-organization: Google, Inc. -tech-name: Google, Inc. -tech-street: 1600 Amphitheatre Parkway -tech-city: Mountain View -tech-zip: 94043 -tech-country: US -tech-phone: +1.6503300100 -tech-fax: +1.6506181499 -tech-email: dns-admin@google.com - -billing-contact: P-UMM26 -billing-organization: MarkMonitor -billing-name: UNKNOWN MarkMonitor -billing-street: 10400 Overland Road -billing-city: Idaho -billing-zip: 83709 -billing-country: US -billing-phone: +1.2083895740 -billing-fax: +1.2083895771 -billing-email: ccops@markmonitor.com - -nameserver: ns1.google.com -nameserver: ns2.google.com - -; Please register your domains at; www.markmonitor.com - diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.expected b/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.expected deleted file mode 100644 index 6aa55920f..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == false - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.txt b/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.txt deleted file mode 100644 index dd9aa97c9..000000000 --- a/spec/fixtures/responses/whois.nic.gd/gd/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -RESTRICTED - Restricted domain name diff --git a/spec/fixtures/responses/whois.nic.gl/gl/status_available.expected b/spec/fixtures/responses/whois.nic.gl/gl/status_available.expected deleted file mode 100644 index 080b5715f..000000000 --- a/spec/fixtures/responses/whois.nic.gl/gl/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.gl" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.gl/gl/status_available.txt b/spec/fixtures/responses/whois.nic.gl/gl/status_available.txt deleted file mode 100644 index 1a3662880..000000000 --- a/spec/fixtures/responses/whois.nic.gl/gl/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -Domain Name: u34jedzcq.gl -Domain Status: No Object Found - - - ->>> Last update of WHOIS database: 2013-12-18T08:44:36.914Z <<< diff --git a/spec/fixtures/responses/whois.nic.gl/gl/status_registered.expected b/spec/fixtures/responses/whois.nic.gl/gl/status_registered.expected deleted file mode 100644 index 7bdbab047..000000000 --- a/spec/fixtures/responses/whois.nic.gl/gl/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.gl" - -#domain_id - %s == "Imp669-GL" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-03-11 03:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-02 19:11:52 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-01 03:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.gl/gl/status_registered.txt b/spec/fixtures/responses/whois.nic.gl/gl/status_registered.txt deleted file mode 100644 index ab62ba2b5..000000000 --- a/spec/fixtures/responses/whois.nic.gl/gl/status_registered.txt +++ /dev/null @@ -1,43 +0,0 @@ -Domain Name: google.gl -Domain ID: Imp669-GL -WHOIS Server: -Referral URL: -Updated Date: 2013-12-02T19:11:52.734Z -Creation Date: 2003-03-11T03:00:00.000Z -Registry Expiry Date: 2015-01-01T03:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: ok -Domain Status: clientUpdateProhibited - -Registrant ID: 4738-GL -Registrant Name: Google Inc. -Registrant Organization: -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6303300100 -Registrant Phone Ext: -Registrant Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: 391 N Ancestor Place Boise, ID 83704 US -Sponsoring Registrar Country: US -Sponsoring Registrar Customer Service Contact: Matt Serlin -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - - - ->>> Last update of WHOIS database: 2014-02-18T18:08:46.292Z <<< diff --git a/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.expected b/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.txt b/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.txt deleted file mode 100644 index 60c1e4367..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/property_status_available.txt +++ /dev/null @@ -1,22 +0,0 @@ -Domain Name: u34jedzcq.gs -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2012-10-18T02:31:01.124Z <<< diff --git a/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.expected b/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.txt b/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.txt deleted file mode 100644 index 058ffc9be..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.txt +++ /dev/null @@ -1,58 +0,0 @@ -Domain Name: google.gs -Domain ID: 4258-CoCCA.gs -WHOIS Server: @ CoCCA -Referral URL: -Updated Date: 2012-06-06T09:11:23.837Z -Creation Date: 2004-07-08T12:00:00.000Z -Registry Expiry Date: 2013-07-08T12:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: clientTransferProhibited -Domain Status: ok -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 681182-CoCCA -Registrant Name: Google Inc. -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant Street: Mountain View, CA 94043 -Registrant City: CA -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Phone: +1 (208) 389-5740 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2012-10-18T02:31:01.124Z <<< diff --git a/spec/fixtures/responses/whois.nic.gs/gs/status_available.expected b/spec/fixtures/responses/whois.nic.gs/gs/status_available.expected deleted file mode 100644 index c6118987c..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.gs" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.gs/gs/status_available.txt b/spec/fixtures/responses/whois.nic.gs/gs/status_available.txt deleted file mode 100644 index 0ff371690..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/status_available.txt +++ /dev/null @@ -1,22 +0,0 @@ -Domain Name: u34jedzcq.gs -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2013-12-18T09:46:02.567Z <<< diff --git a/spec/fixtures/responses/whois.nic.gs/gs/status_registered.expected b/spec/fixtures/responses/whois.nic.gs/gs/status_registered.expected deleted file mode 100644 index 0fe579038..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/status_registered.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "google.gs" - -#domain_id - %s == "4258-CoCCA.gs" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-07-08 12:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-06 07:35:24 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-08 12:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.gs/gs/status_registered.txt b/spec/fixtures/responses/whois.nic.gs/gs/status_registered.txt deleted file mode 100644 index 569dff8e0..000000000 --- a/spec/fixtures/responses/whois.nic.gs/gs/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ -Domain Name: google.gs -Domain ID: 4258-CoCCA.gs -WHOIS Server: whois.nic.gs -Referral URL: -Updated Date: 2013-12-06T07:35:24.997Z -Creation Date: 2004-07-08T12:00:00.000Z -Registry Expiry Date: 2014-07-08T12:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 955923-CoCCA - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.hn/hn/status_available.expected b/spec/fixtures/responses/whois.nic.hn/hn/status_available.expected deleted file mode 100644 index b70d3aef8..000000000 --- a/spec/fixtures/responses/whois.nic.hn/hn/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.hn" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.hn/hn/status_available.txt b/spec/fixtures/responses/whois.nic.hn/hn/status_available.txt deleted file mode 100644 index 2eabd6001..000000000 --- a/spec/fixtures/responses/whois.nic.hn/hn/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain Name: u34jedzcq.hn -Domain Status: No Object Found - -Terminos de Uso: NIC.HN no se hace responsable por la veracidad de los datos proporcionados, ya que los mismos fueron proporcionados por los Registrantes y Usuarios del Servicio de Registro. La informaci?n desplegada ha sido proporcionada por el Administrador de Nombre de Dominio que corresponda, dicha informacion no es generada por NIC.HN. - -Queda absolutamente prohibido su uso para otros prop?sitos, incluyendo el env?o de Correos Electr?nicos no solicitados con fines publicitarios o de promoci?n de productos y servicios (SPAM) sin mediar la autorizaci?n de los afectados y de NIC.HN. - -La base de datos generada a partir del sistema de delegaci?n, est? protegida por las leyes de Propiedad Intelectual y todos los tratados internacionales sobre la materia. - -Si necesita mayor informaci?n sobre los registros aqu? mostrados, favor de comunicarse a contacto@nic.hn - ->>> Last update of WHOIS database: 2013-12-18T10:02:23.163Z <<< diff --git a/spec/fixtures/responses/whois.nic.hn/hn/status_registered.expected b/spec/fixtures/responses/whois.nic.hn/hn/status_registered.expected deleted file mode 100644 index aaf19e220..000000000 --- a/spec/fixtures/responses/whois.nic.hn/hn/status_registered.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == "google.hn" - -#domain_id - %s == "801220-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-03-07 05:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-03 10:22:23 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-07 05:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.hn/hn/status_registered.txt b/spec/fixtures/responses/whois.nic.hn/hn/status_registered.txt deleted file mode 100644 index 6128661fb..000000000 --- a/spec/fixtures/responses/whois.nic.hn/hn/status_registered.txt +++ /dev/null @@ -1,95 +0,0 @@ -Domain Name: google.hn -Domain ID: 801220-CoCCA -WHOIS Server: whois.nic.hn -Referral URL: -Updated Date: 2014-02-03T10:22:23.197Z -Creation Date: 2003-03-07T05:00:00.000Z -Registry Expiry Date: 2015-03-07T05:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 490793-CoCCA -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6502530001 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 490793-CoCCA -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6502530001 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Billing ID: 857074-CoCCA -Billing Name: CCOPs Provisioning -Billing Organization: MarkMonitor -Billing Street: 10400 Overland Rd PMB 155 -Billing City: Boise -Billing State/Province: ID -Billing Postal Code: 83709 -Billing Country: US -Billing Phone: +1.2083895740 -Billing Phone Ext: -Billing Fax: +1.2083895771 -Billing Fax Ext: -Billing Email: ccops@markmonitor.com - -Tech ID: 857074-CoCCA -Tech Name: CCOPs Provisioning -Tech Organization: MarkMonitor -Tech Street: 10400 Overland Rd PMB 155 -Tech City: Boise -Tech State/Province: ID -Tech Postal Code: 83709 -Tech Country: US -Tech Phone: +1.2083895740 -Tech Phone Ext: -Tech Fax: +1.2083895771 -Tech Fax Ext: -Tech Email: ccops@markmonitor.com - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com -Sponsoring Registrar Admin Contact: Domain Billing -Sponsoring Registrar Admin Email: ccops@markmonitor.com - -Terminos de Uso: NIC.HN no se hace responsable por la veracidad de los datos proporcionados, ya que los mismos fueron proporcionados por los Registrantes y Usuarios del Servicio de Registro. La informaci?n desplegada ha sido proporcionada por el Administrador de Nombre de Dominio que corresponda, dicha informacion no es generada por NIC.HN. - -Queda absolutamente prohibido su uso para otros prop?sitos, incluyendo el env?o de Correos Electr?nicos no solicitados con fines publicitarios o de promoci?n de productos y servicios (SPAM) sin mediar la autorizaci?n de los afectados y de NIC.HN. - -La base de datos generada a partir del sistema de delegaci?n, est? protegida por las leyes de Propiedad Intelectual y todos los tratados internacionales sobre la materia. - -Si necesita mayor informaci?n sobre los registros aqu? mostrados, favor de comunicarse a contacto@nic.hn - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.ht/ht/status_available.expected b/spec/fixtures/responses/whois.nic.ht/ht/status_available.expected deleted file mode 100644 index 6c8b32326..000000000 --- a/spec/fixtures/responses/whois.nic.ht/ht/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ht" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ht/ht/status_available.txt b/spec/fixtures/responses/whois.nic.ht/ht/status_available.txt deleted file mode 100644 index 63a8d09a4..000000000 --- a/spec/fixtures/responses/whois.nic.ht/ht/status_available.txt +++ /dev/null @@ -1,8 +0,0 @@ -Domain Name: u34jedzcq.ht -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by Consortium FDS/RDDH as a service to the internet community on by of Consortium FDS/RDDH. (http://www.nic.ht) - -The data is for information purposes only. Consortium FDS/RDDH does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Consortium FDS/RDDH it's members (or Consortium FDS/RDDH or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T14:14:00.586Z <<< diff --git a/spec/fixtures/responses/whois.nic.ht/ht/status_registered.expected b/spec/fixtures/responses/whois.nic.ht/ht/status_registered.expected deleted file mode 100644 index d4ec96f85..000000000 --- a/spec/fixtures/responses/whois.nic.ht/ht/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.ht" - -#domain_id - %s == "112029-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-06-17 23:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-05-16 09:18:24 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-17 23:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ht/ht/status_registered.txt b/spec/fixtures/responses/whois.nic.ht/ht/status_registered.txt deleted file mode 100644 index 46d5591d1..000000000 --- a/spec/fixtures/responses/whois.nic.ht/ht/status_registered.txt +++ /dev/null @@ -1,91 +0,0 @@ -Domain Name: google.ht -Domain ID: 112029-CoCCA -WHOIS Server: whois.nic.ht -Referral URL: -Updated Date: 2013-05-16T09:18:24.192Z -Creation Date: 2004-06-17T23:00:00.000Z -Registry Expiry Date: 2014-06-17T23:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 88185-CoCCA -Registrant Name: Google Inc. -Registrant Organization: -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 88185-CoCCA -Admin Name: Google Inc. -Admin Organization: -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Billing ID: 182402-CoCCA -Billing Name: eMarkmonitor Inc. dba MarkMonitor -Billing Organization: -Billing Street: PMB 155 -Billing Street: 10400 Overland Road -Billing City: Boise -Billing State/Province: Idaho 83709 -Billing Postal Code: -Billing Country: US -Billing Phone: +1.2083895799 -Billing Phone Ext: -Billing Email: ccops@markmonitor.com - -Tech ID: 88185-CoCCA -Tech Name: Google Inc. -Tech Organization: -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by Consortium FDS/RDDH as a service to the internet community on by of Consortium FDS/RDDH. (http://www.nic.ht) - -The data is for information purposes only. Consortium FDS/RDDH does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Consortium FDS/RDDH it's members (or Consortium FDS/RDDH or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.hu/hu/status_available.expected b/spec/fixtures/responses/whois.nic.hu/hu/status_available.expected deleted file mode 100644 index 40868dc45..000000000 --- a/spec/fixtures/responses/whois.nic.hu/hu/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.hu/hu/status_available.txt b/spec/fixtures/responses/whois.nic.hu/hu/status_available.txt deleted file mode 100644 index a9fb021df..000000000 --- a/spec/fixtures/responses/whois.nic.hu/hu/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ -% Whois server 2.08d serving the hu ccTLD - -Nincs találat / No match diff --git a/spec/fixtures/responses/whois.nic.hu/hu/status_registered.expected b/spec/fixtures/responses/whois.nic.hu/hu/status_registered.expected deleted file mode 100644 index 418c05414..000000000 --- a/spec/fixtures/responses/whois.nic.hu/hu/status_registered.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.hu" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-03-25 23:20:39} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.hu/hu/status_registered.txt b/spec/fixtures/responses/whois.nic.hu/hu/status_registered.txt deleted file mode 100644 index 6c1b75beb..000000000 --- a/spec/fixtures/responses/whois.nic.hu/hu/status_registered.txt +++ /dev/null @@ -1,9 +0,0 @@ -% Whois server 2.08d serving the hu ccTLD - -domain: google.hu -record created: 2000.03.25 23:20:39 -További adatokért ld.: -http://www.domain.hu/domain/domainsearch/ -For further data see: -http://www.domain.hu/domain/English/domainsearch/ - diff --git a/spec/fixtures/responses/whois.nic.im/im/status_available.expected b/spec/fixtures/responses/whois.nic.im/im/status_available.expected deleted file mode 100644 index 46f921a92..000000000 --- a/spec/fixtures/responses/whois.nic.im/im/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.im/im/status_available.txt b/spec/fixtures/responses/whois.nic.im/im/status_available.txt deleted file mode 100644 index 301c3ef1e..000000000 --- a/spec/fixtures/responses/whois.nic.im/im/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain Name: u34jedzcq.im -The domain u34jedzcq.im was not found. diff --git a/spec/fixtures/responses/whois.nic.im/im/status_registered.expected b/spec/fixtures/responses/whois.nic.im/im/status_registered.expected deleted file mode 100644 index 533615a51..000000000 --- a/spec/fixtures/responses/whois.nic.im/im/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-03 23:59:52} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.im/im/status_registered.txt b/spec/fixtures/responses/whois.nic.im/im/status_registered.txt deleted file mode 100644 index 9eb8ec4c9..000000000 --- a/spec/fixtures/responses/whois.nic.im/im/status_registered.txt +++ /dev/null @@ -1,44 +0,0 @@ -Domain Name: google.im -Domain Managers -Name: Reseller - Mark Monitor -Address -391 N. Ancestor Pl. -Boise, ID -83704 -United States -Domain Owners / Registrant -Name: Google Inc. -Address -1600 Amphitheatre Parkway -Mountain View, CA -94043 -United States -Administrative Contact -Name: Google Inc. Domain Admin -Address -1600 Amphitheatre Parkway -Mountain View, CA -94043 -United States -Billing Contact -Name: Mr Domain Administrator -Address -Emerald Tech Center -391 N. Ancestor Pl -Boise, ID -83704 -United States -Technical Contact -Name: Mr Domain Administrator -Address -Emerald Tech Center -391 N. Ancestor Pl -Boise, ID -83704 -United States -Domain Details -Expiry Date: 03/08/2014 23:59:52 -Name Server: ns1.google.com. -Name Server: ns2.google.com. -Name Server: ns3.google.com. -Name Server: ns4.google.com. diff --git a/spec/fixtures/responses/whois.nic.io/io/property_owner_without_label.txt b/spec/fixtures/responses/whois.nic.io/io/property_owner_without_label.txt deleted file mode 100644 index 961d11a39..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/property_owner_without_label.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Domain : google.io -Status : Live -Expiry : 2013-09-30 - -NS 1 : ns1.google.com -NS 2 : ns2.google.com -NS 3 : ns3.google.com -NS 4 : ns4.google.com - - : GOOGLE INC. - : 2400 E. Bayshore Pkwy - : Mountain View - : CA - : US - diff --git a/spec/fixtures/responses/whois.nic.io/io/property_status_reserved.txt b/spec/fixtures/responses/whois.nic.io/io/property_status_reserved.txt deleted file mode 100644 index 42ca5fd05..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/property_status_reserved.txt +++ /dev/null @@ -1,3 +0,0 @@ - -Domain reserved - diff --git a/spec/fixtures/responses/whois.nic.io/io/status_available.expected b/spec/fixtures/responses/whois.nic.io/io/status_available.expected deleted file mode 100644 index 12d93351f..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_available.expected +++ /dev/null @@ -1,52 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "u34jedzcq.io" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.io/io/status_available.txt b/spec/fixtures/responses/whois.nic.io/io/status_available.txt deleted file mode 100644 index fb5c7250f..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Domain u34jedzcq.io is available for purchase -Please visit http://www.nic.io/ for more information - diff --git a/spec/fixtures/responses/whois.nic.io/io/status_registered.expected b/spec/fixtures/responses/whois.nic.io/io/status_registered.expected deleted file mode 100644 index 203d32b78..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_registered.expected +++ /dev/null @@ -1,77 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "redis.io" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-28} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Salvatore Sanfilippo" - %s[0].organization == "Salvatore Sanfilippo" - %s[0].address == "Via F.Alaimo, 2" - %s[0].city == "Campobello di Licata (AG" - %s[0].zip == nil - %s[0].state == "." - %s[0].country == "IT" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.iwantmyname.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.iwantmyname.net" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.iwantmyname.net" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.iwantmyname.net" - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.io/io/status_registered.txt b/spec/fixtures/responses/whois.nic.io/io/status_registered.txt deleted file mode 100644 index 4e2639a9e..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_registered.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Domain : redis.io -Status : Live -Expiry : 2014-05-28 - -NS 1 : ns1.iwantmyname.net -NS 2 : ns2.iwantmyname.net -NS 3 : ns3.iwantmyname.net -NS 4 : ns4.iwantmyname.net - -Owner : Salvatore Sanfilippo -Owner : Salvatore Sanfilippo -Owner : Via F.Alaimo, 2 -Owner : Campobello di Licata (AG -Owner : . -Owner : IT - diff --git a/spec/fixtures/responses/whois.nic.io/io/status_reserved.expected b/spec/fixtures/responses/whois.nic.io/io/status_reserved.expected deleted file mode 100644 index 663f6f2e3..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_reserved.expected +++ /dev/null @@ -1,52 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.nic.io/io/status_reserved.txt b/spec/fixtures/responses/whois.nic.io/io/status_reserved.txt deleted file mode 100644 index 42ca5fd05..000000000 --- a/spec/fixtures/responses/whois.nic.io/io/status_reserved.txt +++ /dev/null @@ -1,3 +0,0 @@ - -Domain reserved - diff --git a/spec/fixtures/responses/whois.nic.ir/ir/status_available.expected b/spec/fixtures/responses/whois.nic.ir/ir/status_available.expected deleted file mode 100644 index fccfb20cb..000000000 --- a/spec/fixtures/responses/whois.nic.ir/ir/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ir/ir/status_available.txt b/spec/fixtures/responses/whois.nic.ir/ir/status_available.txt deleted file mode 100644 index c27b53dbd..000000000 --- a/spec/fixtures/responses/whois.nic.ir/ir/status_available.txt +++ /dev/null @@ -1,14 +0,0 @@ -% This is the IRNIC Whois server v1.6.2. -% Available on web at http://whois.nic.ir/ -% Find the terms and conditions of use on http://www.nic.ir/ -% -% This server uses UTF-8 as the encoding for requests and responses. - -% NOTE: This output has been filtered. - -% Information related to 'u34jedzcq.ir' - -%ERROR:101: no entries found -% -% No entries found in the selected source(s). - diff --git a/spec/fixtures/responses/whois.nic.ir/ir/status_registered.expected b/spec/fixtures/responses/whois.nic.ir/ir/status_registered.expected deleted file mode 100644 index e6c4c44c8..000000000 --- a/spec/fixtures/responses/whois.nic.ir/ir/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-17} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns1.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.ir/ir/status_registered.txt b/spec/fixtures/responses/whois.nic.ir/ir/status_registered.txt deleted file mode 100644 index db8ceb1d8..000000000 --- a/spec/fixtures/responses/whois.nic.ir/ir/status_registered.txt +++ /dev/null @@ -1,42 +0,0 @@ -% This is the IRNIC Whois server v1.6.2. -% Available on web at http://whois.nic.ir/ -% Find the terms and conditions of use on http://www.nic.ir/ -% -% This server uses UTF-8 as the encoding for requests and responses. - -% NOTE: This output has been filtered. - -% Information related to 'google.ir' - - -domain: google.ir -ascii: google.ir -remarks: (Domain Holder) Google Inc. -remarks: (Domain Holder Address) 1600 Amphitheatre Parkway, Mountain View, CA, US -holder-c: go438-irnic -admin-c: do210-irnic -tech-c: do210-irnic -nserver: ns3.google.com -nserver: ns4.google.com -nserver: ns1.google.com -nserver: ns2.google.com -last-updated: 2014-02-17 -expire-date: 2014-12-22 -source: IRNIC # Filtered - -nic-hdl: go438-irnic -org: Google Inc. -e-mail: support@domainservicesltd.co.uk -address: 1600 Amphitheatre Parkway, Mountain View, CA, US -phone: +1 650 623 4000 -fax-no: +1 650 618 8571 -source: IRNIC # Filtered - -nic-hdl: do210-irnic -org: Domain Services Ltd -e-mail: admin@domainservicesltd.co.uk -address: 2nd Floor 145-147 St.John Street, London, London, UK -phone: +44 87 20229870 -fax-no: +44 87 20229871 -source: IRNIC # Filtered - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_province.expected b/spec/fixtures/responses/whois.nic.it/it/property_contact_province.expected deleted file mode 100644 index 44ebcd3c2..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_province.expected +++ /dev/null @@ -1,15 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "HTML1-ITNIC" - %s[0].name == "HTML.it srl" - %s[0].organization == "HTML.it srl" - %s[0].address == "Viale Alessandrino, 595" - %s[0].city == "Roma" - %s[0].zip == "00172" - %s[0].state == "RM" - %s[0].country_code == "IT" - %s[0].created_on %TIME{2007-03-01 10:28:08} - %s[0].updated_on %TIME{2007-03-01 10:28:08} diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_province.txt b/spec/fixtures/responses/whois.nic.it/it/property_contact_province.txt deleted file mode 100644 index ef1d9e677..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_province.txt +++ /dev/null @@ -1,58 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: html.it -Status: ACTIVE -Created: 1998-08-05 00:00:00 -Last Update: 2009-07-01 00:02:38 -Expire Date: 2010-06-15 - -Registrant - Name: HTML.it srl - Organization: HTML.it srl - ContactID: HTML1-ITNIC - Address: Viale Alessandrino, 595 - Roma - 00172 - RM - IT - Created: 2007-03-01 10:28:08 - Last Update: 2007-03-01 10:28:08 - -Admin Contact - Name: Massimiliano Valente - ContactID: MV943-ITNIC - Address: Viale Alessandrino, 595 - Roma - 00172 - RM - IT - Created: 2006-09-01 00:00:00 - Last Update: 2007-03-01 07:37:14 - -Technical Contacts - Name: Massimiliano Valente - ContactID: MV943-ITNIC - Address: Viale Alessandrino, 595 - Roma - 00172 - RM - IT - Created: 2006-09-01 00:00:00 - Last Update: 2007-03-01 07:37:14 - -Registrar - Organization: ITnet s.r.l. - Name: ITNET-MNT - -Nameservers - dns.it.net - dns2.it.net - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.expected b/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.expected deleted file mode 100644 index 85456c77a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.expected +++ /dev/null @@ -1,15 +0,0 @@ -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "AARS1-ITNIC" - %s[0].name == "Andrea Antonio Renato Stratta" - %s[0].organization == "UCI Italia Srl" - %s[0].address == "Via E. Fermi, 161" - %s[0].city == "Roma" - %s[0].zip == "00146" - %s[0].state == "RM" - %s[0].country_code == "IT" - %s[0].created_on %TIME{2006-08-16 00:00:00} - %s[0].updated_on %TIME{2007-03-01 07:48:42} diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.txt b/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.txt deleted file mode 100644 index bafaa1b95..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.txt +++ /dev/null @@ -1,60 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: ucicinemas.it -Status: ACTIVE -Created: 2001-10-18 00:00:00 -Last Update: 2010-09-01 00:02:22 -Expire Date: 2011-08-16 - -Registrant - Name: UCI ITALIA Spa - Organization: UCI ITALIA Spa - ContactID: UCII1-ITNIC - Address: Via E. Fermi, 161 - Roma - 00146 - RM - IT - Created: 2007-03-01 10:27:58 - Last Update: 2007-03-01 10:27:58 - -Admin Contact - Name: Andrea Antonio Renato Stratta - ContactID: AARS1-ITNIC - Address: UCI Italia Srl - Via E. Fermi, 161 - Roma - 00146 - RM - IT - Created: 2006-08-16 00:00:00 - Last Update: 2007-03-01 07:48:42 - -Technical Contacts - Name: Andrea Antonio Renato Stratta - ContactID: AARS1-ITNIC - Address: UCI Italia Srl - Via E. Fermi, 161 - Roma - 00146 - RM - IT - Created: 2006-08-16 00:00:00 - Last Update: 2007-03-01 07:48:42 - -Registrar - Organization: Telnet s.r.l. - Name: TELNET-MNT - -Nameservers - ns0.telnetwork.it - ns1.telnetwork.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.expected b/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.expected deleted file mode 100644 index dd76302fe..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.expected +++ /dev/null @@ -1,15 +0,0 @@ -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "TT4277-ITNIC" - %s[0].name == "Tsao Tu" - %s[0].organization == "Tu Tsao" - %s[0].address == "30 Herbert Street" - %s[0].city == "Dublin" - %s[0].zip == "2" - %s[0].state == "IE" - %s[0].country_code == "IE" - %s[0].created_on %TIME{2008-11-27 16:47:22} - %s[0].updated_on %TIME{2008-11-27 16:47:22} diff --git a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.txt b/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.txt deleted file mode 100644 index a86d35cde..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.txt +++ /dev/null @@ -1,53 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: google.it -Status: ACTIVE -Created: 1999-12-10 00:00:00 -Last Update: 2008-11-27 16:47:22 -Expire Date: 2009-11-27 - -Registrant - Name: Google Ireland Holdings - ContactID: GOOG175-ITNIC - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Admin Contact - Name: Tsao Tu - ContactID: TT4277-ITNIC - Organization: Tu Tsao - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Technical Contacts - Name: Technical Services - ContactID: TS7016-ITNIC - -Registrar - Organization: Register.it s.p.a. - Name: REGISTER-MNT - -Nameservers - ns1.google.com - ns4.google.com - ns2.google.com - ns3.google.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_autorenewperiod_clientdeleteprohibited_clientupdateprohibited.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_autorenewperiod_clientdeleteprohibited_clientupdateprohibited.txt deleted file mode 100644 index b7b3d4c6a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_autorenewperiod_clientdeleteprohibited_clientupdateprohibited.txt +++ /dev/null @@ -1,63 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: imdb.it -Status: autoRenewPeriod / clientDeleteProhibited / clientUpdateProhibited -Created: 2000-03-13 00:00:00 -Last Update: 2011-10-17 01:15:20 -Expire Date: 2011-10-16 - -Registrant - Name: Domain Manager - Organization: Amazon Europe Holding Technologies SCS - ContactID: AMAZ26 - Address: 65, boulevard Grande-Duchesse Charlotte - Luxembourg City - 1311 - Luxembourg City - LU - Created: 2008-04-21 16:07:02 - Last Update: 2011-02-11 14:35:52 - -Admin Contact - Name: Jocelyn Krabbenschmidt - Organization: Amazon Europe Holding Technologies SCS - ContactID: JK17042 - Address: 65, boulevard Grande-Duchesse Charlotte - Luxembourg City - 1311 - LUXEMBOURG CITY - LU - Created: 2008-04-21 16:07:02 - Last Update: 2010-12-01 11:09:07 - -Technical Contacts - Name: Dietrich Meyer - Organization: Lovells - ContactID: DM18866 - Address: 6 Avenue Kleber - Paris - 75116 - PARIS - FR - Created: 2007-10-16 14:25:46 - Last Update: 2010-12-01 11:09:07 - -Registrar - Organization: NOM-IQ Ltd. Trading as Com Laude - Name: COMLAUDE-REG - -Nameservers - pdns1.ultradns.net - pdns2.ultradns.net - pdns3.ultradns.org - pdns4.ultradns.org - pdns5.ultradns.info - pdns6.ultradns.co.uk - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_available.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_available.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_available.txt deleted file mode 100644 index 95a4c4279..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: google.it -Status: AVAILABLE diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_client.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_client.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_client.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_client.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_client.txt deleted file mode 100644 index a7d820ea9..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_client.txt +++ /dev/null @@ -1,59 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: elle.it -Status: clientUpdateProhibited / clientDeleteProhibited -Created: 1996-01-29 00:00:00 -Last Update: 2010-12-21 01:03:46 -Expire Date: 2011-12-06 - -Registrant - Name: HACHETTE FILIPACCHI PRESSE SA - Organization: HACHETTE FILIPACCHI PRESSE SA - ContactID: HACH3 - Address: 149 rue Anatole France - Levallois Perret Cedex - 92534 - FR - FR - Created: 2007-03-01 10:30:07 - Last Update: 2010-06-24 10:22:43 - -Admin Contact - Name: Fabienne Sultan - ContactID: FS1840 - Address: 149 rue Anatole France - 92534 Levallois Perret Cedex - France - FR - Created: 2003-05-12 00:00:00 - Last Update: 2010-07-12 15:16:48 - -Technical Contacts - Name: Artful Tech - ContactID: AT1480 - Address: Artful - 26 bis rue du Chene Germain - Cesson-Sevigne - 35510 - FR - FR - Created: 2003-05-12 00:00:00 - Last Update: 2010-01-21 11:25:05 - -Registrar - Organization: INDOM - Name: INDOM-REG - -Nameservers - ns1.artful.net - ns2.artful.net - ns3.artful.net - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.txt deleted file mode 100644 index 33b708665..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.txt +++ /dev/null @@ -1,58 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: hotellagioconda.it -Status: GRACE-PERIOD -Created: 2001-09-26 00:00:00 -Last Update: 2011-02-12 00:30:50 -Expire Date: 2011-02-11 - -Registrant - Name: S.A.L.G. S.r.l. Soc. Alberghi "La Gioconda" - Organization: S.A.L.G. S.r.l. Soc. Alberghi "La Gioconda" - ContactID: SALG11-ITNIC - Address: Via Panzani 2 - Firenze - 50123 - FI - IT - Created: 2008-02-11 12:18:47 - Last Update: 2008-02-11 12:18:47 - -Admin Contact - Name: Tanja Lipira - ContactID: TL6748-ITNIC - Address: Via Panzani 2 - Firenze - 50123 - FI - IT - Created: 2008-02-11 12:18:47 - Last Update: 2008-02-11 12:18:47 - -Technical Contacts - Name: Hostmaster Sestante - ContactID: HS3-ITNIC - Address: Via della Giustizia, 9 - Fano - 61032 - PU - IT - Created: 2005-09-26 00:00:00 - Last Update: 2007-03-01 07:36:55 - -Registrar - Organization: SESTANTE s.r.l. - Name: SESTANTE-MNT - -Nameservers - ns1.sestante.net - ns2.sestante.net - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.expected deleted file mode 100644 index 8592c316b..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.txt deleted file mode 100644 index d7ca6d47d..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.txt +++ /dev/null @@ -1,60 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: tipassasubito.it -Status: inactive / noRegistrar -Created: 2008-04-02 16:20:50 -Last Update: 2011-04-13 15:41:49 -Expire Date: 2011-04-02 - -Registrant - Name: SIRIS MEDIA FACTORY SRL - Organization: SIRIS MEDIA FACTORY SRL - ContactID: SIRI412 - Address: Foro Buonaparte, 69 - Milano - 20121 - MI - IT - Created: 2008-04-02 16:20:50 - Last Update: 2011-04-13 15:24:54 - -Admin Contact - Name: CLAUDIO SPADA - Organization: SIRIS MEDIA FACTORY SRL - ContactID: CS31121 - Address: Foro Buonaparte, 69 - Milano - 20121 - MI - IT - Created: 2008-04-02 16:20:50 - Last Update: 2011-04-13 15:26:01 - -Technical Contacts - Name: CLAUDIO SPADA - Organization: SIRIS MEDIA FACTORY SRL - ContactID: CS31122 - Address: Foro Buonaparte, 69 - Milano - 20121 - MI - IT - Created: 2008-04-02 16:20:50 - Last Update: 2011-04-13 15:26:17 - -Registrar - Organization: 9NET s.r.l. - Name: 9NET-REG - Web: http://www.9net.it - -Nameservers - ns1.websolutions.it - ns2.websolutions.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.txt deleted file mode 100644 index 8fdb6e9a9..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.txt +++ /dev/null @@ -1,54 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: chiara.it -Status: NO-PROVIDER -Created: 1999-12-27 00:00:00 -Last Update: 2011-06-24 23:10:26 -Expire Date: 2011-12-27 - -Registrant - Name: Infoplan di Giancarlo Abram - ContactID: INFO2436-ITNIC - Address: Via Gozzi 13 - Mestre - 30172 - VE - IT - Created: 2007-03-01 11:04:12 - Last Update: 2011-02-09 11:59:46 - -Admin Contact - Name: Giancarlo Abram - ContactID: GA8285-ITNIC - Address: P.zza San Giovanni 14 - Ronzone - 38013 - TN - IT - Created: 2007-03-01 10:26:06 - Last Update: 2010-07-12 15:25:22 - -Technical Contacts - Name: Giancarlo Abram - ContactID: GA8285-ITNIC - Address: P.zza San Giovanni 14 - Ronzone - 38013 - TN - IT - Created: 2007-03-01 10:26:06 - Last Update: 2010-07-12 15:25:22 - -Registrar - Name: CIM-MNT - -Nameservers - ns.cim.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_ok.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_ok.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_ok.txt deleted file mode 100644 index e7513af80..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_ok.txt +++ /dev/null @@ -1,60 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: decorstore.it -Status: ok -Created: 2008-01-24 15:40:37 -Last Update: 2010-06-07 18:50:20 -Expire Date: 2011-01-24 - -Registrant - Name: 3b srl - Organization: 3b srl - ContactID: XYZ759 - Address: Via Marrucci, 43 - Cecina - 57023 - LI - IT - Created: 2008-01-24 15:40:37 - Last Update: 2010-05-10 11:32:32 - -Admin Contact - Name: Corrado Beggi - Organization: 3b srl - ContactID: CB64898 - Address: Via Marrucci, 43 - Cecina - 57023 - LI - IT - Created: 2008-01-24 15:40:37 - Last Update: 2010-05-10 11:32:53 - -Technical Contacts - Name: Moviement Srl - Organization: Moviement Srl - ContactID: MVM0000034088 - Address: Via San Mauro 7/9 - Montegrotto Terme - 35036 - PD - IT - Created: 2010-06-07 17:01:37 - Last Update: 2010-06-29 18:35:52 - -Registrar - Organization: Moviement s.r.l. - Name: MVMNET-REG - -Nameservers - ns1.clickcity.biz - ns2.clickcity.biz - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.txt deleted file mode 100644 index 2832a55e3..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.txt +++ /dev/null @@ -1,60 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: venetamarmi.it -Status: ok / autoRenewPeriod -Created: 1998-07-09 00:00:00 -Last Update: 2011-02-05 01:48:38 -Expire Date: 2011-02-05 - -Registrant - Name: Veneta Marmi Srl - Organization: Veneta Marmi Srl - ContactID: VENE64 - Address: Via Pernisa,10 - Grezzana - 37023 - VR - IT - Created: 2007-03-01 10:33:35 - Last Update: 2011-01-18 11:07:43 - -Admin Contact - Name: Ferrari Rino - Organization: NA - ContactID: FR1005562 - Address: Via Pernisa,10 - Grezzana - 37023 - VR - IT - Created: 2010-11-11 16:25:37 - Last Update: 2011-01-18 11:07:43 - -Technical Contacts - Name: Technical Support - Organization: Register.it S.p.A. - ContactID: 2409-REGT - Address: Via Montessori s/n - Bergamo - 24126 - BG - IT - Created: 2009-09-28 11:01:09 - Last Update: 2009-09-28 11:01:09 - -Registrar - Organization: Register.it s.p.a. - Name: REGISTER-REG - -Nameservers - ns1.register.it - ns2.register.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.txt deleted file mode 100644 index ec0d50b87..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.txt +++ /dev/null @@ -1,54 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: chiara.it -Status: PENDING-DELETE -Created: 1999-12-27 00:00:00 -Last Update: 2012-02-27 00:01:44 -Expire Date: 2011-12-27 - -Registrant - Name: Infoplan di Giancarlo Abram - ContactID: INFO2436-ITNIC - Address: Via Gozzi 13 - Mestre - 30172 - VE - IT - Created: 2007-03-01 11:04:12 - Last Update: 2011-02-09 11:59:46 - -Admin Contact - Name: Giancarlo Abram - ContactID: GA8285-ITNIC - Address: P.zza San Giovanni 14 - Ronzone - 38013 - TN - IT - Created: 2007-03-01 10:26:06 - Last Update: 2010-07-12 15:25:22 - -Technical Contacts - Name: Giancarlo Abram - ContactID: GA8285-ITNIC - Address: P.zza San Giovanni 14 - Ronzone - 38013 - TN - IT - Created: 2007-03-01 10:26:06 - Last Update: 2010-07-12 15:25:22 - -Registrar - Name: CIM-MNT - -Nameservers - ns.cim.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.txt deleted file mode 100644 index 5715c1ae9..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.txt +++ /dev/null @@ -1,45 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: cartucceweb.it -Status: pendingDelete / pendingDelete -Created: 2007-06-07 14:48:44 -Last Update: 2011-06-27 12:05:12 -Expire Date: 2011-05-31 - -Registrant - Name: Jose Gregorio Chatila - Organization: CARTUCCEWEB DI CHATILA JOSE GREGORIO - ContactID: DFT-R-16249 - -Admin Contact - Name: JOSE GREGORIO CHATILA - ContactID: DUP008397314 - -Technical Contacts - Name: Etesi s.r.l. - Organization: www.ion.it - Italia on Net - ContactID: DUP753815370 - Address: Via Alloro, 8 - Ribera - 92016 - AG - IT - Created: 2010-05-31 00:52:08 - Last Update: 2010-07-12 15:25:22 - -Registrar - Organization: DominioFaiDaTe S.r.l. - Name: DFT-REG - Web: http://www.dominiofaidate.com - -Nameservers - ns1.dominiofaidate.com - ns2.dominiofaidate.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.txt deleted file mode 100644 index 831610637..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.txt +++ /dev/null @@ -1,60 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: concessionari-fiat.it -Status: pendingDelete / redemptionPeriod -Created: 2010-02-08 22:30:04 -Last Update: 2011-02-11 15:38:31 -Expire Date: 2011-02-08 - -Registrant - Name: Paolo Battistella - Organization: Paolo Battistella - ContactID: THR1265664614 - Address: Via Donatello 7 - Prata Di Pordenone - 33080 - PN - IT - Created: 2010-02-08 22:30:03 - Last Update: 2010-07-12 15:06:50 - -Admin Contact - Name: Paolo Battistella - Organization: Paolo Battistella - ContactID: THR1265664614 - Address: Via Donatello 7 - Prata Di Pordenone - 33080 - PN - IT - Created: 2010-02-08 22:30:03 - Last Update: 2010-07-12 15:06:50 - -Technical Contacts - Name: Unita' Tecnica Tophost - Organization: Tophost srl - ContactID: TOPHOST - Address: P.zza della liberta' 10 - Roma - 00195 - RM - IT - Created: 2009-09-28 11:25:11 - Last Update: 2009-09-28 11:25:11 - -Registrar - Organization: Seeweb S.r.l. - Name: TOPHOST-REG - -Nameservers - ns1.th.seeweb.it - ns2.th.seeweb.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.txt deleted file mode 100644 index 03f422d1d..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.txt +++ /dev/null @@ -1,46 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: alessandrofusco.it -Status: pendingTransfer -Created: 2006-06-05 00:00:00 -Last Update: 2011-05-02 17:26:59 -Expire Date: 2011-06-05 - -Registrant - Name: Alessandro Fusco - Organization: Alessandro Fusco - ContactID: AF7184 - -Admin Contact - Name: Alessandro Fusco - Organization: Alessandro Fusco - ContactID: AF7184 - -Technical Contacts - Name: Claudio De Luca - Organization: Serverplan - ContactID: CDL148 - Address: Corso della Repubblica 171 - Cassino - 03043 - FR - IT - Created: 2005-07-07 00:00:00 - Last Update: 2010-01-28 16:10:28 - -Registrar - Organization: Serverplan s.r.l. Unipersonale - Name: SERVERPLAN-REG - Web: http://www.serverplan.com - -Nameservers - ns23.dnshighspeed.com - ns24.dnshighspeed.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.txt deleted file mode 100644 index 6c3ffd802..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.txt +++ /dev/null @@ -1,38 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: aversastore.it -Status: pendingTransfer / autoRenewPeriod -Created: 2010-10-04 07:36:59 -Last Update: 2011-10-24 02:09:47 -Expire Date: 2012-10-24 - -Registrant - Name: Francesco Fusco - Organization: Francesco Fusco - ContactID: DUP200125359 - -Admin Contact - Name: Francesco Fusco - ContactID: DUP917904034 - -Technical Contacts - Name: Francesco Fusco - Organization: Francesco Fusco - ContactID: DUP200125359 - -Registrar - Organization: Euro Marketing SK SRO - Name: MISTERDOMAIN-REG - Web: http://www.misterdomain.eu - -Nameservers - mrddns001.misterdomain.eu - mrddns002.misterdomain.eu - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.txt deleted file mode 100644 index 5e6e64dce..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.txt +++ /dev/null @@ -1,59 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: fuoristradausato.it -Status: pendingUpdate -Created: 2006-10-11 00:00:00 -Last Update: 2011-04-30 19:24:02 -Expire Date: 2011-10-11 - -Registrant - Name: Autonord S.r.l. - Organization: Autonord S.r.l. - ContactID: AUTO2726 - Address: via IX strada 21 - padova - 35129 - PD - IT - Created: 2007-03-01 10:50:23 - Last Update: 2010-05-18 13:02:40 - -Admin Contact - Name: Emilio Rampin - Organization: Autonord S.r.l. - ContactID: ER2146 - Address: 21 - padova - 35129 - PD - IT - Created: 2006-10-11 00:00:00 - Last Update: 2010-05-18 13:03:17 - -Technical Contacts - Name: Marco Bianucci - ContactID: MB8891 - Address: Via dei pioppi 2 - Cesano Boscone - 20090 - MI - IT - Created: 2005-04-05 00:00:00 - Last Update: 2010-05-18 13:03:26 - -Registrar - Organization: PhoenixWeb s.n.c. di Marco Bianucci & C. - Name: PEGASO-REG - Web: http://www.pegasohosting.net - -Nameservers - ns11.pegasodns.com - ns12.pegasodns.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.txt deleted file mode 100644 index 9246edfbf..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.txt +++ /dev/null @@ -1,62 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: bunkerfilm.it -Status: pendingUpdate / autoRenewPeriod -Created: 2010-02-26 15:47:30 -Last Update: 2012-02-28 08:51:35 -Expire Date: 2012-02-26 - -Registrant - Name: FRANCESCO CACCHIANI2 - Organization: FRANCESCO CACCHIANI - ContactID: GIF-0000004711R - Address: Via Ilio Barontini 1b - Lastra a Signa - 50100 - FI - IT - Created: 2010-02-26 15:47:30 - Last Update: 2011-04-04 16:58:43 - -Admin Contact - Name: FRANCESCO CACCHIANI2 - Organization: FRANCESCO CACCHIANI - ContactID: GIF-0000004711R - Address: Via Ilio Barontini 1b - Lastra a Signa - 50100 - FI - IT - Created: 2010-02-26 15:47:30 - Last Update: 2011-04-04 16:58:43 - -Technical Contacts - Name: FRANCESCO CACCHIANI2 - Organization: FRANCESCO CACCHIANI - ContactID: GIF-0000004711R - Address: Via Ilio Barontini 1b - Lastra a Signa - 50100 - FI - IT - Created: 2010-02-26 15:47:30 - Last Update: 2011-04-04 16:58:43 - -Registrar - Organization: Genesys Informatica s.r.l. - Name: GIF-REG - Web: http://www.hostingsolutions.it - -Nameservers - ns1.asidev.net - ns2.asidev.net - ns3.asipec.com - ns4.asipec.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.txt deleted file mode 100644 index ac4f76eed..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.txt +++ /dev/null @@ -1,42 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: pilotielicottero.it -Status: REDEMPTION-NO-PROVIDER -Created: 2002-01-22 00:00:00 -Last Update: 2011-03-19 00:01:06 -Expire Date: 2011-03-18 - -Registrant - Name: Pozzo Arturo - ContactID: PA424-ITNIC - -Admin Contact - Name: Pozzo Arturo - ContactID: PA424-ITNIC - -Technical Contacts - Name: Antonio Baldassarra - ContactID: AB141417 - Address: C.so Lazio 9/a - Frosinone - 03100 - FR - IT - Created: 2007-03-01 10:25:57 - Last Update: 2010-07-15 09:28:14 - -Registrar - Name: SEEWEB-MNT - Web: http://www.seeweb.it - -Nameservers - dns.seeweb.it - dns2.seeweb.it - diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.expected deleted file mode 100644 index d83200888..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.txt deleted file mode 100644 index 26a8aed22..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_reserved.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: comunediroccaromana.it -Status: RESERVED diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.expected b/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.expected deleted file mode 100644 index 07450ac86..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :unavailable - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.txt b/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.txt deleted file mode 100644 index df0de5b8b..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: la.it -Status: UNASSIGNABLE diff --git a/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.expected b/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.expected deleted file mode 100644 index 52a6be3d3..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.expected +++ /dev/null @@ -1,7 +0,0 @@ -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "TS7016-ITNIC" - %s[0].name == "Technical Services" diff --git a/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.txt b/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.txt deleted file mode 100644 index a86d35cde..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/property_technical_contact.txt +++ /dev/null @@ -1,53 +0,0 @@ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: google.it -Status: ACTIVE -Created: 1999-12-10 00:00:00 -Last Update: 2008-11-27 16:47:22 -Expire Date: 2009-11-27 - -Registrant - Name: Google Ireland Holdings - ContactID: GOOG175-ITNIC - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Admin Contact - Name: Tsao Tu - ContactID: TT4277-ITNIC - Organization: Tu Tsao - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Technical Contacts - Name: Technical Services - ContactID: TS7016-ITNIC - -Registrar - Organization: Register.it s.p.a. - Name: REGISTER-MNT - -Nameservers - ns1.google.com - ns4.google.com - ns2.google.com - ns3.google.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/response_unavailable.expected b/spec/fixtures/responses/whois.nic.it/it/response_unavailable.expected deleted file mode 100644 index 49d272a17..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/response_unavailable.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_unavailable? - %s == true diff --git a/spec/fixtures/responses/whois.nic.it/it/response_unavailable.txt b/spec/fixtures/responses/whois.nic.it/it/response_unavailable.txt deleted file mode 100644 index b69525af8..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/response_unavailable.txt +++ /dev/null @@ -1 +0,0 @@ -Service temporarily unavailable. diff --git a/spec/fixtures/responses/whois.nic.it/it/status_available.expected b/spec/fixtures/responses/whois.nic.it/it/status_available.expected deleted file mode 100644 index 6e5b64dc2..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_available.expected +++ /dev/null @@ -1,54 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == "u34jedzcq.it" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#response_unavailable? - %s == false diff --git a/spec/fixtures/responses/whois.nic.it/it/status_available.txt b/spec/fixtures/responses/whois.nic.it/it/status_available.txt deleted file mode 100644 index d352e5d7c..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: u34jedzcq.it -Status: AVAILABLE diff --git a/spec/fixtures/responses/whois.nic.it/it/status_registered.expected b/spec/fixtures/responses/whois.nic.it/it/status_registered.expected deleted file mode 100644 index 85c4fc36e..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#disclaimer - %s == "Please note that the following result could be a subgroup of the data contained in the database. Additional information can be visualized at: http://www.nic.it/cgi-bin/Whois/whois.cgi" - - -#domain - %s == "google.it" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-12-10 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-21 01:05:35} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-21 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == "MARKMONITOR-REG" - %s.name == "MARKMONITOR-REG" - %s.organization == "MarkMonitor International Limited" - %s.url == "https://www.markmonitor.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "DUP430692088" - %s[0].name == "Google Ireland Holdings" - %s[0].organization == "Google Ireland Holdings" - %s[0].address == "70 Sir John Rogersons Quay" - %s[0].city == "Dublin" - %s[0].zip == "2" - %s[0].state == "IE" - %s[0].country == nil - %s[0].country_code == "IE" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on %TIME{2013-04-21 01:05:35} - %s[0].updated_on %TIME{2013-04-21 01:05:35} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "DUP142437129" - %s[0].name == "Tsao Tu" - %s[0].organization == "Tu Tsao" - %s[0].address == "70 Sir John Rogersons Quay" - %s[0].city == "Dublin" - %s[0].zip == "2" - %s[0].state == "IE" - %s[0].country == nil - %s[0].country_code == "IE" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on %TIME{2013-04-21 01:05:35} - %s[0].updated_on %TIME{2013-04-21 01:05:35} - -#technical_contacts - %s[0].id == "DUP430692088" - %s[0].name == "Google Ireland Holdings" - %s[0].organization == "Google Ireland Holdings" - %s[0].address == "70 Sir John Rogersons Quay" - %s[0].city == "Dublin" - %s[0].zip == "2" - %s[0].state == "IE" - %s[0].country == nil - %s[0].country_code == "IE" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on %TIME{2013-04-21 01:05:35} - %s[0].updated_on %TIME{2013-04-21 01:05:35} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" - - -#response_unavailable? - %s == false diff --git a/spec/fixtures/responses/whois.nic.it/it/status_registered.txt b/spec/fixtures/responses/whois.nic.it/it/status_registered.txt deleted file mode 100644 index fec064c70..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_registered.txt +++ /dev/null @@ -1,62 +0,0 @@ - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: google.it -Status: ok -Created: 1999-12-10 00:00:00 -Last Update: 2013-04-21 01:05:35 -Expire Date: 2014-04-21 - -Registrant - Name: Google Ireland Holdings - Organization: Google Ireland Holdings - ContactID: DUP430692088 - Address: 70 Sir John Rogersons Quay - Dublin - 2 - IE - IE - Created: 2013-04-21 01:05:35 - Last Update: 2013-04-21 01:05:35 - -Admin Contact - Name: Tsao Tu - Organization: Tu Tsao - ContactID: DUP142437129 - Address: 70 Sir John Rogersons Quay - Dublin - 2 - IE - IE - Created: 2013-04-21 01:05:35 - Last Update: 2013-04-21 01:05:35 - -Technical Contacts - Name: Google Ireland Holdings - Organization: Google Ireland Holdings - ContactID: DUP430692088 - Address: 70 Sir John Rogersons Quay - Dublin - 2 - IE - IE - Created: 2013-04-21 01:05:35 - Last Update: 2013-04-21 01:05:35 - -Registrar - Organization: MarkMonitor International Limited - Name: MARKMONITOR-REG - Web: https://www.markmonitor.com/ - -Nameservers - ns1.google.com - ns4.google.com - ns2.google.com - ns3.google.com - diff --git a/spec/fixtures/responses/whois.nic.it/it/status_unavailable.expected b/spec/fixtures/responses/whois.nic.it/it/status_unavailable.expected deleted file mode 100644 index 07450ac86..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_unavailable.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :unavailable - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.it/it/status_unavailable.txt b/spec/fixtures/responses/whois.nic.it/it/status_unavailable.txt deleted file mode 100644 index df0de5b8b..000000000 --- a/spec/fixtures/responses/whois.nic.it/it/status_unavailable.txt +++ /dev/null @@ -1,2 +0,0 @@ -Domain: la.it -Status: UNASSIGNABLE diff --git a/spec/fixtures/responses/whois.nic.ki/ki/status_available.expected b/spec/fixtures/responses/whois.nic.ki/ki/status_available.expected deleted file mode 100644 index 5ab9a8359..000000000 --- a/spec/fixtures/responses/whois.nic.ki/ki/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ki" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ki/ki/status_available.txt b/spec/fixtures/responses/whois.nic.ki/ki/status_available.txt deleted file mode 100644 index 8ba79f5a9..000000000 --- a/spec/fixtures/responses/whois.nic.ki/ki/status_available.txt +++ /dev/null @@ -1,20 +0,0 @@ -Domain Name: u34jedzcq.ki -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T10:02:23.163Z <<< diff --git a/spec/fixtures/responses/whois.nic.ki/ki/status_registered.expected b/spec/fixtures/responses/whois.nic.ki/ki/status_registered.expected deleted file mode 100644 index 682c51f02..000000000 --- a/spec/fixtures/responses/whois.nic.ki/ki/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.ki" - -#domain_id - %s == "18030-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-05-15 12:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-06 07:34:23 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-27 11:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.ki/ki/status_registered.txt b/spec/fixtures/responses/whois.nic.ki/ki/status_registered.txt deleted file mode 100644 index 233d99e52..000000000 --- a/spec/fixtures/responses/whois.nic.ki/ki/status_registered.txt +++ /dev/null @@ -1,62 +0,0 @@ -Domain Name: google.ki -Domain ID: 18030-CoCCA -WHOIS Server: whois.nic.ki -Referral URL: -Updated Date: 2013-12-06T07:34:23.918Z -Creation Date: 2006-05-15T12:00:00.000Z -Registry Expiry Date: 2014-11-27T11:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 955922-CoCCA -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.expected b/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.expected deleted file mode 100644 index 0405797c0..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.txt b/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.txt deleted file mode 100644 index 06cb0f3bc..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.txt +++ /dev/null @@ -1,4 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -*** Nothing found for this query. diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.expected b/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.expected deleted file mode 100644 index 6abfa6888..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == ["clientDeleteProhibited", "clientRenewProhibited", "clientTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.txt b/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.txt deleted file mode 100644 index d5c541c47..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.txt +++ /dev/null @@ -1,39 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -Domain Name............: tabu.kz - -Organization Using Domain Name -Name...................: Alexey Chumakov -Organization Name......: Alexey Chumakov -Street Address.........: UA 13-25-27 -City...................: Tashkent -State..................: -Postal Code............: 700194 -Country................: UZ - -Administrative Contact/Agent -NIC Handle.............: HOSTERKZ-59014 -Name...................: Hostmaster -Phone Number...........: +7.7212501060 -Fax Number.............: +7.7212501060 -Email Address..........: kohaner@gmail.com - -Nameserver in listed order - -Primary server.........: ns1.regi.kz -Primary ip address.....: 212.154.192.96 - -Secondary server.......: ns2.regi.kz -Secondary ip address...: 95.57.119.96 - - -Domain created: 2010-10-04 17:24:09.0 -Last modified : 2010-10-04 17:32:58.0 -Domain status : clientDeleteProhibited - - clientRenewProhibited - - clientTransferProhibited - - -Registar created: HOSTER.KZ -Current Registar: HOSTER.KZ - diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.expected b/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.expected deleted file mode 100644 index db917ffc3..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.txt b/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.txt deleted file mode 100644 index 53f07881c..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.txt +++ /dev/null @@ -1,37 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -Domain Name............: google.kz - -Organization Using Domain Name -Name...................: Google Inc. -Organization Name......: Google Inc. -Street Address.........: 2400 E. Bayshore Pkwy -City...................: Mountain View -State..................: CA -Postal Code............: 94043 -Country................: US - -Administrative Contact/Agent -NIC Handle.............: DA141-SL -Name...................: DNS Admin -Phone Number...........: +1.6503300100 -Fax Number.............: +1.6506181499 -Email Address..........: dns-admin@google.com - -Nameserver in listed order - -Primary server.........: ns1.google.com -Primary ip address.....: 216.239.32.10 - -Secondary server.......: ns2.google.com -Secondary ip address...: 216.239.34.10 - - -Domain created: 1999-06-07 20:01:43.0 -Last modified : 2009-08-21 09:11:45.0 -Domain status : ok - Normal state. - -Registar created: KAZNIC -Current Registar: KAZNIC - diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.expected b/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.txt b/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.txt deleted file mode 100644 index eada38447..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.txt +++ /dev/null @@ -1,38 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -Domain Name............: pedamotor.kz - -Organization Using Domain Name -Name...................: Tsymbal Eugeniy -Organization Name......: NUR-LIGHT TOO -Street Address.........: Abay str 5, 1 -City...................: Almaty -State..................: -Postal Code............: 483331 -Country................: KZ - -Administrative Contact/Agent -NIC Handle.............: PS0000001408-KZ -Name...................: Tsymbal Eugeniy -Phone Number...........: +7-727-2954585 -Fax Number.............: +7-727-3827662 -Email Address..........: eas_kz@mail.ru - -Nameserver in listed order - -Primary server.........: ns.ps.kz -Primary ip address.....: 195.210.46.2 - -Secondary server.......: ns1.ps.kz -Secondary ip address...: 195.93.152.9 - - -Domain created: 2010-09-13 06:40:28 (GMT+0:00) -Last modified : -Domain status : clientTransferProhibited - - clientRenewProhibited - - -Registar created: ICPS -Current Registar: ICPS - diff --git a/spec/fixtures/responses/whois.nic.kz/kz/status_available.expected b/spec/fixtures/responses/whois.nic.kz/kz/status_available.expected deleted file mode 100644 index 9d62afe75..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.kz/kz/status_available.txt b/spec/fixtures/responses/whois.nic.kz/kz/status_available.txt deleted file mode 100644 index 06cb0f3bc..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -*** Nothing found for this query. diff --git a/spec/fixtures/responses/whois.nic.kz/kz/status_registered.expected b/spec/fixtures/responses/whois.nic.kz/kz/status_registered.expected deleted file mode 100644 index 6154eb33f..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-07 13:01:43} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-11-28 03:16:59} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.kz/kz/status_registered.txt b/spec/fixtures/responses/whois.nic.kz/kz/status_registered.txt deleted file mode 100644 index b99d1978f..000000000 --- a/spec/fixtures/responses/whois.nic.kz/kz/status_registered.txt +++ /dev/null @@ -1,37 +0,0 @@ -Whois Server for the KZ top level domain name. -This server is maintained by KazNIC Organization, a ccTLD manager for Kazakhstan Republic. - -Domain Name............: google.kz - -Organization Using Domain Name -Name...................: Google Inc. -Organization Name......: Google Inc. -Street Address.........: 2400 E. Bayshore Pkwy -City...................: Mountain View -State..................: CA -Postal Code............: 94043 -Country................: US - -Administrative Contact/Agent -NIC Handle.............: C000000197393-KZ -Name...................: DNS Admin -Phone Number...........: +1.6502530000 -Fax Number.............: +1.6506188571 -Email Address..........: ccops@markmonitor.com - -Nameserver in listed order - -Primary server.........: ns1.google.com -Primary ip address.....: 216.239.32.10 - -Secondary server.......: ns2.google.com -Secondary ip address...: 216.239.34.10 - - -Domain created: 1999-06-07 13:01:43 (GMT+0:00) -Last modified : 2012-11-28 03:16:59 (GMT+0:00) -Domain status : ok - Normal state. - -Registar created: KAZNIC -Current Registar: KAZNIC - diff --git a/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.expected b/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.expected deleted file mode 100644 index 3247ae0db..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["TRANSFER PROHIBITED", "RENEW PERIOD"] diff --git a/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.txt b/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.txt deleted file mode 100644 index 4807eb4cd..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/property_status_multiple.txt +++ /dev/null @@ -1,75 +0,0 @@ -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Domain ID:CNIC-DO469366 -Domain Name:PLASTICSURGERY.LA -Created On:02-Feb-2004 01:00:00 UTC -Last Updated On:31-Mar-2010 12:43:59 UTC -Expiration Date:02-Feb-2017 23:59:59 UTC -Status:TRANSFER PROHIBITED -Status:RENEW PERIOD -Registrant ID:P-1901109 -Registrant Name:Jay Granzow -Registrant Organization:Jay Granzow -Registrant Street1:22930 Crenshaw Blvd. Suite D -Registrant City:Torrance -Registrant State/Province:CA -Registrant Postal Code:90505 -Registrant Country:US -Registrant Phone:+1.3105304200 -Registrant FAX:+1.3105301652 -Registrant Email:jwgranzow@gmail.com -Admin ID:P-1901109 -Admin Name:Jay Granzow -Admin Organization:Jay Granzow -Admin Street1:22930 Crenshaw Blvd. Suite D -Admin City:Torrance -Admin State/Province:CA -Admin Postal Code:90505 -Admin Country:US -Admin Phone:+1.3105304200 -Admin FAX:+1.3105301652 -Admin Email:jwgranzow@gmail.com -Tech ID:P-9055753 -Tech Name:Jay Granzow -Tech Organization:Jay Granzow -Tech Street1:22930 Crenshaw Blvd. Suite D -Tech City:Torrance -Tech State/Province:CA -Tech Postal Code:90505 -Tech Country:US -Tech Phone:+1.3105304200 -Tech FAX:+1.3105301652 -Tech Email:jwgranzow@yahoo.com -Billing ID:P-1901109 -Billing Name:Jay Granzow -Billing Organization:Jay Granzow -Billing Street1:22930 Crenshaw Blvd. Suite D -Billing City:Torrance -Billing State/Province:CA -Billing Postal Code:90505 -Billing Country:US -Billing Phone:+1.3105304200 -Billing FAX:+1.3105301652 -Billing Email:jwgranzow@gmail.com -Sponsoring Registrar ID:7091-KS -Sponsoring Registrar Organization:Key Systems GmbH -Sponsoring Registrar Street1:Im Oberen Werk 1 -Sponsoring Registrar City:St. Ingbert -Sponsoring Registrar Postal Code:66386 -Sponsoring Registrar Country:DE -Sponsoring Registrar Phone:+49.68949396850 -Sponsoring Registrar FAX:+49 (0)68949396851 -Sponsoring Registrar Website:http://www.key-systems.net/ -Name Server:NS2.SLCIT.COM -Name Server:NS1.SLCIT.COM -DNSSEC:Unsigned - - diff --git a/spec/fixtures/responses/whois.nic.la/la/property_status_single.expected b/spec/fixtures/responses/whois.nic.la/la/property_status_single.expected deleted file mode 100644 index 0075a8d42..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/property_status_single.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["OK"] diff --git a/spec/fixtures/responses/whois.nic.la/la/property_status_single.txt b/spec/fixtures/responses/whois.nic.la/la/property_status_single.txt deleted file mode 100644 index ef321e346..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/property_status_single.txt +++ /dev/null @@ -1,70 +0,0 @@ -This whois service is provided by CentralNic Ltd and only contains information -pertaining to Internet domain names we have registered for our customers. By -using this service you are agreeing (1) not to use any information presented -here for any purpose other than determining ownership of domain names (2) not -to store or reproduce this data in any way. CentralNic Ltd - www.centralnic.com - -Domain ID:CNIC-DO471480 -Domain Name:GOOGLE.LA -Created On:18-Jul-2002 01:00:00 UTC -Last Updated On:15-Sep-2009 16:48:47 UTC -Expiration Date:18-Jul-2010 23:59:59 UTC -Status:OK -Registrant ID:ndn-96955 -Registrant Name:Google Inc -Registrant Organization:Google Inc -Registrant Street1:1600 Amphitheatre Parkway -Registrant City:Mountain View -Registrant State/Province:Ca -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant FAX:+1.65067188571 -Registrant Email:dns-admin@google.com -Admin ID:ndn-96955 -Admin Name:Google Inc -Admin Organization:Google Inc -Admin Street1:1600 Amphitheatre Parkway -Admin City:Mountain View -Admin State/Province:Ca -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin FAX:+1.65067188571 -Admin Email:dns-admin@google.com -Tech ID:ndn-96955 -Tech Name:Google Inc -Tech Organization:Google Inc -Tech Street1:1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:Ca -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech FAX:+1.65067188571 -Tech Email:dns-admin@google.com -Billing ID:ndn-24412 -Billing Name:Domain Billing -Billing Organization:Markmonitor -Billing Street1:10400 Overland Rd. -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83709 -Billing Country:US -Billing Phone:+1.20838957 -Billing Email:ccops@markmonitor.com -Sponsoring Registrar ID:7279-LN -Sponsoring Registrar Organization:LA Registry Pte Ltd -Sponsoring Registrar Street1:120 Telok Ayer Street -Sponsoring Registrar City:Singapore -Sponsoring Registrar Postal Code:06859 -Sponsoring Registrar Country:SG -Sponsoring Registrar Phone:+44.8700170900 -Sponsoring Registrar FAX:+44.8700170901 -Sponsoring Registrar Website:http://www.la/ -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM - - diff --git a/spec/fixtures/responses/whois.nic.la/la/status_available.expected b/spec/fixtures/responses/whois.nic.la/la/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.la/la/status_available.txt b/spec/fixtures/responses/whois.nic.la/la/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.la/la/status_registered.expected b/spec/fixtures/responses/whois.nic.la/la/status_registered.expected deleted file mode 100644 index 87ad07d2c..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "google.la" - -#domain_id - %s == "CNIC-DO471480" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-07-18 01:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-01 15:09:21 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-07-18 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "H2948863" - %s.name == nil - %s.organization == "TLD Registrar Solutions Ltd" - %s.url == "www.tldregistrarsolutions.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "ndn-96955" - %s[0].name == "Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "Ca" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.65067188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "ndn-96955" - %s[0].name == "Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "Ca" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.65067188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "ndn-96955" - %s[0].name == "Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "Ca" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.65067188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.la/la/status_registered.txt b/spec/fixtures/responses/whois.nic.la/la/status_registered.txt deleted file mode 100644 index 59eefcf23..000000000 --- a/spec/fixtures/responses/whois.nic.la/la/status_registered.txt +++ /dev/null @@ -1,77 +0,0 @@ -Domain ID:CNIC-DO471480 -Domain Name:GOOGLE.LA -Created On:2002-07-18T01:00:00.0Z -Last Updated On:2013-08-01T15:09:21.0Z -Expiration Date:2014-07-18T23:59:59.0Z -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:ndn-96955 -Registrant Name:Google Inc -Registrant Organization:Google Inc -Registrant Street1:1600 Amphitheatre Parkway -Registrant City:Mountain View -Registrant State/Province:Ca -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant FAX:+1.65067188571 -Registrant Email:dns-admin@google.com -Admin ID:ndn-96955 -Admin Name:Google Inc -Admin Organization:Google Inc -Admin Street1:1600 Amphitheatre Parkway -Admin City:Mountain View -Admin State/Province:Ca -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin FAX:+1.65067188571 -Admin Email:dns-admin@google.com -Tech ID:ndn-96955 -Tech Name:Google Inc -Tech Organization:Google Inc -Tech Street1:1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:Ca -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech FAX:+1.65067188571 -Tech Email:dns-admin@google.com -Billing ID:LAREG-4FB6D5852C61F054 -Billing Name:MarkMonitor, Inc. -Billing Organization:MarkMonitor, Inc. -Billing Street1:391 N Ancestor Place -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83704 -Billing Country:US -Billing Phone:+1.2083895740 -Billing FAX:+1.2083895771 -Billing Email:ccopsbilling@markmonitor.com -Sponsoring Registrar ID:H2948863 -Sponsoring Registrar IANA ID:1564 -Sponsoring Registrar Organization:TLD Registrar Solutions Ltd -Sponsoring Registrar Street1:35-39 Moorgate -Sponsoring Registrar City:London -Sponsoring Registrar State/Province:London -Sponsoring Registrar Postal Code:EC2R 6AR -Sponsoring Registrar Country:GB -Sponsoring Registrar Phone:020 33 88 0600 -Sponsoring Registrar Website:www.tldregistrarsolutions.com -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.nic.li/li/status_available.expected b/spec/fixtures/responses/whois.nic.li/li/status_available.expected deleted file mode 100644 index 982cebd7d..000000000 --- a/spec/fixtures/responses/whois.nic.li/li/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.li/li/status_available.txt b/spec/fixtures/responses/whois.nic.li/li/status_available.txt deleted file mode 100644 index 43a8daa5f..000000000 --- a/spec/fixtures/responses/whois.nic.li/li/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -We do not have an entry in our database matching your query. - diff --git a/spec/fixtures/responses/whois.nic.li/li/status_registered.expected b/spec/fixtures/responses/whois.nic.li/li/status_registered.expected deleted file mode 100644 index c9b1eeb35..000000000 --- a/spec/fixtures/responses/whois.nic.li/li/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.li/li/status_registered.txt b/spec/fixtures/responses/whois.nic.li/li/status_registered.txt deleted file mode 100644 index 5ac981107..000000000 --- a/spec/fixtures/responses/whois.nic.li/li/status_registered.txt +++ /dev/null @@ -1,29 +0,0 @@ -whois: This information is subject to an Acceptable Use Policy. -See http://www.nic.ch/terms/aup.html - - -Domain name: -google.li - -Holder of domain name: -Google Inc. -Administrator Domain -Amphitheatre Parkway 1600 -US-94043 Mountain View, CA -United States -Contractual Language: English - -Technical contact: -Google Inc. -DNS Admin -2400 E. Bayshore Pkwy -US-94043 Mountain View -United States - -DNSSEC:N - -Name servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com diff --git a/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.expected b/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.expected deleted file mode 100644 index 5a79c9509..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.expected +++ /dev/null @@ -1,2 +0,0 @@ -#created_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.txt b/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.txt deleted file mode 100644 index b390bf35e..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.txt +++ /dev/null @@ -1,24 +0,0 @@ - - -This Service is Provided by the LK Domain Registry - Sri Lanka - Visit LK Domain at www.nic.lk - Contact Us at +94(0)112-4216061 - - -Registrant: - Nestle Lanka Ltd. -Domain Name: - nestle.lk -Cateogry: - CAT1 - - -Created on...............:null -Expires on...............:2019-01-01 -Record last updated on...:2013-03-14 - -Domain Servers in listed order: -aoadns1.nestle.com. -ctrdns1.nestle.com. -ctrdns1.nestle.com. - diff --git a/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.expected b/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.txt b/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.txt deleted file mode 100644 index 80e9016a1..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.txt +++ /dev/null @@ -1,31 +0,0 @@ - - -This Service is Provided by the LK Domain Registry - Sri Lanka - Visit LK Domain at www.nic.lk - Contact Us at +94(0)112-4216061 - - -Registrant: - WELIGAMA HOTEL PROPERTIES LIMITED -Domain Name: - clear.lk -Cateogry: - CAT1 - - -Created on...............:2012-11-01 -Expires on...............:2013-11-01 -Record last updated on...:null - -Resource Records: - -clear.lk. A 65.39.205.54 -www.clear.lk. CNAME five.squarespace.com. - - -Mail Server Records: -10 aspmx.l.google.com. -20 alt1.aspmx.l.google.com. -30 alt2.aspmx.l.google.com. - - diff --git a/spec/fixtures/responses/whois.nic.lk/lk/status_available.expected b/spec/fixtures/responses/whois.nic.lk/lk/status_available.expected deleted file mode 100644 index 1b9f21934..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.lk/lk/status_available.txt b/spec/fixtures/responses/whois.nic.lk/lk/status_available.txt deleted file mode 100644 index 5bf42bde0..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -This Domain is not available in our whois database diff --git a/spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected b/spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected deleted file mode 100644 index 98c73cabd..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected +++ /dev/null @@ -1,63 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.lk" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-03-09} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-01} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].address == nil - %s[0].email == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil diff --git a/spec/fixtures/responses/whois.nic.lk/lk/status_registered.txt b/spec/fixtures/responses/whois.nic.lk/lk/status_registered.txt deleted file mode 100644 index 3abdc4fba..000000000 --- a/spec/fixtures/responses/whois.nic.lk/lk/status_registered.txt +++ /dev/null @@ -1,24 +0,0 @@ - - -This Service is Provided by the LK Domain Registry - Sri Lanka - Visit LK Domain at www.nic.lk - Contact Us at +94(0)112-4216061 - - -Registrant: - Google Inc. -Domain Name: - google.lk -Cateogry: - CAT1 - - -Created on...............:2003-04-01 -Expires on...............:2014-04-01 -Record last updated on...:2013-03-09 - -Domain Servers in listed order: -ns1.google.com. -ns2.google.com. - - diff --git a/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_available.txt b/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_available.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_registered.txt b/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_registered.txt deleted file mode 100644 index 2b426e145..000000000 --- a/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_registered.txt +++ /dev/null @@ -1,18 +0,0 @@ - - -This Service is Provided by the LK Domain Registry - Sri Lanka - Visit LK Domain at www.nic.lk - Contact Us at +94(0)112-4216061 - -Domain Name: xn--fzc3a2azd8dsa2ktat.xn--fzc2c9e2c -Unicode Domain: එඩියුලංකà·�.ලංකà·� - -Created on...............:2011-04-01 -Expires on...............:null -Record last updated on...:2011-04-01 - -Domain Servers in listed order: - -ns3.pipedns.com. - - diff --git a/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_available.txt b/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_available.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_registered.txt b/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_registered.txt deleted file mode 100644 index a18bb972d..000000000 --- a/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_registered.txt +++ /dev/null @@ -1,18 +0,0 @@ - - -This Service is Provided by the LK Domain Registry - Sri Lanka - Visit LK Domain at www.nic.lk - Contact Us at +94(0)112-4216061 - -Domain Name: xn--4kcolx4fsa0gdt6j.xn--xkc2al3hye2a -Unicode Domain: எடியà¯�லஙà¯�கா.இலஙà¯�கை - -Created on...............:2011-04-01 -Expires on...............:null -Record last updated on...:2011-04-01 - -Domain Servers in listed order: - -ns1.pipedns.com. -ns2.pipedns.com. -ns3.pipedns.com. diff --git a/spec/fixtures/responses/whois.nic.lv/lv/status_available.expected b/spec/fixtures/responses/whois.nic.lv/lv/status_available.expected deleted file mode 100644 index fccfb20cb..000000000 --- a/spec/fixtures/responses/whois.nic.lv/lv/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.lv/lv/status_available.txt b/spec/fixtures/responses/whois.nic.lv/lv/status_available.txt deleted file mode 100644 index 860261a9e..000000000 --- a/spec/fixtures/responses/whois.nic.lv/lv/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -[Domain] -Domain: u34jedzcq.lv -Status: free - -[Whois] -Updated: 2014-02-18 18:12:36.561777 diff --git a/spec/fixtures/responses/whois.nic.lv/lv/status_registered.expected b/spec/fixtures/responses/whois.nic.lv/lv/status_registered.expected deleted file mode 100644 index 6320bf5bf..000000000 --- a/spec/fixtures/responses/whois.nic.lv/lv/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-08T19:35:53.187695+03:00} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.lv/lv/status_registered.txt b/spec/fixtures/responses/whois.nic.lv/lv/status_registered.txt deleted file mode 100644 index 6ada8b80c..000000000 --- a/spec/fixtures/responses/whois.nic.lv/lv/status_registered.txt +++ /dev/null @@ -1,37 +0,0 @@ -[Domain] -Domain: google.lv -Status: active -Changed: 2013-07-08T19:35:53.187695+03:00 - -[Holder] -Type: Legal person -Name: Google, Inc. -Email: dns-admin@google.com -Fax: +1.6502530001 -Phone: +1.6502530000 -Address: 1600 Amphitheatre Parkway, Mountain View, CA, 94043, USA -RegNr: None - -[Tech] -Type: Natural person -Email: ccops@markmonitor.com -Fax: +12083895799 -Phone: +12083895740 - -[Registrar] -Type: Legal person -Name: MarkMonitor Inc. -Email: ccops@markmonitor.com -Fax: +12083895771 -Phone: +12083895740 -Address: 391 N.Ancestor place, Boise, ID 83704 Idaho, USA -RegNr: 82-0513468 - -[Nservers] -Nserver: ns1.google.com -Nserver: ns2.google.com -Nserver: ns3.google.com -Nserver: ns4.google.com - -[Whois] -Updated: 2014-02-18T18:12:36.561777+00:00 diff --git a/spec/fixtures/responses/whois.nic.ly/ly/status_available.expected b/spec/fixtures/responses/whois.nic.ly/ly/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.nic.ly/ly/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ly/ly/status_available.txt b/spec/fixtures/responses/whois.nic.ly/ly/status_available.txt deleted file mode 100644 index 10af2fedf..000000000 --- a/spec/fixtures/responses/whois.nic.ly/ly/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Not found diff --git a/spec/fixtures/responses/whois.nic.ly/ly/status_registered.expected b/spec/fixtures/responses/whois.nic.ly/ly/status_registered.expected deleted file mode 100644 index 7bfacf4db..000000000 --- a/spec/fixtures/responses/whois.nic.ly/ly/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2007-10-03 13:36:48} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-08-07 22:52:02} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-10-03 13:36:48} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.nic.ly/ly/status_registered.txt b/spec/fixtures/responses/whois.nic.ly/ly/status_registered.txt deleted file mode 100644 index 6f4c4aafe..000000000 --- a/spec/fixtures/responses/whois.nic.ly/ly/status_registered.txt +++ /dev/null @@ -1,65 +0,0 @@ -Registrant: - Google Inc. - DNS Admin - 1600 Amphitheatre Parkway - Mountain View - CA - United States of America - Zip/Postal code: 94043 - Phone: +16503300100 - dns-admin@google.com - -Domain Name: google.ly - -Administrative Contact: - Google Inc. - DNS Admin - 1600 Amphitheatre Parkway - Mountain View - CA - US - Zip/Postal code: 94043 - Phone: +16503300100 - dns-admin@google.com - -Technical Contact: - MarkMonitor - Domain Admin - 10400 Overland Rd\r\nPMB 155 - Boise - ID - US - Zip/Postal code: 83709 - Phone: +1.2083895740 - Fax: +1.2083895799 - ccops@markmonitor.com - -Billing Contact: - MarkMonitor - Domain Administrator - 10400 Overland Rd\r\nPMB 155 - Boise - ID - US - Zip/Postal code: 83709 - Phone: +1.2083895740 - Fax: +1.2083895799 - ccops@markmonitor.com - -Created: 2007-10-03 13:36:48 -Updated: 2009-08-07 22:52:02 -Expired: 2010-10-03 13:36:48 - -Domain servers in listed order: - ns2.google.com - ns1.google.com - ns4.google.com - ns3.google.com - -Domain Status: ACTIVE --- -Whois information provided by: -LY Registry -whois.nic.ly --For Whois usage policy please check: - http://whois.nic.ly/policy.php diff --git a/spec/fixtures/responses/whois.nic.md/md/property_dns-update.txt b/spec/fixtures/responses/whois.nic.md/md/property_dns-update.txt deleted file mode 100644 index deb06e79d..000000000 --- a/spec/fixtures/responses/whois.nic.md/md/property_dns-update.txt +++ /dev/null @@ -1,7 +0,0 @@ -Domain name: hotel.md -Registrant: Diginet S.R.L. -Created: 2002-03-25 -Expiration date: 2011-03-25 -Name server: ns0.starnet.md 87.248.160.5 -Name server: ns1.starnet.md 87.248.160.5 -DNS update: 2010-10-16 15:04 diff --git a/spec/fixtures/responses/whois.nic.md/md/status_available.expected b/spec/fixtures/responses/whois.nic.md/md/status_available.expected deleted file mode 100644 index b60610196..000000000 --- a/spec/fixtures/responses/whois.nic.md/md/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.md/md/status_available.txt b/spec/fixtures/responses/whois.nic.md/md/status_available.txt deleted file mode 100644 index a772ab019..000000000 --- a/spec/fixtures/responses/whois.nic.md/md/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No match for diff --git a/spec/fixtures/responses/whois.nic.md/md/status_registered.expected b/spec/fixtures/responses/whois.nic.md/md/status_registered.expected deleted file mode 100644 index c5aaaec7f..000000000 --- a/spec/fixtures/responses/whois.nic.md/md/status_registered.expected +++ /dev/null @@ -1,60 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.md" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-05-02} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-02} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == "216.239.32.10" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == "216.239.34.10" diff --git a/spec/fixtures/responses/whois.nic.md/md/status_registered.txt b/spec/fixtures/responses/whois.nic.md/md/status_registered.txt deleted file mode 100644 index a7eea8961..000000000 --- a/spec/fixtures/responses/whois.nic.md/md/status_registered.txt +++ /dev/null @@ -1,7 +0,0 @@ -Domain name: google.md -Registrant: Google Inc. -Created: 2006-05-02 -Expiration date: 2014-05-02 -Name server: ns1.google.com 216.239.32.10 -Name server: ns2.google.com 216.239.34.10 -DNS update: diff --git a/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.expected b/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.expected deleted file mode 100644 index 4de0dc677..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.txt b/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.txt deleted file mode 100644 index f6e5d6d17..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.txt +++ /dev/null @@ -1,95 +0,0 @@ -WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to -assist persons in determining the contents of a domain name registration -record in the .ME registry database. The data in this record is provided by -.ME Registry for informational purposes only, and .ME Registry does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, -facsimile, or other electronic processes of mass unsolicited, commercial -advertising or solicitations to entities other than the data recipient's own -existing customers; or (b) enable high volume, automated, electronic -processes that send queries or data to the systems of Registry Operator, -except as reasonably necessary to register domain names or modify existing -registrations. All rights reserved. .ME Registry reserves the right to modify -these terms at any time. By submitting this query, you agree to abide by this -policy. - -Domain ID:D82062-ME -Domain Name:WOSSNA.ME -Domain Create Date:17-Jul-2008 15:54:20 UTC -Domain Last Updated Date:16-Aug-2010 02:15:52 UTC -Domain Expiration Date:17-Jul-2011 15:54:20 UTC -Last Transferred Date: -Trademark Name: -Trademark Country: -Trademark Number: -Date Trademark Applied For: -Date Trademark Registered: -Sponsoring Registrar:Gandi SAS R114-ME (81) -Created by:Gandi SAS R114-ME (81) -Last Updated by Registrar:Gandi SAS R114-ME (81) -Domain Status:CLIENT TRANSFER PROHIBITED -Domain Status:INACTIVE -Domain Status:PENDING DELETE -Registrant ID:GM937-GANDI -Registrant Name:Graeme Mathieson -Registrant Organization: -Registrant Address:12d Monktonhall Terrace -Registrant Address2: -Registrant Address3: -Registrant City:Musselburgh -Registrant State/Province: -Registrant Country/Economy:GB -Registrant Postal Code:EH21 6ER -Registrant Phone:+44.7949077744 -Registrant Phone Ext.: -Registrant FAX: -Registrant FAX Ext.: -Registrant E-mail:mathie@rubaidh.com -Admin ID:GM2519-GANDI -Admin Name:Graeme Mathieson -Admin Organization:Rubaidh Ltd -Admin Address:Stuart House -Admin Address2:Eskmills -Admin Address3: -Admin City:Musselburgh -Admin State/Province: -Admin Country/Economy:GB -Admin Postal Code:EH21 7PB -Admin Phone:+44.1312735271 -Admin Phone Ext.: -Admin FAX: -Admin FAX Ext.: -Admin E-mail:support@rubaidh.com -Tech ID:GM2519-GANDI -Tech Name:Graeme Mathieson -Tech Organization:Rubaidh Ltd -Tech Address:Stuart House -Tech Address2:Eskmills -Tech Address3: -Tech City:Musselburgh -Tech State/Province: -Tech Country/Economy:GB -Tech Postal Code:EH21 7PB -Tech Phone:+44.1312735271 -Tech Phone Ext.: -Tech FAX: -Tech FAX Ext.: -Tech E-mail:support@rubaidh.com -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: - - diff --git a/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.expected b/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.expected deleted file mode 100644 index 365c0eca4..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s be_nil diff --git a/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.txt b/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.txt deleted file mode 100644 index 2e6d26af0..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.txt +++ /dev/null @@ -1,92 +0,0 @@ -WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to -assist persons in determining the contents of a domain name registration -record in the .ME registry database. The data in this record is provided by -.ME Registry for informational purposes only, and .ME Registry does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, -facsimile, or other electronic processes of mass unsolicited, commercial -advertising or solicitations to entities other than the data recipient's own -existing customers; or (b) enable high volume, automated, electronic -processes that send queries or data to the systems of Registry Operator, -except as reasonably necessary to register domain names or modify existing -registrations. All rights reserved. .ME Registry reserves the right to modify -these terms at any time. By submitting this query, you agree to abide by this -policy. - -Domain ID:D2021453-ME -Domain Name:FACTORYOUTLET.ME -Domain Create Date:27-May-2011 16:22:58 UTC -Domain Last Updated Date: -Domain Expiration Date:27-May-2012 16:22:58 UTC -Last Transferred Date: -Trademark Name: -Trademark Country: -Trademark Number: -Date Trademark Applied For: -Date Trademark Registered: -Sponsoring Registrar:Register.it S.p.A. R51-ME -Created by:Register.it S.p.A. R51-ME -Last Updated by Registrar: -Domain Status:TRANSFER PROHIBITED -Registrant ID:a66932b07c2b -Registrant Name:Attana' Simone -Registrant Organization: -Registrant Address:via Merano 9/11 -Registrant Address2: -Registrant Address3: -Registrant City:Gessate -Registrant State/Province:MI -Registrant Country/Economy:IT -Registrant Postal Code:20060 -Registrant Phone:+39.0295780392 -Registrant Phone Ext.: -Registrant FAX:+39.0295780392 -Registrant FAX Ext.: -Registrant E-mail:amministrazione@simoneattana.com -Admin ID:a6ea540dd5aa -Admin Name:Attana' Simone -Admin Organization:Simone Attana' -Admin Address:via Merano 9/11 -Admin Address2: -Admin Address3: -Admin City:Gessate -Admin State/Province:MI -Admin Country/Economy:IT -Admin Postal Code:20060 -Admin Phone:+39.0295780392 -Admin Phone Ext.: -Admin FAX:+39.0295780392 -Admin FAX Ext.: -Admin E-mail:amministrazione@simoneattana.com -Tech ID:FR-11b2b6d2f885 -Tech Name:Technical support -Tech Organization:REGISTER.IT S.p.a. -Tech Address:Via Ponti, 6 -Tech Address2: -Tech Address3: -Tech City:Bergamo -Tech State/Province:BG -Tech Country/Economy:IT -Tech Postal Code:24126 -Tech Phone:+39.0353230300 -Tech Phone Ext.: -Tech FAX:+39.0353230312 -Tech FAX Ext.: -Tech E-mail:support@register.it -Nameservers:NS1.REGISTER.IT -Nameservers:NS2.REGISTER.IT -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: - - diff --git a/spec/fixtures/responses/whois.nic.me/me/status_available.expected b/spec/fixtures/responses/whois.nic.me/me/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.me/me/status_available.txt b/spec/fixtures/responses/whois.nic.me/me/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.me/me/status_registered.expected b/spec/fixtures/responses/whois.nic.me/me/status_registered.expected deleted file mode 100644 index 00889f430..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/status_registered.expected +++ /dev/null @@ -1,104 +0,0 @@ -#disclaimer - %s == "WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .ME registry database. The data in this record is provided by .ME Registry for informational purposes only, and .ME Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, facsimile, or other electronic processes of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .ME Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.me" - -#domain_id - %s == "D11599-ME" - - -#status - %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "DELETE PROHIBITED", "TRANSFER PROHIBITED", "UPDATE PROHIBITED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-06-13 17:17:40 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-05-12 09:21:14 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-13 17:17:40 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R45-ME" - %s.name == "MarkMonitor Inc" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dotme@markmonitor.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dotme@markmonitor.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dotme@markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.google.com" diff --git a/spec/fixtures/responses/whois.nic.me/me/status_registered.txt b/spec/fixtures/responses/whois.nic.me/me/status_registered.txt deleted file mode 100644 index c6cc2703e..000000000 --- a/spec/fixtures/responses/whois.nic.me/me/status_registered.txt +++ /dev/null @@ -1,98 +0,0 @@ -WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to -assist persons in determining the contents of a domain name registration -record in the .ME registry database. The data in this record is provided by -.ME Registry for informational purposes only, and .ME Registry does not -guarantee its accuracy. This service is intended only for query-based -access. You agree that you will use this data only for lawful purposes -and that, under no circumstances will you use this data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, -facsimile, or other electronic processes of mass unsolicited, commercial -advertising or solicitations to entities other than the data recipient's own -existing customers; or (b) enable high volume, automated, electronic -processes that send queries or data to the systems of Registry Operator, -except as reasonably necessary to register domain names or modify existing -registrations. All rights reserved. .ME Registry reserves the right to modify -these terms at any time. By submitting this query, you agree to abide by this -policy. - -Domain ID:D11599-ME -Domain Name:GOOGLE.ME -Domain Create Date:13-Jun-2008 17:17:40 UTC -Domain Last Updated Date:12-May-2013 09:21:14 UTC -Domain Expiration Date:13-Jun-2014 17:17:40 UTC -Last Transferred Date: -Trademark Name:google -Trademark Country:BX -Trademark Number:Benelux-0694499 -Date Trademark Applied For:2001-09-10 -Date Trademark Registered:2002-01-01 -Sponsoring Registrar:MarkMonitor Inc R45-ME -Created by:MarkMonitor Inc R45-ME -Last Updated by Registrar:MarkMonitor Inc R45-ME -Domain Status:CLIENT DELETE PROHIBITED -Domain Status:CLIENT TRANSFER PROHIBITED -Domain Status:CLIENT UPDATE PROHIBITED -Domain Status:DELETE PROHIBITED -Domain Status:TRANSFER PROHIBITED -Domain Status:UPDATE PROHIBITED -Registrant ID:mmr-32097 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Address:1600 Amphitheatre Parkway -Registrant Address2: -Registrant Address3: -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Country/Economy:US -Registrant Postal Code:94043 -Registrant Phone:+1.6506234000 -Registrant Phone Ext.: -Registrant FAX:+1.6506188571 -Registrant FAX Ext.: -Registrant E-mail:dotme@markmonitor.com -Admin ID:mmr-32097 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Address:1600 Amphitheatre Parkway -Admin Address2: -Admin Address3: -Admin City:Mountain View -Admin State/Province:CA -Admin Country/Economy:US -Admin Postal Code:94043 -Admin Phone:+1.6506234000 -Admin Phone Ext.: -Admin FAX:+1.6506188571 -Admin FAX Ext.: -Admin E-mail:dotme@markmonitor.com -Tech ID:mmr-32097 -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Address:1600 Amphitheatre Parkway -Tech Address2: -Tech Address3: -Tech City:Mountain View -Tech State/Province:CA -Tech Country/Economy:US -Tech Postal Code:94043 -Tech Phone:+1.6506234000 -Tech Phone Ext.: -Tech FAX:+1.6506188571 -Tech FAX Ext.: -Tech E-mail:dotme@markmonitor.com -Nameservers:NS2.GOOGLE.COM -Nameservers:NS1.GOOGLE.COM -Nameservers:NS4.GOOGLE.COM -Nameservers:NS3.GOOGLE.COM -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -Nameservers: -DNSSEC:Unsigned - - diff --git a/spec/fixtures/responses/whois.nic.mg/mg/status_available.expected b/spec/fixtures/responses/whois.nic.mg/mg/status_available.expected deleted file mode 100644 index 36a93fdf5..000000000 --- a/spec/fixtures/responses/whois.nic.mg/mg/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.mg" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.mg/mg/status_available.txt b/spec/fixtures/responses/whois.nic.mg/mg/status_available.txt deleted file mode 100644 index eb6c03cc4..000000000 --- a/spec/fixtures/responses/whois.nic.mg/mg/status_available.txt +++ /dev/null @@ -1,20 +0,0 @@ -Domain Name: u34jedzcq.mg -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by NIC-MG as a service to the internet -community on behalf of NIC-MG members. - -The data is for information purposes only. NIC-MG does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to NIC-MG it's members (or NIC-MG or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T19:34:43.441Z <<< diff --git a/spec/fixtures/responses/whois.nic.mg/mg/status_registered.expected b/spec/fixtures/responses/whois.nic.mg/mg/status_registered.expected deleted file mode 100644 index c573c0a83..000000000 --- a/spec/fixtures/responses/whois.nic.mg/mg/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.mg" - -#domain_id - %s == "1915-nicmg" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-06-18 08:38:20 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-29 15:13:49 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-26 21:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.mg/mg/status_registered.txt b/spec/fixtures/responses/whois.nic.mg/mg/status_registered.txt deleted file mode 100644 index eea2c748c..000000000 --- a/spec/fixtures/responses/whois.nic.mg/mg/status_registered.txt +++ /dev/null @@ -1,74 +0,0 @@ -Domain Name: google.mg -Domain ID: 1915-nicmg -WHOIS Server: -Referral URL: -Updated Date: 2013-10-29T15:13:49.869Z -Creation Date: 2009-06-18T08:38:20.671Z -Registry Expiry Date: 2014-11-26T21:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientRenewProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 4112-nicmg -Registrant Name: GOOGLE INC -Registrant Organization: GOOGLE INC -Registrant Street: Street Migrate -Registrant City: Antananarivo -Registrant State/Province: Antananarivo -Registrant Postal Code: 101 -Registrant Country: MG - -Tech ID: 4113-nicmg -Tech Name: Rafaralahisoa Emmanuel -Tech Organization: DTS -Tech Street: Immeuble Galaxy -Tech Street: Andraharo -Tech City: Antananarivo -Tech State/Province: -Tech Postal Code: 101 -Tech Country: MG -Tech Phone: +261.202220359 -Tech Phone Ext: -Tech Fax: +261.202220360 -Tech Fax Ext: - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com -Sponsoring Registrar Admin Contact: Domain Billing -Sponsoring Registrar Admin Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by NIC-MG as a service to the internet -community on behalf of NIC-MG members. - -The data is for information purposes only. NIC-MG does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to NIC-MG it's members (or NIC-MG or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T19:34:43.441Z <<< diff --git a/spec/fixtures/responses/whois.nic.ms/ms/status_available.expected b/spec/fixtures/responses/whois.nic.ms/ms/status_available.expected deleted file mode 100644 index b861d2e3f..000000000 --- a/spec/fixtures/responses/whois.nic.ms/ms/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ms" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ms/ms/status_available.txt b/spec/fixtures/responses/whois.nic.ms/ms/status_available.txt deleted file mode 100644 index 0cac99c28..000000000 --- a/spec/fixtures/responses/whois.nic.ms/ms/status_available.txt +++ /dev/null @@ -1,13 +0,0 @@ -Domain Name: u34jedzcq.ms -Domain Status: No Object Found - -TERMS OF USE: -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. - -The data is for information purposes only. MNINET does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: -You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: - (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; - or - (2) enable high volume, automated, electronic processes. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T10:04:12.966Z <<< diff --git a/spec/fixtures/responses/whois.nic.ms/ms/status_registered.expected b/spec/fixtures/responses/whois.nic.ms/ms/status_registered.expected deleted file mode 100644 index b2d6e0f79..000000000 --- a/spec/fixtures/responses/whois.nic.ms/ms/status_registered.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "google.ms" - -#domain_id - %s == "23725-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-06-04 12:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-06 08:14:24 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-04 12:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.ms/ms/status_registered.txt b/spec/fixtures/responses/whois.nic.ms/ms/status_registered.txt deleted file mode 100644 index 2b53ceda1..000000000 --- a/spec/fixtures/responses/whois.nic.ms/ms/status_registered.txt +++ /dev/null @@ -1,87 +0,0 @@ -Domain Name: google.ms -Domain ID: 23725-CoCCA -WHOIS Server: -Referral URL: -Updated Date: 2013-12-06T08:14:24.368Z -Creation Date: 1999-06-04T12:00:00.000Z -Registry Expiry Date: 2014-06-04T12:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 313268-CoCCA -Registrant Name: Google, Inc. -Registrant Organization: -Registrant Street: 1600 Amphitheatre Parkway -Registrant Street: Mountain View CA -Registrant City: 94043 -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 313268-CoCCA -Admin Name: Google, Inc. -Admin Organization: -Admin Street: 1600 Amphitheatre Parkway -Admin Street: Mountain View CA -Admin City: 94043 -Admin State/Province: -Admin Postal Code: -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Billing ID: 313269-CoCCA -Billing Name: MarkMonitor -Billing Organization: -Billing Street: 10400 Overland Rd. -Billing Street: PMB 155 -Billing City: Boise -Billing State/Province: ID 83709-1433 -Billing Postal Code: -Billing Country: US -Billing Phone: +1.2083895740 -Billing Phone Ext: -Billing Fax: +1.2083895771 -Billing Fax Ext: -Billing Email: ccops@markmonitor.com - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: CCOPS -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com -Sponsoring Registrar Admin Contact: Domain Billing -Sponsoring Registrar Admin Email: ccops@markmonitor.com - -TERMS OF USE: -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. - -The data is for information purposes only. MNINET does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: -You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: - (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; - or - (2) enable high volume, automated, electronic processes. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T20:41:28.205Z <<< diff --git a/spec/fixtures/responses/whois.nic.mu/mu/status_available.expected b/spec/fixtures/responses/whois.nic.mu/mu/status_available.expected deleted file mode 100644 index 5fe900ff2..000000000 --- a/spec/fixtures/responses/whois.nic.mu/mu/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.mu" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.mu/mu/status_available.txt b/spec/fixtures/responses/whois.nic.mu/mu/status_available.txt deleted file mode 100644 index 8c7af7ecb..000000000 --- a/spec/fixtures/responses/whois.nic.mu/mu/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain Name: u34jedzcq.mu -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. - -Domains up to 3 letters are premium domains and require a special registration process. Please contact your registrar for additional information. - -Internet Direct Ltd makes every effort to maintain the completeness and accuracy of the Whois data, but cannot guarantee that the results are error-free. Therefore, any data provided through the Whois service are on an "as is" basis without any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT Internet Direct Ltd IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the results of the Whois constitutes acceptance of these terms, conditions and limitations. Whois data may be requested only for lawful purposes, in particular, to protect legal rights and obligations. Illegitimate uses of Whois data include, but are not limited to, unsolicited email, data mining, direct marketing or any other improper purpose. Any request made for Whois data will be documented by Internet Direct Ltd but will not be used for any commercial purpose whatsoever. NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -? 1995-2013 Internet Direct Ltd, All rights reserved. - ->>> Last update of WHOIS database: 2014-02-18T20:26:47.797Z <<< diff --git a/spec/fixtures/responses/whois.nic.mu/mu/status_registered.expected b/spec/fixtures/responses/whois.nic.mu/mu/status_registered.expected deleted file mode 100644 index 8ab648a91..000000000 --- a/spec/fixtures/responses/whois.nic.mu/mu/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.mu" - -#domain_id - %s == "70557-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-12-20 13:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-17 10:20:08 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-12-19 13:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.mu/mu/status_registered.txt b/spec/fixtures/responses/whois.nic.mu/mu/status_registered.txt deleted file mode 100644 index ae90c12eb..000000000 --- a/spec/fixtures/responses/whois.nic.mu/mu/status_registered.txt +++ /dev/null @@ -1,79 +0,0 @@ -Domain Name: google.mu -Domain ID: 70557-CoCCA -WHOIS Server: -Referral URL: -Updated Date: 2013-11-17T10:20:08.489Z -Creation Date: 2000-12-20T13:00:00.000Z -Registry Expiry Date: 2014-12-19T13:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: clientDeleteProhibited -Domain Status: clientUpdateProhibited -Domain Status: ok -Domain Status: clientTransferProhibited - -Registrant ID: 177502-CoCCA -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 177502-CoCCA -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Tech ID: 177502-CoCCA -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. - -Domains up to 3 letters are premium domains and require a special registration process. Please contact your registrar for additional information. - -Internet Direct Ltd makes every effort to maintain the completeness and accuracy of the Whois data, but cannot guarantee that the results are error-free. Therefore, any data provided through the Whois service are on an "as is" basis without any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS ACCEPTED THAT Internet Direct Ltd IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the results of the Whois constitutes acceptance of these terms, conditions and limitations. Whois data may be requested only for lawful purposes, in particular, to protect legal rights and obligations. Illegitimate uses of Whois data include, but are not limited to, unsolicited email, data mining, direct marketing or any other improper purpose. Any request made for Whois data will be documented by Internet Direct Ltd but will not be used for any commercial purpose whatsoever. NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE OF THE AVAILABILITY OF A DOMAIN NAME. - -? 1995-2013 Internet Direct Ltd, All rights reserved. - ->>> Last update of WHOIS database: 2014-02-18T20:26:47.797Z <<< diff --git a/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.expected deleted file mode 100644 index 11462a6c0..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.mpsnet.net.mx" - %s[0].ipv4 == "200.4.48.15" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.mpsnet.net.mx" - %s[1].ipv4 == "200.4.48.16" diff --git a/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.txt deleted file mode 100644 index c69df7079..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.txt +++ /dev/null @@ -1,56 +0,0 @@ - -Domain Name: mpsnet.net.mx - -Created On: 16-abr-1997 -Expiration Date: 15-abr-2011 -Last Updated On: 31-mar-2009 -Registrar: NIC Mexico -URL: http://www.nic.mx - -Registrant: - Name: MPSNet Dominios - City: Mexico - State: Distrito Federal - Country: Mexico - -Administrative Contact: - Name: Internet Engine S.A de C.V - City: D.F. - State: Distrito Federal - Country: Mexico - -Technical Contact: - Name: Internet Engine S.A de C.V - City: D.F. - State: Distrito Federal - Country: Mexico - -Billing Contact: - Name: Internet Engine S.A de C.V - City: D.F. - State: Distrito Federal - Country: Mexico - -Name Servers: - DNS: dns1.mpsnet.net.mx 200.4.48.15 - DNS: dns2.mpsnet.net.mx 200.4.48.16 - - -La informacion que ha solicitado se provee exclusivamente para fines -relacionados con la delegacion de nombres de dominio y la operacion del DNS -administrado por NIC Mexico. - -Queda absolutamente prohibido su uso para otros propositos, incluyendo el envio -de Correos Electronicos no solicitados con fines publicitarios o de promocion -de productos y servicios (SPAM) sin mediar la autorizacion de los afectados y -de NIC Mexico. - -La base de datos generada a partir del sistema de delegacion, esta protegida -por las leyes de Propiedad Intelectual y todos los tratados internacionales -sobre la materia. - -Si necesita mayor informacion sobre los registros aqui mostrados, favor de -comunicarse a ayuda@nic.mx. - -Si desea notificar sobre correo no solicitado o accesos no autorizados, favor -de enviar su mensaje a abuse@nic.mx. diff --git a/spec/fixtures/responses/whois.nic.mx/mx/status_available.expected b/spec/fixtures/responses/whois.nic.mx/mx/status_available.expected deleted file mode 100644 index 4623f1c8b..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/status_available.expected +++ /dev/null @@ -1,20 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.mx/mx/status_available.txt b/spec/fixtures/responses/whois.nic.mx/mx/status_available.txt deleted file mode 100644 index ffed5e6d6..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/status_available.txt +++ /dev/null @@ -1,11 +0,0 @@ - -No_Se_Encontro_El_Objeto/Object_Not_Found - -&PARAMETROS VALIDOS: - - &NombreObjeto Busca en la base de datos de NIC Mexico el objeto solicitado. - &=NombreDominio Verifica la disponibilidad de un nombre de dominio. - &? Muestra este mensaje. - -&NOTA: - &Si se busca informacion sobre un dominio este debe pertenecer al ccTLD .mx \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.mx/mx/status_registered.expected b/spec/fixtures/responses/whois.nic.mx/mx/status_registered.expected deleted file mode 100644 index 33b01c754..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/status_registered.expected +++ /dev/null @@ -1,38 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-05-12} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-05-11} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.mx/mx/status_registered.txt b/spec/fixtures/responses/whois.nic.mx/mx/status_registered.txt deleted file mode 100644 index 8e162f066..000000000 --- a/spec/fixtures/responses/whois.nic.mx/mx/status_registered.txt +++ /dev/null @@ -1,90 +0,0 @@ - -Domain Name: google.mx - -Created On: 2009-05-12 -Expiration Date: 2016-05-11 -Last Updated On: 2013-07-29 -Registrar: MarkMonitor -URL: http://www.markmonitor.com/ - -Registrant: - Name: Google Inc. - City: Mountain View - State: California - Country: United States - -Administrative Contact: - Name: Google Inc. - City: Mountain View - State: California - Country: United States - -Technical Contact: - Name: Google Inc. - City: Mountain View - State: California - Country: United States - -Billing Contact: - Name: MarkMonitor - City: Boise - State: Idaho - Country: United States - -Name Servers: - DNS: ns2.google.com - DNS: ns4.google.com - DNS: ns3.google.com - DNS: ns1.google.com - - -% NOTICE: The expiration date displayed in this record is the date the -% registrar's sponsorship of the domain name registration in the registry is -% currently set to expire. This date does not necessarily reflect the -% expiration date of the domain name registrant's agreement with the sponsoring -% registrar. Users may consult the sponsoring registrar's Whois database to -% view the registrar's reported date of expiration for this registration. - -% The requested information ("Information") is provided only for the delegation -% of domain names and the operation of the DNS administered by NIC Mexico. - -% It is absolutely prohibited to use the Information for other purposes, -% including sending not requested emails for advertising or promoting products -% and services purposes (SPAM) without the authorization of the owners of the -% Information and NIC Mexico. - -% The database generated from the delegation system is protected by the -% intellectual property laws and all international treaties on the matter. - -% If you need more information on the records displayed here, please contact us -% by email at ayuda@nic.mx . - -% If you want notify the receipt of SPAM or unauthorized access, please send a -% email to abuse@nic.mx . - -% NOTA: La fecha de expiracion mostrada en esta consulta es la fecha que el -% registrar tiene contratada para el nombre de dominio en el registry. Esta -% fecha no necesariamente refleja la fecha de expiracion del nombre de dominio -% que el registrante tiene contratada con el registrar. Puede consultar la base -% de datos de Whois del registrar para ver la fecha de expiracion reportada por -% el registrar para este nombre de dominio. - -% La informacion que ha solicitado se provee exclusivamente para fines -% relacionados con la delegacion de nombres de dominio y la operacion del DNS -% administrado por NIC Mexico. - -% Queda absolutamente prohibido su uso para otros propositos, incluyendo el -% envio de Correos Electronicos no solicitados con fines publicitarios o de -% promocion de productos y servicios (SPAM) sin mediar la autorizacion de los -% afectados y de NIC Mexico. - -% La base de datos generada a partir del sistema de delegacion, esta protegida -% por las leyes de Propiedad Intelectual y todos los tratados internacionales -% sobre la materia. - -% Si necesita mayor informacion sobre los registros aqui mostrados, favor de -% comunicarse a ayuda@nic.mx. - -% Si desea notificar sobre correo no solicitado o accesos no autorizados, favor -% de enviar su mensaje a abuse@nic.mx. - diff --git a/spec/fixtures/responses/whois.nic.name/name/reserved.txt b/spec/fixtures/responses/whois.nic.name/name/reserved.txt deleted file mode 100644 index 79040ef4d..000000000 --- a/spec/fixtures/responses/whois.nic.name/name/reserved.txt +++ /dev/null @@ -1,30 +0,0 @@ -Disclaimer: VeriSign, Inc. makes every effort to -maintain the completeness and accuracy of the Whois data, but cannot -guarantee that the results are error-free. Therefore, any data -provided through the Whois service are on an "as is" basis without -any warranties. BY USING THE WHOIS SERVICE AND THE DATA CONTAINED -HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS -ACCEPTED THAT VERISIGN, INC. IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE -REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR -OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR -INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN -CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR -DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the -results of the Whois constitutes acceptance of these terms, -conditions and limitations. Whois data may be requested only for -lawful purposes, in particular, to protect legal rights and -obligations. Illegitimate uses of Whois data include, but are not -limited to, unsolicited email, data mining, direct marketing or any -other improper purpose. Any request made for Whois data will be -documented by VeriSign, Inc. but will not be used -for any commercial purpose whatsoever. - -This is the .name Tiered Access Whois. For help, query whois with the -string "help". A whois web service also exists on http://www.whois.name. -A full list of .name Registrars can be found on http://www.nic.name - -------- - -Not available for second level registration. -Third level registrations may be available on this name. - diff --git a/spec/fixtures/responses/whois.nic.name/name/status_available.expected b/spec/fixtures/responses/whois.nic.name/name/status_available.expected deleted file mode 100644 index 03cb4d2b5..000000000 --- a/spec/fixtures/responses/whois.nic.name/name/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.name/name/status_available.txt b/spec/fixtures/responses/whois.nic.name/name/status_available.txt deleted file mode 100644 index 569780735..000000000 --- a/spec/fixtures/responses/whois.nic.name/name/status_available.txt +++ /dev/null @@ -1,25 +0,0 @@ -Disclaimer: VeriSign, Inc. makes every effort to maintain the -completeness and accuracy of the Whois data, but cannot guarantee -that the results are error-free. Therefore, any data provided -through the Whois service are on an as is basis without any -warranties. -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED -HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS -ACCEPTED THAT VERISIGN, INC. IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE -REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR -OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR -INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN -CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR -DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the -results of the Whois constitutes acceptance of these terms, -conditions and limitations. Whois data may be requested only for -lawful purposes, in particular, to protect legal rights and -obligations. Illegitimate uses of Whois data include, but are not -limited to, unsolicited email, data mining, direct marketing or any -other improper purpose. Any request made for Whois data will be -documented by VeriSign, Inc. but will not be used for any commercial purpose whatsoever. - **** -No match for domain "U34JEDZCQ.NAME". ->>> Last update of whois database: 2013-12-18T10:00:00Z <<< - \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.name/name/status_registered.expected b/spec/fixtures/responses/whois.nic.name/name/status_registered.expected deleted file mode 100644 index 238180389..000000000 --- a/spec/fixtures/responses/whois.nic.name/name/status_registered.expected +++ /dev/null @@ -1,42 +0,0 @@ -#status - %s == ["clientTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-04-19 12:22:08 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-30 18:51:55 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-19 12:22:08 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.dnsimple.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.dnsimple.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[2].name == "ns3.dnsimple.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.dnsimple.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.name/name/status_registered.txt b/spec/fixtures/responses/whois.nic.name/name/status_registered.txt deleted file mode 100644 index 161e415a1..000000000 --- a/spec/fixtures/responses/whois.nic.name/name/status_registered.txt +++ /dev/null @@ -1,45 +0,0 @@ -Disclaimer: VeriSign, Inc. makes every effort to maintain the -completeness and accuracy of the Whois data, but cannot guarantee -that the results are error-free. Therefore, any data provided -through the Whois service are on an as is basis without any -warranties. -BY USING THE WHOIS SERVICE AND THE DATA CONTAINED -HEREIN OR IN ANY REPORT GENERATED WITH RESPECT THERETO, IT IS -ACCEPTED THAT VERISIGN, INC. IS NOT LIABLE FOR -ANY DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH, THE -REPORT OR THE INFORMATION PROVIDED BY THE WHOIS SERVICE, NOR -OMISSIONS OR MISSING INFORMATION. THE RESULTS OF ANY WHOIS REPORT OR -INFORMATION PROVIDED BY THE WHOIS SERVICE CANNOT BE RELIED UPON IN -CONTEMPLATION OF LEGAL PROCEEDINGS WITHOUT FURTHER VERIFICATION, NOR -DO SUCH RESULTS CONSTITUTE A LEGAL OPINION. Acceptance of the -results of the Whois constitutes acceptance of these terms, -conditions and limitations. Whois data may be requested only for -lawful purposes, in particular, to protect legal rights and -obligations. Illegitimate uses of Whois data include, but are not -limited to, unsolicited email, data mining, direct marketing or any -other improper purpose. Any request made for Whois data will be -documented by VeriSign, Inc. but will not be used for any commercial purpose whatsoever. - **** - Domain Name ID: 2788515_DOMAIN_NAME-VRSN - Domain Name: CARLETTI.NAME - Sponsoring Registrar: eNom, Inc. - Sponsoring Registrar ID: 48_REGISTRAR_NAME-VRSN - Domain Status: clientTransferProhibited - Registrant ID: 7903395_CONTACT_NAME-VRSN - Admin ID: 10919759_CONTACT_NAME-VRSN - Tech ID: 10919759_CONTACT_NAME-VRSN - Billing ID: 10919759_CONTACT_NAME-VRSN - Name Server: NS1.DNSIMPLE.COM - Name Server ID: 1922491_HOST_NAME-VRSN - Name Server: NS2.DNSIMPLE.COM - Name Server ID: 1922492_HOST_NAME-VRSN - Name Server: NS3.DNSIMPLE.COM - Name Server ID: 1937322_HOST_NAME-VRSN - Name Server: NS4.DNSIMPLE.COM - Name Server ID: 1937323_HOST_NAME-VRSN - Created On: 2006-04-19T12:22:08Z - Expires On: 2014-04-19T12:22:08Z - Updated On: 2013-11-30T18:51:55Z - ->>> Last update of whois database: 2013-12-18T10:00:00Z <<< - \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.expected b/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.txt b/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.txt deleted file mode 100644 index 739633b16..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.txt +++ /dev/null @@ -1,13 +0,0 @@ -Domain Name: u34jedzcq.ng -Domain Status: Available - -TERMS OF USE: - -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIRA as a service to the internet community. - -The data is for information purposes only. NIRA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: -(1) Allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or -(2) Enable high volume, automated, electronic processes that apply to NIRA or NIRA Accredited Registrars and their computer systems. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2013-05-07T11:38:09.912Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.expected b/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.txt b/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.txt deleted file mode 100644 index a10e5cd98..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.txt +++ /dev/null @@ -1,56 +0,0 @@ -Domain Name: nic.net.ng -Domain ID: 6808-NIRA -WHOIS Server: NIRA -Referral URL: -Updated Date: 2012-08-24T13:46:14.774Z -Creation Date: 2009-05-13T14:27:27.009Z -Registry Expiry Date: 2020-07-30T23:00:00.000Z -Sponsoring Registrar: nira -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 80023-NIRA -Registrant Name: Domain Admin -Registrant Organization: Nigeria Internet Registration Association -Registrant Street: 9 Kofo Abayomi Street -Registrant City: Victoria Island -Registrant State/Province: Lagos -Registrant Postal Code: 101241 -Registrant Country: NG -Registrant Phone: +2348086031704 -Registrant Phone Ext: -Registrant Email: admin@nira.org.ng - -Admin ID: 23141-NIRA -Admin Organization: Nigeria Internet Registration Association (NIRA) -Admin Email: ugo@nira.org.ng - -Name Server: rns1.nic.net.ng -Name Server: rns2.nic.net.ng -Name Server: rns3.nic.net.ng -Name Server: rns4.nic.net.ng - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: -Sponsoring Registrar Address: -Sponsoring Registrar Country: NG -Sponsoring Registrar Customer Service Contact: -Sponsoring Registrar Customer Service Email: -Sponsoring Registrar Admin Contact: - - -TERMS OF USE: - -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIRA as a service to the internet community. - -The data is for information purposes only. NIRA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: -(1) Allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or -(2) Enable high volume, automated, electronic processes that apply to NIRA or NIRA Accredited Registrars and their computer systems. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2013-05-07T11:38:09.912Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.expected b/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.expected deleted file mode 100644 index 3dacf2096..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ng" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.txt b/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.txt deleted file mode 100644 index ef472f89a..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/status_available.txt +++ /dev/null @@ -1,13 +0,0 @@ -Domain Name: u34jedzcq.ng -Domain Status: Available - -TERMS OF USE: - -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIRA as a service to the internet community. - -The data is for information purposes only. NIRA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: -(1) Allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or -(2) Enable high volume, automated, electronic processes that apply to NIRA or NIRA Accredited Registrars and their computer systems. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2013-12-18T14:13:20.636Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.expected b/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.expected deleted file mode 100644 index 2c068961d..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "nic.net.ng" - -#domain_id - %s == "6808-NIRA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-05-13 14:27:27 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-08-24 13:46:14 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-07-30 23:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "nira" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "rns1.nic.net.ng" - %s[1] %CLASS{nameserver} - %s[1].name == "rns2.nic.net.ng" - %s[2] %CLASS{nameserver} - %s[2].name == "rns3.nic.net.ng" - %s[3] %CLASS{nameserver} - %s[3].name == "rns4.nic.net.ng" diff --git a/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.txt b/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.txt deleted file mode 100644 index 5a9f3478b..000000000 --- a/spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.txt +++ /dev/null @@ -1,56 +0,0 @@ -Domain Name: nic.net.ng -Domain ID: 6808-NIRA -WHOIS Server: whois.nic.ng -Referral URL: -Updated Date: 2012-08-24T13:46:14.774Z -Creation Date: 2009-05-13T14:27:27.009Z -Registry Expiry Date: 2020-07-30T23:00:00.000Z -Sponsoring Registrar: nira -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 80023-NIRA -Registrant Name: Domain Admin -Registrant Organization: Nigeria Internet Registration Association -Registrant Street: 9 Kofo Abayomi Street -Registrant City: Victoria Island -Registrant State/Province: Lagos -Registrant Postal Code: 101241 -Registrant Country: NG -Registrant Phone: +2348086031704 -Registrant Phone Ext: -Registrant Email: admin@nira.org.ng - -Admin ID: 23141-NIRA -Admin Organization: Nigeria Internet Registration Association (NIRA) -Admin Email: ugo@nira.org.ng - -Name Server: rns1.nic.net.ng -Name Server: rns2.nic.net.ng -Name Server: rns3.nic.net.ng -Name Server: rns4.nic.net.ng - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: -Sponsoring Registrar Address: -Sponsoring Registrar Country: NG -Sponsoring Registrar Customer Service Contact: -Sponsoring Registrar Customer Service Email: -Sponsoring Registrar Admin Contact: - - -TERMS OF USE: - -You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIRA as a service to the internet community. - -The data is for information purposes only. NIRA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: -(1) Allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or -(2) Enable high volume, automated, electronic processes that apply to NIRA or NIRA Accredited Registrars and their computer systems. The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - - ->>> Last update of WHOIS database: 2013-12-18T14:13:20.636Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.expected b/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.txt b/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.txt deleted file mode 100644 index 49026f149..000000000 --- a/spec/fixtures/responses/whois.nic.net.sa/sa/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -% SaudiNIC Whois server. -% Rights restricted by copyright. -% http://nic.sa/en/view/whois-cmd-copyright - -No Match for u34jedzcq.com.sa -. diff --git a/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.expected b/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.expected deleted file mode 100644 index fbca0319b..000000000 --- a/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-09-11} - -#updated_on - %s %CLASS{time} - %s %TIME{2000-09-11} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.peer1.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.peer1.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.txt b/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.txt deleted file mode 100644 index 26ae5cb21..000000000 --- a/spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.txt +++ /dev/null @@ -1,31 +0,0 @@ -% SaudiNIC Whois server. -% Rights restricted by copyright. -% http://nic.sa/en/view/whois-cmd-copyright - -Domain Name: saudigazette.com.sa - - Registrant: - Okaz for Press and Publication مؤسسة عكاظ للصحافة والنشر - Address: ~noAddress P.O.Box. 1508 ص.ب. - 21441 Jeddah جدة - Saudi Arabia المملكة العربية السعودية - - Administrative Contact: - Abdullah Salmeem Ba-Doukhn عبد الله سالمين بادخن (ADM-837-AD59-SA) - Address: حي الرحاب P.O.Box. 1508 ص.ب. - 21441 Jeddah جدة - Saudi Arabia المملكة العربية السعودية - - Technical Contact: - Salim Ba-wafi سالم باوافي (TEC-837-SW13-SA) - Address: حي الرحاب P.O.Box. 1508 ص.ب. - 21441 Jeddah جدة - Saudi Arabia المملكة العربية السعودية - - Name Servers: - ns1.peer1.net - ns2.peer1.net - -Created on: 2000-09-11 -Last Updated on: 2000-09-11 - diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.expected b/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.txt b/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.txt deleted file mode 100644 index e8aa43265..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.txt +++ /dev/null @@ -1,11 +0,0 @@ -Domain Name: u34jedzcq.sb -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query this Whois database through the use of electronic processes that are high-volume and automated. The .sb Whois database access is provided by Solomon Telekom as a service to the internet community. - -The data is for information purposes only. Solomon Telekom does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Telekom Solomon, CoCCA (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - - ->>> Last update of WHOIS database: 2012-10-18T03:17:29.203Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.expected b/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.txt b/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.txt deleted file mode 100644 index 0b51d2c01..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.txt +++ /dev/null @@ -1,83 +0,0 @@ -Domain Name: baidu.com.sb -Domain ID: 404765-CoCCA -WHOIS Server: @ CoCCA -Referral URL: -Updated Date: 2012-02-26T05:08:41.045Z -Creation Date: 2010-03-27T04:29:19.249Z -Registry Expiry Date: 2013-03-27T04:29:19.346Z -Sponsoring Registrar: Key-Systems -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 419751-CoCCA -Registrant Name: long dian -Registrant Organization: 999.cn.vc -Registrant Street: shannxi -Registrant City: xian -Registrant State/Province: -Registrant Postal Code: 710000 -Registrant Country: CN - -Admin ID: 419751-CoCCA -Admin Name: long dian -Admin Organization: 999.cn.vc -Admin Street: shannxi -Admin City: xian -Admin State/Province: -Admin Postal Code: 710000 -Admin Country: CN - -Billing ID: 419751-CoCCA -Billing Name: long dian -Billing Organization: 999.cn.vc -Billing Street: shannxi -Billing City: xian -Billing State/Province: -Billing Postal Code: 710000 -Billing Country: CN -Billing Phone: +1.123456789 -Billing Phone Ext: -Billing Fax: +1.123456789 -Billing Fax Ext: -Billing Email: hostcn@gmail.com - -Tech ID: 419751-CoCCA -Tech Name: long dian -Tech Organization: 999.cn.vc -Tech Street: shannxi -Tech City: xian -Tech State/Province: -Tech Postal Code: 710000 -Tech Country: CN -Tech Phone: +1.123456789 -Tech Phone Ext: -Tech Fax: +1.123456789 -Tech Fax Ext: -Tech Email: hostcn@gmail.com - -Name Server: f1g1ns1.dnspod.net -Name Server: f1g1ns2.dnspod.net - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: http://www.key-systems.net -Sponsoring Registrar Address: Key-Systems GmbH Im Oberen Werk 1 66386 St. Ingbert -Sponsoring Registrar Country: DE -Sponsoring Registrar Phone: +49 (0)68949396850 -Sponsoring Registrar Fax: +49 (0)68949396851 -Sponsoring Registrar Customer Service Contact: Hostmaster RRPproxy -Sponsoring Registrar Customer Service Email: info@key-systems.net - - -TERMS OF USE: You are not authorized to access or query this Whois database through the use of electronic processes that are high-volume and automated. The .sb Whois database access is provided by Solomon Telekom as a service to the internet community. - -The data is for information purposes only. Solomon Telekom does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Telekom Solomon, CoCCA (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - - ->>> Last update of WHOIS database: 2012-10-18T03:17:29.203Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.expected b/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.expected deleted file mode 100644 index 09d95a882..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.sb" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.txt b/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.txt deleted file mode 100644 index e8aa43265..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/status_available.txt +++ /dev/null @@ -1,11 +0,0 @@ -Domain Name: u34jedzcq.sb -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query this Whois database through the use of electronic processes that are high-volume and automated. The .sb Whois database access is provided by Solomon Telekom as a service to the internet community. - -The data is for information purposes only. Solomon Telekom does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Telekom Solomon, CoCCA (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - - ->>> Last update of WHOIS database: 2012-10-18T03:17:29.203Z <<< diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.expected b/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.expected deleted file mode 100644 index 61a0dfe9a..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "baidu.com.sb" - -#domain_id - %s == "404765-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-03-27 04:29:19 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-02-26 05:08:41 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-03-27 04:29:19 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Key-Systems" - %s.organization == nil - %s.url == "http://www.key-systems.net" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "f1g1ns1.dnspod.net" - %s[1] %CLASS{nameserver} - %s[1].name == "f1g1ns2.dnspod.net" diff --git a/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.txt b/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.txt deleted file mode 100644 index 0b51d2c01..000000000 --- a/spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.txt +++ /dev/null @@ -1,83 +0,0 @@ -Domain Name: baidu.com.sb -Domain ID: 404765-CoCCA -WHOIS Server: @ CoCCA -Referral URL: -Updated Date: 2012-02-26T05:08:41.045Z -Creation Date: 2010-03-27T04:29:19.249Z -Registry Expiry Date: 2013-03-27T04:29:19.346Z -Sponsoring Registrar: Key-Systems -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 419751-CoCCA -Registrant Name: long dian -Registrant Organization: 999.cn.vc -Registrant Street: shannxi -Registrant City: xian -Registrant State/Province: -Registrant Postal Code: 710000 -Registrant Country: CN - -Admin ID: 419751-CoCCA -Admin Name: long dian -Admin Organization: 999.cn.vc -Admin Street: shannxi -Admin City: xian -Admin State/Province: -Admin Postal Code: 710000 -Admin Country: CN - -Billing ID: 419751-CoCCA -Billing Name: long dian -Billing Organization: 999.cn.vc -Billing Street: shannxi -Billing City: xian -Billing State/Province: -Billing Postal Code: 710000 -Billing Country: CN -Billing Phone: +1.123456789 -Billing Phone Ext: -Billing Fax: +1.123456789 -Billing Fax Ext: -Billing Email: hostcn@gmail.com - -Tech ID: 419751-CoCCA -Tech Name: long dian -Tech Organization: 999.cn.vc -Tech Street: shannxi -Tech City: xian -Tech State/Province: -Tech Postal Code: 710000 -Tech Country: CN -Tech Phone: +1.123456789 -Tech Phone Ext: -Tech Fax: +1.123456789 -Tech Fax Ext: -Tech Email: hostcn@gmail.com - -Name Server: f1g1ns1.dnspod.net -Name Server: f1g1ns2.dnspod.net - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: http://www.key-systems.net -Sponsoring Registrar Address: Key-Systems GmbH Im Oberen Werk 1 66386 St. Ingbert -Sponsoring Registrar Country: DE -Sponsoring Registrar Phone: +49 (0)68949396850 -Sponsoring Registrar Fax: +49 (0)68949396851 -Sponsoring Registrar Customer Service Contact: Hostmaster RRPproxy -Sponsoring Registrar Customer Service Email: info@key-systems.net - - -TERMS OF USE: You are not authorized to access or query this Whois database through the use of electronic processes that are high-volume and automated. The .sb Whois database access is provided by Solomon Telekom as a service to the internet community. - -The data is for information purposes only. Solomon Telekom does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Telekom Solomon, CoCCA (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - - ->>> Last update of WHOIS database: 2012-10-18T03:17:29.203Z <<< diff --git a/spec/fixtures/responses/whois.nic.nf/nf/status_available.expected b/spec/fixtures/responses/whois.nic.nf/nf/status_available.expected deleted file mode 100644 index c2860e141..000000000 --- a/spec/fixtures/responses/whois.nic.nf/nf/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.nf" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.nf/nf/status_available.txt b/spec/fixtures/responses/whois.nic.nf/nf/status_available.txt deleted file mode 100644 index 693be15be..000000000 --- a/spec/fixtures/responses/whois.nic.nf/nf/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Domain Name: u34jedzcq.nf -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by CoCCA as a service to the internet community on behalf of CoCCA members. - -The data is for information purposes only. CoCCA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.coccaregistry.net - ->>> Last update of WHOIS database: 2013-12-18T14:28:03.586Z <<< diff --git a/spec/fixtures/responses/whois.nic.nf/nf/status_registered.expected b/spec/fixtures/responses/whois.nic.nf/nf/status_registered.expected deleted file mode 100644 index a88215fe2..000000000 --- a/spec/fixtures/responses/whois.nic.nf/nf/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.nf" - -#domain_id - %s == "26552-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-11-27 11:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-06 07:35:49 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-27 11:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.nf/nf/status_registered.txt b/spec/fixtures/responses/whois.nic.nf/nf/status_registered.txt deleted file mode 100644 index b63155ba6..000000000 --- a/spec/fixtures/responses/whois.nic.nf/nf/status_registered.txt +++ /dev/null @@ -1,52 +0,0 @@ -Domain Name: google.nf -Domain ID: 26552-CoCCA -WHOIS Server: whois.nic.nf -Referral URL: -Updated Date: 2013-12-06T07:35:49.461Z -Creation Date: 2005-11-27T11:00:00.000Z -Registry Expiry Date: 2014-11-27T11:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 955924-CoCCA -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by CoCCA as a service to the internet community on behalf of CoCCA members. - -The data is for information purposes only. CoCCA does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.coccaregistry.net - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.expected b/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.txt b/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.txt deleted file mode 100644 index bee628e68..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.txt +++ /dev/null @@ -1,27 +0,0 @@ - -Servidor Whois de NIC-Uruguay (.UY) - -Este servidor contiene informacion autoritativa exclusivamente de dominios bajo .UY, EDU.UY, ORG.UY, NET.UY, GUB.UY y MIL.UY -Cualquier consulta sobre este servicio, puede hacerla al correo electronico dns-adm@seciu.edu.uy - -Por informacion sobre dominios bajo COM.UY dirigirse a https://nic.anteldata.com.uy/dns/consultaWhois/whois.action - -Titular: - - Nombre de Dominio: gub.uy - Registrado por: Servicio Central de Informática de la Universidad (SeCIU-UdelaR) (http://www.nic.org.uy) - - Contacto Administrativo: - - Contacto Tecnico: - - Contacto de Cobranza: - - Ultima Actualizacion: - Fecha de Creacion: 1990-09-10 00:00:00 - - Estatus del dominio: ACTIVO - - -NIC-Uruguay - SeCIU - UdelaR -http://www.nic.org.uy diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/response_is_error.txt b/spec/fixtures/responses/whois.nic.org.uy/uy/response_is_error.txt deleted file mode 100644 index e93394127..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/response_is_error.txt +++ /dev/null @@ -1,27 +0,0 @@ - -Servidor Whois de NIC-Uruguay (.UY) - -Este servidor contiene informacion autoritativa exclusivamente de dominios bajo EDU.UY, ORG.UY, NET.UY, GUB.UY y MIL.UY -Cualquier consulta sobre este servicio, puede hacerla al correo electronico dns-adm@seciu.edu.uy - -Por informacion sobre dominios bajo COM.UY dirigirse a https://nic.anteldata.com.uy/dns/consultaWhois/whois.action - -Titular: - - Nombre de Dominio: com.uy - Registrado por: Servicio Central de Informática de la Universidad (SeCIU-UdelaR) (http://www.nic.org.uy) - - Contacto Administrativo: - - Contacto Tecnico: - - Contacto de Cobranza: - - Ultima Actualizacion: - Fecha de Creacion: 1990-09-10 00:00:00 - - Estatus del dominio: ACTIVO - - -NIC-Uruguay - SeCIU - UdelaR -http://www.nic.org.uy diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.expected b/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.txt b/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.txt deleted file mode 100644 index 4421a56c7..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Servidor Whois de NIC-Uruguay (.UY) - -Este servidor contiene informacion autoritativa exclusivamente de dominios bajo .UY, EDU.UY, ORG.UY, NET.UY, GUB.UY y MIL.UY -Cualquier consulta sobre este servicio, puede hacerla al correo electronico dns-adm@seciu.edu.uy - -Por informacion sobre dominios bajo COM.UY dirigirse a https://nic.anteldata.com.uy/dns/consultaWhois/whois.action - -No match for "u34jedzcq.uy". - -NIC-Uruguay - SeCIU - UdelaR -http://www.nic.org.uy diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.expected b/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.expected deleted file mode 100644 index 45d224661..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-07-03 20:58:58} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-09-12 02:32:59} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.markmonitor.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.markmonitor.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.txt b/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.txt deleted file mode 100644 index ce5d50a0e..000000000 --- a/spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.txt +++ /dev/null @@ -1,48 +0,0 @@ - -Servidor Whois de NIC-Uruguay (.UY) - -Este servidor contiene informacion autoritativa exclusivamente de dominios bajo .UY, EDU.UY, ORG.UY, NET.UY, GUB.UY y MIL.UY -Cualquier consulta sobre este servicio, puede hacerla al correo electronico dns-adm@seciu.edu.uy - -Por informacion sobre dominios bajo COM.UY dirigirse a https://nic.anteldata.com.uy/dns/consultaWhois/whois.action - -Titular: -Google Inc (go101-adnic-o) mail@nameaction.com - Google Inc - 1600 Amphitheatre Parkway Mountain View Mountain View Estados Unidos - NOT AVAILABLE NOT AVAILABLE - 1-650-2530000 (FAX) 1-650-6188571 - - Nombre de Dominio: google.uy - Registrado por: Antel (https://nic.anteldata.com.uy/dns/) - - Contacto Administrativo: - Comintur SA Netgate (ne26-adnic) dominios@netgate.com.uy - 21 de Setiembre 2840 - NOT AVAILABLE NOT AVAILABLE - 598-27126666 - - Contacto Tecnico: - Markmonitor Tech Markmonitor (mm100-adnic) mail@nameaction.com - 391 N Ancestor pl - NOT AVAILABLE NOT AVAILABLE - 1 2083895740 - - Contacto de Cobranza: - Comintur SA Netgate (ne26-adnic) dominios@netgate.com.uy - 21 de Setiembre 2840 - NOT AVAILABLE NOT AVAILABLE - 598-27126666 - - Ultima Actualizacion: 2012-09-12 02:32:59 - Fecha de Creacion: 2012-07-03 20:58:58 - - Estatus del dominio: ACTIVO - - Servidor(es) de Nombres de Dominio: - - - ns1.markmonitor.com - - ns3.markmonitor.com - -NIC-Uruguay - SeCIU - UdelaR -http://www.nic.org.uy diff --git a/spec/fixtures/responses/whois.nic.pr/pr/response_error.txt b/spec/fixtures/responses/whois.nic.pr/pr/response_error.txt deleted file mode 100644 index 44e615a23..000000000 --- a/spec/fixtures/responses/whois.nic.pr/pr/response_error.txt +++ /dev/null @@ -1,25 +0,0 @@ -% -% NIC.PR WHOIS server. -% -% Disclaimer -% The data in NIC.PR's WHOIS database is provided to you by NIC.PR -% for information purposes only, that is to assist you in obtaining -% information about or related to a domain name registration record. -% NIC.PR makes this information available "as is", and does not -% guarantee its accuracy. By submitting a WHOIS query, you agree that -% you will use this data only for lawful purposes and that, under no -% circumstances will you use this data to: (1) allow, enable, or -% otherwise support the transmission of mass unsolicited, commercial -% advertising or solicitations via direct mail, electronic mail, -% including spam or by telephone; or (2) enable high volume, -% automated, electronic processes or robotic, including mining this -% data for your own personal or commercial purposes that apply to -% NIC.PR (or its systems). The compilation, repackaging, dissemination -% or other use of this data is expressly prohibited without the prior -% written consent of NIC.PR. NIC.PR reserves the right to modify -% these terms at any time. By sub-mitting this query, you agree to -% abide by these terms. - -Connection attempt failed 2. - - diff --git a/spec/fixtures/responses/whois.nic.pr/pr/status_available.expected b/spec/fixtures/responses/whois.nic.pr/pr/status_available.expected deleted file mode 100644 index f0ff0213e..000000000 --- a/spec/fixtures/responses/whois.nic.pr/pr/status_available.expected +++ /dev/null @@ -1,43 +0,0 @@ -#domain - %s == "u34jedzcq.pr" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.pr/pr/status_available.txt b/spec/fixtures/responses/whois.nic.pr/pr/status_available.txt deleted file mode 100644 index 6f8886ec5..000000000 --- a/spec/fixtures/responses/whois.nic.pr/pr/status_available.txt +++ /dev/null @@ -1,25 +0,0 @@ -% -% NIC.PR WHOIS server. -% -% Disclaimer -% The data in NIC.PR's WHOIS database is provided to you by NIC.PR -% for information purposes only, that is to assist you in obtaining -% information about or related to a domain name registration record. -% NIC.PR makes this information available "as is", and does not -% guarantee its accuracy. By submitting a WHOIS query, you agree that -% you will use this data only for lawful purposes and that, under no -% circumstances will you use this data to: (1) allow, enable, or -% otherwise support the transmission of mass unsolicited, commercial -% advertising or solicitations via direct mail, electronic mail, -% including spam or by telephone; or (2) enable high volume, -% automated, electronic processes or robotic, including mining this -% data for your own personal or commercial purposes that apply to -% NIC.PR (or its systems). The compilation, repackaging, dissemination -% or other use of this data is expressly prohibited without the prior -% written consent of NIC.PR. NIC.PR reserves the right to modify -% these terms at any time. By sub-mitting this query, you agree to -% abide by these terms. - -The domain u34jedzcq.pr is not registered. - - diff --git a/spec/fixtures/responses/whois.nic.pr/pr/status_registered.expected b/spec/fixtures/responses/whois.nic.pr/pr/status_registered.expected deleted file mode 100644 index 7f2e83a35..000000000 --- a/spec/fixtures/responses/whois.nic.pr/pr/status_registered.expected +++ /dev/null @@ -1,53 +0,0 @@ -#domain - %s == "google.pr" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-09-15} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-15} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.pr/pr/status_registered.txt b/spec/fixtures/responses/whois.nic.pr/pr/status_registered.txt deleted file mode 100644 index fa4bbc00f..000000000 --- a/spec/fixtures/responses/whois.nic.pr/pr/status_registered.txt +++ /dev/null @@ -1,31 +0,0 @@ -% -% NIC.PR WHOIS server. -% -% Disclaimer -% The data in NIC.PR's WHOIS database is provided to you by NIC.PR -% for information purposes only, that is to assist you in obtaining -% information about or related to a domain name registration record. -% NIC.PR makes this information available "as is", and does not -% guarantee its accuracy. By submitting a WHOIS query, you agree that -% you will use this data only for lawful purposes and that, under no -% circumstances will you use this data to: (1) allow, enable, or -% otherwise support the transmission of mass unsolicited, commercial -% advertising or solicitations via direct mail, electronic mail, -% including spam or by telephone; or (2) enable high volume, -% automated, electronic processes or robotic, including mining this -% data for your own personal or commercial purposes that apply to -% NIC.PR (or its systems). The compilation, repackaging, dissemination -% or other use of this data is expressly prohibited without the prior -% written consent of NIC.PR. NIC.PR reserves the right to modify -% these terms at any time. By sub-mitting this query, you agree to -% abide by these terms. - -Domain: google.pr - -Created On: 2005-09-15 -Expires On: 2014-09-15 - -DNS: ns1.google.com -DNS: ns2.google.com -DNS: ns3.google.com -DNS: ns4.google.com diff --git a/spec/fixtures/responses/whois.nic.priv.at/at/status_available.expected b/spec/fixtures/responses/whois.nic.priv.at/at/status_available.expected deleted file mode 100644 index 97fab3aac..000000000 --- a/spec/fixtures/responses/whois.nic.priv.at/at/status_available.expected +++ /dev/null @@ -1,22 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.priv.at/at/status_available.txt b/spec/fixtures/responses/whois.nic.priv.at/at/status_available.txt deleted file mode 100644 index 918edcaf4..000000000 --- a/spec/fixtures/responses/whois.nic.priv.at/at/status_available.txt +++ /dev/null @@ -1,7 +0,0 @@ - -% Rights restricted by copyright and data protection act. -% See http://www.nic.priv.at/ for details. - -% No entries found for the selected source(s). - - diff --git a/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.expected b/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.expected deleted file mode 100644 index 0f3ff75a1..000000000 --- a/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2002-10-13} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.txt b/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.txt deleted file mode 100644 index d18ccc6a0..000000000 --- a/spec/fixtures/responses/whois.nic.priv.at/at/status_registered.txt +++ /dev/null @@ -1,35 +0,0 @@ - -% Rights restricted by copyright and data protection act. -% See http://www.nic.priv.at/ for details. - -domain: nic.priv.at -descr: Network Information Center for priv.at -admin-c: HM-PRIVAT -tech-c: HM-PRIVAT -zone-c: HM-PRIVAT -notify: hostmaster@nic.priv.at -mnt-by: PRIVAT-MNT -changed: cm@nic.priv.at 20021013 -source: PRIVAT - -role: Hostmaster priv.at -address: Verein fuer Internet-Benutzer Oesterreichs (VIBE!AT) -address: c/o Gerald Pfeifer -address: Mondweg 64 -address: A-1140 -address: Wien -address: Austria -e-mail: hostmaster@nic.priv.at -admin-c: CM125 -tech-c: GP362-PRIVAT -tech-c: TM318-PRIVAT -tech-c: RW1 -tech-c: CM125 -tech-c: OL122 -nic-hdl: HM-PRIVAT -notify: hostmaster@nic.priv.at -mnt-by: PRIVAT-MNT -changed: cm@nic.priv.at 20021013 -source: PRIVAT - - diff --git a/spec/fixtures/responses/whois.nic.pw/pw/status_available.expected b/spec/fixtures/responses/whois.nic.pw/pw/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.pw/pw/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.pw/pw/status_available.txt b/spec/fixtures/responses/whois.nic.pw/pw/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.nic.pw/pw/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.pw/pw/status_registered.expected b/spec/fixtures/responses/whois.nic.pw/pw/status_registered.expected deleted file mode 100644 index 1c0c84606..000000000 --- a/spec/fixtures/responses/whois.nic.pw/pw/status_registered.expected +++ /dev/null @@ -1,127 +0,0 @@ -#disclaimer - %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" - - -#domain - %s == "google.pw" - -#domain_id - %s == "CNIC-DO949924" - - -#status - %s == ["clientTransferProhibited", "clientUpdateProhibited", "clientDeleteProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2012-10-12 10:19:46 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-18 00:13:36 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-02-10 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "7061-EM" - %s.name == nil - %s.organization == "MarkMonitor, Inc." - %s.url == "http://www.markmonitor.com/" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "H2396041" - %s[0].name == "DNS Admin - Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "H2396041" - %s[0].name == "DNS Admin - Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "H2396041" - %s[0].name == "DNS Admin - Google Inc" - %s[0].organization == "Google Inc" - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{7} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.markmonitor.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.markmonitor.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.markmonitor.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.markmonitor.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - %s[4] %CLASS{nameserver} - %s[4].name == "ns5.markmonitor.com" - %s[4].ipv4 == nil - %s[4].ipv6 == nil - %s[5] %CLASS{nameserver} - %s[5].name == "ns6.markmonitor.com" - %s[5].ipv4 == nil - %s[5].ipv6 == nil - %s[6] %CLASS{nameserver} - %s[6].name == "ns7.markmonitor.com" - %s[6].ipv4 == nil - %s[6].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.pw/pw/status_registered.txt b/spec/fixtures/responses/whois.nic.pw/pw/status_registered.txt deleted file mode 100644 index e60c3bfe8..000000000 --- a/spec/fixtures/responses/whois.nic.pw/pw/status_registered.txt +++ /dev/null @@ -1,85 +0,0 @@ -Domain ID:CNIC-DO949924 -Domain Name:GOOGLE.PW -Created On:2012-10-12T10:19:46.0Z -Last Updated On:2014-01-18T00:13:36.0Z -Expiration Date:2017-02-10T23:59:59.0Z -Status:clientTransferProhibited -Status:clientUpdateProhibited -Status:clientDeleteProhibited -Status:serverTransferProhibited -Registrant ID:H2396041 -Registrant Name:DNS Admin - Google Inc -Registrant Organization:Google Inc -Registrant Street1:1600 Amphitheatre Parkway -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6502530000 -Registrant FAX:+1.6502530001 -Registrant Email:dns-admin@google.com -Admin ID:H2396041 -Admin Name:DNS Admin - Google Inc -Admin Organization:Google Inc -Admin Street1:1600 Amphitheatre Parkway -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6502530000 -Admin FAX:+1.6502530001 -Admin Email:dns-admin@google.com -Tech ID:H2396041 -Tech Name:DNS Admin - Google Inc -Tech Organization:Google Inc -Tech Street1:1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6502530000 -Tech FAX:+1.6502530001 -Tech Email:dns-admin@google.com -Billing ID:7061-EM -Billing Name:Domain Administrator -Billing Organization:MarkMonitor, Inc. -Billing Street1:Emerald Tech Center -Billing Street2:391 N. Ancestor Place -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83704 -Billing Country:US -Billing Phone:+1.2083895740 -Billing FAX:+1.2083895771 -Billing Email:ccops@markmonitor.com -Sponsoring Registrar ID:7061-EM -Sponsoring Registrar IANA ID:292 -Sponsoring Registrar Organization:MarkMonitor, Inc. -Sponsoring Registrar Street1:Emerald Tech Center -Sponsoring Registrar Street2:391 N. Ancestor Place -Sponsoring Registrar City:Boise -Sponsoring Registrar State/Province:ID -Sponsoring Registrar Postal Code:83704 -Sponsoring Registrar Country:US -Sponsoring Registrar Phone:+1.2083895740 -Sponsoring Registrar FAX:+1.2083895771 -Sponsoring Registrar Website:http://www.markmonitor.com/ -Name Server:NS1.MARKMONITOR.COM -Name Server:NS2.MARKMONITOR.COM -Name Server:NS3.MARKMONITOR.COM -Name Server:NS4.MARKMONITOR.COM -Name Server:NS5.MARKMONITOR.COM -Name Server:NS6.MARKMONITOR.COM -Name Server:NS7.MARKMONITOR.COM -DNSSEC:Unsigned - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names we have registered for -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - diff --git a/spec/fixtures/responses/whois.nic.sh/sh/status_available.expected b/spec/fixtures/responses/whois.nic.sh/sh/status_available.expected deleted file mode 100644 index b72bf7aa0..000000000 --- a/spec/fixtures/responses/whois.nic.sh/sh/status_available.expected +++ /dev/null @@ -1,48 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "u34jedzcq.sh" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.sh/sh/status_available.txt b/spec/fixtures/responses/whois.nic.sh/sh/status_available.txt deleted file mode 100644 index 96957aa23..000000000 --- a/spec/fixtures/responses/whois.nic.sh/sh/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Domain u34jedzcq.sh is available for purchase -Please visit http://www.nic.sh/ for more information - diff --git a/spec/fixtures/responses/whois.nic.sh/sh/status_registered.expected b/spec/fixtures/responses/whois.nic.sh/sh/status_registered.expected deleted file mode 100644 index e21fad0a6..000000000 --- a/spec/fixtures/responses/whois.nic.sh/sh/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.sh" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-06} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == nil - %s[0].state == "CA" - %s[0].country == "US" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.sh/sh/status_registered.txt b/spec/fixtures/responses/whois.nic.sh/sh/status_registered.txt deleted file mode 100644 index c3bbf4d17..000000000 --- a/spec/fixtures/responses/whois.nic.sh/sh/status_registered.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Domain : google.sh -Status : Live -Expiry : 2014-06-06 - -NS 1 : ns1.google.com -NS 2 : ns2.google.com - -Owner : DNS Admin -Owner : Google Inc. -Owner : 1600 Amphitheatre Parkway -Owner : Mountain View -Owner : CA -Owner : US - diff --git a/spec/fixtures/responses/whois.nic.sl/sl/status_available.expected b/spec/fixtures/responses/whois.nic.sl/sl/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.nic.sl/sl/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.sl/sl/status_available.txt b/spec/fixtures/responses/whois.nic.sl/sl/status_available.txt deleted file mode 100644 index 35eb657a9..000000000 --- a/spec/fixtures/responses/whois.nic.sl/sl/status_available.txt +++ /dev/null @@ -1,39 +0,0 @@ ------------------------------------------------------------------------------- - WHOIS Server for NIC.SL - WHOIS Engine by adambengur@yahoo.com - Server contain only .SL domains - Visit http://www.nic.sl for more information ------------------------------------------------------------------------------- - NOTICE AND TERMS OF USE: - You are not authorized to access or query our WHOIS database through the use - of high-volume, automated, electronic processes. The data in WHOIS database - is provided by NIC.SL for information purposes only, and to assist persons - in obtaining information about or related to a domain name registration - record. NIC.SL does not guarantee its accuracy. By submitting a WHOIS query, - you agree to abide by the following terms of use: - You agree that you may use this data only for lawful purposes and that under - no circumstances will you use this data to: (1) allow, enable, or otherwise - support the transmission of mass unsolicited, commercial advertising or - solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, - automated, electronic processes that apply to NIC.SL (or its computer - systems). The compilation, repackaging, dissemination or other use of this - data is expressly prohibited without the prior written consent of NIC.SL. - You agree not to use high-volume, automated, electronic processes to access - or query the WHOIS database. NIC.SL reserves the right to terminate your - access to the WHOIS database in its sole discretion, including without - limitation, for excessive querying of the WHOIS database or for failure to - otherwise abide by this policy. NIC.SL reserves the right to modify these - terms at any time. - SIMPLE WORDS: Do not abuse this service or you'll get blocked. - ------------------------------------------------------------------------------- -Source IP: 87.18.220.141 -Server Time: 2010-11-17 18:06:13 -Queries Left: 26 ------------------------------------------------------------------------------- - -Domain Name: U34JEDZCQ.SL - -Domain not found, marked private, or error in your query. - - diff --git a/spec/fixtures/responses/whois.nic.sl/sl/status_registered.expected b/spec/fixtures/responses/whois.nic.sl/sl/status_registered.expected deleted file mode 100644 index aea8cc269..000000000 --- a/spec/fixtures/responses/whois.nic.sl/sl/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-05-18} - -#updated_on - %s == nil - -#expires_on - %s %CLASS{time} - %s %TIME{2011-05-18} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.sl/sl/status_registered.txt b/spec/fixtures/responses/whois.nic.sl/sl/status_registered.txt deleted file mode 100644 index 0b42e1a55..000000000 --- a/spec/fixtures/responses/whois.nic.sl/sl/status_registered.txt +++ /dev/null @@ -1,80 +0,0 @@ ------------------------------------------------------------------------------- - WHOIS Server for NIC.SL - WHOIS Engine by adambengur@yahoo.com - Server contain only .SL domains - Visit http://www.nic.sl for more information ------------------------------------------------------------------------------- - NOTICE AND TERMS OF USE: - You are not authorized to access or query our WHOIS database through the use - of high-volume, automated, electronic processes. The data in WHOIS database - is provided by NIC.SL for information purposes only, and to assist persons - in obtaining information about or related to a domain name registration - record. NIC.SL does not guarantee its accuracy. By submitting a WHOIS query, - you agree to abide by the following terms of use: - You agree that you may use this data only for lawful purposes and that under - no circumstances will you use this data to: (1) allow, enable, or otherwise - support the transmission of mass unsolicited, commercial advertising or - solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, - automated, electronic processes that apply to NIC.SL (or its computer - systems). The compilation, repackaging, dissemination or other use of this - data is expressly prohibited without the prior written consent of NIC.SL. - You agree not to use high-volume, automated, electronic processes to access - or query the WHOIS database. NIC.SL reserves the right to terminate your - access to the WHOIS database in its sole discretion, including without - limitation, for excessive querying of the WHOIS database or for failure to - otherwise abide by this policy. NIC.SL reserves the right to modify these - terms at any time. - SIMPLE WORDS: Do not abuse this service or you'll get blocked. - ------------------------------------------------------------------------------- -Source IP: 87.18.220.141 -Server Time: 2010-11-17 18:06:27 -Queries Left: 25 ------------------------------------------------------------------------------- - -Domain Name: GOOGLE.SL - -Registrar: NIC.SL (http://www.nic.sl) -Registration Date: 2008-05-18 -Expiration Date: 2011-05-18 -Last Updated: 0000-00-00 - -Name Server: NS1.GOOGLE.COM -Name Server: NS2.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS4.GOOGLE.COM - -Registrant Handle: C15964-1211155136 -Registrant Name: Domain Admin -Registrant Company: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State: Ca -Registrant Postal: 94043 -Registrant Country: Us -Registrant Voice: 1-6502530000 -Registrant Fax: 1-6506188571 -Registrant Email: dns-admin@google.com -Administrative Handle: C15964-1211155137 -Administrative Name: Ccops Domains -Administrative Company: Markmonitor Inc. -Administrative Street: 10400 Overland Road Pmb 155 -Administrative City: Boise -Administrative State: Id -Administrative Postal: 83709 -Administrative Country: Us -Administrative Voice: +1.2083895740 -Administrative Fax: +1.2083895771 -Administrative Email: ccops@markmonitor.com -Technical Handle: C15964-1211155138 -Technical Name: Domain Admin -Technical Company: Google Inc. -Technical Street: 1600 Amphitheatre Parkway -Technical City: Mountain View -Technical State: Ca -Technical Postal: 94043 -Technical Country: Us -Technical Voice: +1.6502530000 -Technical Fax: +1.6506188571 -Technical Email: dns-admin@google.com - diff --git a/spec/fixtures/responses/whois.nic.sm/sm/status_available.expected b/spec/fixtures/responses/whois.nic.sm/sm/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.nic.sm/sm/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.sm/sm/status_available.txt b/spec/fixtures/responses/whois.nic.sm/sm/status_available.txt deleted file mode 100644 index a693ac238..000000000 --- a/spec/fixtures/responses/whois.nic.sm/sm/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No entries found. diff --git a/spec/fixtures/responses/whois.nic.sm/sm/status_registered.expected b/spec/fixtures/responses/whois.nic.sm/sm/status_registered.expected deleted file mode 100644 index 2e819e135..000000000 --- a/spec/fixtures/responses/whois.nic.sm/sm/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-03 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2008-08-01 00:00:00 UTC} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.sm/sm/status_registered.txt b/spec/fixtures/responses/whois.nic.sm/sm/status_registered.txt deleted file mode 100644 index e67560dda..000000000 --- a/spec/fixtures/responses/whois.nic.sm/sm/status_registered.txt +++ /dev/null @@ -1,30 +0,0 @@ -Domain Name: google.sm -Registration date: 03/04/2003 -Last Update: 01/08/2008 -Status: Active - -Owner: -Rose Hagan -Google, Inc. -1600 Amphitheatre Parkway -US 94043 Mountain View (CA) -US -Phone: +1 650 2530000 -Fax: +1 650 6188571 -Email: dns-admin@google.com - -Technical Contact: -Domain Names Department -Visiant Outsourcing S.r.l. -Strada del Drosso 128/6 -I 10135 Torino (TO) -IT -Phone: +39 011 3473520 -Fax: +39 011 3473522 -Email: domains.outsourcing@visiant.it - -DNS Servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com diff --git a/spec/fixtures/responses/whois.nic.sn/sn/status_available.expected b/spec/fixtures/responses/whois.nic.sn/sn/status_available.expected deleted file mode 100644 index 81f085664..000000000 --- a/spec/fixtures/responses/whois.nic.sn/sn/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "u34jedzcq.sn" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.sn/sn/status_available.txt b/spec/fixtures/responses/whois.nic.sn/sn/status_available.txt deleted file mode 100644 index 07053f09c..000000000 --- a/spec/fixtures/responses/whois.nic.sn/sn/status_available.txt +++ /dev/null @@ -1,3 +0,0 @@ - - -Domain u34jedzcq.sn not found diff --git a/spec/fixtures/responses/whois.nic.sn/sn/status_registered.expected b/spec/fixtures/responses/whois.nic.sn/sn/status_registered.expected deleted file mode 100644 index acb14e3b4..000000000 --- a/spec/fixtures/responses/whois.nic.sn/sn/status_registered.expected +++ /dev/null @@ -1,73 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.sn" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-05-08 17:59:38.43} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == "registry" - %s.name == "registry" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "C4-SN" - %s[0].name == "C4-SN" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "C5-SN" - %s[0].name == "C5-SN" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C6-SN" - %s[0].name == "C6-SN" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.sn/sn/status_registered.txt b/spec/fixtures/responses/whois.nic.sn/sn/status_registered.txt deleted file mode 100644 index 7c6f610c8..000000000 --- a/spec/fixtures/responses/whois.nic.sn/sn/status_registered.txt +++ /dev/null @@ -1,14 +0,0 @@ - - -Domain: google.sn -Created: 2008-05-08 17:59:38.43 -Registrar: registry -Owner's handle: C4-SN -Administrative Contact's handle: C5-SN -Technical Contact's handle: C6-SN - -Nameserver: ns1.google.com -Nameserver: ns2.google.com -Nameserver: ns3.google.com -Nameserver: ns4.google.com - diff --git a/spec/fixtures/responses/whois.nic.so/so/status_available.expected b/spec/fixtures/responses/whois.nic.so/so/status_available.expected deleted file mode 100644 index 03cb4d2b5..000000000 --- a/spec/fixtures/responses/whois.nic.so/so/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.so/so/status_available.txt b/spec/fixtures/responses/whois.nic.so/so/status_available.txt deleted file mode 100644 index d3c062ff0..000000000 --- a/spec/fixtures/responses/whois.nic.so/so/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Not found: u34jedzcq.so diff --git a/spec/fixtures/responses/whois.nic.so/so/status_registered.expected b/spec/fixtures/responses/whois.nic.so/so/status_registered.expected deleted file mode 100644 index 1a157bf4a..000000000 --- a/spec/fixtures/responses/whois.nic.so/so/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == ["serverDeleteProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2011-01-24 02:22:24 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-01-25 04:20:26 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-01-24 02:22:24 UTC} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.so/so/status_registered.txt b/spec/fixtures/responses/whois.nic.so/so/status_registered.txt deleted file mode 100644 index a39cf6f2d..000000000 --- a/spec/fixtures/responses/whois.nic.so/so/status_registered.txt +++ /dev/null @@ -1,22 +0,0 @@ -Whois Results for "google.so". - -Domain Name: google.so -Creation Date: 2011-01-24T02:22:24.0Z -Last Updated On: 2011-01-25T04:20:26.0Z -Expiration Date: 2014-01-24T02:22:24.0Z -Sponsoring Registrar: MarkMonitor Inc. -Status: serverDeleteProhibited -Status: serverTransferProhibited -Registrant ID: mm-google -Admin Contact ID: mm-google -Billing Contact ID: so-mm-billing -Tech Contact ID: mm-google -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -Access to WHOIS information is provided to assist persons in determining -the contents of a domain name registration record in the registry database. -The data in this record is provided for informational purposes only without -any accuracy guarantee. diff --git a/spec/fixtures/responses/whois.nic.space/space/status_available.expected b/spec/fixtures/responses/whois.nic.space/space/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.space/space/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.space/space/status_available.txt b/spec/fixtures/responses/whois.nic.space/space/status_available.txt deleted file mode 100644 index b1b30e987..000000000 --- a/spec/fixtures/responses/whois.nic.space/space/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.space/space/status_registered.expected b/spec/fixtures/responses/whois.nic.space/space/status_registered.expected deleted file mode 100644 index 64ab58ae9..000000000 --- a/spec/fixtures/responses/whois.nic.space/space/status_registered.expected +++ /dev/null @@ -1,116 +0,0 @@ -#disclaimer - %s == "Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance." - - -#domain - %s == "nic.space" - -#domain_id - %s == "D2361836-CNIC" - - -#status - %s == ["ok https://icann.org/epp#ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-04-10T09:14:07.0Z} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-04-04T00:14:21.0Z} - -#expires_on - %s %CLASS{time} - %s %TIME{2016-04-10T23:59:59.0Z} - - -#registrar - %s %CLASS{registrar} - %s.id == "9999" - %s.name == "CentralNic Ltd" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "C11480" - %s[0].name == "Domain Administrator" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == "" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2033880600" - %s[0].fax == "+44.2033880601" - %s[0].email == "domains@centralnic.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "C11480" - %s[0].name == "Domain Administrator" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == "" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2033880600" - %s[0].fax == "+44.2033880601" - %s[0].email == "domains@centralnic.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].id == "C11480" - %s[0].name == "Domain Administrator" - %s[0].organization == "CentralNic Ltd" - %s[0].address == "35-39 Moorgate" - %s[0].city == "London" - %s[0].zip == "EC2R 6AR" - %s[0].state == "" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.2033880600" - %s[0].fax == "+44.2033880601" - %s[0].email == "domains@centralnic.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns0.centralnic-dns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.centralnic-dns.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.centralnic-dns.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns3.centralnic-dns.com" - %s[4] %CLASS{nameserver} - %s[4].name == "ns4.centralnic-dns.com" - %s[5] %CLASS{nameserver} - %s[5].name == "ns5.centralnic-dns.com" diff --git a/spec/fixtures/responses/whois.nic.space/space/status_registered.txt b/spec/fixtures/responses/whois.nic.space/space/status_registered.txt deleted file mode 100644 index 812fc5949..000000000 --- a/spec/fixtures/responses/whois.nic.space/space/status_registered.txt +++ /dev/null @@ -1,86 +0,0 @@ -Domain Name: NIC.SPACE -Domain ID: D2361836-CNIC -WHOIS Server: whois.centralnic.com -Referral URL: http://www.centralnic.com/ -Updated Date: 2015-04-04T00:14:21.0Z -Creation Date: 2014-04-10T09:14:07.0Z -Registry Expiry Date: 2016-04-10T23:59:59.0Z -Sponsoring Registrar: CentralNic Ltd -Sponsoring Registrar IANA ID: 9999 -Domain Status: ok https://icann.org/epp#ok -Registrant ID: C11480 -Registrant Name: Domain Administrator -Registrant Organization: CentralNic Ltd -Registrant Street: 35-39 Moorgate -Registrant City: London -Registrant State/Province: -Registrant Postal Code: EC2R 6AR -Registrant Country: GB -Registrant Phone: +44.2033880600 -Registrant Phone Ext: -Registrant Fax: +44.2033880601 -Registrant Fax Ext: -Registrant Email: domains@centralnic.com -Admin ID: C11480 -Admin Name: Domain Administrator -Admin Organization: CentralNic Ltd -Admin Street: 35-39 Moorgate -Admin City: London -Admin State/Province: -Admin Postal Code: EC2R 6AR -Admin Country: GB -Admin Phone: +44.2033880600 -Admin Phone Ext: -Admin Fax: +44.2033880601 -Admin Fax Ext: -Admin Email: domains@centralnic.com -Tech ID: C11480 -Tech Name: Domain Administrator -Tech Organization: CentralNic Ltd -Tech Street: 35-39 Moorgate -Tech City: London -Tech State/Province: -Tech Postal Code: EC2R 6AR -Tech Country: GB -Tech Phone: +44.2033880600 -Tech Phone Ext: -Tech Fax: +44.2033880601 -Tech Fax Ext: -Tech Email: domains@centralnic.com -Name Server: NS0.CENTRALNIC-DNS.COM -Name Server: NS1.CENTRALNIC-DNS.COM -Name Server: NS2.CENTRALNIC-DNS.COM -Name Server: NS3.CENTRALNIC-DNS.COM -Name Server: NS4.CENTRALNIC-DNS.COM -Name Server: NS5.CENTRALNIC-DNS.COM -DNSSEC: unsigned -Billing ID: C11480 -Billing Name: Domain Administrator -Billing Organization: CentralNic Ltd -Billing Street: 35-39 Moorgate -Billing City: London -Billing State/Province: -Billing Postal Code: EC2R 6AR -Billing Country: GB -Billing Phone: +44.2033880600 -Billing Phone Ext: -Billing Fax: +44.2033880601 -Billing Fax Ext: -Billing Email: domains@centralnic.com ->>> Last update of WHOIS database: 2015-11-30T04:08:49.0Z <<< - -For more information on Whois status codes, please visit https://icann.org/epp - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names registered by our -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Access to the whois service is rate limited. For more information, please -see https://registrar-console.centralnic.com/pub/whois_guidance. - diff --git a/spec/fixtures/responses/whois.nic.st/st/status_available.expected b/spec/fixtures/responses/whois.nic.st/st/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.nic.st/st/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.st/st/status_available.txt b/spec/fixtures/responses/whois.nic.st/st/status_available.txt deleted file mode 100644 index 9e8933892..000000000 --- a/spec/fixtures/responses/whois.nic.st/st/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No entries found for domain u34jedzcq.st diff --git a/spec/fixtures/responses/whois.nic.st/st/status_registered.expected b/spec/fixtures/responses/whois.nic.st/st/status_registered.expected deleted file mode 100644 index 271d6bc42..000000000 --- a/spec/fixtures/responses/whois.nic.st/st/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-06-15} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-05-18} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.st/st/status_registered.txt b/spec/fixtures/responses/whois.nic.st/st/status_registered.txt deleted file mode 100644 index 8835262f7..000000000 --- a/spec/fixtures/responses/whois.nic.st/st/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ -Whois Server Version 1.271 - - Domain Name: google.st - Registrar: MarkMonitor - Whois at: whois.nic.st - Name Server: ns1.google.com - Name Server: ns2.google.com - Creation Date: 15-Jun-2004 - Updated Date: 18-May-2009 - -The data in the ST Registry WHOIS database is provided by The Domain Council of -Sao Tome and Principe for information purposes. - -The ST Registry does not guarantee its accuracy. - -The data in the WHOIS database is protected by copyright. - -By submitting a WHOIS query, you agree that you will use this data according with -the terms and policy that is publicly available on http://www.nic.st/terms_of_service -and that you under no circumstances will use this data to allow, enable, or -otherwise support the transmission of mass unsolicited commercial advertising or -solicitations via e-mail (spam). - -The Domain Council of Sao Tome reserves the right to modify these terms at any time. - -Registration Service Provided By: MarkMonitor -Contact: ccops@markmonitor.com - -Domain name: google.st - -Administrative Contact: - Owner: Google Inc. - Contact: Rose Hagan - Address: 1600 Amphitheatre Parkway - State: CA - City: Mountain View - Country: US - -Status: Active - - Latitude: 37.386051 - Longitude: -122.083855 -Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com diff --git a/spec/fixtures/responses/whois.nic.tc/tc/status_available.expected b/spec/fixtures/responses/whois.nic.tc/tc/status_available.expected deleted file mode 100644 index 8925332d1..000000000 --- a/spec/fixtures/responses/whois.nic.tc/tc/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.tc" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tc/tc/status_available.txt b/spec/fixtures/responses/whois.nic.tc/tc/status_available.txt deleted file mode 100644 index 105f655a7..000000000 --- a/spec/fixtures/responses/whois.nic.tc/tc/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ -Domain Name: u34jedzcq.tc -Domain Status: No Object Found - -The data in the WHOIS database of Meridian TLD Corporation is provided by Meridian TLD Corporation for information purposes, and to assist persons in obtaining information about or related to domain name registration records. Meridian TLD Corporation does not guarantee its accuracy.By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to -1) allow, enable, or otherwise support the transmission of mass - unsolicited, commercial advertising or solicitations via E-mail (spam) -or -2) enable high volume, automated, electronic processes that apply to Meridian TLD Corporation or its systems. -Meridian TLD Corporation reserves the right to modify these terms. -By submitting this query, you agree to abide by this policy. - ->>> Last update of WHOIS database: 2014-11-22T14:06:09.520Z <<< \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.tc/tc/status_registered.expected b/spec/fixtures/responses/whois.nic.tc/tc/status_registered.expected deleted file mode 100644 index c6e776aee..000000000 --- a/spec/fixtures/responses/whois.nic.tc/tc/status_registered.expected +++ /dev/null @@ -1,48 +0,0 @@ -#domain - %s == "google.tc" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-10-11 21:00:00 UTC} - -#updated_on - %s == nil - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-12 21:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.tc/tc/status_registered.txt b/spec/fixtures/responses/whois.nic.tc/tc/status_registered.txt deleted file mode 100644 index 7d8f91e5a..000000000 --- a/spec/fixtures/responses/whois.nic.tc/tc/status_registered.txt +++ /dev/null @@ -1,87 +0,0 @@ -Domain Name: google.tc -WHOIS Server: whois.meridiantld.net -Creation Date: 2006-10-11T21:00:00.000Z -Registry Expiry Date: 2014-10-12T21:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: 292 -Domain Status: ok -Domain Status: serverHold - -Registrant Name: Google Inc. -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6503300100 -Registrant Phone Ext: -Registrant Email: dns-admin@google.com - -Admin Name: Google Inc. -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6503300100 -Admin Phone Ext: -Admin Fax: +1.6506181499 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Billing Name: Domain Admin -Billing Organization: MarkMonitor Inc. -Billing Street: 391 N. Ancestor Place -Billing City: Boise -Billing State/Province: ID -Billing Postal Code: 83704 -Billing Country: US -Billing Phone: +1.2083895740 -Billing Phone Ext: -Billing Fax: +1.2083895771 -Billing Fax Ext: -Billing Email: ccopsbilling@markmonitor.com - -Tech Name: Google Inc. -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6503300100 -Tech Phone Ext: -Tech Fax: +1.6506181499 -Tech Fax Ext: -Tech Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: -Sponsoring Registrar Address: 391 N Ancestor Place -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895799 -Sponsoring Registrar Customer Service Contact: -Sponsoring Registrar Customer Service Email: -Sponsoring Registrar Admin Contact: -Sponsoring Registrar Admin Email: - -The data in the WHOIS database of Meridian TLD Corporation is provided by Meridian TLD Corporation for information purposes, and to assist persons in obtaining information about or related to domain name registration records. Meridian TLD Corporation does not guarantee its accuracy.By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to -1) allow, enable, or otherwise support the transmission of mass - unsolicited, commercial advertising or solicitations via E-mail (spam) -or -2) enable high volume, automated, electronic processes that apply to Meridian TLD Corporation or its systems. -Meridian TLD Corporation reserves the right to modify these terms. -By submitting this query, you agree to abide by this policy. - ->>> Last update of WHOIS database: 2014-11-22T14:06:09.520Z <<< \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.tech/tech/status_available.expected b/spec/fixtures/responses/whois.nic.tech/tech/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.tech/tech/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tech/tech/status_available.txt b/spec/fixtures/responses/whois.nic.tech/tech/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.nic.tech/tech/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.tech/tech/status_registered.expected b/spec/fixtures/responses/whois.nic.tech/tech/status_registered.expected deleted file mode 100644 index de2a3f4f7..000000000 --- a/spec/fixtures/responses/whois.nic.tech/tech/status_registered.expected +++ /dev/null @@ -1,115 +0,0 @@ -#disclaimer - %s == "Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance." - - -#domain - %s == "google.tech" - -#domain_id - %s == "D9157622-CNIC" - - -#status - %s == ["serverTransferProhibited https://icann.org/epp#serverTransferProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2015-07-29 00:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-08-04 09:00:43 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-07-29 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor, Inc (TLDs)" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.tech/tech/status_registered.txt b/spec/fixtures/responses/whois.nic.tech/tech/status_registered.txt deleted file mode 100644 index 5f5e2ce1b..000000000 --- a/spec/fixtures/responses/whois.nic.tech/tech/status_registered.txt +++ /dev/null @@ -1,74 +0,0 @@ -Domain Name: GOOGLE.TECH -Domain ID: D9157622-CNIC -WHOIS Server: whois.markmonitor.com -Referral URL: https://www.markmonitor.com/ -Updated Date: 2015-08-04T09:00:43.0Z -Creation Date: 2015-07-29T00:00:00.0Z -Registry Expiry Date: 2017-07-29T23:59:59.0Z -Sponsoring Registrar: MarkMonitor, Inc (TLDs) -Sponsoring Registrar IANA ID: 292 -Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited -Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited -Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited -Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited -Registrant ID: mmr-87489 -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6502530001 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Admin ID: mmr-87489 -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6502530001 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Tech ID: mmr-87489 -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6502530001 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: NS2.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS1.GOOGLE.COM -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-09-18T00:34:52.0Z <<< - -For more information on Whois status codes, please visit https://icann.org/epp - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names registered by our -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Access to the whois service is rate limited. For more information, please -see https://registrar-console.centralnic.com/pub/whois_guidance. - diff --git a/spec/fixtures/responses/whois.nic.tel/tel/status_available.expected b/spec/fixtures/responses/whois.nic.tel/tel/status_available.expected deleted file mode 100644 index ac88e43ba..000000000 --- a/spec/fixtures/responses/whois.nic.tel/tel/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == "u34jedzcq.tel" - -#domain_id - %s == nil - - -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tel/tel/status_available.txt b/spec/fixtures/responses/whois.nic.tel/tel/status_available.txt deleted file mode 100644 index 68875ea9a..000000000 --- a/spec/fixtures/responses/whois.nic.tel/tel/status_available.txt +++ /dev/null @@ -1,59 +0,0 @@ -Not found: u34jedzcq.tel - ->>>> Whois database was last updated on: Tue May 07 12:18:31 GMT 2013 <<<< - -Telnic, Ltd., the Registry Operator for .TEL, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Telnic registry database. Telnic makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Telnic's prior written permission. Telnic reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -Contact information: Disclosure of contact data is restricted because -of UK and EU Data Protection legislation. The contact details for this -contact ID may be available by looking up a domain object in the WHOIS -system. The information can also be obtained through the Telnic -Special Access Service. Visit http://www.sas.nic.tel for more details. - - -.TEL WHOIS DISCLAIMER AND TERMS & CONDITIONS - -By submitting a query and/or making further queries in the future, you -agree to these terms and conditions: - -This whois information is provided by Telnic Ltd, a UK registered company. -Telnic operates the Registry for .tel top level domain names. whois information -is provided for information purposes only and Telnic shall not be responsible -and shall have no liability for any information that is incomplete or -inaccurate. - -Telnic is the owner of all Copyright (c) and Database Rights in information -that is made available via this whois service. You are not licensed to use -the information you obtain from this whois service for any purpose other -than to obtain information about whether a .tel domain name is available -for registration or to obtain the contact information of a registrant of -of a domain name that is already registered. You must not -utilise, combine or compile any information you obtain from this whois service -to produce a list or database containing such information without obtaining -a license from Telnic to do so. At our request, which may be made for any -reason, you will destroy all information you obtain or have obtained -using this whois service. - -You must not use the information you obtain from this whois service -to: (a) allow, enable or otherwise facilitate or support the transmission of -unsolicited commercial advertising or other marketing information by any means; -(b) harass any person; or (c) cause nuisance in any possible way to any person. - - diff --git a/spec/fixtures/responses/whois.nic.tel/tel/status_registered.expected b/spec/fixtures/responses/whois.nic.tel/tel/status_registered.expected deleted file mode 100644 index d5ee8f004..000000000 --- a/spec/fixtures/responses/whois.nic.tel/tel/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#domain - %s == "google.tel" - -#domain_id - %s == "D587349-TEL" - - -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-03-23 23:59:59 GMT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-02-19 10:23:33 GMT} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-03-22 23:59:59 GMT} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MARKMONITOR, INC." - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MMR-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MMR-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MMR-2383" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{5} - %s[0] %CLASS{nameserver} - %s[0].name == "a0.cth.dns.nic.tel" - %s[1] %CLASS{nameserver} - %s[1].name == "d0.cth.dns.nic.tel" - %s[2] %CLASS{nameserver} - %s[2].name == "n0.cth.dns.nic.tel" - %s[3] %CLASS{nameserver} - %s[3].name == "s0.cth.dns.nic.tel" - %s[4] %CLASS{nameserver} - %s[4].name == "t0.cth.dns.nic.tel" diff --git a/spec/fixtures/responses/whois.nic.tel/tel/status_registered.txt b/spec/fixtures/responses/whois.nic.tel/tel/status_registered.txt deleted file mode 100644 index 30025e98a..000000000 --- a/spec/fixtures/responses/whois.nic.tel/tel/status_registered.txt +++ /dev/null @@ -1,125 +0,0 @@ -Domain Name: GOOGLE.TEL -Domain ID: D587349-TEL -Sponsoring Registrar: MARKMONITOR, INC. -Sponsoring Registrar IANA ID: 292 -Registrar URL (registration services): www.markmonitor.com -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Registrant ID: MMR-2383 -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Address1: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.6502530000 -Registrant Facsimile Number: +1.6506188571 -Registrant Email: dns-admin@google.com -Administrative Contact ID: MMR-2383 -Administrative Contact Name: DNS Admin -Administrative Contact Organization: Google Inc. -Administrative Contact Address1: 1600 Amphitheatre Parkway -Administrative Contact City: Mountain View -Administrative Contact State/Province: CA -Administrative Contact Postal Code: 94043 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.6502530000 -Administrative Contact Facsimile Number: +1.6506188571 -Administrative Contact Email: dns-admin@google.com -Billing Contact ID: MMR-132163 -Billing Contact Name: Domain Admin -Billing Contact Organization: DNStination Inc. -Billing Contact Address1: 303 Second Street -Billing Contact Address2: Suite 800 North -Billing Contact City: San Francisco -Billing Contact State/Province: CA -Billing Contact Postal Code: 94107 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.4155319335 -Billing Contact Facsimile Number: +1.4155319336 -Billing Contact Email: admin@dnstinations.com -Technical Contact ID: MMR-2383 -Technical Contact Name: DNS Admin -Technical Contact Organization: Google Inc. -Technical Contact Address1: 1600 Amphitheatre Parkway -Technical Contact City: Mountain View -Technical Contact State/Province: CA -Technical Contact Postal Code: 94043 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.6502530000 -Technical Contact Facsimile Number: +1.6506188571 -Technical Contact Email: dns-admin@google.com -Name Server: A0.CTH.DNS.NIC.TEL -Name Server: D0.CTH.DNS.NIC.TEL -Name Server: N0.CTH.DNS.NIC.TEL -Name Server: S0.CTH.DNS.NIC.TEL -Name Server: T0.CTH.DNS.NIC.TEL -Created by Registrar: INJECTCSR -Last Updated by Registrar: MARKMONITOR, INC. -Domain Registration Date: Mon Mar 23 23:59:59 GMT 2009 -Domain Expiration Date: Sat Mar 22 23:59:59 GMT 2014 -Domain Last Updated Date: Tue Feb 19 10:23:33 GMT 2013 - ->>>> Whois database was last updated on: Tue May 07 12:20:37 GMT 2013 <<<< - -Telnic, Ltd., the Registry Operator for .TEL, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Telnic registry database. Telnic makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Telnic's prior written permission. Telnic reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -Contact information: Disclosure of contact data is restricted because -of UK and EU Data Protection legislation. The contact details for this -contact ID may be available by looking up a domain object in the WHOIS -system. The information can also be obtained through the Telnic -Special Access Service. Visit http://www.sas.nic.tel for more details. - - -.TEL WHOIS DISCLAIMER AND TERMS & CONDITIONS - -By submitting a query and/or making further queries in the future, you -agree to these terms and conditions: - -This whois information is provided by Telnic Ltd, a UK registered company. -Telnic operates the Registry for .tel top level domain names. whois information -is provided for information purposes only and Telnic shall not be responsible -and shall have no liability for any information that is incomplete or -inaccurate. - -Telnic is the owner of all Copyright (c) and Database Rights in information -that is made available via this whois service. You are not licensed to use -the information you obtain from this whois service for any purpose other -than to obtain information about whether a .tel domain name is available -for registration or to obtain the contact information of a registrant of -of a domain name that is already registered. You must not -utilise, combine or compile any information you obtain from this whois service -to produce a list or database containing such information without obtaining -a license from Telnic to do so. At our request, which may be made for any -reason, you will destroy all information you obtain or have obtained -using this whois service. - -You must not use the information you obtain from this whois service -to: (a) allow, enable or otherwise facilitate or support the transmission of -unsolicited commercial advertising or other marketing information by any means; -(b) harass any person; or (c) cause nuisance in any possible way to any person. - - diff --git a/spec/fixtures/responses/whois.nic.tl/tl/status_available.expected b/spec/fixtures/responses/whois.nic.tl/tl/status_available.expected deleted file mode 100644 index 270649cfb..000000000 --- a/spec/fixtures/responses/whois.nic.tl/tl/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.tl" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tl/tl/status_available.txt b/spec/fixtures/responses/whois.nic.tl/tl/status_available.txt deleted file mode 100644 index db3413e31..000000000 --- a/spec/fixtures/responses/whois.nic.tl/tl/status_available.txt +++ /dev/null @@ -1,22 +0,0 @@ -Domain Name: u34jedzcq.tl -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2013-12-18T14:31:01.062Z <<< diff --git a/spec/fixtures/responses/whois.nic.tl/tl/status_registered.expected b/spec/fixtures/responses/whois.nic.tl/tl/status_registered.expected deleted file mode 100644 index 030dcb902..000000000 --- a/spec/fixtures/responses/whois.nic.tl/tl/status_registered.expected +++ /dev/null @@ -1,45 +0,0 @@ -#domain - %s == "google.tl" - -#domain_id - %s == "19785-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-05-23 12:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-06 07:41:57 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-23 12:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.nic.tl/tl/status_registered.txt b/spec/fixtures/responses/whois.nic.tl/tl/status_registered.txt deleted file mode 100644 index 4e7e6852b..000000000 --- a/spec/fixtures/responses/whois.nic.tl/tl/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain Name: google.tl -Domain ID: 19785-CoCCA -WHOIS Server: whois.nic.tl -Referral URL: -Updated Date: 2013-12-06T07:41:57.133Z -Creation Date: 2003-05-23T12:00:00.000Z -Registry Expiry Date: 2014-05-23T12:00:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 955939-CoCCA -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 955939-CoCCA -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by CoCCA as a service to the internet -community on behalf of CoCCA members. (http://www.cocca.cx/members.jsp) - -The data is for information purposes only. CoCCA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to CoCCA it's members (or CoCCA or member computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - -CoCCA Helpdesk | http://helpdesk.cocca.cx - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.nic.tm/tm/status_available.expected b/spec/fixtures/responses/whois.nic.tm/tm/status_available.expected deleted file mode 100644 index 49c309995..000000000 --- a/spec/fixtures/responses/whois.nic.tm/tm/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "u34jedzcq.tm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#created_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.tm/tm/status_available.txt b/spec/fixtures/responses/whois.nic.tm/tm/status_available.txt deleted file mode 100644 index ebb7cb565..000000000 --- a/spec/fixtures/responses/whois.nic.tm/tm/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Domain u34jedzcq.tm is available for purchase -Please visit http://www.nic.tm/ for more information - diff --git a/spec/fixtures/responses/whois.nic.tm/tm/status_registered.expected b/spec/fixtures/responses/whois.nic.tm/tm/status_registered.expected deleted file mode 100644 index 71b1a9cad..000000000 --- a/spec/fixtures/responses/whois.nic.tm/tm/status_registered.expected +++ /dev/null @@ -1,63 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.tm" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == nil - %s[0].state == "CA" - %s[0].country == "US" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.nic.tm/tm/status_registered.txt b/spec/fixtures/responses/whois.nic.tm/tm/status_registered.txt deleted file mode 100644 index c8fc5e1a9..000000000 --- a/spec/fixtures/responses/whois.nic.tm/tm/status_registered.txt +++ /dev/null @@ -1,10 +0,0 @@ - -Domain : google.tm -Status : Client Updt Lock -Owner : DNS Admin -Owner : Google Inc. -Owner : 1600 Amphitheatre Parkway -Owner : Mountain View -Owner : CA -Owner : US - diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_contact_organization.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_contact_organization.txt deleted file mode 100644 index 9603c255a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_contact_organization.txt +++ /dev/null @@ -1,50 +0,0 @@ -** Registrant: - Google Inc. - 1600 Amphitheatre Parkway - Mountain View CA - Out of Turkey, - United States of America - dns-admin@google.com - + 1-650-2530000- - + 1-650-2530001- - - -** Administrative Contact: -NIC Handle : mi154-metu -Organization Name : MarkMonitor, Inc -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Billing Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Domain Servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com - -** Additional Info: -Created on..............: 2001-Aug-23. -Expires on..............: 2013-Aug-22. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_contact_person.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_contact_person.txt deleted file mode 100644 index dbc55c13d..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_contact_person.txt +++ /dev/null @@ -1,42 +0,0 @@ -** Registrant: - Sevdin Filiz - Çýnar mh. 10.sok - - Ýstanbul, - Türkiye - phpbb@canver.net - + 90-212-6116571- - + - - -** Administrative Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Billing Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Domain Servers: -ns1.phpsunucu.com -ns2.phpsunucu.com - -** Additional Info: -Created on..............: 2009-Nov-16. -Expires on..............: 2010-Nov-15. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.expected deleted file mode 100644 index 4cdcdaba4..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "titan.radore.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "janus.radore.com" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "mimas.rh.com.tr" - %s[2].ipv4 == "77.75.34.2" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.txt deleted file mode 100644 index 8d97a527b..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.txt +++ /dev/null @@ -1,52 +0,0 @@ -** Registrant: - RH RADORE HOSTING INTERNET HÝZMETLERÝ TÝC. LTD. ÞTÝ. - Ataturk Sanayi Sitesi 1. Kýsým A Blok No:128 - Maslak - Ýstanbul, - Türkiye - kubilay@akyol.info - + 90-212-3479932- - + - - -** Administrative Contact: -NIC Handle : rrh2-metu -Organization Name : RH RADORE HOSTING INTERNET HÝZMETLERÝ TÝC. LTD. ÞTÝ. -Address : Büyükdere Cad. No:171 Metrocity AVM 4B. D.39-46S - Levent - Ýstanbul,34394 - Türkiye -Phone : + 90-212-3440404- -Fax : + 90-212-3440009- - - -** Technical Contact: -NIC Handle : rrh2-metu -Organization Name : RH RADORE HOSTING INTERNET HÝZMETLERÝ TÝC. LTD. ÞTÝ. -Address : Büyükdere Cad. No:171 Metrocity AVM 4B. D.39-46S - Levent - Ýstanbul,34394 - Türkiye -Phone : + 90-212-3440404- -Fax : + 90-212-3440009- - - -** Billing Contact: -NIC Handle : rrh2-metu -Organization Name : RH RADORE HOSTING INTERNET HÝZMETLERÝ TÝC. LTD. ÞTÝ. -Address : Büyükdere Cad. No:171 Metrocity AVM 4B. D.39-46S - Levent - Ýstanbul,34394 - Türkiye -Phone : + 90-212-3440404- -Fax : + 90-212-3440009- - - -** Domain Servers: -titan.radore.com -janus.radore.com -mimas.rh.com.tr 77.75.34.2 - -** Additional Info: -Created on..............: 2004-Mar-16. -Expires on..............: 2015-Mar-15. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.expected b/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.expected deleted file mode 100644 index d3a4dc3a9..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.expected +++ /dev/null @@ -1,7 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.phpsunucu.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.phpsunucu.com" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.txt deleted file mode 100644 index dbc55c13d..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.txt +++ /dev/null @@ -1,42 +0,0 @@ -** Registrant: - Sevdin Filiz - Çýnar mh. 10.sok - - Ýstanbul, - Türkiye - phpbb@canver.net - + 90-212-6116571- - + - - -** Administrative Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Billing Contact: -NIC Handle : sf256-metu -Person : Sevdin Filiz -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Domain Servers: -ns1.phpsunucu.com -ns2.phpsunucu.com - -** Additional Info: -Created on..............: 2009-Nov-16. -Expires on..............: 2010-Nov-15. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.expected b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.expected deleted file mode 100644 index 56302a816..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.expected +++ /dev/null @@ -1,17 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Yahoo Ýnc." - %s[0].organization == nil - %s[0].address == "701 First Avenue Sunnyvale Ca 94089" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "United States of America" - %s[0].country_code == nil - %s[0].phone == "+ 901-408-3493300-" - %s[0].fax == "+ 901-408-3493301" - %s[0].email == "domainadmin@yahoo-inc.com" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.txt deleted file mode 100644 index 0450d592a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.txt +++ /dev/null @@ -1,48 +0,0 @@ -** Registrant: - Yahoo Ýnc. - 701 First Avenue Sunnyvale Ca 94089 - - Out of Turkey, - United States of America - domainadmin@yahoo-inc.com - + 901-408-3493300- - + 901-408-3493301 - - -** Administrative Contact: -NIC Handle : mi154-metu -Organization Name : MarkMonitor, Inc -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Billing Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Domain Servers: -ns1.yahoo.com -ns5.yahoo.com - -** Additional Info: -Created on..............: 1998-Sep-22. -Expires on..............: 2013-Sep-21. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.expected b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.expected deleted file mode 100644 index ecc4dd02a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.expected +++ /dev/null @@ -1,17 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway\nMountain View CA" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "United States of America" - %s[0].country_code == nil - %s[0].phone == "+ 1-650-2530000-" - %s[0].fax == "+ 1-650-2530001-" - %s[0].email == "dns-admin@google.com" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.txt deleted file mode 100644 index 9603c255a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.txt +++ /dev/null @@ -1,50 +0,0 @@ -** Registrant: - Google Inc. - 1600 Amphitheatre Parkway - Mountain View CA - Out of Turkey, - United States of America - dns-admin@google.com - + 1-650-2530000- - + 1-650-2530001- - - -** Administrative Contact: -NIC Handle : mi154-metu -Organization Name : MarkMonitor, Inc -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Billing Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Domain Servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com - -** Additional Info: -Created on..............: 2001-Aug-23. -Expires on..............: 2013-Aug-22. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.expected b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.expected deleted file mode 100644 index f352ca52a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.expected +++ /dev/null @@ -1,17 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Hotel Bilgisayar Hizmetleri San. Tic. Turizm Ltd. Þti." - %s[0].organization == nil - %s[0].address == "Cumhuriyet Cd. No:61 Bingül Han Asma Kat\nElmadað" - %s[0].city == "Ýstanbul" - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "Türkiye" - %s[0].country_code == nil - %s[0].phone == "+ 90-212-2473997-" - %s[0].fax == "+ 90-212-2473995" - %s[0].email == "romeo6860@yahoo.com" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.txt b/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.txt deleted file mode 100644 index 1a01e58dd..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.txt +++ /dev/null @@ -1,50 +0,0 @@ -** Registrant: - Hotel Bilgisayar Hizmetleri San. Tic. Turizm Ltd. Þti. - Cumhuriyet Cd. No:61 Bingül Han Asma Kat - Elmadað - Ýstanbul, - Türkiye - romeo6860@yahoo.com - + 90-212-2473997- - + 90-212-2473995 - - -** Administrative Contact: -NIC Handle : hbh18-metu -Organization Name : Hotel Bilgisayar Hizmetleri San.Tic.Tur.Ltd.Sti -Address : Cumhuriyet.cad.No:61 Bingul han asma kat - Elmada-ISTANBUL - Ýstanbul, - Türkiye -Phone : + 90-212-2473997- -Fax : + 90-212-2473995- - - -** Technical Contact: -NIC Handle : hbh18-metu -Organization Name : Hotel Bilgisayar Hizmetleri San.Tic.Tur.Ltd.Sti -Address : Cumhuriyet.cad.No:61 Bingul han asma kat - Elmada-ISTANBUL - Ýstanbul, - Türkiye -Phone : + 90-212-2473997- -Fax : + 90-212-2473995- - - -** Billing Contact: -NIC Handle : hbh18-metu -Organization Name : Hotel Bilgisayar Hizmetleri San.Tic.Tur.Ltd.Sti -Address : Cumhuriyet.cad.No:61 Bingul han asma kat - Elmada-ISTANBUL - Ýstanbul, - Türkiye -Phone : + 90-212-2473997- -Fax : + 90-212-2473995- - - -** Domain Servers: -ns.hotel.com.tr 208.43.89.120 - -** Additional Info: -Created on..............: 2004-Jun-18. -Expires on..............: 2014-Jun-17. diff --git a/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.expected b/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.expected deleted file mode 100644 index 6e71500a4..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.txt b/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.txt deleted file mode 100644 index 8a229c82a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.txt +++ /dev/null @@ -1 +0,0 @@ -Invalid input diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_available.expected b/spec/fixtures/responses/whois.nic.tr/tr/status_available.expected deleted file mode 100644 index 54141352f..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_available.expected +++ /dev/null @@ -1,51 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s %ERROR{AttributeNotSupported} - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_available.txt b/spec/fixtures/responses/whois.nic.tr/tr/status_available.txt deleted file mode 100644 index aa296edac..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No match found for "u34jedzcq.com.tr" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.expected b/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.expected deleted file mode 100644 index dbc84f3e5..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.expected +++ /dev/null @@ -1,51 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s %ERROR{AttributeNotSupported} - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.txt b/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.txt deleted file mode 100644 index 8a229c82a..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_invalid.txt +++ /dev/null @@ -1 +0,0 @@ -Invalid input diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_registered.expected b/spec/fixtures/responses/whois.nic.tr/tr/status_registered.expected deleted file mode 100644 index 9496bf4df..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_registered.expected +++ /dev/null @@ -1,103 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s %ERROR{AttributeNotSupported} - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-08-23 00:00:00 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-22 00:00:00 UTC} - - -#registrar - %s %ERROR{AttributeNotSupported} - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway\nMountain View CA" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "United States of America" - %s[0].country_code == nil - %s[0].phone == "+ 1-650-2530000-" - %s[0].fax == "+ 1-650-2530001-" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mi154-metu" - %s[0].name == nil - %s[0].organization == "MarkMonitor, Inc" - %s[0].address == "Hidden upon user request" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "Hidden upon user request" - %s[0].fax == "Hidden upon user request" - %s[0].email == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "btl1-metu" - %s[0].name == nil - %s[0].organization == "BERÝL TEKNOLOJÝ LTD. ÞTÝ." - %s[0].address == "Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi\nNo:114 G-4 Balgat\nAnkara,06520\nTürkiye" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+ 90-312-4733035-" - %s[0].fax == "+ 90-312-4733039-" - %s[0].email == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.tr/tr/status_registered.txt b/spec/fixtures/responses/whois.nic.tr/tr/status_registered.txt deleted file mode 100644 index 4f9521008..000000000 --- a/spec/fixtures/responses/whois.nic.tr/tr/status_registered.txt +++ /dev/null @@ -1,50 +0,0 @@ -** Registrant: - Google Inc. - 1600 Amphitheatre Parkway - Mountain View CA - Out of Turkey, - United States of America - dns-admin@google.com - + 1-650-2530000- - + 1-650-2530001- - - -** Administrative Contact: -NIC Handle : mi154-metu -Organization Name : MarkMonitor, Inc -Address : Hidden upon user request -Phone : Hidden upon user request -Fax : Hidden upon user request - - -** Technical Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Billing Contact: -NIC Handle : btl1-metu -Organization Name : BERÝL TEKNOLOJÝ LTD. ÞTÝ. -Address : Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi - No:114 G-4 Balgat - Ankara,06520 - Türkiye -Phone : + 90-312-4733035- -Fax : + 90-312-4733039- - - -** Domain Servers: -ns1.google.com -ns2.google.com -ns3.google.com -ns4.google.com - -** Additional Info: -Created on..............: 2001-Aug-23. -Expires on..............: 2014-Aug-22. diff --git a/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.expected b/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.expected deleted file mode 100644 index acf90754f..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited"] diff --git a/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.txt b/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.txt deleted file mode 100644 index cdd5698e1..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.txt +++ /dev/null @@ -1,83 +0,0 @@ -Domain Name: WEBCAMS.TRAVEL -Domain ID: D108042-TRAVEL -Sponsoring Registrar: SECURA GMBH -Sponsoring Registrar IANA ID: 111 -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Registrant ID: P-IRO86-YIHZ -Registrant Name: Ingo Oppermann -Registrant Organization: OPAG Online Promotion AG -Registrant Address1: Austr.37 -Registrant City: Vaduz -Registrant Postal Code: 9490 -Registrant Country: Liechtenstein -Registrant Country Code: LI -Registrant Phone Number: +41.442777501 -Registrant Facsimile Number: +41.763770216 -Registrant Email: ingo.oppermann@topin.travel -Administrative Contact ID: P-IRO86-YIHZ -Administrative Contact Name: Ingo Oppermann -Administrative Contact Organization: OPAG Online Promotion AG -Administrative Contact Address1: Austr.37 -Administrative Contact City: Vaduz -Administrative Contact Postal Code: 9490 -Administrative Contact Country: Liechtenstein -Administrative Contact Country Code: LI -Administrative Contact Phone Number: +41.442777501 -Administrative Contact Facsimile Number: +41.763770216 -Administrative Contact Email: ingo.oppermann@topin.travel -Billing Contact ID: P-HVO132-PVII -Billing Contact Name: Hans-Peter Oswald -Billing Contact Organization: Secura GmbH -Billing Contact Address1: Frohnhofweg 18 -Billing Contact City: Koeln -Billing Contact State/Province: NRW -Billing Contact Postal Code: 50858 -Billing Contact Country: Germany -Billing Contact Country Code: DE -Billing Contact Phone Number: +49.2212571213 -Billing Contact Facsimile Number: +49.221925227 -Billing Contact Email: secura@domainregistry.de -Technical Contact ID: P-HVO132-PVII -Technical Contact Name: Hans-Peter Oswald -Technical Contact Organization: Secura GmbH -Technical Contact Address1: Frohnhofweg 18 -Technical Contact City: Koeln -Technical Contact State/Province: NRW -Technical Contact Postal Code: 50858 -Technical Contact Country: Germany -Technical Contact Country Code: DE -Technical Contact Phone Number: +49.2212571213 -Technical Contact Facsimile Number: +49.221925227 -Technical Contact Email: secura@domainregistry.de -Name Server: FINKPLOYD.NRG4U.COM -Name Server: C00L3R.NETWORX.CH -Created by Registrar: SECURA GMBH -Last Updated by Registrar: SECURA GMBH -Domain Registration Date: Tue Aug 01 12:39:21 GMT 2006 -Domain Expiration Date: Tue Jul 31 23:59:59 GMT 2012 -Domain Last Updated Date: Mon Aug 30 12:52:13 GMT 2010 - ->>>> Whois database was last updated on: Tue Aug 23 16:43:08 GMT 2011 <<<< - -Tralliance, Inc., the Registry Operator for .travel, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Tralliance registry database. Tralliance makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Tralliance's prior written permission. Tralliance reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.expected b/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.expected deleted file mode 100644 index ff6bdbc87..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.expected +++ /dev/null @@ -1,2 +0,0 @@ -#status - %s == ["ok"] diff --git a/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.txt b/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.txt deleted file mode 100644 index c1874f583..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/property_status_single.txt +++ /dev/null @@ -1,75 +0,0 @@ -Domain Name: TRAVEL.TRAVEL -Domain ID: D24096-TRAVEL -Sponsoring Registrar: NEUSTAR GATEWAY -Domain Status: ok -Registrant ID: TRALLIANCE -Registrant Name: Tralliance Corporation -Registrant Address1: 110 East Broward Blvd, 14th floor -Registrant City: Fort Lauderdale -Registrant State/Province: FL -Registrant Postal Code: 33301 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.9547695999 -Registrant Email: info@tralliance.travel -Administrative Contact ID: TRALLIANCE -Administrative Contact Name: Tralliance Corporation -Administrative Contact Address1: 110 East Broward Blvd, 14th floor -Administrative Contact City: Fort Lauderdale -Administrative Contact State/Province: FL -Administrative Contact Postal Code: 33301 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.9547695999 -Administrative Contact Email: info@tralliance.travel -Billing Contact ID: TRALLIANCE -Billing Contact Name: Tralliance Corporation -Billing Contact Address1: 110 East Broward Blvd, 14th floor -Billing Contact City: Fort Lauderdale -Billing Contact State/Province: FL -Billing Contact Postal Code: 33301 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.9547695999 -Billing Contact Email: info@tralliance.travel -Technical Contact ID: TRALLIANCE -Technical Contact Name: Tralliance Corporation -Technical Contact Address1: 110 East Broward Blvd, 14th floor -Technical Contact City: Fort Lauderdale -Technical Contact State/Province: FL -Technical Contact Postal Code: 33301 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.9547695999 -Technical Contact Email: info@tralliance.travel -Name Server: NETSYS.COM -Name Server: NS01-MIA.THEGLOBE.COM -Created by Registrar: NEUSTAR GATEWAY -Last Updated by Registrar: NMUTONYI -Domain Registration Date: Tue Oct 04 21:44:27 GMT 2005 -Domain Expiration Date: Sun Oct 03 23:59:59 GMT 2010 -Domain Last Updated Date: Sun Jul 23 16:08:37 GMT 2006 - ->>>> Whois database was last updated on: Fri Dec 25 21:30:26 GMT 2009 <<<< - -Tralliance, Inc., the Registry Operator for .travel, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Tralliance registry database. Tralliance makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Tralliance's prior written permission. Tralliance reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.nic.travel/travel/status_available.expected b/spec/fixtures/responses/whois.nic.travel/travel/status_available.expected deleted file mode 100644 index 9e6550883..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == "u34jedzcq.travel" - -#domain_id - %s == nil - - -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.travel/travel/status_available.txt b/spec/fixtures/responses/whois.nic.travel/travel/status_available.txt deleted file mode 100644 index eaf12066c..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/status_available.txt +++ /dev/null @@ -1,25 +0,0 @@ -Not found: u34jedzcq.travel - ->>>> Whois database was last updated on: Wed Jan 22 22:06:14 GMT 2014 <<<< - -Tralliance, Inc., the Registry Operator for .travel, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Tralliance registry database. Tralliance makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Tralliance's prior written permission. Tralliance reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.nic.travel/travel/status_registered.expected b/spec/fixtures/responses/whois.nic.travel/travel/status_registered.expected deleted file mode 100644 index 39c27d89a..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/status_registered.expected +++ /dev/null @@ -1,98 +0,0 @@ -#domain - %s == "travel.travel" - -#domain_id - %s == "D24096-TRAVEL" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-10-04 21:44:27 GMT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-18 15:13:32 GMT} - -#expires_on - %s %CLASS{time} - %s %TIME{2021-10-03 23:59:59 GMT} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "NEUSTAR GATEWAY" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "TRALLIANCE" - %s[0].name == "Tralliance Corporation" - %s[0].organization == nil - %s[0].address == "110 East Broward Blvd, 14th floor" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.9547695999" - %s[0].fax == nil - %s[0].email == "info@tralliance.travel" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "TRALLIANCE" - %s[0].name == "Tralliance Corporation" - %s[0].organization == nil - %s[0].address == "110 East Broward Blvd, 14th floor" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.9547695999" - %s[0].fax == nil - %s[0].email == "info@tralliance.travel" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "TRALLIANCE" - %s[0].name == "Tralliance Corporation" - %s[0].organization == nil - %s[0].address == "110 East Broward Blvd, 14th floor" - %s[0].city == "Fort Lauderdale" - %s[0].zip == "33301" - %s[0].state == "FL" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.9547695999" - %s[0].fax == nil - %s[0].email == "info@tralliance.travel" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns01-mia.theglobe.com" - %s[1] %CLASS{nameserver} - %s[1].name == "netsys.com" diff --git a/spec/fixtures/responses/whois.nic.travel/travel/status_registered.txt b/spec/fixtures/responses/whois.nic.travel/travel/status_registered.txt deleted file mode 100644 index d94bb85da..000000000 --- a/spec/fixtures/responses/whois.nic.travel/travel/status_registered.txt +++ /dev/null @@ -1,76 +0,0 @@ -Domain Name: TRAVEL.TRAVEL -Domain ID: D24096-TRAVEL -Sponsoring Registrar: NEUSTAR GATEWAY -Registrar URL (registration services): whois.neustar.us -Domain Status: ok -Registrant ID: TRALLIANCE -Registrant Name: Tralliance Corporation -Registrant Address1: 110 East Broward Blvd, 14th floor -Registrant City: Fort Lauderdale -Registrant State/Province: FL -Registrant Postal Code: 33301 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.9547695999 -Registrant Email: info@tralliance.travel -Administrative Contact ID: TRALLIANCE -Administrative Contact Name: Tralliance Corporation -Administrative Contact Address1: 110 East Broward Blvd, 14th floor -Administrative Contact City: Fort Lauderdale -Administrative Contact State/Province: FL -Administrative Contact Postal Code: 33301 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.9547695999 -Administrative Contact Email: info@tralliance.travel -Billing Contact ID: TRALLIANCE -Billing Contact Name: Tralliance Corporation -Billing Contact Address1: 110 East Broward Blvd, 14th floor -Billing Contact City: Fort Lauderdale -Billing Contact State/Province: FL -Billing Contact Postal Code: 33301 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.9547695999 -Billing Contact Email: info@tralliance.travel -Technical Contact ID: TRALLIANCE -Technical Contact Name: Tralliance Corporation -Technical Contact Address1: 110 East Broward Blvd, 14th floor -Technical Contact City: Fort Lauderdale -Technical Contact State/Province: FL -Technical Contact Postal Code: 33301 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.9547695999 -Technical Contact Email: info@tralliance.travel -Name Server: NS01-MIA.THEGLOBE.COM -Name Server: NETSYS.COM -Created by Registrar: NEUSTAR GATEWAY -Last Updated by Registrar: AHANACEK -Domain Registration Date: Tue Oct 04 21:44:27 GMT 2005 -Domain Expiration Date: Sun Oct 03 23:59:59 GMT 2021 -Domain Last Updated Date: Wed Sep 18 15:13:32 GMT 2013 - ->>>> Whois database was last updated on: Tue Feb 18 20:31:29 GMT 2014 <<<< - -Tralliance, Inc., the Registry Operator for .travel, has collected this information -for the WHOIS database through an ICANN-Accredited Registrar. This information -is provided to you for informational purposes only and is designed to assist -persons in determining contents of a domain name registration record in the -Tralliance registry database. Tralliance makes this information available to you -"as is" and does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, under no -circumstances will you use this data: (1) to allow, enable, or otherwise -support the transmission of mass unsolicited, commercial advertising or -solicitations via direct mail, electronic mail, or by telephone; (2) in -contravention of any applicable data and privacy protection acts; or (3) to -enable high volume, automated, electronic processes that apply to the registry -(or its systems). Compilation, repackaging, dissemination, or other use of the -WHOIS database in its entirety, or of a substantial portion thereof, is not -allowed without Tralliance's prior written permission. Tralliance reserves the -right to modify or change these conditions at any time without prior or -subsequent notification of any kind. By executing this query, in any manner -whatsoever, you agree to abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. diff --git a/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.expected b/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.expected deleted file mode 100644 index 4de0dc677..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.txt b/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.txt deleted file mode 100644 index abe91eca3..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.txt +++ /dev/null @@ -1,53 +0,0 @@ - -Whois Server Version 1.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: SET.TV - Registrar: .TV RESERVED DOMAINS - Whois Server: not defined - Referral URL: not defined - Name Server: No nameserver - Status: SERVER-XFER-PROHIBITED - Updated Date: 18-mar-2010 - Creation Date: 18-mar-2010 - Expiration Date: 18-mar-2011 - - ->>> Last update of whois database: Mon, 6 Dec 2010 08:01:00 EST <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/whois.nic.tv/tv/status_available.expected b/spec/fixtures/responses/whois.nic.tv/tv/status_available.expected deleted file mode 100644 index 596a9fae1..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/status_available.expected +++ /dev/null @@ -1,45 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - -#domain - %s == "u34jedzcq.tv" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#referral_whois - %s == nil - -#referral_url - %s == nil diff --git a/spec/fixtures/responses/whois.nic.tv/tv/status_available.txt b/spec/fixtures/responses/whois.nic.tv/tv/status_available.txt deleted file mode 100644 index 0d37540a6..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/status_available.txt +++ /dev/null @@ -1,44 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - -No match for "U34JEDZCQ.TV". - ->>> Last update of whois database: 2014-03-18T13:20:12Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/whois.nic.tv/tv/status_registered.expected b/spec/fixtures/responses/whois.nic.tv/tv/status_registered.expected deleted file mode 100644 index 2b7c68cb2..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/status_registered.expected +++ /dev/null @@ -1,64 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - -#domain - %s == "google.tv" - -#domain_id - %s == "87196881" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-08-02 12:43:36 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-07-09 17:03:47 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-08-02 12:43:36 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "48" - %s.name == "ENOM, INC." - %s.organization == nil - %s.url == "http://www.enom.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - - - -#referral_whois - %s == "whois.enom.com" - -#referral_url - %s == "http://www.enom.com" diff --git a/spec/fixtures/responses/whois.nic.tv/tv/status_registered.txt b/spec/fixtures/responses/whois.nic.tv/tv/status_registered.txt deleted file mode 100644 index 3e846dd5f..000000000 --- a/spec/fixtures/responses/whois.nic.tv/tv/status_registered.txt +++ /dev/null @@ -1,59 +0,0 @@ - -Whois Server Version 2.0 - -Domain names can now be registered with many different competing registrars. -Go to http://registrar.verisign-grs.com/whois/ for detailed information. - - Domain Name: GOOGLE.TV - Domain ID: 87196881 - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - Updated Date: 2013-07-09T17:03:47Z - Creation Date: 2002-08-02T12:43:36Z - Registry Expiry Date: 2014-08-02T12:43:36Z - Sponsoring Registrar: ENOM, INC. - Sponsoring Registrar IANA ID: 48 - Domain Status: clientDeleteProhibited - Domain Status: clientTransferProhibited - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - DNSSEC: Unsigned delegation - - ->>> Last update of whois database: 2014-03-18T13:18:41Z <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the -expiration date of the domain name registrant's agreement with the -sponsoring registrar. Users may consult the sponsoring registrar's -Whois database to view the registrar's reported date of expiration -for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign's ("VeriSign") Whois -database is provided by VeriSign for information purposes only, and to -assist persons in obtaining information about or related to a domain name -registration record. VeriSign does not guarantee its accuracy. -By submitting a Whois query, you agree to abide by the following terms of -use: You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to -VeriSign (or its computer systems). The compilation, repackaging, -dissemination or other use of this Data is expressly prohibited without -the prior written consent of VeriSign. You agree not to use electronic -processes that are automated and high-volume to access or query the -Whois database except as reasonably necessary to register domain names -or modify existing registrations. VeriSign reserves the right to restrict -your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .cc, .tv, and .jobs domains -and Registrars. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.expected deleted file mode 100644 index 133e9b1fd..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns0.netbenefit.co.uk" - %s[0].ipv4 == "212.53.64.30" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.netbenefit.co.uk" - %s[1].ipv4 == "212.53.77.30" diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.txt deleted file mode 100644 index 5ffa99242..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.txt +++ /dev/null @@ -1,52 +0,0 @@ - - Domain name: - netbenefit.co.uk - - Registrant: - Netbenefit (UK) Ltd - - Registrant type: - UK Limited Company, (Company number: 3365497) - - Registrant's address: - 3rd Floor Prospero House - 241 Borough High Street - London - SE1 1GB - United Kingdom - - Registered through: - NetNames Limited - URL: http://www.netnames.co.uk - - Registrar: - Ascio Technologies Inc t/a Ascio Technologies inc [Tag = ASCIO] - URL: http://www.ascio.com - - Relevant dates: - Registered on: before Aug-1996 - Expiry date: 20-Aug-2012 - Last updated: 28-Jul-2011 - - Registration status: - Registered until expiry date. - - Name servers: - ns0.netbenefit.co.uk 212.53.64.30 - ns1.netbenefit.co.uk 212.53.77.30 - - WHOIS lookup made at 13:34:13 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_individual.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_individual.txt deleted file mode 100644 index 93163cfc6..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_individual.txt +++ /dev/null @@ -1,45 +0,0 @@ - - Domain name: - bedandbreakfastsearcher.co.uk - - Registrant: - Mike Peacock - - Registrant type: - UK Individual - - Registrant's address: - The registrant is a non-trading individual who has opted to have their - address omitted from the WHOIS service. - - Registrar: - Webfusion Ltd t/a 123-reg [Tag = 123-REG] - URL: http://www.123-reg.co.uk - - Relevant dates: - Registered on: 16-Apr-2006 - Expiry date: 16-Apr-2014 - Last updated: 11-Apr-2012 - - Registration status: - Registered until expiry date. - - Name servers: - ns1.rapidswitch.com - ns2.rapidswitch.com - - WHOIS lookup made at 13:39:01 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_unknown.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_unknown.txt deleted file mode 100644 index 88f6aa99f..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrant_type_unknown.txt +++ /dev/null @@ -1,50 +0,0 @@ - - Domain name: - google.co.uk - - Registrant: - Google Inc. - - Registrant type: - Unknown - - Registrant's address: - 1600 Amphitheatre Parkway - Mountain View - CA - 94043 - United States - - Registrar: - Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR] - URL: http://www.markmonitor.com - - Relevant dates: - Registered on: 14-Feb-1999 - Expiry date: 14-Feb-2013 - Last updated: 10-Feb-2011 - - Registration status: - Registered until expiry date. - - Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - WHOIS lookup made at 13:39:17 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.expected deleted file mode 100644 index 79ebce8ae..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.expected +++ /dev/null @@ -1,6 +0,0 @@ -#registrar - %s %CLASS{registrar} - %s.id == "GODADDY" - %s.name == "GoDaddy.com, LLP." - %s.name == "GoDaddy.com, LLP." - %s.url == nil diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.txt deleted file mode 100644 index a912e1f3b..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.txt +++ /dev/null @@ -1,47 +0,0 @@ - - Domain name: - ecigsbrand.co.uk - - Registrant: - Vitality & Wellness Ltd. - - Registrant type: - Unknown - - Registrant's address: - 72 High Street - Haslemere - Surrey - GU27 2LA - United Kingdom - - Registrar: - GoDaddy.com, LLP. [Tag = GODADDY] - - Relevant dates: - Registered on: 16-Sep-2010 - Expiry date: 16-Sep-2013 - Last updated: 30-Aug-2012 - - Registration status: - Registered until expiry date. - - Name servers: - pdns01.domaincontrol.com - pdns02.domaincontrol.com - - WHOIS lookup made at 13:23:18 01-Oct-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.expected deleted file mode 100644 index 214a1fbf2..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.expected +++ /dev/null @@ -1,6 +0,0 @@ -#registrar - %s %CLASS{registrar} - %s.id == "NETNAMES" - %s.name == "NetNames Limited" - %s.name == "NetNames Limited" - %s.url == "http://www.netnames.co.uk" diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.txt deleted file mode 100644 index 928da651e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.txt +++ /dev/null @@ -1,48 +0,0 @@ - - Domain name: - netbenefit.co.uk - - Registrant: - Netbenefit (UK) Ltd - - Registrant type: - UK Limited Company, (Company number: 3365497) - - Registrant's address: - 3rd Floor Prospero House - 241 Borough High Street - London - SE1 1GB - United Kingdom - - Registrar: - NetNames Limited [Tag = NETNAMES] - URL: http://www.netnames.co.uk - - Relevant dates: - Registered on: before Aug-1996 - Renewal date: 20-Aug-2012 - Last updated: 30-Jul-2010 - - Registration status: - Registered until renewal date. - - Name servers: - ns0.netbenefit.co.uk 212.53.64.30 - ns1.netbenefit.co.uk 212.53.77.30 - - WHOIS lookup made at 21:49:35 30-Oct-2010 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2010. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.txt deleted file mode 100644 index 68b388abf..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.txt +++ /dev/null @@ -1,20 +0,0 @@ - - No match for "u34jedzcq.co.uk". - - This domain name has not been registered. - - WHOIS lookup made at 13:35:07 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.txt deleted file mode 100644 index aa8fd8d07..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.txt +++ /dev/null @@ -1,49 +0,0 @@ - - Domain name: - atlasholidays.co.uk - - Registrant: - Atlas Associates - - Registrant type: - Unknown - - Registrant's address: - The PC Clinic (UK) Ltd., 1 Hinckley Road, - Sapcote - Leicestershire - LE9 4FS - United Kingdom - - Registrar: - Print Copy Systems Limited t/a Lan Systems [Tag = LANSYSTEMS] - URL: http://www.lansystems.co.uk - - Relevant dates: - Registered on: 16-Apr-1999 - Expiry date: 16-Apr-2013 - Last updated: 01-May-2013 - - Registration status: - No longer required - - Name servers: - ns1.thenameservers.co.uk 173.45.88.166 - ns2.thenameservers.co.uk 193.111.230.26 - ns3.thenameservers.co.uk 173.45.120.18 - - WHOIS lookup made at 09:47:51 06-May-2013 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2013. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whoisterms, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.expected deleted file mode 100644 index d83200888..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.txt deleted file mode 100644 index cbbb96715..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.txt +++ /dev/null @@ -1,48 +0,0 @@ - - Domain name: - internet.co.uk - - Registrant: - Nominet UK - - Registrant type: - UK Limited Company, (Company number: 3203859) - - Registrant's address: - Minerva House, Edmund Halley Road - Oxford Science Park - Oxford - Oxon - OX4 4DQ - United Kingdom - - Registrar: - No registrar listed. This domain is registered directly with Nominet. - - Relevant dates: - Registered on: before Aug-1996 - Last updated: 23-Mar-2012 - - Registration status: - No registration status listed. - - Name servers: - nom-ns1.nominet.org.uk 213.248.199.16 - nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2 - nom-ns3.nominet.org.uk 213.219.13.194 - - WHOIS lookup made at 13:36:21 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.txt deleted file mode 100644 index 85bb63402..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.txt +++ /dev/null @@ -1,49 +0,0 @@ - - Domain name: - reachingyoungmales.co.uk - - Registrant: - VCCP digital - - Registrant type: - UK Individual - - Registrant's address: - Greencoat House - Francis Street Victoria - London - London - SW1P 1DH - United Kingdom - - Registrar: - Webfusion Ltd t/a 123-Reg.co.uk [Tag = 123-REG] - URL: http://www.123-reg.co.uk - - Relevant dates: - Registered on: 17-Sep-2010 - Renewal date: 17-Sep-2012 - Last updated: 17-Sep-2010 - - Registration status: - Registration request being processed. - - Name servers: - ns.123-reg.co.uk - ns2.123-reg.co.uk - - WHOIS lookup made at 22:32:46 24-Oct-2010 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2010. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.txt deleted file mode 100644 index 28902f43c..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.txt +++ /dev/null @@ -1,49 +0,0 @@ - - Domain name: - creatinghomeowners.co.uk - - Registrant: - VCCP digital - - Registrant type: - UK Individual - - Registrant's address: - Greencoat House - Francis Street Victoria - London - London - SW1P 1DH - United Kingdom - - Registrar: - Webfusion Ltd t/a 123-Reg.co.uk [Tag = 123-REG] - URL: http://www.123-reg.co.uk - - Relevant dates: - Registered on: 22-Sep-2008 - Renewal date: 22-Sep-2012 - Last updated: 22-Sep-2010 - - Registration status: - Renewal request being processed. - - Name servers: - ns.123-reg.co.uk - ns2.123-reg.co.uk - - WHOIS lookup made at 15:55:50 23-Oct-2010 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2010. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.txt deleted file mode 100644 index d68430636..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.txt +++ /dev/null @@ -1,50 +0,0 @@ - - Domain name: - google.co.uk - - Registrant: - Google Inc. - - Registrant type: - Unknown - - Registrant's address: - 1600 Amphitheatre Parkway - Mountain View - CA - 94043 - United States - - Registrar: - Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR] - URL: http://www.markmonitor.com - - Relevant dates: - Registered on: 14-Feb-1999 - Expiry date: 14-Feb-2013 - Last updated: 10-Feb-2011 - - Registration status: - Registered until expiry date. - - Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - WHOIS lookup made at 13:12:03 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.expected b/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.txt b/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.txt deleted file mode 100644 index 0f7aa0ce9..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.txt +++ /dev/null @@ -1,51 +0,0 @@ - - Domain name: - allofshoes.co.uk - - Registrant: - Yuan Chen - - Registrant type: - Unknown - - Registrant's address: - Meiyuan Road - Putian - 351100 - China - - Registered through: - GoDaddy.com, Inc. - URL: http://www.godaddy.com - - Registrar: - Key-Systems GmbH [Tag = KEY-SYSTEMS-DE] - URL: http://www.Key-Systems.net - - Relevant dates: - Registered on: 30-Aug-2008 - Expiry date: 30-Aug-2010 - Last updated: 09-Feb-2012 - - Registration status: - Renewal required. - *** This registration has been SUSPENDED. *** - - Name servers: - No name servers listed. - - WHOIS lookup made at 13:41:57 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.expected b/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.txt b/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.txt deleted file mode 100644 index e567c8049..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/response_throttled.txt +++ /dev/null @@ -1,9 +0,0 @@ - Error for "google.co.uk". - - The WHOIS query quota for 127.0.0.1 has been exceeded - and will be replenished in 50 seconds. - - WHOIS lookup made at 20:30:08 08-Jan-2010 - --- - \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_available.expected b/spec/fixtures/responses/whois.nic.uk/uk/status_available.expected deleted file mode 100644 index f79d8bfc4..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_available.expected +++ /dev/null @@ -1,38 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#valid? - %s == true - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_available.txt b/spec/fixtures/responses/whois.nic.uk/uk/status_available.txt deleted file mode 100644 index 4194b1a2b..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_available.txt +++ /dev/null @@ -1,20 +0,0 @@ - - No match for "u34jedzcq.co.uk". - - This domain name has not been registered. - - WHOIS lookup made at 22:14:59 22-Jan-2014 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2014. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whoisterms, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.expected b/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.expected deleted file mode 100644 index 9acbbaead..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.expected +++ /dev/null @@ -1,9 +0,0 @@ -#status - %s == :invalid - - -#valid? - %s == false - -#invalid? - %s == true diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.txt b/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.txt deleted file mode 100644 index b76a3c3a9..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_invalid.txt +++ /dev/null @@ -1,22 +0,0 @@ - - Error for "u34jedzcq.uk". - - This domain cannot be registered because it contravenes the Nominet UK - naming rules. The reason is: - the domain name contains too few parts. - - WHOIS lookup made at 13:41:00 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_registered.expected b/spec/fixtures/responses/whois.nic.uk/uk/status_registered.expected deleted file mode 100644 index 74ce178f8..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_registered.expected +++ /dev/null @@ -1,68 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-02-14} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-13} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-02-14} - - -#registrar - %s %CLASS{registrar} - %s.id == "MARKMONITOR" - %s.name == "Markmonitor" - %s.organization == "Markmonitor Inc." - %s.url == "http://www.markmonitor.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#response_throttled? - %s == false - - -#valid? - %s == true - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_registered.txt b/spec/fixtures/responses/whois.nic.uk/uk/status_registered.txt deleted file mode 100644 index 61a53cf0c..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_registered.txt +++ /dev/null @@ -1,50 +0,0 @@ - - Domain name: - google.co.uk - - Registrant: - Google Inc. - - Registrant type: - Non-UK Corporation - - Registrant's address: - 1600 Amphitheatre Parkway - Mountain View - CA - 94043 - United States - - Registrar: - Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR] - URL: http://www.markmonitor.com - - Relevant dates: - Registered on: 14-Feb-1999 - Expiry date: 14-Feb-2015 - Last updated: 13-Jan-2014 - - Registration status: - Registered until expiry date. - - Name servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - WHOIS lookup made at 20:44:01 18-Feb-2014 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2014. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whoisterms, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.expected b/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.expected deleted file mode 100644 index 21e19874b..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.expected +++ /dev/null @@ -1,71 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1996-08-01} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-03-23} - -#expires_on - %s == nil - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Nominet" - %s.organization == "Nominet UK" - %s.url == "http://www.nic.uk/" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Nominet UK" - %s[0].organization == nil - %s[0].address == "Minerva House, Edmund Halley Road\nOxford Science Park" - %s[0].city == "Oxford" - %s[0].zip == "OX4 4DQ" - %s[0].state == "Oxon" - %s[0].country == "United Kingdom" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "nom-ns1.nominet.org.uk" - %s[0].ipv4 == "213.248.199.16" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "nom-ns2.nominet.org.uk" - %s[1].ipv4 == "195.66.240.250" - %s[1].ipv6 == "2a01:40:1001:37::2" - %s[2] %CLASS{nameserver} - %s[2].name == "nom-ns3.nominet.org.uk" - %s[2].ipv4 == "213.219.13.194" - %s[2].ipv6 == nil - - -#response_throttled? - %s == false - - -#valid? - %s == true - -#invalid? - %s == false diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.txt b/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.txt deleted file mode 100644 index cbbb96715..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_reserved.txt +++ /dev/null @@ -1,48 +0,0 @@ - - Domain name: - internet.co.uk - - Registrant: - Nominet UK - - Registrant type: - UK Limited Company, (Company number: 3203859) - - Registrant's address: - Minerva House, Edmund Halley Road - Oxford Science Park - Oxford - Oxon - OX4 4DQ - United Kingdom - - Registrar: - No registrar listed. This domain is registered directly with Nominet. - - Relevant dates: - Registered on: before Aug-1996 - Last updated: 23-Mar-2012 - - Registration status: - No registration status listed. - - Name servers: - nom-ns1.nominet.org.uk 213.248.199.16 - nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2 - nom-ns3.nominet.org.uk 213.219.13.194 - - WHOIS lookup made at 13:36:21 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.expected b/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.expected deleted file mode 100644 index 47b04e4f9..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-08-30} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-02-09} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-08-30} - - -#registrar - %s %CLASS{registrar} - %s.id == "KEY-SYSTEMS-DE" - %s.name == "Key-Systems GmbH" - %s.name == "Key-Systems GmbH" - %s.url == "http://www.Key-Systems.net" - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.txt b/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.txt deleted file mode 100644 index 0f7aa0ce9..000000000 --- a/spec/fixtures/responses/whois.nic.uk/uk/status_suspended.txt +++ /dev/null @@ -1,51 +0,0 @@ - - Domain name: - allofshoes.co.uk - - Registrant: - Yuan Chen - - Registrant type: - Unknown - - Registrant's address: - Meiyuan Road - Putian - 351100 - China - - Registered through: - GoDaddy.com, Inc. - URL: http://www.godaddy.com - - Registrar: - Key-Systems GmbH [Tag = KEY-SYSTEMS-DE] - URL: http://www.Key-Systems.net - - Relevant dates: - Registered on: 30-Aug-2008 - Expiry date: 30-Aug-2010 - Last updated: 09-Feb-2012 - - Registration status: - Renewal required. - *** This registration has been SUSPENDED. *** - - Name servers: - No name servers listed. - - WHOIS lookup made at 13:41:57 01-May-2012 - --- -This WHOIS information is provided for free by Nominet UK the central registry -for .uk domain names. This information and the .uk WHOIS are: - - Copyright Nominet UK 1996 - 2012. - -You may not access the .uk WHOIS or use any data from it except as permitted -by the terms of use available in full at http://www.nominet.org.uk/whois, which -includes restrictions on: (A) use of the data for advertising, or its -repackaging, recompilation, redistribution or reuse (B) obscuring, removing -or hiding any or all of this notice and (C) exceeding query rate or volume -limits. The data is provided on an 'as-is' basis and may lag behind the -register. Access may be withdrawn or restricted at any time. diff --git a/spec/fixtures/responses/whois.nic.us/us/status_available.expected b/spec/fixtures/responses/whois.nic.us/us/status_available.expected deleted file mode 100644 index 07943edc0..000000000 --- a/spec/fixtures/responses/whois.nic.us/us/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == "u34jedzcq.us" - -#domain_id - %s == nil - - -#status - %s == nil - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.us/us/status_available.txt b/spec/fixtures/responses/whois.nic.us/us/status_available.txt deleted file mode 100644 index f6dafbfc0..000000000 --- a/spec/fixtures/responses/whois.nic.us/us/status_available.txt +++ /dev/null @@ -1,29 +0,0 @@ -Not found: u34jedzcq.us - ->>>> Whois database was last updated on: Wed Jan 22 22:13:48 GMT 2014 <<<< - -NeuStar, Inc., the Registry Administrator for .US, has collected this -information for the WHOIS database through a .US-Accredited Registrar. -This information is provided to you for informational purposes only and is -designed to assist persons in determining contents of a domain name -registration record in the NeuStar registry database. NeuStar makes this -information available to you "as is" and does not guarantee its accuracy. -By submitting a WHOIS query, you agree that you will use this data only for -lawful purposes and that, under no circumstances will you use this data: -(1) to allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via direct mail, -electronic mail, or by telephone; (2) in contravention of any applicable -data and privacy protection laws; or (3) to enable high volume, automated, -electronic processes that apply to the registry (or its systems). Compilation, -repackaging, dissemination, or other use of the WHOIS database in its -entirety, or of a substantial portion thereof, is not allowed without -NeuStar's prior written permission. NeuStar reserves the right to modify or -change these conditions at any time without prior or subsequent notification -of any kind. By executing this query, in any manner whatsoever, you agree to -abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. - -All domain names are subject to certain additional domain name registration -rules. For details, please visit our site at www.whois.us. diff --git a/spec/fixtures/responses/whois.nic.us/us/status_registered.expected b/spec/fixtures/responses/whois.nic.us/us/status_registered.expected deleted file mode 100644 index 769df2001..000000000 --- a/spec/fixtures/responses/whois.nic.us/us/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "google.us" - -#domain_id - %s == "D775573-US" - - -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-04-19 23:15:57 GMT} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-03-17 09:44:30 GMT} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-18 23:59:59 GMT} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MARKMONITOR, INC." - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MMR-135878" - %s[0].name == "Google Inc" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MMR-136042" - %s[0].name == "Christina Chiou" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MMR-136042" - %s[0].name == "Christina Chiou" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "United States" - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.nic.us/us/status_registered.txt b/spec/fixtures/responses/whois.nic.us/us/status_registered.txt deleted file mode 100644 index 499232a5b..000000000 --- a/spec/fixtures/responses/whois.nic.us/us/status_registered.txt +++ /dev/null @@ -1,102 +0,0 @@ -Domain Name: GOOGLE.US -Domain ID: D775573-US -Sponsoring Registrar: MARKMONITOR, INC. -Sponsoring Registrar IANA ID: 292 -Registrar URL (registration services): whois.markmonitor.com -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Registrant ID: MMR-135878 -Registrant Name: Google Inc -Registrant Organization: Google Inc. -Registrant Address1: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: United States -Registrant Country Code: US -Registrant Phone Number: +1.6502530000 -Registrant Facsimile Number: +1.6502530001 -Registrant Email: dns-admin@google.com -Registrant Application Purpose: P1 -Registrant Nexus Category: C21 -Administrative Contact ID: MMR-136042 -Administrative Contact Name: Christina Chiou -Administrative Contact Organization: Google Inc. -Administrative Contact Address1: 1600 Amphitheatre Parkway -Administrative Contact City: Mountain View -Administrative Contact State/Province: CA -Administrative Contact Postal Code: 94043 -Administrative Contact Country: United States -Administrative Contact Country Code: US -Administrative Contact Phone Number: +1.6502530000 -Administrative Contact Facsimile Number: +1.6502530001 -Administrative Contact Email: dns-admin@google.com -Administrative Application Purpose: P1 -Administrative Nexus Category: C21 -Billing Contact ID: MMR-136042 -Billing Contact Name: Christina Chiou -Billing Contact Organization: Google Inc. -Billing Contact Address1: 1600 Amphitheatre Parkway -Billing Contact City: Mountain View -Billing Contact State/Province: CA -Billing Contact Postal Code: 94043 -Billing Contact Country: United States -Billing Contact Country Code: US -Billing Contact Phone Number: +1.6502530000 -Billing Contact Facsimile Number: +1.6502530001 -Billing Contact Email: dns-admin@google.com -Billing Application Purpose: P1 -Billing Nexus Category: C21 -Technical Contact ID: MMR-136042 -Technical Contact Name: Christina Chiou -Technical Contact Organization: Google Inc. -Technical Contact Address1: 1600 Amphitheatre Parkway -Technical Contact City: Mountain View -Technical Contact State/Province: CA -Technical Contact Postal Code: 94043 -Technical Contact Country: United States -Technical Contact Country Code: US -Technical Contact Phone Number: +1.6502530000 -Technical Contact Facsimile Number: +1.6502530001 -Technical Contact Email: dns-admin@google.com -Technical Application Purpose: P1 -Technical Nexus Category: C21 -Name Server: NS1.GOOGLE.COM -Name Server: NS2.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -Created by Registrar: BULKREGISTER.COM, INC. -Last Updated by Registrar: MARKMONITOR, INC. -Last Transferred Date: Fri Jul 22 18:37:41 GMT 2005 -Domain Registration Date: Fri Apr 19 23:15:57 GMT 2002 -Domain Expiration Date: Fri Apr 18 23:59:59 GMT 2014 -Domain Last Updated Date: Sun Mar 17 09:44:30 GMT 2013 - ->>>> Whois database was last updated on: Tue Feb 18 20:39:32 GMT 2014 <<<< - -NeuStar, Inc., the Registry Administrator for .US, has collected this -information for the WHOIS database through a .US-Accredited Registrar. -This information is provided to you for informational purposes only and is -designed to assist persons in determining contents of a domain name -registration record in the NeuStar registry database. NeuStar makes this -information available to you "as is" and does not guarantee its accuracy. -By submitting a WHOIS query, you agree that you will use this data only for -lawful purposes and that, under no circumstances will you use this data: -(1) to allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via direct mail, -electronic mail, or by telephone; (2) in contravention of any applicable -data and privacy protection laws; or (3) to enable high volume, automated, -electronic processes that apply to the registry (or its systems). Compilation, -repackaging, dissemination, or other use of the WHOIS database in its -entirety, or of a substantial portion thereof, is not allowed without -NeuStar's prior written permission. NeuStar reserves the right to modify or -change these conditions at any time without prior or subsequent notification -of any kind. By executing this query, in any manner whatsoever, you agree to -abide by these terms. - -NOTE: FAILURE TO LOCATE A RECORD IN THE WHOIS DATABASE IS NOT INDICATIVE -OF THE AVAILABILITY OF A DOMAIN NAME. - -All domain names are subject to certain additional domain name registration -rules. For details, please visit our site at www.whois.us. diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.expected deleted file mode 100644 index aee072824..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.expected +++ /dev/null @@ -1,2 +0,0 @@ -#expires_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.txt deleted file mode 100644 index e1a734b3c..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.txt +++ /dev/null @@ -1,48 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Universidad de los Andes (ula.ve-dom) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Nombre de Dominio: ula.ve - - Contacto Administrativo: - Universidad de los Andes (ula.ve-adm) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto Tecnico: - Universidad de los Andes (ula.ve-tec) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto de Cobranza: - Universidad de los Andes (ula.ve-bil) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Ultima Actualizacion: 2005-11-17 21:16:31 - Fecha de Creacion: 2005-11-15 14:40:48 - - Estatus del dominio: ACTIVO - - Servidor(es) de Nombres de Dominio: - - - avalon.ula.ve - - azmodan.ula.ve - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.expected deleted file mode 100644 index 95a952613..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.expected +++ /dev/null @@ -1,7 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "avalon.ula.ve" - %s[1] %CLASS{nameserver} - %s[1].name == "azmodan.ula.ve" diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.txt deleted file mode 100644 index e1a734b3c..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.txt +++ /dev/null @@ -1,48 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Universidad de los Andes (ula.ve-dom) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Nombre de Dominio: ula.ve - - Contacto Administrativo: - Universidad de los Andes (ula.ve-adm) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto Tecnico: - Universidad de los Andes (ula.ve-tec) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto de Cobranza: - Universidad de los Andes (ula.ve-bil) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Ultima Actualizacion: 2005-11-17 21:16:31 - Fecha de Creacion: 2005-11-15 14:40:48 - - Estatus del dominio: ACTIVO - - Servidor(es) de Nombres de Dominio: - - - avalon.ula.ve - - azmodan.ula.ve - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.expected deleted file mode 100644 index 77d0a106e..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.txt deleted file mode 100644 index c3cea20d9..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.txt +++ /dev/null @@ -1,45 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Instra Corporation Pty Ltd (zumba.com.ve-dom) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Nombre de Dominio: zumba.com.ve - - Contacto Administrativo: - Instra Corporation Pty Ltd (zumba.com.ve-adm) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto Tecnico: - Instra Corporation Pty Ltd (zumba.com.ve-tec) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto de Cobranza: - Juan Enrique Sanchez Serrano (zumba.com.ve-bil) mail@nameaction.com - NameAction Inc - Av. Providencia 201, Of. 22 - Santiago CL - 2691300 x562 (FAX) 3437840 - - Fecha de Vencimiento: 2011-10-27 12:23:43 - Ultima Actualizacion: - Fecha de Creacion: 2010-10-27 12:23:43 - - Estatus del dominio: ACTIVO - - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.txt deleted file mode 100644 index c3cea20d9..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.txt +++ /dev/null @@ -1,45 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Instra Corporation Pty Ltd (zumba.com.ve-dom) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Nombre de Dominio: zumba.com.ve - - Contacto Administrativo: - Instra Corporation Pty Ltd (zumba.com.ve-adm) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto Tecnico: - Instra Corporation Pty Ltd (zumba.com.ve-tec) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto de Cobranza: - Juan Enrique Sanchez Serrano (zumba.com.ve-bil) mail@nameaction.com - NameAction Inc - Av. Providencia 201, Of. 22 - Santiago CL - 2691300 x562 (FAX) 3437840 - - Fecha de Vencimiento: 2011-10-27 12:23:43 - Ultima Actualizacion: - Fecha de Creacion: 2010-10-27 12:23:43 - - Estatus del dominio: ACTIVO - - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.expected deleted file mode 100644 index 0a5c9d4a1..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.txt deleted file mode 100644 index e88a9ca89..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.txt +++ /dev/null @@ -1,10 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -No match for "u34jedzcq.ve". - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.expected deleted file mode 100644 index 8592c316b..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.txt deleted file mode 100644 index 9a7f1fb43..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.txt +++ /dev/null @@ -1,49 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Rafael Perez (aloespa.com.ve-dom) registro@tepuynet.com - Rafael Perez - Caracas - Caracas, D. Federal VE - - - Nombre de Dominio: aloespa.com.ve - - Contacto Administrativo: - Tepuynet (aloespa.com.ve-adm) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Contacto Tecnico: - Tepuynet (aloespa.com.ve-tec) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Contacto de Cobranza: - Tepuynet (aloespa.com.ve-bil) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Fecha de Vencimiento: 2010-11-21 15:21:32 - Ultima Actualizacion: 2006-06-08 21:54:41 - Fecha de Creacion: 2005-11-21 15:21:32 - - Estatus del dominio: SUSPENDIDO - - Servidor(es) de Nombres de Dominio: - - - ns10.tepuyserver.net - - ns9.tepuyserver.net - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.expected deleted file mode 100644 index 5d0af5ad4..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.expected +++ /dev/null @@ -1,3 +0,0 @@ -#updated_on - %s %CLASS{time} - %s %TIME{2005-11-17 21:16:31} diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.txt deleted file mode 100644 index e1a734b3c..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.txt +++ /dev/null @@ -1,48 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Universidad de los Andes (ula.ve-dom) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Nombre de Dominio: ula.ve - - Contacto Administrativo: - Universidad de los Andes (ula.ve-adm) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto Tecnico: - Universidad de los Andes (ula.ve-tec) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Contacto de Cobranza: - Universidad de los Andes (ula.ve-bil) fobispo@nic.ve - ULA - Merida - Merida, Merida VE - +582127718584 (FAX) +582127718599 - - Ultima Actualizacion: 2005-11-17 21:16:31 - Fecha de Creacion: 2005-11-15 14:40:48 - - Estatus del dominio: ACTIVO - - Servidor(es) de Nombres de Dominio: - - - avalon.ula.ve - - azmodan.ula.ve - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.expected b/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.txt b/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.txt deleted file mode 100644 index c3cea20d9..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.txt +++ /dev/null @@ -1,45 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Instra Corporation Pty Ltd (zumba.com.ve-dom) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Nombre de Dominio: zumba.com.ve - - Contacto Administrativo: - Instra Corporation Pty Ltd (zumba.com.ve-adm) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto Tecnico: - Instra Corporation Pty Ltd (zumba.com.ve-tec) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto de Cobranza: - Juan Enrique Sanchez Serrano (zumba.com.ve-bil) mail@nameaction.com - NameAction Inc - Av. Providencia 201, Of. 22 - Santiago CL - 2691300 x562 (FAX) 3437840 - - Fecha de Vencimiento: 2011-10-27 12:23:43 - Ultima Actualizacion: - Fecha de Creacion: 2010-10-27 12:23:43 - - Estatus del dominio: ACTIVO - - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_available.expected b/spec/fixtures/responses/whois.nic.ve/ve/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_available.txt b/spec/fixtures/responses/whois.nic.ve/ve/status_available.txt deleted file mode 100644 index e88a9ca89..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -No match for "u34jedzcq.ve". - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.expected b/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.expected deleted file mode 100644 index 4c255002a..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == :inactive - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-11-21 15:21:32} - -#updated_on - %s %CLASS{time} - %s %TIME{2006-06-08 21:54:41} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-11-21 15:21:32} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns10.tepuyserver.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns9.tepuyserver.net" diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.txt b/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.txt deleted file mode 100644 index 9a7f1fb43..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_inactive.txt +++ /dev/null @@ -1,49 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Rafael Perez (aloespa.com.ve-dom) registro@tepuynet.com - Rafael Perez - Caracas - Caracas, D. Federal VE - - - Nombre de Dominio: aloespa.com.ve - - Contacto Administrativo: - Tepuynet (aloespa.com.ve-adm) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Contacto Tecnico: - Tepuynet (aloespa.com.ve-tec) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Contacto de Cobranza: - Tepuynet (aloespa.com.ve-bil) registro@tepuynet.com - Tepuynet C.A. - Av. Bolivar Norte Torre Banaven, Piso 9 Ofic. 9-9 - Valencia, Carabobo VE - 2418246437 (FAX) 2418246437 - - Fecha de Vencimiento: 2010-11-21 15:21:32 - Ultima Actualizacion: 2006-06-08 21:54:41 - Fecha de Creacion: 2005-11-21 15:21:32 - - Estatus del dominio: SUSPENDIDO - - Servidor(es) de Nombres de Dominio: - - - ns10.tepuyserver.net - - ns9.tepuyserver.net - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_registered.expected b/spec/fixtures/responses/whois.nic.ve/ve/status_registered.expected deleted file mode 100644 index be68ff6f7..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_registered.expected +++ /dev/null @@ -1,25 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-10-27 12:23:43} - -#updated_on - %s == nil - -#expires_on - %s %CLASS{time} - %s %TIME{2011-10-27 12:23:43} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.ve/ve/status_registered.txt b/spec/fixtures/responses/whois.nic.ve/ve/status_registered.txt deleted file mode 100644 index c3cea20d9..000000000 --- a/spec/fixtures/responses/whois.nic.ve/ve/status_registered.txt +++ /dev/null @@ -1,45 +0,0 @@ - -Servidor Whois de NIC-Venezuela (.VE) - -Este servidor contiene informacion autoritativa exclusivamente de dominios .VE -Cualquier consulta sobre este servicio, puede hacerla al correo electronico whois@nic.ve - -Titular: -Instra Corporation Pty Ltd (zumba.com.ve-dom) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Nombre de Dominio: zumba.com.ve - - Contacto Administrativo: - Instra Corporation Pty Ltd (zumba.com.ve-adm) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto Tecnico: - Instra Corporation Pty Ltd (zumba.com.ve-tec) instracorp@nameaction.com.ve - Instra Corporation Pty Ltd - GPO Box 988 - Melbourne AU - 3-97831800 x61 (FAX) 3-97836844 - - Contacto de Cobranza: - Juan Enrique Sanchez Serrano (zumba.com.ve-bil) mail@nameaction.com - NameAction Inc - Av. Providencia 201, Of. 22 - Santiago CL - 2691300 x562 (FAX) 3437840 - - Fecha de Vencimiento: 2011-10-27 12:23:43 - Ultima Actualizacion: - Fecha de Creacion: 2010-10-27 12:23:43 - - Estatus del dominio: ACTIVO - - -NIC-Venezuela - CONATEL -http://www.nic.ve diff --git a/spec/fixtures/responses/whois.nic.wed/wed/status_available.txt b/spec/fixtures/responses/whois.nic.wed/wed/status_available.txt deleted file mode 100644 index 5362be3a8..000000000 --- a/spec/fixtures/responses/whois.nic.wed/wed/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -Domain Name: u34jedzcq.wed -Domain Status: Prohibited String - Object Cannot Be Registered -Notes: This name is not allowed by the policy of this registry, and can not be registered - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. THis WHOIS database is provided by as a service to the internet community. - -The data is for information purposes only. We do not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-24T12:12:33.763Z <<< diff --git a/spec/fixtures/responses/whois.nic.wed/wed/status_registered.txt b/spec/fixtures/responses/whois.nic.wed/wed/status_registered.txt deleted file mode 100644 index a6636ed87..000000000 --- a/spec/fixtures/responses/whois.nic.wed/wed/status_registered.txt +++ /dev/null @@ -1,67 +0,0 @@ -Domain Name: nic.wed -Domain ID: 963171-CoCCA -WHOIS Server: whois.nic.wed -Referral URL: -Updated Date: 2014-01-24T05:00:34.240Z -Creation Date: 2013-12-29T22:02:21.427Z -Registry Expiry Date: 2014-12-29T22:02:21.621Z -Sponsoring Registrar: WED gTLD Admin Reserved -Sponsoring Registrar IANA ID: -Domain Status: ok -Domain Status: serverTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientTransferProhibited -Domain Status: serverRenewProhibited -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited -Domain Status: serverUpdateProhibited -Domain Status: serverDeleteProhibited - -Registrant ID: 963170-CoCCA -Registrant Name: Garth Miller -Registrant Organization: CoCCA Registry Services (NZ) Ltd. -Registrant Street: 11a Wynyard Street -Registrant Street: Devonport -Registrant City: Auckland -Registrant State/Province: AKL -Registrant Postal Code: 0624 -Registrant Country: NZ -Registrant Phone: +64.94466370 -Registrant Phone Ext: -Registrant Email: garth.miller@cocca.org.nz - -Admin ID: 963170-CoCCA -Admin Name: Garth Miller -Admin Organization: CoCCA Registry Services (NZ) Ltd. -Admin Street: 11a Wynyard Street -Admin Street: Devonport -Admin City: Auckland -Admin State/Province: AKL -Admin Postal Code: 0624 -Admin Country: NZ -Admin Phone: +64.94466370 -Admin Phone Ext: -Admin Email: garth.miller@cocca.org.nz - -Name Server: ns1.enetworksgy.com -Name Server: ns2.enetworksgy.com -Name Server: ns3.enetworksgy.com - -DNSSEC: signed - -Additional Section - -Sponsoring Registrar URL: -Sponsoring Registrar Country: AF -Sponsoring Registrar Phone: -Sponsoring Registrar Fax: -Sponsoring Registrar Customer Service Contact: -Sponsoring Registrar Customer Service Email: -Sponsoring Registrar Admin Contact: -Sponsoring Registrar Admin Email: - -TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of electronic processes that are high-volume and automated. THis WHOIS database is provided by as a service to the internet community. - -The data is for information purposes only. We do not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-24T12:08:57.257Z <<< diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.expected b/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.expected deleted file mode 100644 index 31e4bf0ce..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.expected +++ /dev/null @@ -1,54 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.txt b/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.expected b/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.expected deleted file mode 100644 index a8f7fd6ea..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.expected +++ /dev/null @@ -1,107 +0,0 @@ -#disclaimer - %s == "Access to .XXX ICM REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the ICM registry database. The data in this record is provided by ICM Registry for informational purposes only, and ICM does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. ICM reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "masala.xxx" - -#domain_id - %s == "D130773-XXX" - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2011-12-01 01:37:55 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-02 22:20:04 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-12-01 01:37:55 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "R3228-XXX" - %s.name == "Mesh Digital Limited" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MNT5BB23000590" - %s[0].name == "Domainmonster.com Privacy Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "masala.xxx@privatemonster.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "MNT5BB23000590" - %s[0].name == "Domainmonster.com Privacy Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "masala.xxx@privatemonster.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "MNT5BB23000590" - %s[0].name == "Domainmonster.com Privacy Service" - %s[0].organization == "Identity Protect Limited" - %s[0].address == "PO Box 795" - %s[0].city == "Godalming" - %s[0].zip == "GU7 9GA" - %s[0].state == "Surrey" - %s[0].country == nil - %s[0].country_code == "GB" - %s[0].phone == "+44.1483307527" - %s[0].fax == "+44.1483304031" - %s[0].email == "masala.xxx@privatemonster.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns39.domaincontrol.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns40.domaincontrol.com" - - -#reserved? - %s == false diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.txt b/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.txt deleted file mode 100644 index 5b23d22c3..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ -Domain Name:MASALA.XXX -Domain ID: D130773-XXX -Creation Date: 01-Dec-2011 01:37:55 UTC -Updated Date: 02-Dec-2013 22:20:04 UTC -Registry Expiry Date: 01-Dec-2014 01:37:55 UTC -Sponsoring Registrar:Mesh Digital Limited (R3228-XXX) -Sponsoring Registrar IANA ID: 1390 -WHOIS Server: -Referral URL: -Domain Status: ok -Registrant ID:MNT5BB23000590 -Registrant Name:Domainmonster.com Privacy Service -Registrant Organization:Identity Protect Limited -Registrant Street: PO Box 795 -Registrant City:Godalming -Registrant State/Province:Surrey -Registrant Postal Code:GU7 9GA -Registrant Country:GB -Registrant Phone:+44.1483307527 -Registrant Phone Ext: -Registrant Fax: +44.1483304031 -Registrant Fax Ext: -Registrant Email:masala.xxx@privatemonster.com -Admin ID:MNT5BB23000590 -Admin Name:Domainmonster.com Privacy Service -Admin Organization:Identity Protect Limited -Admin Street: PO Box 795 -Admin City:Godalming -Admin State/Province:Surrey -Admin Postal Code:GU7 9GA -Admin Country:GB -Admin Phone:+44.1483307527 -Admin Phone Ext: -Admin Fax: +44.1483304031 -Admin Fax Ext: -Admin Email:masala.xxx@privatemonster.com -Tech ID:MNT5BB23000590 -Tech Name:Domainmonster.com Privacy Service -Tech Organization:Identity Protect Limited -Tech Street: PO Box 795 -Tech City:Godalming -Tech State/Province:Surrey -Tech Postal Code:GU7 9GA -Tech Country:GB -Tech Phone:+44.1483307527 -Tech Phone Ext: -Tech Fax: +44.1483304031 -Tech Fax Ext: -Tech Email:masala.xxx@privatemonster.com -Name Server:NS39.DOMAINCONTROL.COM -Name Server:NS40.DOMAINCONTROL.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: - -Access to .XXX ICM REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the ICM registry database. The data in this record is provided by ICM Registry for informational purposes only, and ICM does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. ICM reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. - - diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.expected b/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.expected deleted file mode 100644 index e5b50f284..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == true - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.txt b/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.txt deleted file mode 100644 index b9b91ce7a..000000000 --- a/spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -Reserved by ICM Registry diff --git a/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.expected b/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.txt b/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.txt deleted file mode 100644 index b1b30e987..000000000 --- a/spec/fixtures/responses/whois.nic.xyz/xyz/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.expected b/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.expected deleted file mode 100644 index 1f903508b..000000000 --- a/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.expected +++ /dev/null @@ -1,124 +0,0 @@ -#disclaimer - %s == "Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance." - - -#domain - %s == "abc.xyz" - -#domain_id - %s == "D2192285-CNIC" - - -#status - %s == ["clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2014-03-20 12:59:17 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-08-18 15:09:36 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2025-03-20 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor, Inc (TLDs)" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].url == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].url == nil - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-87489" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6502530001" - %s[0].email == "dns-admin@google.com" - %s[0].url == nil - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns4.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns1.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.txt b/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.txt deleted file mode 100644 index fc78b0a83..000000000 --- a/spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ -Domain Name: ABC.XYZ -Domain ID: D2192285-CNIC -WHOIS Server: whois.markmonitor.com -Referral URL: https://www.markmonitor.com/ -Updated Date: 2015-08-18T15:09:36.0Z -Creation Date: 2014-03-20T12:59:17.0Z -Registry Expiry Date: 2025-03-20T23:59:59.0Z -Sponsoring Registrar: MarkMonitor, Inc (TLDs) -Sponsoring Registrar IANA ID: 292 -Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited -Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited -Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited -Registrant ID: mmr-87489 -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6502530000 -Registrant Phone Ext: -Registrant Fax: +1.6502530001 -Registrant Fax Ext: -Registrant Email: dns-admin@google.com -Admin ID: mmr-87489 -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6502530000 -Admin Phone Ext: -Admin Fax: +1.6502530001 -Admin Fax Ext: -Admin Email: dns-admin@google.com -Tech ID: mmr-87489 -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6502530000 -Tech Phone Ext: -Tech Fax: +1.6502530001 -Tech Fax Ext: -Tech Email: dns-admin@google.com -Name Server: NS2.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS1.GOOGLE.COM -DNSSEC: unsigned ->>> Last update of WHOIS database: 2015-11-29T21:11:15.0Z <<< - -For more information on Whois status codes, please visit https://icann.org/epp - -This whois service is provided by CentralNic Ltd and only contains -information pertaining to Internet domain names registered by our -our customers. By using this service you are agreeing (1) not to use any -information presented here for any purpose other than determining -ownership of domain names, (2) not to store or reproduce this data in -any way, (3) not to use any high-volume, automated, electronic processes -to obtain data from this service. Abuse of this service is monitored and -actions in contravention of these terms will result in being permanently -blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/ - -Access to the whois service is rate limited. For more information, please -see https://registrar-console.centralnic.com/pub/whois_guidance. - diff --git a/spec/fixtures/responses/whois.norid.no/no/status_available.expected b/spec/fixtures/responses/whois.norid.no/no/status_available.expected deleted file mode 100644 index 6a1d95d9a..000000000 --- a/spec/fixtures/responses/whois.norid.no/no/status_available.expected +++ /dev/null @@ -1,18 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.norid.no/no/status_available.txt b/spec/fixtures/responses/whois.norid.no/no/status_available.txt deleted file mode 100644 index c2bfa8a05..000000000 --- a/spec/fixtures/responses/whois.norid.no/no/status_available.txt +++ /dev/null @@ -1,5 +0,0 @@ -% Kopibeskyttet, se http://www.norid.no/domenenavnbaser/whois/kopirett.html -% Rights restricted by copyright. See http://www.norid.no/domenenavnbaser/whois/kopirett.en.html - -% No match - diff --git a/spec/fixtures/responses/whois.norid.no/no/status_registered.expected b/spec/fixtures/responses/whois.norid.no/no/status_registered.expected deleted file mode 100644 index c2198f3ab..000000000 --- a/spec/fixtures/responses/whois.norid.no/no/status_registered.expected +++ /dev/null @@ -1,20 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-02-26} - -#updated_on - %s %CLASS{time} - %s %TIME{2015-01-27} - -#expires_on - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.norid.no/no/status_registered.txt b/spec/fixtures/responses/whois.norid.no/no/status_registered.txt deleted file mode 100644 index c63adfa60..000000000 --- a/spec/fixtures/responses/whois.norid.no/no/status_registered.txt +++ /dev/null @@ -1,38 +0,0 @@ -% Kopibeskyttet, se http://www.norid.no/domenenavnbaser/whois/kopirett.html -% Rights restricted by copyright. See http://www.norid.no/domenenavnbaser/whois/kopirett.en.html - -Domain Information - -NORID Handle...............: GOO371D-NORID -Domain Name................: google.no -Domain Holder Handle.......: GNA233O-NORID -Registrar Handle...........: REG466-NORID -Legal-c Handle.............: RH3332P-NORID -Tech-c Handle..............: MS5407P-NORID -Name Server Handle.........: NSGO26H-NORID -Name Server Handle.........: NSGO27H-NORID -Name Server Handle.........: NSGO28H-NORID -Name Server Handle.........: NSGO29H-NORID - -Additional information: -Created: 2001-02-26 -Last updated: 2015-01-27 - -NORID Handle...............: GNA233O-NORID -Type.......................: organization -Name.......................: Google Norway AS -Id Type....................: organization_number -Id Number..................: 988588261 -Registrar Handle...........: REG466-NORID -Post Address...............: Beddingen 10 -Postal Code................: NO-7014 -Postal Area................: Trondheim -Country....................: NO -Phone Number...............: +47.23894000 -Fax Number.................: +47.23894001 -Email Address..............: Dns-admin@google.com - -Additional information: -Created: 2010-10-01 -Last updated: 2010-10-01 - diff --git a/spec/fixtures/responses/whois.pairnic.com/status_available.expected b/spec/fixtures/responses/whois.pairnic.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.pairnic.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.pairnic.com/status_available.txt b/spec/fixtures/responses/whois.pairnic.com/status_available.txt deleted file mode 100644 index 1ec712789..000000000 --- a/spec/fixtures/responses/whois.pairnic.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No matching domain name found. diff --git a/spec/fixtures/responses/whois.pairnic.com/status_registered.expected b/spec/fixtures/responses/whois.pairnic.com/status_registered.expected deleted file mode 100644 index d6d8a1399..000000000 --- a/spec/fixtures/responses/whois.pairnic.com/status_registered.expected +++ /dev/null @@ -1,97 +0,0 @@ -#domain - %s == "pairnic.com" - -#domain_id - %s == "2806983_DOMAIN_COM-VRSN" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1998-12-19T05:00:00.0000Z} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-09-04T13:55:30.0000Z} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-12-18T19:00:-0500Z} - - -#registrar - %s %CLASS{registrar} - %s.id == "99" - %s.name == "pairNIC INC" - %s.organization == "pairNIC INC" - %s.url == "https://www.pairnic.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "753531" - %s[0].name == "Domain Administrator" - %s[0].organization == "pair Networks, Inc." - %s[0].address == "2403 Sidney Street Suite 210" - %s[0].city == "Pittsburgh" - %s[0].zip == "15203" - %s[0].state == "PA" - %s[0].country_code == "US" - %s[0].phone == "" - %s[0].fax == "" - %s[0].email == "" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "753250" - %s[0].name == "Domain Administrator" - %s[0].organization == "pair Networks, Inc." - %s[0].address == "2403 Sidney Street Suite 210" - %s[0].city == "Pittsburgh" - %s[0].zip == "15203" - %s[0].state == "PA" - %s[0].country_code == "US" - %s[0].phone == "+1.4123817247" - %s[0].fax == "+1.4123819997" - %s[0].email == "domain@pair.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "753250" - %s[0].name == "Domain Administrator" - %s[0].organization == "pair Networks, Inc." - %s[0].address == "2403 Sidney Street Suite 210" - %s[0].city == "Pittsburgh" - %s[0].zip == "15203" - %s[0].state == "PA" - %s[0].country_code == "US" - %s[0].phone == "+1.4123817247" - %s[0].fax == "+1.4123819997" - %s[0].email == "domain@pair.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns0.ns0.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns00.ns0.com" diff --git a/spec/fixtures/responses/whois.pairnic.com/status_registered.txt b/spec/fixtures/responses/whois.pairnic.com/status_registered.txt deleted file mode 100644 index 98b856d0f..000000000 --- a/spec/fixtures/responses/whois.pairnic.com/status_registered.txt +++ /dev/null @@ -1,70 +0,0 @@ - Domain Name: pairnic.com - Registry Domain ID: 2806983_DOMAIN_COM-VRSN - Registrar WHOIS Server: whois.pairnic.com - Registrar URL: https://www.pairnic.com - Updated Date: 2012-09-04T13:55:30.0000Z - Creation Date: 1998-12-19T05:00:00.0000Z - Registrar Registration Expiration Date: 2017-12-18T19:00:-0500Z - Registrar: pairNIC INC - Registrar IANA ID: 99 - Registrar Abuse Contact Email: abuse@pairnic.com - Registrar Abuse Contact Phone: +1.8887247642 - Domain Status: 3 - Registry Registrant ID: 753531 - Registrant Name: Domain Administrator - Registrant Organization: pair Networks, Inc. - Registrant Street: 2403 Sidney Street Suite 210 - Registrant City: Pittsburgh - Registrant State/Province: PA - Registrant Postal Code: 15203 - Registrant Country: US - Registry Admin ID: 753250 - Admin Name: Domain Administrator - Admin Organization: pair Networks, Inc. - Admin Street: 2403 Sidney Street Suite 210 - Admin City: Pittsburgh - Admin State/Province: PA - Admin Postal Code: 15203 - Admin Country: US - Admin Phone: +1.4123817247 - Admin Phone Ext: - Admin Fax: +1.4123819997 - Admin Fax Ext: - Admin Email: domain@pair.com - Registry Tech ID: 753250 - Tech Name: Domain Administrator - Tech Organization: pair Networks, Inc. - Tech Street: 2403 Sidney Street Suite 210 - Tech City: Pittsburgh - Tech State/Province: PA - Tech Postal Code: 15203 - Tech Country: US - Tech Phone: +1.4123817247 - Tech Phone Ext: - Tech Fax: +1.4123819997 - Tech Fax Ext: - Tech Email: domain@pair.com - Name Server: NS0.NS0.COM - Name Server: NS00.NS0.COM - DNSSEC: - URL of the ICANN WHOIS Data Problem Reporting System: - http://wdprs.internic.net/ - >>> Last update of WHOIS database: 2012-09-04T13:55:30.0000Z <<< - -NOTICE AND TERMS OF USE: By submitting a WHOIS query, you agree to abide by the -following terms of use: You agree that you may use this Data only for lawful -purposes and that under no circumstances will you use this Data to: (a) allow, -enable, or otherwise support the transmission by e-mail, telephone, or -facsimile of mass, unsolicited, commercial advertising or solicitations; or (b) -enable high volume, automated, electronic processes that send queries or data -to the systems of any Registry Operator or ICANN-Accredited registrar, except -as reasonably necessary to register domain names or modify existing -registrations. pairNIC reserves all rights and remedies it now has or may have -in the future, including, but not limited to, the right to terminate your -access to the WHOIS database in its sole discretion, for any violations by you -of these terms of use, including without limitation, for excessive querying of -the WHOIS database or for failure to otherwise abide by these terms of use. -pairNIC reserves the right to modify these terms at any time. - -** Register Now at http://www.pairNIC.com/ ** - diff --git a/spec/fixtures/responses/whois.pandi.or.id/id/status_available.expected b/spec/fixtures/responses/whois.pandi.or.id/id/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.pandi.or.id/id/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.pandi.or.id/id/status_available.txt b/spec/fixtures/responses/whois.pandi.or.id/id/status_available.txt deleted file mode 100644 index 09cc0f7e3..000000000 --- a/spec/fixtures/responses/whois.pandi.or.id/id/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -DOMAIN NOT FOUND diff --git a/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.expected b/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.expected deleted file mode 100644 index a20863ee9..000000000 --- a/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.expected +++ /dev/null @@ -1,115 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == "google.co.id" - -#domain_id - %s == "PANDI-DO246796" - - -#status - %s == ["clientTransferProhibited", "serverTransferProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-12-18 13:33:21 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-20 23:24:51 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-01 23:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "digitalreg" - %s.name == nil - %s.organization == "Digital Registra" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "0123459P2ZC" - %s[0].name == "Domain Administrator" - %s[0].organization == "PT Google Indonesia" - %s[0].address == "Menara BCA Grand Indonesia\nRegus Grand Indonesia" - %s[0].city == "Jakarta" - %s[0].zip == "10310" - %s[0].state == "Jakarta" - %s[0].country == nil - %s[0].country_code == "ID" - %s[0].phone == "+62.2123584400" - %s[0].fax == "+62.2123584400" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "0123459P2ZC" - %s[0].name == "Domain Administrator" - %s[0].organization == "PT Google Indonesia" - %s[0].address == "Menara BCA Grand Indonesia\nRegus Grand Indonesia" - %s[0].city == "Jakarta" - %s[0].zip == "10310" - %s[0].state == "Jakarta" - %s[0].country == nil - %s[0].country_code == "ID" - %s[0].phone == "+62.2123584400" - %s[0].fax == "+62.2123584400" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "01234616RFG" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.65030000" - %s[0].fax == "+1.65030001" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.txt b/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.txt deleted file mode 100644 index fd23f7dc9..000000000 --- a/spec/fixtures/responses/whois.pandi.or.id/id/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ -Domain ID:PANDI-DO246796 -Domain Name:GOOGLE.CO.ID -Created On:18-Dec-2004 13:33:21 UTC -Last Updated On:20-Sep-2013 23:24:51 UTC -Expiration Date:01-Sep-2014 23:59:59 UTC -Status:clientTransferProhibited -Status:serverTransferProhibited -Registrant ID:0123459P2ZC -Registrant Name:Domain Administrator -Registrant Organization:PT Google Indonesia -Registrant Street1:Menara BCA Grand Indonesia -Registrant Street2:Regus Grand Indonesia -Registrant City:Jakarta -Registrant State/Province:Jakarta -Registrant Postal Code:10310 -Registrant Country:ID -Registrant Phone:+62.2123584400 -Registrant FAX:+62.2123584400 -Registrant Email:dns-admin@google.com -Admin ID:0123459P2ZC -Admin Name:Domain Administrator -Admin Organization:PT Google Indonesia -Admin Street1:Menara BCA Grand Indonesia -Admin Street2:Regus Grand Indonesia -Admin City:Jakarta -Admin State/Province:Jakarta -Admin Postal Code:10310 -Admin Country:ID -Admin Phone:+62.2123584400 -Admin FAX:+62.2123584400 -Admin Email:dns-admin@google.com -Tech ID:01234616RFG -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street1:1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.65030000 -Tech FAX:+1.65030001 -Tech Email:dns-admin@google.com -Billing ID:0120505a1pl -Billing Name:CCOPS Billing -Billing Organization:MarkMonitor Inc. -Billing Street1:JL.Hang Kesturi KM 4 Kabil Indus -Billing City:Boise -Billing State/Province:ID -Billing Postal Code:83704 -Billing Country:US -Billing Phone:+1.2083895741 -Billing FAX:+1.2083895771 -Billing Email:ccopsbilling@markmonitor.com -Sponsoring Registrar ID:digitalreg -Sponsoring Registrar Organization:Digital Registra -Sponsoring Registrar Postal Code:55281 -Sponsoring Registrar Country:ID -Sponsoring Registrar Phone:0274882257 -Name Server:NS1.GOOGLE.COM -Name Server:NS2.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -DNSSEC:Unsigned - - - diff --git a/spec/fixtures/responses/whois.pir.org/org/response_throttled.expected b/spec/fixtures/responses/whois.pir.org/org/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.pir.org/org/response_throttled.txt b/spec/fixtures/responses/whois.pir.org/org/response_throttled.txt deleted file mode 100644 index e93dd4a79..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -WHOIS LIMIT EXCEEDED - SEE WWW.PIR.ORG/WHOIS FOR DETAILS diff --git a/spec/fixtures/responses/whois.pir.org/org/status_available.expected b/spec/fixtures/responses/whois.pir.org/org/status_available.expected deleted file mode 100644 index 2c3fe7a88..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.pir.org/org/status_available.txt b/spec/fixtures/responses/whois.pir.org/org/status_available.txt deleted file mode 100644 index 679aadb95..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -NOT FOUND diff --git a/spec/fixtures/responses/whois.pir.org/org/status_registered.expected b/spec/fixtures/responses/whois.pir.org/org/status_registered.expected deleted file mode 100644 index c33c111b9..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/status_registered.expected +++ /dev/null @@ -1,108 +0,0 @@ -#disclaimer - %s == "Access to Public Interest Registry WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Public Interest Registry registry database. The data in this record is provided by Public Interest Registry for informational purposes only, and Public Interest Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Public Interest Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy." - - -#domain - %s == "google.org" - -#domain_id - %s == "D2244233-LROR" - - -#status - %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1998-10-21 04:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-09-18 09:17:35 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-20 04:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "292" - %s.name == "MarkMonitor Inc. (R37-LROR)" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "mmr-32097" - %s[0].name == "DNS Admin" - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country_code == "US" - %s[0].phone == "+1.6506234000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.pir.org/org/status_registered.txt b/spec/fixtures/responses/whois.pir.org/org/status_registered.txt deleted file mode 100644 index ded1aa1ea..000000000 --- a/spec/fixtures/responses/whois.pir.org/org/status_registered.txt +++ /dev/null @@ -1,69 +0,0 @@ -Domain Name:GOOGLE.ORG -Domain ID: D2244233-LROR -Creation Date: 1998-10-21T04:00:00Z -Updated Date: 2013-09-18T09:17:35Z -Registry Expiry Date: 2014-10-20T04:00:00Z -Sponsoring Registrar:MarkMonitor Inc. (R37-LROR) -Sponsoring Registrar IANA ID: 292 -WHOIS Server: -Referral URL: -Domain Status: clientDeleteProhibited -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Registrant ID:mmr-32097 -Registrant Name:DNS Admin -Registrant Organization:Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City:Mountain View -Registrant State/Province:CA -Registrant Postal Code:94043 -Registrant Country:US -Registrant Phone:+1.6506234000 -Registrant Phone Ext: -Registrant Fax: +1.6506188571 -Registrant Fax Ext: -Registrant Email:dns-admin@google.com -Admin ID:mmr-32097 -Admin Name:DNS Admin -Admin Organization:Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City:Mountain View -Admin State/Province:CA -Admin Postal Code:94043 -Admin Country:US -Admin Phone:+1.6506234000 -Admin Phone Ext: -Admin Fax: +1.6506188571 -Admin Fax Ext: -Admin Email:dns-admin@google.com -Tech ID:mmr-32097 -Tech Name:DNS Admin -Tech Organization:Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City:Mountain View -Tech State/Province:CA -Tech Postal Code:94043 -Tech Country:US -Tech Phone:+1.6506234000 -Tech Phone Ext: -Tech Fax: +1.6506188571 -Tech Fax Ext: -Tech Email:dns-admin@google.com -Name Server:NS2.GOOGLE.COM -Name Server:NS1.GOOGLE.COM -Name Server:NS3.GOOGLE.COM -Name Server:NS4.GOOGLE.COM -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -Name Server: -DNSSEC:Unsigned - -Access to Public Interest Registry WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Public Interest Registry registry database. The data in this record is provided by Public Interest Registry for informational purposes only, and Public Interest Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Public Interest Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. - - diff --git a/spec/fixtures/responses/whois.pnina.ps/ps/status_available.expected b/spec/fixtures/responses/whois.pnina.ps/ps/status_available.expected deleted file mode 100644 index 0cf599fdc..000000000 --- a/spec/fixtures/responses/whois.pnina.ps/ps/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.ps" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.pnina.ps/ps/status_available.txt b/spec/fixtures/responses/whois.pnina.ps/ps/status_available.txt deleted file mode 100644 index b8f842f60..000000000 --- a/spec/fixtures/responses/whois.pnina.ps/ps/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -Domain Name: u34jedzcq.ps -Domain Status: Available - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by PNINA as a service to the internet -community on behalf of PNINA and Its Certified Registrars (CR). (http://www.pnina.ps/registrars/registrars-list/) - -The data is for information purposes only. PNINA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to PNINA and it's Certified Registrar's (or PNINA or CR computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - ->>> Last update of WHOIS database: 2013-12-18T10:03:38.349Z <<< diff --git a/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.expected b/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.expected deleted file mode 100644 index 27b80d46c..000000000 --- a/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.expected +++ /dev/null @@ -1,52 +0,0 @@ -#domain - %s == "google.ps" - -#domain_id - %s == "21665-PS" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-05-18 22:00:00 UTC} - -#updated_on - %s == nil - -#expires_on - %s %CLASS{time} - %s %TIME{2014-05-18 22:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor Inc." - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.txt b/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.txt deleted file mode 100644 index 7fea23211..000000000 --- a/spec/fixtures/responses/whois.pnina.ps/ps/status_registered.txt +++ /dev/null @@ -1,96 +0,0 @@ -Domain Name: google.ps -Domain ID: 21665-PS -WHOIS Server: Palestine PS/Felasteen ccTLD Registry -Referral URL: -Creation Date: 2004-05-18T22:00:00.000Z -Registry Expiry Date: 2014-05-18T22:00:00.000Z -Sponsoring Registrar: MarkMonitor Inc. -Sponsoring Registrar IANA ID: -Domain Status: clientTransferProhibited -Domain Status: clientDeleteProhibited -Domain Status: ok -Domain Status: clientRenewProhibited -Domain Status: clientUpdateProhibited - -Registrant ID: 21544-PS -Registrant Name: Google Inc. -Registrant Street: 2400 E. Bayshore Pkwy Mountain View- CA- US 94043 -Registrant City: CA -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US -Registrant Phone: 001-6-503300100 -Registrant Phone Ext: -Registrant Fax: 001-6-506188571 -Registrant Fax Ext: - -Admin ID: 21466-PS -Admin Name: markmonitor-Inc -Admin Street: 10400 Overland Rd- PMB 155- Boise-ID-US 83709-1433 -Admin City: Boise -Admin State/Province: -Admin Postal Code: -Admin Country: US -Admin Phone: 001-2-083895740 -Admin Phone Ext: -Admin Fax: 001-2-083895771 -Admin Fax Ext: - -Billing ID: 21544-PS -Billing Name: Google Inc. -Billing Street: 2400 E. Bayshore Pkwy Mountain View- CA- US 94043 -Billing City: CA -Billing State/Province: -Billing Postal Code: -Billing Country: US -Billing Phone: 001-6-503300100 -Billing Phone Ext: -Billing Fax: 001-6-506188571 -Billing Fax Ext: - -Tech ID: 21466-PS -Tech Name: markmonitor-Inc -Tech Street: 10400 Overland Rd- PMB 155- Boise-ID-US 83709-1433 -Tech City: Boise -Tech State/Province: -Tech Postal Code: -Tech Country: US -Tech Phone: 001-2-083895740 -Tech Phone Ext: -Tech Fax: 001-2-083895771 -Tech Fax Ext: - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com - -DNSSEC: unsigned - - -Additional Section - - -Sponsoring Registrar URL: -Sponsoring Registrar Address: 391-N.ANCESTOR PLACE BOISE,IDAHO USA -Sponsoring Registrar Phone: +1-208-389-5740 -Sponsoring Registrar Fax: +1-208-389-5740 - - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by PNINA as a service to the internet -community on behalf of PNINA and Its Certified Registrars (CR). (http://www.pnina.ps/registrars/registrars-list/) - -The data is for information purposes only. PNINA does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to PNINA and it's Certified Registrar's (or PNINA or CR computer systems). The -compilation, repackaging, dissemination or other use of this Data is -expressly prohibited. - - ->>> Last update of WHOIS database: 2014-02-18T20:26:27.877Z <<< diff --git a/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.expected deleted file mode 100644 index 14593066d..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "chicken.orbitel.bg" - %s[0].ipv4 == "195.24.32.5" - %s[1] %CLASS{nameserver} - %s[1].name == "ns.orbitel.bg" - %s[1].ipv4 == "195.24.32.2" diff --git a/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.txt deleted file mode 100644 index 6bc593cf8..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.txt +++ /dev/null @@ -1,42 +0,0 @@ - -DOMAIN NAME: orbitel.bg -requested on: 10/11/1997 00:00:00 EET -processed from: 10/11/1997 00:00:00 EET -activated on: 24/11/1997 00:00:00 EET -expires at: 01/01/2011 00:00:00 EET -registration status: Registered - -REGISTRANT: -Orbitel S.A. - SOFIA, 1505 - BULGARIA - -ADMINISTRATIVE CONTACT: - Victor Francess - registry@orbitel.bg - Orbitel Ltd. - 1, Macedonia sq., fl.18, BG-1040 Sofia - SOFIA, 1040 - BULGARIA - tel: +359 2 9809077 - fax: +359 2 9804258 - NIC handle: VF15885 - -TECHNICAL CONTACT(S): - - Andrejana P Shojkova - registry@orbitel.bg - Orbitel S.C. - 1 Macedonia Sq., KNSB building, floor 18, room 10, 1000 Sofia - SOFIA, - BULGARIA - tel: +359 2 4004731 - fax: +359 2 4004744 - NIC handle: AS50734 - -NAME SERVER INFORMATION: -chicken.orbitel.bg (195.24.32.5) -ns.orbitel.bg (195.24.32.2) - -DNSSEC: Inactive - diff --git a/spec/fixtures/responses/whois.register.bg/bg/status_available.expected b/spec/fixtures/responses/whois.register.bg/bg/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.register.bg/bg/status_available.txt b/spec/fixtures/responses/whois.register.bg/bg/status_available.txt deleted file mode 100644 index 9ffd21ea5..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Domain name u34jedzcq.bg does not exist in database! diff --git a/spec/fixtures/responses/whois.register.bg/bg/status_registered.expected b/spec/fixtures/responses/whois.register.bg/bg/status_registered.expected deleted file mode 100644 index dd4141fd7..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-06-30 00:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-06-30 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.register.bg/bg/status_registered.txt b/spec/fixtures/responses/whois.register.bg/bg/status_registered.txt deleted file mode 100644 index 8382cc617..000000000 --- a/spec/fixtures/responses/whois.register.bg/bg/status_registered.txt +++ /dev/null @@ -1,45 +0,0 @@ - -DOMAIN NAME: google.bg -requested on: 13/03/2003 00:00:00 EET -processed from: 13/03/2003 00:00:00 EET -activated on: 30/06/2003 00:00:00 EEST -expires at: 30/06/2014 00:00:00 EEST -registration status: Registered - -REGISTRANT: -Google Inc. - 1600 Amphithetre Parkway, Mountain View CA 94043 US - N/A, 1000 - BULGARIA - -ADMINISTRATIVE CONTACT: - Todor Stoyanov - tonisto@mbox.digsys.bg - Tonisto Patent Agency - 7 Radko Dimitriev str., Varna - VARNA, N/A - BULGARIA - tel: +359 52 630803 - fax: +359 52 699014 - NIC handle: TS18-BGNIC - -TECHNICAL CONTACT(S): - - DNS Admin - dns-admin@google.com - Google Inc. - 1600 Amphitheatre Parkway, Mountain View CA 94043 US - N/A, N/A - . - tel: +1 6503300100 - fax: +1 6506181499 - NIC handle: DNS11-BGNIC - -NAME SERVER INFORMATION: -ns4.google.com -ns1.google.com -ns3.google.com -ns2.google.com - -DNSSEC: Inactive - diff --git a/spec/fixtures/responses/whois.register.com/registered_without_updated_on.expected b/spec/fixtures/responses/whois.register.com/registered_without_updated_on.expected deleted file mode 100644 index e3d702798..000000000 --- a/spec/fixtures/responses/whois.register.com/registered_without_updated_on.expected +++ /dev/null @@ -1,3 +0,0 @@ -#updated_on - %s == nil - diff --git a/spec/fixtures/responses/whois.register.com/registered_without_updated_on.txt b/spec/fixtures/responses/whois.register.com/registered_without_updated_on.txt deleted file mode 100644 index 3a7c3dabf..000000000 --- a/spec/fixtures/responses/whois.register.com/registered_without_updated_on.txt +++ /dev/null @@ -1,92 +0,0 @@ -The data in Register.com's WHOIS database is provided to you by -Register.com for information purposes only, that is, to assist you in -obtaining information about or related to a domain name registration -record. Register.com makes this information available "as is," and -does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, -under no circumstances will you use this data to: (1) allow, enable, -or otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via direct mail, electronic mail, or by -telephone; or (2) enable high volume, automated, electronic processes -that apply to Register.com (or its systems). The compilation, -repackaging, dissemination or other use of this data is expressly -prohibited without the prior written consent of Register.com. -Register.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by these terms. - - - - -Domain Name: register.com -Registry Domain ID: -Registrar WHOIS Server: whois.register.com -Registrar URL: http://www.register.com -Updated Date: -Creation Date: 1994-11-01T00:00:00-0500 -Registrar Registration Expiration Date: 2019-08-04T00:00:00-0400 -Registrar: Register.com -Registrar IANA ID: 9 -Registrar Abuse Contact Email: abuse@web.com -Registrar Abuse Contact Phone: +1.4042602594 -Reseller: -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited - -Registry Registrant ID: -Registrant Name: Domain Registrar -Registrant Organization: Register.Com, Inc. -Registrant Street: 575 8th Avenue -Registrant City: New York -Registrant State/Province: NY -Registrant Postal Code: 10018 -Registrant Country: US -Registrant Phone: +1.9027492701 -Registrant Phone Ext.: -Registrant Fax: -Registrant Fax Ext.: -Registrant Email: domainregistrar@register.com -Registry Admin ID: -Admin Name: Domain Registrar -Admin Organization: Register.Com, Inc. -Admin Street: 575 8th Avenue -Admin City: New York -Admin State/Province: NY -Admin Postal Code: 10018 -Admin Country: US -Admin Phone: +1.9027492701 -Admin Phone Ext.: -Admin Fax: -Admin Fax Ext.: -Admin Email: domainregistrar@register.com -Registry Tech ID: -Tech Name: Domain Registrar -Tech Organization: Register.Com, Inc. -Tech Street: 575 8th Avenue -Tech City: New York -Tech State/Province: NY -Tech Postal Code: 10018 -Tech Country: US -Tech Phone: +1.9027492701 -Tech Phone Ext.: -Tech Fax: -Tech Fax Ext.: -Tech Email: domainregistrar@register.com -Name Server: ns2.register.com -Name Server: ns3.register.com -Name Server: ns4.register.com -Name Server: ns5.register.com -Name Server: ns6.register.com -Name Server: ns1.register.com - -DNSSEC: - - -Visit AboutUs.org for more information about register.com - -AboutUs: register.com - -Register your domain name at http://www.register.com - - diff --git a/spec/fixtures/responses/whois.register.com/status_registered.expected b/spec/fixtures/responses/whois.register.com/status_registered.expected deleted file mode 100644 index 61d8c50dc..000000000 --- a/spec/fixtures/responses/whois.register.com/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "register.com" - -#domain_id - %s == "" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1994-11-01T00:00:00-0500} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-08-26T00:00:00-0400} - -#expires_on - %s %CLASS{time} - %s %TIME{2019-08-04T00:00:00-0400} - - -#registrar - %s %CLASS{registrar} - %s.id == "9" - %s.name == "Register.com" - %s.url == "http://www.register.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Domain Registrar" - %s[0].organization == "Register.Com, Inc." - %s[0].address == "575 8th Avenue" - %s[0].city == "New York" - %s[0].zip == "10018" - %s[0].state == "NY" - %s[0].country_code == "US" - %s[0].phone == "+1.9027492701" - %s[0].fax == "" - %s[0].email == "domainregistrar@register.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "Domain Registrar" - %s[0].organization == "Register.Com, Inc." - %s[0].address == "575 8th Avenue" - %s[0].city == "New York" - %s[0].zip == "10018" - %s[0].state == "NY" - %s[0].country_code == "US" - %s[0].phone == "+1.9027492701" - %s[0].fax == "" - %s[0].email == "domainregistrar@register.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "Domain Registrar" - %s[0].organization == "Register.Com, Inc." - %s[0].address == "575 8th Avenue" - %s[0].city == "New York" - %s[0].zip == "10018" - %s[0].state == "NY" - %s[0].country_code == "US" - %s[0].phone == "+1.9027492701" - %s[0].fax == "" - %s[0].email == "domainregistrar@register.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{6} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.register.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.register.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.register.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns5.register.com" - %s[4] %CLASS{nameserver} - %s[4].name == "ns6.register.com" - %s[5] %CLASS{nameserver} - %s[5].name == "ns1.register.com" diff --git a/spec/fixtures/responses/whois.register.com/status_registered.txt b/spec/fixtures/responses/whois.register.com/status_registered.txt deleted file mode 100644 index ef6afba96..000000000 --- a/spec/fixtures/responses/whois.register.com/status_registered.txt +++ /dev/null @@ -1,92 +0,0 @@ -The data in Register.com's WHOIS database is provided to you by -Register.com for information purposes only, that is, to assist you in -obtaining information about or related to a domain name registration -record. Register.com makes this information available "as is," and -does not guarantee its accuracy. By submitting a WHOIS query, you -agree that you will use this data only for lawful purposes and that, -under no circumstances will you use this data to: (1) allow, enable, -or otherwise support the transmission of mass unsolicited, commercial -advertising or solicitations via direct mail, electronic mail, or by -telephone; or (2) enable high volume, automated, electronic processes -that apply to Register.com (or its systems). The compilation, -repackaging, dissemination or other use of this data is expressly -prohibited without the prior written consent of Register.com. -Register.com reserves the right to modify these terms at any time. -By submitting this query, you agree to abide by these terms. - - - - -Domain Name: register.com -Registry Domain ID: -Registrar WHOIS Server: whois.register.com -Registrar URL: http://www.register.com -Updated Date: 2009-08-26T00:00:00-0400 -Creation Date: 1994-11-01T00:00:00-0500 -Registrar Registration Expiration Date: 2019-08-04T00:00:00-0400 -Registrar: Register.com -Registrar IANA ID: 9 -Registrar Abuse Contact Email: abuse@web.com -Registrar Abuse Contact Phone: +1.4042602594 -Reseller: -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientRenewProhibited -Domain Status: clientDeleteProhibited - -Registry Registrant ID: -Registrant Name: Domain Registrar -Registrant Organization: Register.Com, Inc. -Registrant Street: 575 8th Avenue -Registrant City: New York -Registrant State/Province: NY -Registrant Postal Code: 10018 -Registrant Country: US -Registrant Phone: +1.9027492701 -Registrant Phone Ext.: -Registrant Fax: -Registrant Fax Ext.: -Registrant Email: domainregistrar@register.com -Registry Admin ID: -Admin Name: Domain Registrar -Admin Organization: Register.Com, Inc. -Admin Street: 575 8th Avenue -Admin City: New York -Admin State/Province: NY -Admin Postal Code: 10018 -Admin Country: US -Admin Phone: +1.9027492701 -Admin Phone Ext.: -Admin Fax: -Admin Fax Ext.: -Admin Email: domainregistrar@register.com -Registry Tech ID: -Tech Name: Domain Registrar -Tech Organization: Register.Com, Inc. -Tech Street: 575 8th Avenue -Tech City: New York -Tech State/Province: NY -Tech Postal Code: 10018 -Tech Country: US -Tech Phone: +1.9027492701 -Tech Phone Ext.: -Tech Fax: -Tech Fax Ext.: -Tech Email: domainregistrar@register.com -Name Server: ns2.register.com -Name Server: ns3.register.com -Name Server: ns4.register.com -Name Server: ns5.register.com -Name Server: ns6.register.com -Name Server: ns1.register.com - -DNSSEC: - - -Visit AboutUs.org for more information about register.com - -AboutUs: register.com - -Register your domain name at http://www.register.com - - diff --git a/spec/fixtures/responses/whois.register.si/si/status_available.expected b/spec/fixtures/responses/whois.register.si/si/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.register.si/si/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.register.si/si/status_available.txt b/spec/fixtures/responses/whois.register.si/si/status_available.txt deleted file mode 100644 index 3cba99ee9..000000000 --- a/spec/fixtures/responses/whois.register.si/si/status_available.txt +++ /dev/null @@ -1,30 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% This is ARNES whois database -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Rights restricted by copyright. -% See http://www.arnes.si/domene/whois-legal.html -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% The WHOIS service offered by Arnes, .si Registry, is -% provided for information purposes only. It allows persons -% to check whether a specific domain name is still available -% or not and to obtain information related to the registration -% records of existing domain names. -% -% This WHOIS service accepts and displays only ASCII characters. -% Arnes cannot be held liable should the stored information -% prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information -% made available to: -% o Allow, enable or otherwise support the transmission -% of unsolicited, commercial advertising or other solicitations -% whether via email or otherwise; -% o Target advertising in any possible way; -% o Cause nuisance in any possible way to the registrants -% by sending (whether by automated, electronic processes -% capable of enabling high volumes or other possible -% means) messages to them; -% o copy, extract and/or publish contents of the WHOIS database. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% No entries found for the selected source(s). diff --git a/spec/fixtures/responses/whois.register.si/si/status_registered.expected b/spec/fixtures/responses/whois.register.si/si/status_registered.expected deleted file mode 100644 index 9ef985aec..000000000 --- a/spec/fixtures/responses/whois.register.si/si/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-04-04} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-07-19} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.register.si/si/status_registered.txt b/spec/fixtures/responses/whois.register.si/si/status_registered.txt deleted file mode 100644 index 9bf427c71..000000000 --- a/spec/fixtures/responses/whois.register.si/si/status_registered.txt +++ /dev/null @@ -1,51 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% This is ARNES whois database -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Rights restricted by copyright. -% See http://www.arnes.si/domene/whois-legal.html -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% The WHOIS service offered by Arnes, .si Registry, is -% provided for information purposes only. It allows persons -% to check whether a specific domain name is still available -% or not and to obtain information related to the registration -% records of existing domain names. -% -% This WHOIS service accepts and displays only ASCII characters. -% Arnes cannot be held liable should the stored information -% prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a query you agree not to use the information -% made available to: -% o Allow, enable or otherwise support the transmission -% of unsolicited, commercial advertising or other solicitations -% whether via email or otherwise; -% o Target advertising in any possible way; -% o Cause nuisance in any possible way to the registrants -% by sending (whether by automated, electronic processes -% capable of enabling high volumes or other possible -% means) messages to them; -% o copy, extract and/or publish contents of the WHOIS database. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -domain: google.si -registrar: AOI d.o.o. -registrar-url: http://www.aoi.eu/arneswhois -nameserver: ns1.google.com -nameserver: ns2.google.com -nameserver: ns3.google.com -nameserver: ns4.google.com -registrant: G79455 -status: server_delete_prohibited, server_transfer_prohibited, server_update_prohibited -created: 2005-04-04 -expire: 2015-07-19 -source: ARNES - -Domain holder: -NOT DISCLOSED - -Tech: -NOT DISCLOSED - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% For more information, please visit http://www.registry.si/whois.html -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/spec/fixtures/responses/whois.registre.ma/ma/status_available.expected b/spec/fixtures/responses/whois.registre.ma/ma/status_available.expected deleted file mode 100644 index 6a1d95d9a..000000000 --- a/spec/fixtures/responses/whois.registre.ma/ma/status_available.expected +++ /dev/null @@ -1,18 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.registre.ma/ma/status_available.txt b/spec/fixtures/responses/whois.registre.ma/ma/status_available.txt deleted file mode 100644 index b6d09c783..000000000 --- a/spec/fixtures/responses/whois.registre.ma/ma/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -%rwhois V-1.5:003fff:00 whois.iam.net.ma (by Network Solutions, Inc. V-1.5.9.5) -%error 230 No Objects Found diff --git a/spec/fixtures/responses/whois.registre.ma/ma/status_registered.expected b/spec/fixtures/responses/whois.registre.ma/ma/status_registered.expected deleted file mode 100644 index 2dfae1aac..000000000 --- a/spec/fixtures/responses/whois.registre.ma/ma/status_registered.expected +++ /dev/null @@ -1,20 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-03-24} - -#updated_on - %s %CLASS{time} - %s %TIME{2009-03-24} - -#expires_on - %s %ERROR{AttributeNotSupported} diff --git a/spec/fixtures/responses/whois.registre.ma/ma/status_registered.txt b/spec/fixtures/responses/whois.registre.ma/ma/status_registered.txt deleted file mode 100644 index 86553447a..000000000 --- a/spec/fixtures/responses/whois.registre.ma/ma/status_registered.txt +++ /dev/null @@ -1,18 +0,0 @@ -%rwhois V-1.5:003fff:00 whois.iam.net.ma (by Network Solutions, Inc. V-1.5.9.5) -domain:Class-Name:domain -domain:ID:333.google.ma -domain:Auth-Area:google.ma -domain:Guardian;I:444.google.ma -domain:Domain-Name:google.ma -domain:Primary-Server;I:111.google.ma -domain:Secondary-Server;I:112.google.ma -domain:Organization;I:777.google.ma -domain:Owner-Contact;I:221.google.ma -domain:Admin-Contact;I:222.google.ma -domain:Tech-Contact;I:223.google.ma -domain:Billing-Contact;I:222.google.ma -domain:Created:20090324 -domain:Updated:20090324 -domain:Updated-By:dnsmaster@iam.net.ma - -%ok diff --git a/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.expected deleted file mode 100644 index e7b75d988..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.expected +++ /dev/null @@ -1,15 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.hostgator.com.br" - %s[0].ipv4 == "74.53.28.178" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.hostgator.com.br" - %s[1].ipv4 == "74.53.28.179" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.hostgator.com.br" - %s[2].ipv4 == "174.133.202.50" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.hostgator.com.br" - %s[3].ipv4 == "174.133.202.51" diff --git a/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.txt deleted file mode 100644 index 6fabe18c0..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.txt +++ /dev/null @@ -1,50 +0,0 @@ - -% Copyright (c) Nic.br -% The use of the data below is only permitted as described in -% full by the terms of use (http://registro.br/termo/en.html), -% being prohibited its distribution, comercialization or -% reproduction, in particular, to use it for advertising or -% any similar purpose. -% 2011-10-18 07:33:39 (BRST -02:00) - -domain: hostgator.com.br -owner: Hostgator Brasil Hospedagem e suporte tecnico LTDA -ownerid: 008.852.780/0001-00 -responsible: Robledo Ribeiro Aloisio -country: BR -owner-c: HOBRA -admin-c: HOBRA -tech-c: HOBRA -billing-c: HOBRA -nserver: ns1.hostgator.com.br 74.53.28.178 -nsstat: 20111016 AA -nslastaa: 20111016 -nserver: ns2.hostgator.com.br 74.53.28.179 -nsstat: 20111016 AA -nslastaa: 20111016 -nserver: ns3.hostgator.com.br 174.133.202.50 -nsstat: 20111016 AA -nslastaa: 20111016 -nserver: ns4.hostgator.com.br 174.133.202.51 -nsstat: 20111016 AA -nslastaa: 20111016 -created: 20050912 #2351856 -expires: 20180912 -changed: 20110509 -provider: HOSTGATOR-BRASIL (43) -status: published - -nic-hdl-br: HOBRA -person: Hostgator Brasil -e-mail: rob@hostgator.com.br -created: 20071207 -changed: 20110509 - -% Security and mail abuse issues should also be addressed to -% cert.br, http://www.cert.br/, respectivelly to cert@cert.br -% and mail-abuse@cert.br -% -% whois.registro.br accepts only direct match queries. Types -% of queries are: domain (.br), ticket, provider, ID, CIDR -% block, IP and ASN. - diff --git a/spec/fixtures/responses/whois.registro.br/br/status_available.expected b/spec/fixtures/responses/whois.registro.br/br/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.registro.br/br/status_available.txt b/spec/fixtures/responses/whois.registro.br/br/status_available.txt deleted file mode 100644 index 0a7443de5..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_available.txt +++ /dev/null @@ -1,19 +0,0 @@ - -% Copyright (c) Nic.br -% The use of the data below is only permitted as described in -% full by the terms of use (http://registro.br/termo/en.html), -% being prohibited its distribution, comercialization or -% reproduction, in particular, to use it for advertising or -% any similar purpose. -% 2013-12-18 08:01:04 (BRST -02:00) - -% No match for domain "u34jedzcq.br" - -% Security and mail abuse issues should also be addressed to -% cert.br, http://www.cert.br/, respectivelly to cert@cert.br -% and mail-abuse@cert.br -% -% whois.registro.br accepts only direct match queries. Types -% of queries are: domain (.br), registrant (tax ID), ticket, -% provider, contact handle (ID), CIDR block, IP and ASN. - diff --git a/spec/fixtures/responses/whois.registro.br/br/status_available_limited.expected b/spec/fixtures/responses/whois.registro.br/br/status_available_limited.expected deleted file mode 100644 index ad470c61d..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_available_limited.expected +++ /dev/null @@ -1,5 +0,0 @@ -#available? - %s == true - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.registro.br/br/status_available_limited.txt b/spec/fixtures/responses/whois.registro.br/br/status_available_limited.txt deleted file mode 100644 index 94dcd603e..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_available_limited.txt +++ /dev/null @@ -1,22 +0,0 @@ - -% Copyright (c) Nic.br -% The use of the data below is only permitted as described in -% full by the terms of use (http://registro.br/termo/en.html), -% being prohibited its distribution, comercialization or -% reproduction, in particular, to use it for advertising or -% any similar purpose. -% 2009-12-25 20:11:55 (BRST -02:00) - -% Query rate limit exceeded. Reduced information. -% Use https://registro.br/cgi-bin/avail/ for domain availability. - -% No match for domain "u34jedzcq.br" - -% Security and mail abuse issues should also be addressed to -% cert.br, http://www.cert.br/, respectivelly to cert@cert.br -% and mail-abuse@cert.br -% -% whois.registro.br accepts only direct match queries. Types -% of queries are: domain (.br), ticket, provider, ID, CIDR -% block, IP and ASN. - diff --git a/spec/fixtures/responses/whois.registro.br/br/status_registered.expected b/spec/fixtures/responses/whois.registro.br/br/status_registered.expected deleted file mode 100644 index 425d689a3..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_registered.expected +++ /dev/null @@ -1,30 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{20110630} - -#updated_on - %s %CLASS{time} - %s %TIME{20110630} - -#expires_on - %s %CLASS{time} - %s %TIME{20120630} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "a.sec.dns.br" - %s[1] %CLASS{nameserver} - %s[1].name == "b.sec.dns.br" diff --git a/spec/fixtures/responses/whois.registro.br/br/status_registered.txt b/spec/fixtures/responses/whois.registro.br/br/status_registered.txt deleted file mode 100644 index b549ae71b..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ - -% Copyright (c) Nic.br -% The use of the data below is only permitted as described in -% full by the terms of use (http://registro.br/termo/en.html), -% being prohibited its distribution, comercialization or -% reproduction, in particular, to use it for advertising or -% any similar purpose. -% 2011-07-23 15:43:32 (BRT -03:00) - -domain: morellon.com.br -owner: Thiago Morello Peres -ownerid: 106.835.847-58 -country: BR -owner-c: THMPE16 -admin-c: THMPE16 -tech-c: THMPE16 -billing-c: THMPE16 -nserver: a.sec.dns.br -nsstat: 20110723 AA -nslastaa: 20110723 -nserver: b.sec.dns.br -nsstat: 20110723 AA -nslastaa: 20110723 -dsrecord: 45187 RSA/SHA-1 7A106EB76E73ADE52F482D5FF11F86AA93C63369 -dsstatus: 20110723 DSOK -dslastok: 20110723 -saci: yes -created: 20110630 #8516780 -expires: 20120630 -changed: 20110630 -status: published - -nic-hdl-br: THMPE16 -person: Thiago Morello Peres -e-mail: morellon@gmail.com -created: 20110630 -changed: 20110630 - -% Security and mail abuse issues should also be addressed to -% cert.br, http://www.cert.br/, respectivelly to cert@cert.br -% and mail-abuse@cert.br -% -% whois.registro.br accepts only direct match queries. Types -% of queries are: domain (.br), ticket, provider, ID, CIDR -% block, IP and ASN. - - diff --git a/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.expected b/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.expected deleted file mode 100644 index 79dec56e5..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.expected +++ /dev/null @@ -1,5 +0,0 @@ -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.txt b/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.txt deleted file mode 100644 index e2580b607..000000000 --- a/spec/fixtures/responses/whois.registro.br/br/status_registered_limited.txt +++ /dev/null @@ -1,23 +0,0 @@ - -% Copyright (c) Nic.br -% The use of the data below is only permitted as described in -% full by the terms of use (http://registro.br/termo/en.html), -% being prohibited its distribution, comercialization or -% reproduction, in particular, to use it for advertising or -% any similar purpose. -% 2010-03-16 14:47:50 (BRT -03:00) - -% Query rate limit exceeded. Reduced information. -% Use https://registro.br/cgi-bin/avail/ for domain availability. - -domain: registro.br -owner: Núcleo de Informação e Coordenação do Ponto BR (662379) - -% Security and mail abuse issues should also be addressed to -% cert.br, http://www.cert.br/, respectivelly to cert@cert.br -% and mail-abuse@cert.br -% -% whois.registro.br accepts only direct match queries. Types -% of queries are: domain (.br), ticket, provider, ID, CIDR -% block, IP and ASN. - diff --git a/spec/fixtures/responses/whois.registry.gy/gy/status_available.expected b/spec/fixtures/responses/whois.registry.gy/gy/status_available.expected deleted file mode 100644 index 4aed83596..000000000 --- a/spec/fixtures/responses/whois.registry.gy/gy/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.gy" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.registry.gy/gy/status_available.txt b/spec/fixtures/responses/whois.registry.gy/gy/status_available.txt deleted file mode 100644 index 2bd863cd5..000000000 --- a/spec/fixtures/responses/whois.registry.gy/gy/status_available.txt +++ /dev/null @@ -1,16 +0,0 @@ -Domain Name: u34jedzcq.gy -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by GY Registry as a service to the internet community. - -The data is for information purposes only. GY Registry does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T10:02:23.163Z <<< diff --git a/spec/fixtures/responses/whois.registry.gy/gy/status_registered.expected b/spec/fixtures/responses/whois.registry.gy/gy/status_registered.expected deleted file mode 100644 index ee2a67226..000000000 --- a/spec/fixtures/responses/whois.registry.gy/gy/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.gy" - -#domain_id - %s == "573328-CoCCA" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-05-12 17:56:23 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-16 06:53:13 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-04 23:30:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.registry.gy/gy/status_registered.txt b/spec/fixtures/responses/whois.registry.gy/gy/status_registered.txt deleted file mode 100644 index 9f6f2478a..000000000 --- a/spec/fixtures/responses/whois.registry.gy/gy/status_registered.txt +++ /dev/null @@ -1,87 +0,0 @@ -Domain Name: google.gy -Domain ID: 573328-CoCCA -WHOIS Server: whois.registry.gy -Referral URL: -Updated Date: 2014-01-16T06:53:13.620Z -Creation Date: 2008-05-12T17:56:23.090Z -Registry Expiry Date: 2014-10-04T23:30:00.000Z -Sponsoring Registrar: MarkMonitor -Sponsoring Registrar IANA ID: -Domain Status: clientRenewProhibited -Domain Status: ok -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: clientDeleteProhibited - -Registrant ID: 969683-CoCCA -Registrant Name: google Inc -Registrant Organization: -Registrant Street: mountain View -Registrant Street: USA -Registrant City: Unknown -Registrant State/Province: -Registrant Postal Code: -Registrant Country: US -Registrant Phone: +1.6506188571 -Registrant Phone Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 969684-CoCCA -Admin Name: DNS Admin -Admin Organization: -Admin Street: 1600 Amphitheatre Parkway -Admin Street: mountain View -Admin City: USA -Admin State/Province: -Admin Postal Code: -Admin Country: US -Admin Phone: +1.6506188571 -Admin Phone Ext: -Admin Email: dns-admin@google.com - -Billing ID: 969686-CoCCA - -Tech ID: 969685-CoCCA -Tech Name: Unknown -Tech Organization: -Tech Street: Unknown -Tech City: Unknown -Tech State/Province: -Tech Postal Code: -Tech Country: US -Tech Phone: -Tech Phone Ext: -Tech Email: Unknown - -Name Server: ns2.google.com -Name Server: ns1.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar URL: http://www.markmonitor.com -Sponsoring Registrar Address: MarkMonitor Emerald Tech Center 391 N. Ancestor Place Boise, ID 83704 -Sponsoring Registrar Country: US -Sponsoring Registrar Phone: +1.2083895740 -Sponsoring Registrar Fax: +1.2083895771 -Sponsoring Registrar Customer Service Contact: ccops@markmonitor.com -Sponsoring Registrar Customer Service Email: ccops@markmonitor.com -Sponsoring Registrar Admin Contact: Domain Billing -Sponsoring Registrar Admin Email: ccops@markmonitor.com - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated. Whois database is provided by GY Registry as a service to the internet community. - -The data is for information purposes only. GY Registry does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2014-02-18T20:36:02.515Z <<< diff --git a/spec/fixtures/responses/whois.registry.hm/hm/status_available.expected b/spec/fixtures/responses/whois.registry.hm/hm/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.registry.hm/hm/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.registry.hm/hm/status_available.txt b/spec/fixtures/responses/whois.registry.hm/hm/status_available.txt deleted file mode 100644 index 8fe750203..000000000 --- a/spec/fixtures/responses/whois.registry.hm/hm/status_available.txt +++ /dev/null @@ -1,31 +0,0 @@ - - -Domain not found. - - -This data is copyright 2007 HM Domain Registry. - -NOTICE AND TERMS OF USE: You are not authorized to access or query our -WHOIS database through the use of high-volume, automated, electronic -processes. This data is provided for information purposes only, and to assist -persons in obtaining information about or related to a domain name registration -record. We do not guarantee its accuracy. - -By submitting a WHOIS query, you agree to abide by the following terms of use: -You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial advertising -or solicitations via e-mail, telephone, or facsimile; or (2) enable high -volume, automated, electronic processes to send queries or data to our systems -or to any Registry Operator or ICANN-Accredited Registrar. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited without our prior written consent. You agree not to use -high-volume, automated, electronic processes to access or query the -WHOIS database. We reserve the right to terminate your access to the -WHOIS database in its sole discretion, including without limitation, for -excessive querying of the WHOIS database or for failure to otherwise -abide by this policy. We reserve the right to modify these terms without -notice. - -http://www.registry.hm/ diff --git a/spec/fixtures/responses/whois.registry.hm/hm/status_registered.expected b/spec/fixtures/responses/whois.registry.hm/hm/status_registered.expected deleted file mode 100644 index 8c966b5c9..000000000 --- a/spec/fixtures/responses/whois.registry.hm/hm/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-04-28} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-04-28} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.everydns.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.everydns.net" diff --git a/spec/fixtures/responses/whois.registry.hm/hm/status_registered.txt b/spec/fixtures/responses/whois.registry.hm/hm/status_registered.txt deleted file mode 100644 index 00e9f49bc..000000000 --- a/spec/fixtures/responses/whois.registry.hm/hm/status_registered.txt +++ /dev/null @@ -1,78 +0,0 @@ - - -WHOIS Server Version 2.0.0 - - Domain name: GOOGLE.HM - Registrar: HM Domain Registry - Referral URL: http://www.registry.hm/ - - Domain Registrant: - John G Rose - 1058 Jasmine St. - Denver CO 80220 - US - - - Adminstrative Contact: ROS00074(johnrose@polyplexic.com) - John Rose - Sigma Polyplexic - 1058 Jasmine St. - Denver CO 80220 - US - Telephone: 2129996566 - Fax: - - - Technical Contact: ROS00074(johnrose@polyplexic.com) - John Rose - Sigma Polyplexic - 1058 Jasmine St. - Denver CO 80220 - US - Telephone: 2129996566 - Fax: - - - Billing Contact: ROS00074(johnrose@polyplexic.com) - John Rose - Sigma Polyplexic - 1058 Jasmine St. - Denver CO 80220 - US - Telephone: 2129996566 - Fax: - - - Name Server: NS1.EVERYDNS.NET - Name Server: NS2.EVERYDNS.NET - -Domain creation date: 28/04/2003 -Domain expiration date: 28/04/2020 - - -This data is copyright 2007 HM Domain Registry. - -NOTICE AND TERMS OF USE: You are not authorized to access or query our -WHOIS database through the use of high-volume, automated, electronic -processes. This data is provided for information purposes only, and to assist -persons in obtaining information about or related to a domain name registration -record. We do not guarantee its accuracy. - -By submitting a WHOIS query, you agree to abide by the following terms of use: -You agree that you may use this Data only for lawful purposes and that -under no circumstances will you use this Data to: (1) allow, enable, or -otherwise support the transmission of mass unsolicited, commercial advertising -or solicitations via e-mail, telephone, or facsimile; or (2) enable high -volume, automated, electronic processes to send queries or data to our systems -or to any Registry Operator or ICANN-Accredited Registrar. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited without our prior written consent. You agree not to use -high-volume, automated, electronic processes to access or query the -WHOIS database. We reserve the right to terminate your access to the -WHOIS database in its sole discretion, including without limitation, for -excessive querying of the WHOIS database or for failure to otherwise -abide by this policy. We reserve the right to modify these terms without -notice. - -http://www.registry.hm/ diff --git a/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.expected b/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.expected deleted file mode 100644 index 1690764d4..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.expected +++ /dev/null @@ -1,17 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "FirstRand Bank Limited" - %s[0].organization == nil - %s[0].address == "2nd floor 4 Merchant Place\nCnr Rivonia and Sandton Drive\nSandton\nGauteng\nZA\n2196" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == "+27.112828000" - %s[0].fax == nil - %s[0].email == "domreg.admins@firstrand.co.za" - %s[0].created_on == nil - %s[0].updated_on == nil diff --git a/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.txt b/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.txt deleted file mode 100644 index 3af71cd48..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.txt +++ /dev/null @@ -1,41 +0,0 @@ - Domain Name: - fnb.co.za - - Registrant: - FirstRand Bank Limited - - Email: domreg.admins@firstrand.co.za - Tel: +27.112828000 - Fax: - - Registrant's Address: - 2nd floor 4 Merchant Place - Cnr Rivonia and Sandton Drive - Sandton - Gauteng - ZA - 2196 - - Registrar: - Lexsynergy Limited - - Relevant Dates: - Registration Date: 1995-01-01 - Renewal Date: 2015-01-01 - - Domain Status: - Registered until renewal date - - Pending Timer Events: - None - - Name Servers: - ns1.fnbconnect.co.za [ 41.183.0.18 ] - ns2.fnbconnect.co.za [ 41.183.0.22 ] - - WHOIS lookup made at 2014-03-10 14:22 UTC - --- -The use of this Whois facility is subject to the following terms and -conditions. https://registry.net.za/whois_terms -Copyright (c) UniForum SA 1995-2014 diff --git a/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.expected b/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.txt b/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.txt deleted file mode 100644 index fce90bd6e..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/response_throttled.txt +++ /dev/null @@ -1 +0,0 @@ -Please go away for 90 Seconds \ No newline at end of file diff --git a/spec/fixtures/responses/whois.registry.net.za/za/status_available.expected b/spec/fixtures/responses/whois.registry.net.za/za/status_available.expected deleted file mode 100644 index ba3c1be06..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#disclaimer - %s == nil - - -#domain - %s == nil - -#domain_id - %s raise_error Whois::AttributeNotSupported - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s raise_error Whois::AttributeNotSupported - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s == [] - -#admin_contacts - %s raise_error Whois::AttributeNotSupported - -#technical_contacts - %s raise_error Whois::AttributeNotSupported - - -#nameservers - %s == [] diff --git a/spec/fixtures/responses/whois.registry.net.za/za/status_available.txt b/spec/fixtures/responses/whois.registry.net.za/za/status_available.txt deleted file mode 100644 index d788a174d..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Available diff --git a/spec/fixtures/responses/whois.registry.net.za/za/status_registered.expected b/spec/fixtures/responses/whois.registry.net.za/za/status_registered.expected deleted file mode 100644 index df355b959..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/status_registered.expected +++ /dev/null @@ -1,83 +0,0 @@ -#disclaimer - %s == "The use of this Whois facility is subject to the following terms and\nconditions. https://registry.net.za/whois_terms\nCopyright (c) UniForum SA 1995-2014\n" - - -#domain - %s == "google.co.za" - -#domain_id - %s raise_error Whois::AttributeNotSupported - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %TIME{2001-06-25} - -#updated_on - %s raise_error Whois::AttributeNotSupported - -#expires_on - %s %TIME{2014-06-25} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "Google Inc." - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway\nMountain View\nCA\nUS\n94043" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == "+1.6502530000" - %s[0].fax == "+1.6506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s raise_error Whois::AttributeNotSupported - -#technical_contacts - %s raise_error Whois::AttributeNotSupported - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.registry.net.za/za/status_registered.txt b/spec/fixtures/responses/whois.registry.net.za/za/status_registered.txt deleted file mode 100644 index 0d5302b65..000000000 --- a/spec/fixtures/responses/whois.registry.net.za/za/status_registered.txt +++ /dev/null @@ -1,41 +0,0 @@ - Domain Name: - google.co.za - - Registrant: - Google Inc. - Email: dns-admin@google.com - Tel: +1.6502530000 - Fax: +1.6506188571 - - Registrant's Address: - 1600 Amphitheatre Parkway - Mountain View - CA - US - 94043 - - Registrar: - MarkMonitor - - Relevant Dates: - Registration Date: 2001-06-25 - Renewal Date: 2014-06-25 - - Domain Status: - Registered until renewal date - - Pending Timer Events: - None - - Name Servers: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - WHOIS lookup made at 2014-02-18 20:44 UTC - --- -The use of this Whois facility is subject to the following terms and -conditions. https://registry.net.za/whois_terms -Copyright (c) UniForum SA 1995-2014 diff --git a/spec/fixtures/responses/whois.registry.om/om/status_available.expected b/spec/fixtures/responses/whois.registry.om/om/status_available.expected deleted file mode 100644 index 25693bde2..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.registry.om/om/status_available.txt b/spec/fixtures/responses/whois.registry.om/om/status_available.txt deleted file mode 100644 index 3831b4b5b..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No Data Found diff --git a/spec/fixtures/responses/whois.registry.om/om/status_registered.expected b/spec/fixtures/responses/whois.registry.om/om/status_registered.expected deleted file mode 100644 index 497e502f8..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_registered.expected +++ /dev/null @@ -1,94 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "rop.gov.om" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-06 18:20:12 UTC} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "Oman Telecommunication Company" - %s.organization == "Oman Telecommunication Company" - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "10084244" - %s[0].name == "Nasser Said Al Daree" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit portal.registry.om/whois for Web based WhoIs" - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "10084244" - %s[0].name == "Nasser Said Al Daree" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit portal.registry.om/whois for Web based WhoIs" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.omantel.net.om" - %s[0].ipv4 == "62.231.247.70" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.omantel.net.om" - %s[1].ipv4 == "82.178.72.21" - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.omantel.net.om" - %s[2].ipv4 == "212.72.4.147" - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.registry.om/om/status_registered.txt b/spec/fixtures/responses/whois.registry.om/om/status_registered.txt deleted file mode 100644 index 6e8e8fa94..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_registered.txt +++ /dev/null @@ -1,23 +0,0 @@ -Domain Name: rop.gov.om -Last Modified: 06-Oct-2013 18:20:12 UTC -Registrar Name: Oman Telecommunication Company -Status: ok - -Registrant Contact ID: 10084244 -Registrant Contact Name: Nasser Said Al Daree -Registrant Contact Email: Visit portal.registry.om/whois for Web based WhoIs -Registrant Contact City: Mina Al Fahal -Registrant Contact Country: om - -Tech Contact ID: 10084244 -Tech Contact Name: Nasser Said Al Daree -Tech Contact Email: Visit portal.registry.om/whois for Web based WhoIs -Tech Contact City: Mina Al Fahal -Tech Contact Country: om - -Name Server: ns3.omantel.net.om -Name Server IP: 62.231.247.70 -Name Server: ns1.omantel.net.om -Name Server IP: 82.178.72.21 -Name Server: ns2.omantel.net.om -Name Server IP: 212.72.4.147 diff --git a/spec/fixtures/responses/whois.registry.om/om/status_reserved.expected b/spec/fixtures/responses/whois.registry.om/om/status_reserved.expected deleted file mode 100644 index 6aa55920f..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_reserved.expected +++ /dev/null @@ -1,12 +0,0 @@ -#status - %s == :reserved - -#available? - %s == false - -#registered? - %s == false - - -#reserved? - %s == true diff --git a/spec/fixtures/responses/whois.registry.om/om/status_reserved.txt b/spec/fixtures/responses/whois.registry.om/om/status_reserved.txt deleted file mode 100644 index b8fe9662b..000000000 --- a/spec/fixtures/responses/whois.registry.om/om/status_reserved.txt +++ /dev/null @@ -1 +0,0 @@ -Restricted diff --git a/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.expected b/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.expected deleted file mode 100644 index 79a6bdfb8..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.qatarbank.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.qatarbank.com" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.qatarbank.com" - %s[2].ipv4 == nil diff --git a/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.txt b/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.txt deleted file mode 100644 index 80adf323e..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.txt +++ /dev/null @@ -1,22 +0,0 @@ -Domain Name: qnb.com.qa -Registrar ID: QatarTelecom -Registrar Name: Qatar Telecom (Qtel) Q. S. C -Status: serverDeleteProhibited (Legacy) -Status: serverRenewProhibited (Legacy) -Status: serverTransferProhibited (Legacy) - -Registrant: Qatar Telecom (Qtel) domain registration service -Eligibility Type: Legacy -Eligibility ID: Legacy Domain Name - -Registrant Contact ID: QT40975 -Registrant Contact Name: DNS Administrator - Qtel Internet Services -Registrant Contact Email: Visit portal.registry.qa for Web based WhoIs - -Tech Contact ID: QT40975 -Tech Contact Name: DNS Administrator - Qtel Internet Services -Tech Contact Email: Visit portal.registry.qa for Web based WhoIs - -Name Server: ns1.qatarbank.com -Name Server: ns2.qatarbank.com -Name Server: ns3.qatarbank.com diff --git a/spec/fixtures/responses/whois.registry.qa/qa/status_available.expected b/spec/fixtures/responses/whois.registry.qa/qa/status_available.expected deleted file mode 100644 index a0637dc76..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.registry.qa/qa/status_available.txt b/spec/fixtures/responses/whois.registry.qa/qa/status_available.txt deleted file mode 100644 index 3831b4b5b..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No Data Found diff --git a/spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected b/spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected deleted file mode 100644 index 0d5fb4d0a..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected +++ /dev/null @@ -1,84 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "qtel.com.qa" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["ok"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == "QatarTelecom" - %s.name == "Qatar Telecom (Qtel) Q. S. C" - %s.organization == "Qatar Telecom (Qtel) Q. S. C" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "QT11734" - %s[0].name == "DNS Administrator - Qtel Internet Services" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit www.domains.qa" - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "QT11734" - %s[0].name == "DNS Administrator - Qtel Internet Services" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Visit www.domains.qa" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.qtel.com.qa" - %s[0].ipv4 == "212.77.203.185" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.qtel.com.qa" - %s[1].ipv4 == "213.130.113.101" diff --git a/spec/fixtures/responses/whois.registry.qa/qa/status_registered.txt b/spec/fixtures/responses/whois.registry.qa/qa/status_registered.txt deleted file mode 100644 index 9f1256894..000000000 --- a/spec/fixtures/responses/whois.registry.qa/qa/status_registered.txt +++ /dev/null @@ -1,21 +0,0 @@ -Domain Name: qtel.com.qa -Registrar ID: QatarTelecom -Registrar Name: Qatar Telecom (Qtel) Q. S. C -Status: ok - -Registrant: Qatar Telecom (Qtel) Q.S.C -Eligibility Type: Trade License -Eligibility ID: Ooredoo Domain - -Registrant Contact ID: QT11734 -Registrant Contact Name: DNS Administrator - Qtel Internet Services -Registrant Contact Email: Visit www.domains.qa - -Tech Contact ID: QT11734 -Tech Contact Name: DNS Administrator - Qtel Internet Services -Tech Contact Email: Visit www.domains.qa - -Name Server: ns1.qtel.com.qa -Name Server IP: 212.77.203.185 -Name Server: ns2.qtel.com.qa -Name Server IP: 213.130.113.101 diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.expected b/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.expected deleted file mode 100644 index 129bd2eb4..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.expected +++ /dev/null @@ -1,11 +0,0 @@ -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.txt b/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.txt deleted file mode 100644 index 971eea642..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.txt +++ /dev/null @@ -1,36 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: eg.rs. -Domain status: Active -Registration date: 22.10.2010 10:20:31 -Modification date: 08.08.2011 11:13:00 -Expiration date: 22.10.2012 10:20:31 -Registrar: GAMA Electronics d.o.o. - - -Whois privacy has been activated for domain. - - -DNS: bits-hq.bitsyu.net. - 217.24.17.10 -DNS: largo.bitsyu.net. - 217.24.17.80 - - - - diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.expected b/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.expected deleted file mode 100644 index a9c82318c..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.expected +++ /dev/null @@ -1,9 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "bits-hq.bitsyu.net" - %s[0].ipv4 == "217.24.17.10" - %s[1] %CLASS{nameserver} - %s[1].name == "largo.bitsyu.net" - %s[1].ipv4 == "217.24.17.80" diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.txt b/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.txt deleted file mode 100644 index 971eea642..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.txt +++ /dev/null @@ -1,36 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: eg.rs. -Domain status: Active -Registration date: 22.10.2010 10:20:31 -Modification date: 08.08.2011 11:13:00 -Expiration date: 22.10.2012 10:20:31 -Registrar: GAMA Electronics d.o.o. - - -Whois privacy has been activated for domain. - - -DNS: bits-hq.bitsyu.net. - 217.24.17.10 -DNS: largo.bitsyu.net. - 217.24.17.80 - - - - diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.expected b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.expected deleted file mode 100644 index 42a9e8a39..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.txt b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.txt deleted file mode 100644 index aed6a697b..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.txt +++ /dev/null @@ -1,37 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: saj.rs. -Domain status: Expired -Registration date: 17.06.2010 14:40:59 -Modification date: 18.06.2012 02:00:02 -Expiration date: 17.06.2012 14:40:59 -Registrar: BGSVETIONIK.S.A. - - -Owner: Ana Rakovic - - -DNS: ns9.sajthosting.com. - 85.10.206.52 -DNS: ns10.sajthosting.com. - 85.10.206.57 - - -Administrative contact: Ana Rakovic - -Technical contact: Davor Veselinovic diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.expected b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.txt b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.txt deleted file mode 100644 index ff89639c4..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.txt +++ /dev/null @@ -1,37 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: saj.rs. -Domain status: In Transfer -Registration date: 17.06.2010 14:40:59 -Modification date: 06.07.2012 16:24:55 -Expiration date: 17.06.2013 14:40:59 -Registrar: NINET Company d.o.o. - - -Owner: Ana Rakovic - - -DNS: ns1.bgsvetionik.com. - -DNS: ns2.bgsvetionik.com. - - - -Administrative contact: Ana Rakovic - -Technical contact: Strahinja Stanković diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.expected b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.txt b/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.txt deleted file mode 100644 index 568a1c50a..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.txt +++ /dev/null @@ -1,40 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: kondor.rs. -Domain status: Locked -Registration date: 30.09.2009 16:19:08 -Modification date: 18.11.2011 16:03:46 -Expiration date: 30.09.2012 16:19:08 -Registrar: BGSVETIONIK.S.A. - - -Owner: Slavisa Janjusevic - - -DNS: dns1.orion.rs. - 77.105.36.77 -DNS: dns2.orion.rs. - 77.105.37.77 -DNS: dns3.orion.rs. - 67.18.147.77 -DNS: dns4.orion.rs. - 114.111.129.149 - - -Administrative contact: Slavisa Janjusevic, Kondor DOO -Address: Kralja Petra I / 12, Smederevo, Serbia - -Technical contact: Davor Veselinovic diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/status_available.expected b/spec/fixtures/responses/whois.rnids.rs/rs/status_available.expected deleted file mode 100644 index acbe8b89d..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/status_available.txt b/spec/fixtures/responses/whois.rnids.rs/rs/status_available.txt deleted file mode 100644 index e81e93e9f..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -%ERROR:103: Domain is not registered \ No newline at end of file diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.expected b/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.expected deleted file mode 100644 index 31d889288..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.expected +++ /dev/null @@ -1,87 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s == "google.rs" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2008-03-10 12:31:19} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-11 19:49:38} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-10 12:31:19} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "NINET Company d.o.o." - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway, Mountain View, United States of America" - %s[0].email == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Domain Administrator, Drustvo za marketing Google DOO" - %s[0].address == "Marsala Birjuzova 47/18, Beograd, Serbia" - %s[0].email == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Domain Administrator, MarkMonitor, Inc." - %s[0].address == "391 N Ancestor Place, Boise, ID, United States of America" - %s[0].email == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == "216.239.36.10" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == "216.239.38.10" diff --git a/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.txt b/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.txt deleted file mode 100644 index 8486a1b5e..000000000 --- a/spec/fixtures/responses/whois.rnids.rs/rs/status_registered.txt +++ /dev/null @@ -1,44 +0,0 @@ -% -%This is the RNIDS Whois server. -% -% Date Format : DD.MM.YYYY -% Whois Server Version: 1.0.0 -% -% Rights restricted by copyright. -% See http://www.rnids.rs/whois_en -% -% -% -% Ovo je odgovor od RNIDS Whois servera. -% -% Format datuma : DD.MM.YYYY -% Verzija Whois Servera : 1.0.0 -% -% Sva prava zadržana. Za više informacija. -% pogledajte http://www.rnids.rs/whois_sr - -Domain name: google.rs. -Domain status: Locked -Registration date: 10.03.2008 12:31:19 -Modification date: 11.02.2014 19:49:38 -Expiration date: 10.03.2015 12:31:19 -Registrar: NINET Company d.o.o. - - -Owner: Google Inc. -Address: 1600 Amphitheatre Parkway, Mountain View, United States of America -ID Number: - -Tax ID: - - -DNS: ns1.google.com. - -DNS: ns2.google.com. - -DNS: ns3.google.com. - 216.239.36.10 -DNS: ns4.google.com. - 216.239.38.10 - - -Administrative contact: Domain Administrator, Drustvo za marketing Google DOO -Address: Marsala Birjuzova 47/18, Beograd, Serbia - -Technical contact: Domain Administrator, MarkMonitor, Inc. -Address: 391 N Ancestor Place, Boise, ID, United States of America diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.expected b/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.txt b/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.txt deleted file mode 100644 index 024163695..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.txt +++ /dev/null @@ -1,28 +0,0 @@ - -% Whois Server Version 3.0 - whois.rotld.ro:43 - -% Rights restricted by copyright. -% Specifically, this data MAY ONLY be used for Internet operational -% purposes. It may not be used for targeted advertising or any -% other purpose. - -% Este INTERZISA folosirea datelor de pe acest server in oricare -% alt scop decat operarea retelei. In special este INTERZISA -% folosirea lor in scopuri publicitare. - -% Top Level Domain : ro -% Maintainance : www.rotld.ro - - Domain Name: google.ro - Registered On: 2000-07-17 - Registrar: MarkMonitor Inc. - Referral URL: - - Nameserver: ns4.google.com - Nameserver: ns1.google.com - Nameserver: ns3.google.com - Nameserver: ns2.google.com - - Domain Status: UpdateProhibited - - diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/status_available.expected b/spec/fixtures/responses/whois.rotld.ro/ro/status_available.expected deleted file mode 100644 index 982cebd7d..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/status_available.txt b/spec/fixtures/responses/whois.rotld.ro/ro/status_available.txt deleted file mode 100644 index fdcfbd449..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/status_available.txt +++ /dev/null @@ -1,17 +0,0 @@ - -% Whois Server Version 3.0 - whois.rotld.ro:43 - -% Rights restricted by copyright. -% Specifically, this data MAY ONLY be used for Internet operational -% purposes. It may not be used for targeted advertising or any -% other purpose. - -% Este INTERZISA folosirea datelor de pe acest server in oricare -% alt scop decat operarea retelei. In special este INTERZISA -% folosirea lor in scopuri publicitare. - -% Top Level Domain : ro -% Maintainance : www.rotld.ro - -% No entries found for the selected source(s). - diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.expected b/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.expected deleted file mode 100644 index a287bbdc5..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.expected +++ /dev/null @@ -1,39 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.txt b/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.txt deleted file mode 100644 index fb0849730..000000000 --- a/spec/fixtures/responses/whois.rotld.ro/ro/status_registered.txt +++ /dev/null @@ -1,28 +0,0 @@ - -% Whois Server Version 3.0 - whois.rotld.ro:43 - -% Rights restricted by copyright. -% Specifically, this data MAY ONLY be used for Internet operational -% purposes. It may not be used for targeted advertising or any -% other purpose. - -% Este INTERZISA folosirea datelor de pe acest server in oricare -% alt scop decat operarea retelei. In special este INTERZISA -% folosirea lor in scopuri publicitare. - -% Top Level Domain : ro -% Maintainance : www.rotld.ro - - Domain Name: google.ro - Registered On: 2000-07-17 - Registrar: MarkMonitor Inc. - Referral URL: http://www.markmonitor.com - - Nameserver: ns1.google.com - Nameserver: ns2.google.com - Nameserver: ns3.google.com - Nameserver: ns4.google.com - - Domain Status: UpdateProhibited - - diff --git a/spec/fixtures/responses/whois.rrpproxy.net/status_available.expected b/spec/fixtures/responses/whois.rrpproxy.net/status_available.expected deleted file mode 100644 index 5f7d784f2..000000000 --- a/spec/fixtures/responses/whois.rrpproxy.net/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.rrpproxy.net/status_available.txt b/spec/fixtures/responses/whois.rrpproxy.net/status_available.txt deleted file mode 100644 index 08c5f318d..000000000 --- a/spec/fixtures/responses/whois.rrpproxy.net/status_available.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - -No match for "U34JEDZCQ.COM". ->>> Last update of whois database: Tue, 25 Feb 2014 10:54:01 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. diff --git a/spec/fixtures/responses/whois.rrpproxy.net/status_registered.expected b/spec/fixtures/responses/whois.rrpproxy.net/status_registered.expected deleted file mode 100644 index 4d16a2b80..000000000 --- a/spec/fixtures/responses/whois.rrpproxy.net/status_registered.expected +++ /dev/null @@ -1,109 +0,0 @@ -#domain - %s == "multisafepay.com" - -#domain_id - %s == "334322677_DOMAIN_COM-VRSN" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2006-02-03 19:44:56 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-04 08:34:14 UTC} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %CLASS{registrar} - %s.id == "269" - %s.name == "Key-Systems GmbH" - %s.organization == "Key-Systems GmbH" - %s.url == "http://www.reasonnet.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "P-DQJ547" - %s[0].name == "David Jacobs" - %s[0].organization == "ReasonNet B.V." - %s[0].address == "Gyroscoopweg 134" - %s[0].city == "Amsterdam" - %s[0].zip == "1042 AZ" - %s[0].state == "NH" - %s[0].country == nil - %s[0].country_code == "NL" - %s[0].phone == "+31.205060035" - %s[0].fax == "+31.205060038" - %s[0].email == "domains@reasonnet.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "P-OEG220" - %s[0].name == "Olaf Geurs" - %s[0].organization == "ION" - %s[0].address == "Vlierweg 12" - %s[0].city == "Amsterdam" - %s[0].zip == "1032 LG" - %s[0].state == "NH" - %s[0].country == nil - %s[0].country_code == "NL" - %s[0].phone == "+31.204949100" - %s[0].fax == "" - %s[0].email == "domains@reasonnet.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "P-OEG220" - %s[0].name == "Olaf Geurs" - %s[0].organization == "ION" - %s[0].address == "Vlierweg 12" - %s[0].city == "Amsterdam" - %s[0].zip == "1032 LG" - %s[0].state == "NH" - %s[0].country == nil - %s[0].country_code == "NL" - %s[0].phone == "+31.204949100" - %s[0].fax == "" - %s[0].email == "domains@reasonnet.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns.teletik.nl" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.teletik.nl" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.rrpproxy.net/status_registered.txt b/spec/fixtures/responses/whois.rrpproxy.net/status_registered.txt deleted file mode 100644 index c86ffd664..000000000 --- a/spec/fixtures/responses/whois.rrpproxy.net/status_registered.txt +++ /dev/null @@ -1,85 +0,0 @@ -Domain Name: multisafepay.com -Registry Domain ID: 334322677_DOMAIN_COM-VRSN -Registrar WHOIS Server: whois.rrpproxy.net -Registrar URL: http://www.reasonnet.com -Updated Date: 2014-02-04T08:34:14.0Z -Creation Date: 2006-02-03T19:44:56.0Z -Registrar Registration Expiration Date: 2015-02-03T19:44:56.0Z -Registrar: Key-Systems GmbH -Registrar IANA ID: 269 -Registrar Abuse Contact Email: abuse[at]key-systems.net -Registrar Abuse Contact Phone: - (Please send an email) -Reseller: Co-locate -Domain Status: ACTIVE -Registry Registrant ID: P-DQJ547 -Registrant Name: David Jacobs -Registrant Organization: ReasonNet B.V. -Registrant Street: Gyroscoopweg 134 -Registrant City: Amsterdam -Registrant State/Province: NH -Registrant Postal Code: 1042 AZ -Registrant Country: NL -Registrant Phone: +31.205060035 -Registrant Phone Ext: -Registrant Fax: +31.205060038 -Registrant Fax Ext: -Registrant Email: domains@reasonnet.com -Registry Admin ID: P-OEG220 -Admin Name: Olaf Geurs -Admin Organization: ION -Admin Street: Vlierweg 12 -Admin City: Amsterdam -Admin State/Province: NH -Admin Postal Code: 1032 LG -Admin Country: NL -Admin Phone: +31.204949100 -Admin Phone Ext: -Admin Fax: -Admin Fax Ext: -Admin Email: domains@reasonnet.com -Registry Tech ID: P-OEG220 -Tech Name: Olaf Geurs -Tech Organization: ION -Tech Street: Vlierweg 12 -Tech City: Amsterdam -Tech Postal Code: 1032 LG -Tech State/Province: NH -Tech Country: NL -Tech Phone: +31.204949100 -Tech Phone Ext: -Tech Fax: -Tech Fax Ext: -Tech Email: domains@reasonnet.com -Name Server: ns.teletik.nl -Name Server: ns3.teletik.nl -DNSSEC: unsigned -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2014-02-25T10:53:37.0Z <<< - -Registry Billing ID: P-DQJ547 -Billing Name: David Jacobs -Billing Organization: ReasonNet B.V. -Billing Street: Gyroscoopweg 134 -Billing City: Amsterdam -Billing State/Province: NH -Billing Postal Code: 1042 AZ -Billing Country: NL -Billing Phone: +31.205060035 -Billing Phone Ext: -Billing Fax: +31.205060038 -Billing Fax Ext: -Billing Email: domains@reasonnet.com -; Please register your domains at; http://www.reasonnet.com; This data is provided by Co-locate -; for information purposes, and to assist persons obtaining information -; about or related to domain name registration records. -; Co-locate does not guarantee its accuracy. -; By submitting a WHOIS query, you agree that you will use this data -; only for lawful purposes and that, under no circumstances, you will -; use this data to -; 1) allow, enable, or otherwise support the transmission of mass -; unsolicited, commercial advertising or solicitations via E-mail -; (spam); or -; 2) enable high volume, automated, electronic processes that apply -; to this WHOIS server. -; These terms may be changed without prior notice. -; By submitting this query, you agree to abide by this policy. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.safenames.net/status_registered.expected b/spec/fixtures/responses/whois.safenames.net/status_registered.expected deleted file mode 100644 index 403074fc0..000000000 --- a/spec/fixtures/responses/whois.safenames.net/status_registered.expected +++ /dev/null @@ -1,106 +0,0 @@ -#domain - %s == "stripe.com" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-09-12T04:00:00Z} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-10-02T15:33:46Z} - -#expires_on - %s %CLASS{time} - %s %TIME{2024-09-11T04:00:00Z} - - -#registrar - %s %CLASS{registrar} - %s.id == "447" - %s.name == "Safenames Ltd" - %s.organization == "Safenames Ltd" - %s.url == "http://www.safenames.net" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Domain Admin" - %s[0].organization == "Stripe" - %s[0].address == "3180 18th St" - %s[0].city == "San Francisco" - %s[0].zip == "94110" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8772544179" - %s[0].fax == "" - %s[0].email == "dns@stripe.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Domain Admin" - %s[0].organization == "Stripe" - %s[0].address == "3180 18th St" - %s[0].city == "San Francisco" - %s[0].zip == "94110" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8772544179" - %s[0].fax == "" - %s[0].email == "dns@stripe.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Domain Admin" - %s[0].organization == "Stripe" - %s[0].address == "3180 18th St" - %s[0].city == "San Francisco" - %s[0].zip == "94110" - %s[0].state == "CA" - %s[0].country == nil - %s[0].country_code == "US" - %s[0].phone == "+1.8772544179" - %s[0].fax == "" - %s[0].email == "dns@stripe.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "dns1.idp365.net" - %s[1] %CLASS{nameserver} - %s[1].name == "dns2.idp365.net" diff --git a/spec/fixtures/responses/whois.safenames.net/status_registered.txt b/spec/fixtures/responses/whois.safenames.net/status_registered.txt deleted file mode 100644 index fca913180..000000000 --- a/spec/fixtures/responses/whois.safenames.net/status_registered.txt +++ /dev/null @@ -1,139 +0,0 @@ -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: STRIPE.COM - Registrar: SAFENAMES LTD - Whois Server: whois.safenames.net - Referral URL: http://www.safenames.net - Name Server: NS-1087.AWSDNS-07.ORG - Name Server: NS-1882.AWSDNS-43.CO.UK - Name Server: NS-423.AWSDNS-52.COM - Name Server: NS-705.AWSDNS-24.NET - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 02-oct-2014 - Creation Date: 12-sep-1995 - Expiration Date: 11-sep-2024 - ->>> Last update of whois database: Mon, 29 Dec 2014 19:01:25 GMT <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. -Domain Name: STRIPE.COM -Registrar WHOIS Server: whois.safenames.net -Registrar URL: http://www.safenames.net -Updated Date: 2014-10-02T15:33:46Z -Created Date: 1995-09-12T04:00:00Z -Registrar Registration Expiration Date: 2024-09-11T04:00:00Z -Registrar: Safenames Ltd -Registrar IANA ID: 447 -Registrar Abuse Contact Email: abuse@safenames.net -Registrar Abuse Contact Phone: +44.1908200022 -Registrant Name: Domain Admin -Registrant Organisation: Stripe -Registrant Address Line 1: 3180 18th St -Registrant Address Line 2: -Registrant City: San Francisco -Registrant State/Province: CA -Registrant Postal Code: 94110 -Registrant Country: US -Registrant Phone: +1.8772544179 -Registrant Fax: -Registrant Email: dns@stripe.com -Admin Name: Domain Admin -Admin Organisation: Stripe -Admin Address Line 1: 3180 18th St -Admin Address Line 2: -Admin City: San Francisco -Admin State/Province: CA -Admin Postal Code: 94110 -Admin Country: US -Admin Phone: +1.8772544179 -Admin Fax: -Admin Email: dns@stripe.com -Tech Name: Domain Admin -Tech Organisation: Stripe -Tech Address Line 1: 3180 18th St -Tech Address Line 2: -Tech City: San Francisco -Tech State/Province: CA -Tech Postal Code: 94110 -Tech Country: US -Tech Phone: +1.8772544179 -Tech Fax: -Tech Email: dns@stripe.com -Name Server: dns1.idp365.net -Name Server: dns2.idp365.net -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ - -Safenames - Experts in Global Domain Management and Online Brand Protection - -Domain Registration in over 760 different extensions -Enterprise Domain Management since 1999 -Mark Protect™ Online Brand Monitoring and Enforcement -Domain Consulting and Strategy -Domain Name Acquisition -Domain Disputes and Recovery - -Visit Safenames at www.safenames.net -+1 703 574 5313 in the US/Canada -+44 1908 200022 in Europe - -The Data in the Safenames Registrar WHOIS database is provided by Safenames for -information purposes only, and to assist persons in obtaining information about -or related to a domain name registration record. Safenames does not guarantee -its accuracy. Additionally, the data may not reflect updates to billing -contact information. - -By submitting a WHOIS query, you agree to use this Data only for lawful purposes -and that under no circumstances will you use this Data to: - -(1) allow, enable, or otherwise support the transmission of mass unsolicited, -commercial advertising or solicitations via e-mail, telephone, or facsimile; or -(2) enable high volume, automated, electronic processes that apply to Safenames -(or its computer systems). The compilation, repackaging, dissemination or -other use of this Data is expressly prohibited without the prior written -consent of Safenames. Safenames reserves the right to terminate your access to -the Safenames Registrar WHOIS database in its sole discretion, including -without limitation, for excessive querying of the WHOIS database or for failure -to otherwise abide by this policy. Safenames reserves the right to modify -these terms at any time. By submitting this query, you agree to abide by this -policy. diff --git a/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.expected b/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.txt b/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.txt deleted file mode 100644 index f6f7690d2..000000000 --- a/spec/fixtures/responses/whois.schlund.info/registered_without_update_on.txt +++ /dev/null @@ -1,66 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain Name: schlund.com -Registrar WHOIS Server: whois.1und1.info -Registrar URL: http://1and1.com -Updated Date: -Creation Date: 1996-10-10 00:00:00 -Registrar Registration Expiration Date: 2014-10-09 00:00:00 -Registrar: 1&1 Internet AG -Registrar IANA ID: 83 -Registrar Abuse Contact Email: abuse@1and1.com - -Domain Status: clientTransferProhibited - -Registrant Name: Markus Huhn -Registrant Organization: 1&1 Internet AG -Registrant Street: Elgendorfer Str. 57 -Registrant City: Montabaur -Registrant Postal Code: 56410 -Registrant Country: DE -Registrant Phone: +49.2602960 -Registrant Fax: +49.72191374215 -Registrant Email: hostmaster@1und1.de - -Admin Name: Markus Huhn -Admin Organization: 1&1 Internet AG -Admin Street: Elgendorfer Str. 57 -Admin City: Montabaur -Admin Postal Code: 56410 -Admin Country: DE -Admin Phone: +49.2602960 -Admin Fax: +49.72191374215 -Admin Email: hostmaster@1und1.de - -Tech Name: Hostmaster EINSUNDEINS -Tech Organization: 1&1 Internet AG -Tech Street: Brauerstr. 48 -Tech City: Karlsruhe -Tech Postal Code: 76135 -Tech Country: DE -Tech Phone: +49.7219600 -Tech Fax: +49.72191374248 -Tech Email: hostmaster@1und1.de - -Name Server: ns-1and1.ui-dns.com -Name Server: ns-1and1.ui-dns.org -Name Server: ns-1and1.ui-dns.de -Name Server: ns-1and1.ui-dns.biz - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG diff --git a/spec/fixtures/responses/whois.schlund.info/status_available.expected b/spec/fixtures/responses/whois.schlund.info/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.schlund.info/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.schlund.info/status_available.txt b/spec/fixtures/responses/whois.schlund.info/status_available.txt deleted file mode 100644 index 00a15db79..000000000 --- a/spec/fixtures/responses/whois.schlund.info/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain notused.com is not registered here. - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG diff --git a/spec/fixtures/responses/whois.schlund.info/status_registered.expected b/spec/fixtures/responses/whois.schlund.info/status_registered.expected deleted file mode 100644 index 20d3599fc..000000000 --- a/spec/fixtures/responses/whois.schlund.info/status_registered.expected +++ /dev/null @@ -1,101 +0,0 @@ -#domain - %s == "schlund.com" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1996-10-10 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-10-09 00:00:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-10-09 00:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == "83" - %s.name == "1&1 Internet AG" - %s.organization == "1&1 Internet AG" - %s.url == "http://1and1.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Markus Huhn" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Elgendorfer Str. 57" - %s[0].city == "Montabaur" - %s[0].zip == "56410" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.2602960" - %s[0].fax == "+49.72191374215" - %s[0].email == "hostmaster@1und1.de" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Markus Huhn" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Elgendorfer Str. 57" - %s[0].city == "Montabaur" - %s[0].zip == "56410" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.2602960" - %s[0].fax == "+49.72191374215" - %s[0].email == "hostmaster@1und1.de" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Hostmaster EINSUNDEINS" - %s[0].organization == "1&1 Internet AG" - %s[0].address == "Brauerstr. 48" - %s[0].city == "Karlsruhe" - %s[0].zip == "76135" - %s[0].state == "" - %s[0].country_code == "DE" - %s[0].phone == "+49.7219600" - %s[0].fax == "+49.72191374248" - %s[0].email == "hostmaster@1und1.de" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns-1and1.ui-dns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns-1and1.ui-dns.org" - %s[2] %CLASS{nameserver} - %s[2].name == "ns-1and1.ui-dns.de" - %s[3] %CLASS{nameserver} - %s[3].name == "ns-1and1.ui-dns.biz" diff --git a/spec/fixtures/responses/whois.schlund.info/status_registered.txt b/spec/fixtures/responses/whois.schlund.info/status_registered.txt deleted file mode 100644 index 2b98cdde5..000000000 --- a/spec/fixtures/responses/whois.schlund.info/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain Name: schlund.com -Registrar WHOIS Server: whois.1und1.info -Registrar URL: http://1and1.com -Updated Date: 2013-10-09 00:00:00 -Creation Date: 1996-10-10 00:00:00 -Registrar Registration Expiration Date: 2014-10-09 00:00:00 -Registrar: 1&1 Internet AG -Registrar IANA ID: 83 -Registrar Abuse Contact Email: abuse@1and1.com - -Domain Status: clientTransferProhibited - -Registrant Name: Markus Huhn -Registrant Organization: 1&1 Internet AG -Registrant Street: Elgendorfer Str. 57 -Registrant City: Montabaur -Registrant Postal Code: 56410 -Registrant Country: DE -Registrant Phone: +49.2602960 -Registrant Fax: +49.72191374215 -Registrant Email: hostmaster@1und1.de - -Admin Name: Markus Huhn -Admin Organization: 1&1 Internet AG -Admin Street: Elgendorfer Str. 57 -Admin City: Montabaur -Admin Postal Code: 56410 -Admin Country: DE -Admin Phone: +49.2602960 -Admin Fax: +49.72191374215 -Admin Email: hostmaster@1und1.de - -Tech Name: Hostmaster EINSUNDEINS -Tech Organization: 1&1 Internet AG -Tech Street: Brauerstr. 48 -Tech City: Karlsruhe -Tech Postal Code: 76135 -Tech Country: DE -Tech Phone: +49.7219600 -Tech Fax: +49.72191374248 -Tech Email: hostmaster@1und1.de - -Name Server: ns-1and1.ui-dns.com -Name Server: ns-1and1.ui-dns.org -Name Server: ns-1and1.ui-dns.de -Name Server: ns-1and1.ui-dns.biz - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.expected b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.expected deleted file mode 100644 index cf62b8d41..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.txt b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.txt deleted file mode 100644 index d43b51bb1..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.txt +++ /dev/null @@ -1,98 +0,0 @@ - ----------------------------------------------------------------------- - SGNIC WHOIS Server ----------------------------------------------------------------------- - -The following data is provided for information purposes only. - -Registrar: MARKMONITOR INC -Registrant: GOOGLE INC. - - Domain Name: GOOGLE.SG - Creation Date: 03-Jan-2005 12:00:00 - Expiration Date: 03-Jan-2011 00:00:00 - Domain Status: OK - Domain Status: CLIENT UPDATE PROHIBITED - Domain Status: CLIENT TRANSFER PROHIBITED - Domain Status: CLIENT DELETE PROHIBITED - - - Owner/Main Contact: - - Name: GOOGLE INC. (SGNIC-ORG1076986) - Registered Address(line1): 1600 AMPHITHEATRE PARKWAY - Registered Address(line2): - Registered Address(line3): - Registered State: CA - Registered Country: US - Registered Postalcode: 94043 - - - - Administrative Contact: - - Name: IP MIRROR PTE. LTD. - SGNIC ORGIP60218 (SGNIC-ORG1076985) - Registered Address(line1): 47 DUXTON ROAD - Registered Address(line2): IP MIRROR TECHHAUS - Registered Address(line3): - Registered State: - Registered Country: SG - Registered Postalcode: 089511 - - - - Technical Contact: - - Name: GOOGLE INC. (SGNIC-ORG1076986) - Registered Address(line1): 1600 AMPHITHEATRE PARKWAY - Registered Address(line2): - Registered Address(line3): - Registered State: CA - Registered Country: US - Registered Postalcode: 94043 - - Telephone: +1.6503300100 - Facsimile: +1.6506181434 - EMAIL: dns-admin@google.com - - - - Billing Contact: - - Name: MARKMONITOR (SGNIC-ORG1076984) - Registered Address(line1): 391 N. ANCESTOR PLACE - Registered Address(line2): SUITE 150 - Registered Address(line3): - Registered State: CA - Registered Country: US - Registered Postalcode: 83704 - - - - Name Servers: - NS1.GOOGLE.COM - NS2.GOOGLE.COM - NS3.GOOGLE.COM - NS4.GOOGLE.COM - - - - -Note: With immediate effect from 1 Jun 2005 email address and phone numbers for Registrant, -Administrative Contact and Billing Contact will not be shown in the above WHOIS results. -This move is in-line with national and global efforts to curb SPAM. - -Technical Contact details will still be available for troubleshooting of technical problems -which may be time-sensitive. - -Any party who has legitimate reason to obtain email address or phone numbers of the domain -name contacts can either (1) obtain the contacts from the domain name's website (usually by -prepending 'www.' in front of the domain name or perform an Internet search using the -organization name or; (2) Request the information from SGNIC via email (dnq@sgnic.sg), -stating the reasons. - - - - - - diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.expected b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.expected deleted file mode 100644 index 9c45ca87f..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "dnssec1.singnet.com.sg" - %s[0].ipv4 == "165.21.83.11" - %s[1] %CLASS{nameserver} - %s[1].name == "dnssec2.singnet.com.sg" - %s[1].ipv4 == "195.13.10.226" - %s[2] %CLASS{nameserver} - %s[2].name == "dnssec3.singnet.com.sg" - %s[2].ipv4 == "165.21.100.11" diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.txt b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.txt deleted file mode 100644 index 1777e5584..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.txt +++ /dev/null @@ -1,94 +0,0 @@ - ----------------------------------------------------------------------- - SGNIC WHOIS Server ----------------------------------------------------------------------- - -The following data is provided for information purposes only. - -Registrar: SINGNET PTE LTD -Registrant: CANON SINGAPORE PTE. LTD. - - Domain Name: CANON.COM.SG - Creation Date: 09-Jan-1996 00:00:00 - Expiration Date: 09-Jan-2012 00:00:00 - Domain Status: OK - - - Owner/Main Contact: - - Name: CANON SINGAPORE PTE. LTD. (SGNIC-ORGCA65520) - Registered Address(line1): 1 HarbourFront Avenue - Registered Address(line2): #08-01 - Registered Address(line3): - Registered State: - Registered Country: SG - Registered Postalcode: 098632 - - - - Administrative Contact: - - Name: CANON SINGAPORE PTE. LTD. (SGNIC-ORGCA65520) - Registered Address(line1): 1 HarbourFront Avenue - Registered Address(line2): #08-01 - Registered Address(line3): - Registered State: - Registered Country: SG - Registered Postalcode: 098632 - - - - Technical Contact: - - Name: SingNet Hostmaster (SGNIC-PERSI60492) - Registered Address(line1): 2 STIRLING ROAD - Registered Address(line2): QUEENSTOWN TELEPHONE EXCHANGE - Registered Address(line3): #03-00 - Registered State: - Registered Country: SG - Registered Postalcode: 148943 - - Telephone: 67845922 - Facsimile: 64753273 - EMAIL: hostmaster@singnet.com.sg - - - - Billing Contact: - - Name: NEE CHUEN LAI (SGNIC-PERNE65521) - Registered Address(line1): 1 HarbourFront Avenue - Registered Address(line2): #08-01 - Registered Address(line3): - Registered State: - Registered Country: SG - Registered Postalcode: 098632 - - - - Name Servers: - DNSSEC1.SINGNET.COM.SG (165.21.83.11) - DNSSEC2.SINGNET.COM.SG (195.13.10.226) - DNSSEC3.SINGNET.COM.SG (165.21.100.11) - - - - -Note: With immediate effect from 1 Jun 2005 email address and phone numbers for Registrant, -Administrative Contact and Billing Contact will not be shown in the above WHOIS results. -This move is in-line with national and global efforts to curb SPAM. - -Technical Contact details will still be available for troubleshooting of technical problems -which may be time-sensitive. - -Any party who has legitimate reason to obtain email address or phone numbers of the domain -name contacts can either (1) obtain the contacts from the domain name's website (usually by -prepending 'www.' in front of the domain name or perform an Internet search using the -organization name or; (2) Request the information from SGNIC via email (dnq@sgnic.sg), -stating the reasons. - - - - - - diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.expected b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.expected deleted file mode 100644 index cf62b8d41..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.expected +++ /dev/null @@ -1,11 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.txt b/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.txt deleted file mode 100644 index fd53ff818..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.txt +++ /dev/null @@ -1,94 +0,0 @@ - ----------------------------------------------------------------------- - SGNIC WHOIS Server ----------------------------------------------------------------------- - -The following data is provided for information purposes only. - -Registrar: MARKMONITOR INC -Registrant: GOOGLE INC. - - Domain Name: GOOGLE.SG - Creation Date: 03-Jan-2005 12:00:00 - Expiration Date: 03-Jan-2012 00:00:00 - Domain Status: OK - Domain Status: CLIENT UPDATE PROHIBITED - Domain Status: CLIENT TRANSFER PROHIBITED - Domain Status: CLIENT DELETE PROHIBITED - - - Owner/Main Contact: - - Name: GOOGLE INC. (SGNIC-ORG1113988) - Registered Address(line1): 1600 AMPHITHEATRE PARKWAY - Registered Address(line2): - Registered Address(line3): - Registered State: CA - Registered Country: US - Registered Postalcode: 94043 - - - - Administrative Contact: - - Name: GOOGLE ASIA PACIFIC PTE LTD (SGNIC-ORG1100431) - Registered Address(line1): 8 SHENTON WAY - Registered Address(line2): 38-01/01A - Registered Address(line3): - Registered State: - Registered Country: SG - Registered Postalcode: 068811 - - - - Technical Contact: - - Name: GOOGLE INC. (SGNIC-ORG1113988) - Registered Address(line1): 1600 AMPHITHEATRE PARKWAY - Registered Address(line2): - Registered Address(line3): - Registered State: CA - Registered Country: US - Registered Postalcode: 94043 - - Telephone: +1.6502530000 - Facsimile: +1.6502530001 - EMAIL: dns-admin@google.com - - - - Billing Contact: - - Name: MARKMONITOR (SGNIC-ORG1082334) - Registered Address(line1): 10400 OVERLAND RD PMB 155 - Registered Address(line2): - Registered Address(line3): - Registered State: ID - Registered Country: US - Registered Postalcode: 83709 - - - - Name Servers: - NS1.GOOGLE.COM NS2.GOOGLE.COM NS3.GOOGLE.COM NS4.GOOGLE.COM - - - -Note: With immediate effect from 1 Jun 2005 email address and phone numbers for Registrant, -Administrative Contact and Billing Contact will not be shown in the above WHOIS results. -This move is in-line with national and global efforts to curb SPAM. - -Technical Contact details will still be available for troubleshooting of technical problems -which may be time-sensitive. - -Any party who has legitimate reason to obtain email address or phone numbers of the domain -name contacts can either (1) obtain the contacts from the domain name's website (usually by -prepending 'www.' in front of the domain name or perform an Internet search using the -organization name or; (2) Request the information from SGNIC via email (dnq@sgnic.sg), -stating the reasons. - - - - - - diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.expected b/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.expected deleted file mode 100644 index 6d590d6b3..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.txt b/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.txt deleted file mode 100644 index 0417e3cc7..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -Domain Not Found diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.expected b/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.expected deleted file mode 100644 index c3b797e14..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == ["OK", "CLIENT UPDATE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT DELETE PROHIBITED", "VerifiedID@SG-Not Required"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-01-03 12:00:00} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-01-03 00:00:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.txt b/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.txt deleted file mode 100644 index 100e02675..000000000 --- a/spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.txt +++ /dev/null @@ -1,54 +0,0 @@ - ----------------------------------------------------------------------- - SGNIC WHOIS Server ----------------------------------------------------------------------- - -The following data is provided for information purposes only. - -Registrar: MARKMONITOR INC - - Domain Name: GOOGLE.SG - Creation Date: 03-Jan-2005 12:00:00 - Modified Date: 02-Dec-2013 18:25:37 - Expiration Date: 03-Jan-2015 00:00:00 - Domain Status: OK - Domain Status: CLIENT UPDATE PROHIBITED - Domain Status: CLIENT TRANSFER PROHIBITED - Domain Status: CLIENT DELETE PROHIBITED - Domain Status: VerifiedID@SG-Not Required - - - Registrant: - - Name: GOOGLE INC. (SGNIC-ORG1113988) - - - - Administrative Contact: - - Name: MARKMONITOR INC. (SGNIC-ORG1301403) - - - - Technical Contact: - - Name: GOOGLE INC. (SGNIC-ORG1113988) - Email: dns-admin@google.com - - - - Name Servers: - NS1.GOOGLE.COM - NS2.GOOGLE.COM - NS3.GOOGLE.COM - NS4.GOOGLE.COM - - - - - - - - - - diff --git a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.expected b/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.expected deleted file mode 100644 index 8e3776504..000000000 --- a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.expected +++ /dev/null @@ -1,21 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.txt b/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.txt deleted file mode 100644 index 030ecab9f..000000000 --- a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.txt +++ /dev/null @@ -1,15 +0,0 @@ -% For more information on Whois status codes, please visit https://icann.org/epp -% -% This WHOIS service is provided by SK-NIC and only contains -% information pertaining to Internet domain names registered by our -% our customers. By using this service you are agreeing (1) not to use any -% information presented here for any purpose other than determining -% ownership of domain names, (2) not to store or reproduce this data in -% any way without SK-NIC's approval, (3) not to use any high-volume, automated, electronic processes -% to obtain data from this service. Abuse of this service is monitored and -% actions in contravention of these terms will result in being permanently -% blacklisted. -% -% Access to the whois service is rate limited. - -Domain not found. diff --git a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.expected b/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.expected deleted file mode 100644 index 57f54e55a..000000000 --- a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.expected +++ /dev/null @@ -1,106 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#response_throttled? - %s == false - -#registered? - %s == true - -#domain - %s == "face.sk" - -#domain_id - %s raise_error(Whois::AttributeNotSupported) - -#created_on - %s %CLASS{time} - %s %TIME{2016-02-11} - -#updated_on - %s %CLASS{time} - %s %TIME{2017-09-07} - -#expires_on - %s %CLASS{time} - %s %TIME{2018-02-11} - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.parkingcrew.net" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.parkingcrew.net" - -#registrar - %s %CLASS{contact} - %s.type == Whois::Record::Contact::TYPE_REGISTRAR - %s.id == "ELBI-0002" - %s.organization == "ELBIA, s. r. o." - %s.email == "sknic@elbiahosting.sk" - %s.phone == "+421.904684143" - %s.address == "Stoličková 870/4" - %s.city == "Banská Bystrica" - %s.zip == "97401" - %s.country_code == "SK" - %s.created_on == Time.parse('2017-09-01') - %s.updated_on == Time.parse('2017-09-08') - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "MILA-1427-1465" - %s[0].name == "Milan Terem" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country_code == nil - %s[0].email == nil - %s[0].created_on == Time.parse('2017-09-01') - %s[0].updated_on == Time.parse('2017-09-01') - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "SK-NIC" - %s[0].name == nil - %s[0].organization == "SK-NIC, a.s." - %s[0].address == "Borská 6" - %s[0].city == "Bratislava" - %s[0].zip == "84104" - %s[0].state == nil - %s[0].country_code == "SK" - %s[0].phone == "+421.235035030" - %s[0].fax == nil - %s[0].email == "hostmaster@sk-nic.sk" - %s[0].created_on == Time.parse("2017-09-01") - %s[0].updated_on == Time.parse("2017-09-08") - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "ELBIA" - %s[0].name == "Jozef Sudolský" - %s[0].organization == "ELBIA, s. r. o." - %s[0].address == "Stoličková 4" - %s[0].city == "Banská Bystrica" - %s[0].zip == "97401" - %s[0].state == nil - %s[0].country_code == "SK" - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == nil - %s[0].created_on == Time.parse("2017-09-02") - %s[0].updated_on == Time.parse("2017-09-03") diff --git a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.txt b/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.txt deleted file mode 100644 index fd5f6b99d..000000000 --- a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.txt +++ /dev/null @@ -1,66 +0,0 @@ -% For more information on Whois status codes, please visit https://icann.org/epp -% -% This WHOIS service is provided by SK-NIC and only contains -% information pertaining to Internet domain names registered by our -% our customers. By using this service you are agreeing (1) not to use any -% information presented here for any purpose other than determining -% ownership of domain names, (2) not to store or reproduce this data in -% any way without SK-NIC's approval, (3) not to use any high-volume, automated, electronic processes -% to obtain data from this service. Abuse of this service is monitored and -% actions in contravention of these terms will result in being permanently -% blacklisted. -% -% Access to the whois service is rate limited. - -Domain: face.sk -Registrant: MILA-1427-1465 -Admin Contact: SK-NIC -Tech Contact: ELBIA -Registrar: ELBI-0002 -Created: 2016-02-11 -Updated: 2017-09-07 -Valid Until: 2018-02-11 -Nameserver: ns1.parkingcrew.net -Nameserver: ns2.parkingcrew.net -EPP Status: ok - -Registrar: ELBI-0002 -Organization: ELBIA, s. r. o. -Organization ID: 36702897 -Phone: +421.904684143 -Email: sknic@elbiahosting.sk -Street: Stoličková 870/4 -City: Banská Bystrica -Postal Code: 97401 -Country Code: SK -Created: 2017-09-01 -Updated: 2017-09-08 - -Contact: MILA-1427-1465 -Name: Milan Terem -Registrar: ELBI-0002 -Created: 2017-09-01 -Updated: 2017-09-01 - -Registrar: SK-NIC -Organization: SK-NIC, a.s. -Organization ID: 35698446 -Phone: +421.235035030 -Email: hostmaster@sk-nic.sk -Street: Borská 6 -City: Bratislava -Postal Code: 84104 -Country Code: SK -Created: 2017-09-01 -Updated: 2017-09-08 - -Contact: ELBIA -Organization: ELBIA, s. r. o. -Name: Jozef Sudolský -Street: Stoličková 4 -City: Banská Bystrica -Postal Code: 97401 -Country Code: SK -Registrar: ELBI-0002 -Created: 2017-09-02 -Updated: 2017-09-03 diff --git a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_transfer_prohibited.expected b/spec/fixtures/responses/whois.sk-nic.sk/sk/status_transfer_prohibited.expected deleted file mode 100644 index 3b2bd84af..000000000 --- a/spec/fixtures/responses/whois.sk-nic.sk/sk/status_transfer_prohibited.expected +++ /dev/null @@ -1,14 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#response_throttled? - %s == false - -#registered? - %s == true - -#domain - %s == "3mtech.sk" diff --git a/spec/fixtures/responses/whois.smallregistry.net/status_available.expected b/spec/fixtures/responses/whois.smallregistry.net/status_available.expected deleted file mode 100644 index 17a590c87..000000000 --- a/spec/fixtures/responses/whois.smallregistry.net/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to supply you with information purpose only, PROMOPIXEL is not responsible for its accuracy. Copy of whole or part of the data without permission from PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity described in the relevant \"registrant:\" record. Domain or subdomain ownership disputes should be settled by contacting SMALLREGISTRY registry: https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com\nBienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs exactitudes. La copie de tout ou partie de la base de données est interdite sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine ou d'un sous-domaine est l'entité décrite dans l’enregistrement \"registrant:\" correspondant. Un différent sur la propriété d'un nom de domaine ou de sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com" - - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.smallregistry.net/status_available.txt b/spec/fixtures/responses/whois.smallregistry.net/status_available.txt deleted file mode 100644 index 5b50b8344..000000000 --- a/spec/fixtures/responses/whois.smallregistry.net/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ ---- #YAML:1.0 -# Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to -# supply you with information purpose only, PROMOPIXEL is not responsible -# for its accuracy. Copy of whole or part of the data without permission from -# PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity -# described in the relevant "registrant:" record. Domain or subdomain -# ownership disputes should be settled by contacting SMALLREGISTRY registry: -# https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com -# -# Bienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont -# disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs -# exactitudes. La copie de tout ou partie de la base de données est interdite -# sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine -# ou d'un sous-domaine est l'entité décrite dans l’enregistrement "registrant:" -# correspondant. Un différent sur la propriété d'un nom de domaine ou de -# sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: -# https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com -# -# 2012-01-20T12:24:07+01:00 -# Object not found ---- ~ diff --git a/spec/fixtures/responses/whois.smallregistry.net/status_registered.expected b/spec/fixtures/responses/whois.smallregistry.net/status_registered.expected deleted file mode 100644 index 24827b246..000000000 --- a/spec/fixtures/responses/whois.smallregistry.net/status_registered.expected +++ /dev/null @@ -1,91 +0,0 @@ -#disclaimer - %s == "Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to supply you with information purpose only, PROMOPIXEL is not responsible for its accuracy. Copy of whole or part of the data without permission from PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity described in the relevant \"registrant:\" record. Domain or subdomain ownership disputes should be settled by contacting SMALLREGISTRY registry: https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com\nBienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs exactitudes. La copie de tout ou partie de la base de données est interdite sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine ou d'un sous-domaine est l'entité décrite dans l’enregistrement \"registrant:\" correspondant. Un différent sur la propriété d'un nom de domaine ou de sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com" - - -#domain - %s == "dr-foo-bar-baz.chirurgiens-dentistes.fr" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2011-01-13 15:45:18 +01:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-01-13 15:45:18 +01:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-01-13 16:00:09 +01:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "GOOGLE" - %s.organization == "GOOGLE" - %s.url == "http://www.google.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "FBB1-SMALL" - %s[0].name == "FOO BAR BAZ" - %s[0].organization == "FOO BAR BAZ INC" - %s[0].address == "116 RUE DE LA PAIX\n75001 PARIS\nFRANCE" - %s[0].phone == "+33.123456651" - %s[0].fax == "+33.123456660" - %s[0].updated_on %TIME{2011-01-13 15:45:18 +01:00} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "QR1-SMALL" - %s[0].name == nil - %s[0].organization == "QWE RTY" - %s[0].address == "13 RUE DE LA PAIX\n75003 PARIS\nFRANCE" - %s[0].phone == "+33.144887967" - %s[0].updated_on %TIME{2010-08-02 14:48:21 +02:00} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "GOOG-SMALL" - %s[0].name == nil - %s[0].organization == "GOOGLE DNS MASTER" - %s[0].address == "GOOGLE\n22, RUE DE LA PAIX\n75008 PARIS\nFRANCE" - %s[0].phone == "+33.821845353" - %s[0].fax == "+33.821845354" - %s[0].updated_on %TIME{2011-05-18 09:35:37 +02:00} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.smallregistry.net/status_registered.txt b/spec/fixtures/responses/whois.smallregistry.net/status_registered.txt deleted file mode 100644 index a8a1cfca9..000000000 --- a/spec/fixtures/responses/whois.smallregistry.net/status_registered.txt +++ /dev/null @@ -1,89 +0,0 @@ ---- #YAML:1.0 -# Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to -# supply you with information purpose only, PROMOPIXEL is not responsible -# for its accuracy. Copy of whole or part of the data without permission from -# PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity -# described in the relevant "registrant:" record. Domain or subdomain -# ownership disputes should be settled by contacting SMALLREGISTRY registry: -# https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com -# -# Bienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont -# disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs -# exactitudes. La copie de tout ou partie de la base de données est interdite -# sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine -# ou d'un sous-domaine est l'entité décrite dans l’enregistrement "registrant:" -# correspondant. Un différent sur la propriété d'un nom de domaine ou de -# sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: -# https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com -# -# 2012-01-20T12:06:35+01:00 ---- !Domain -name: dr-foo-bar-baz.chirurgiens-dentistes.fr -status: ACTIVE -created: "2011-01-13T15:45:18+01:00" -expired: "2013-01-13T15:45:18+01:00" -updated: "2012-01-13T16:00:09+01:00" -name_servers: -- ns1.google.com -- ns2.google.com -- ns3.google.com -- ns4.google.com -ds-list: -- 62325 7 1 d80de98c7c60ef17e4de4a66ee538e332a3a0d39 -- 62325 7 2 a5ef93e1cd8722ed923005f2a579135738aaea79b45a8dc6d2c24274c8b4442c -registrar: !Registrar - name: GOOGLE - address: |- - 1 RUE DE LA PAIX - 75002 PARIS - FRANCE - phone: +33.123456789 - fax: +33.123456798 - mobile: +33.123456807 - web: http://www.google.com - trouble: abuse@google.com -registrant: !Contact - nic-handle: FBB1-SMALL - name: FOO BAR BAZ - company: FOO BAR BAZ INC - type: LEGAL ENTITY - address: |- - 116 RUE DE LA PAIX - 75001 PARIS - FRANCE - phone: "+33.123456651" - fax: "+33.123456660" - mobile: "+33.123456678" - updated: "2011-01-13T15:45:18+01:00" -administrative_contact: !Contact - nic-handle: QR1-SMALL - company: QWE RTY - type: LEGAL ENTITY - address: |- - 13 RUE DE LA PAIX - 75003 PARIS - FRANCE - phone: "+33.144887967" - updated: "2010-08-02T14:48:21+02:00" -technical_contact: !Contact - nic-handle: GOOG-SMALL - company: GOOGLE DNS MASTER - type: LEGAL ENTITY - address: |- - GOOGLE - 22, RUE DE LA PAIX - 75008 PARIS - FRANCE - phone: "+33.821845353" - fax: "+33.821845354" - updated: "2011-05-18T09:35:37+02:00" -billing_contact: !Contact - nic-handle: QR1-SMALL - company: QWE RTY - type: LEGAL ENTITY - address: |- - 13 RUE DE LA PAIX - 75003 PARIS - FRANCE - phone: "+33.144887967" - updated: "2010-08-02T14:48:21+02:00" diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.expected b/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.txt b/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.txt deleted file mode 100644 index 49d60deee..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.txt +++ /dev/null @@ -1,68 +0,0 @@ -% New Zealand Domain Name Registry Limited -% Users confirm on submission their agreement to all published Terms -% -version: 5.00 -query_datetime: 2011-08-07T05:56:36+12:00 -domain_name: zumbafitness.co.nz -query_status: 210 PendingRelease -domain_dateregistered: 2009-07-14T12:11:36+12:00 -domain_datebilleduntil: 2011-07-14T12:11:36+12:00 -domain_datelastmodified: 2011-07-14T03:13:49+12:00 -domain_datecancelled: 2011-07-14T03:13:49+12:00 -domain_delegaterequested: yes -domain_signed: no -% -registrar_name: NETREGISTRY PTY LTD -registrar_address1: PO Box 270 -registrar_city: Broadway -registrar_postalcode: 2007 -registrar_country: AU (AUSTRALIA) -registrar_phone: +61 2 9699 6099 -registrar_fax: +61 2 9699 6088 -registrar_email: dnsadmin@netregistry.com.au -% -registrant_contact_name: Zumba Fitness, Rodrigo, Faerman -registrant_contact_address1: 3801 North 29th Avenue -registrant_contact_address2: fl, 33020 -registrant_contact_city: Hollywood -registrant_contact_country: GB (UNITED KINGDOM) -registrant_contact_phone: +1 9 549253755 -registrant_contact_email: rodrigo@zumba.com -% -admin_contact_name: NetRegistry -admin_contact_address1: PO BOX 270 -admin_contact_address2: NSW 2007 -admin_contact_city: Broadway -admin_contact_country: AU (AUSTRALIA) -admin_contact_phone: +61 2 96996099 -admin_contact_fax: +61 2 96996088 -admin_contact_email: dmain@netregistry.com.au -% -technical_contact_name: NETREGISTRY PTY LTD -technical_contact_address1: PO Box 270 -technical_contact_city: Broadway -technical_contact_postalcode: 2007 -technical_contact_country: AU (AUSTRALIA) -technical_contact_phone: +61 2 9699 6099 -technical_contact_fax: +61 2 9699 6088 -technical_contact_email: dnsadmin@netregistry.com.au -% -ns_name_01: ns1.netregistry.net -ns_name_02: ns2.netregistry.net -ns_name_03: ns3.netregistry.net -% -% Users are advised that the following activities are strictly forbidden. -% -% Using multiple WHOIS queries, or using the output of multiple WHOIS -% queries in conjunction with any other facility or service, to enable -% or effect a download of part or all of the .nz Register. -% -% Using any information contained in the WHOIS query output to attempt a -% targeted contact campaign with any person, or any organisation, using any -% medium. -% -% A breach of these conditions will be treated as a breach of the .nz Policies -% and Procedures. Sanctions in line with those specified in the policies and -% procedures at www.dnc.org.nz may result from any breach. -% -% Copyright InternetNZ diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.expected b/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.expected deleted file mode 100644 index 4302c6730..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_throttled? - %s == true diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.txt b/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.txt deleted file mode 100644 index 5651d990a..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.txt +++ /dev/null @@ -1,27 +0,0 @@ -% New Zealand Domain Name Registry Limited -% Users confirm on submission their agreement to all published Terms -% -version: 5.00 -query_datetime: 2012-05-03T13:18:06+12:00 -domain_name: jaycar.co.nz -query_status: 440 Request Denied -% -% -% -% -% -% Users are advised that the following activities are strictly forbidden. -% -% Using multiple WHOIS queries, or using the output of multiple WHOIS -% queries in conjunction with any other facility or service, to enable -% or effect a download of part or all of the .nz Register. -% -% Using any information contained in the WHOIS query output to attempt a -% targeted contact campaign with any person, or any organisation, using any -% medium. -% -% A breach of these conditions will be treated as a breach of the .nz Policies -% and Procedures. Sanctions in line with those specified in the policies and -% procedures at www.dnc.org.nz may result from any breach. -% -% Copyright InternetNZ diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.expected b/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.expected deleted file mode 100644 index 45329084e..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#domain - %s == "u34jedzcq.co.nz" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.txt b/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.txt deleted file mode 100644 index 99e8fbe56..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_available.txt +++ /dev/null @@ -1,27 +0,0 @@ -% New Zealand Domain Name Registry Limited -% Users confirm on submission their agreement to all published Terms -% -version: 5.00 -query_datetime: 2013-06-25T21:14:19+12:00 -domain_name: u34jedzcq.co.nz -query_status: 220 Available -% -% -% -% -% -% Users are advised that the following activities are strictly forbidden. -% -% Using multiple WHOIS queries, or using the output of multiple WHOIS -% queries in conjunction with any other facility or service, to enable -% or effect a download of part or all of the .nz Register. -% -% Using any information contained in the WHOIS query output to attempt a -% targeted contact campaign with any person, or any organisation, using any -% medium. -% -% A breach of these conditions will be treated as a breach of the .nz Policies -% and Procedures. Sanctions in line with those specified in the policies and -% procedures at www.dnc.org.nz may result from any breach. -% -% Copyright InternetNZ diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.expected b/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.expected deleted file mode 100644 index d3970979c..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :invalid - -#available? - %s == false - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - -#valid? - %s == false - -#invalid? - %s == true - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.txt b/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.txt deleted file mode 100644 index 95b8ae140..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.txt +++ /dev/null @@ -1,27 +0,0 @@ -% New Zealand Domain Name Registry Limited -% Users confirm on submission their agreement to all published Terms -% -version: 5.00 -query_datetime: 2012-05-03T20:27:42+12:00 -domain_name: u34jedzcq.nz -query_status: 500 Invalid characters in query string -% -% -% -% -% -% Users are advised that the following activities are strictly forbidden. -% -% Using multiple WHOIS queries, or using the output of multiple WHOIS -% queries in conjunction with any other facility or service, to enable -% or effect a download of part or all of the .nz Register. -% -% Using any information contained in the WHOIS query output to attempt a -% targeted contact campaign with any person, or any organisation, using any -% medium. -% -% A breach of these conditions will be treated as a breach of the .nz Policies -% and Procedures. Sanctions in line with those specified in the policies and -% procedures at www.dnc.org.nz may result from any breach. -% -% Copyright InternetNZ diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.expected b/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.expected deleted file mode 100644 index 25f69feaf..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.expected +++ /dev/null @@ -1,113 +0,0 @@ -#domain - %s == "google.co.nz" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-02-17 00:00:00 +13:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-01-16 23:20:24 +13:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-02-17 00:00:00 +13:00} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonitor" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Google Inc" - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "US (UNITED STATES)" - %s[0].country_code == nil - %s[0].phone == "+1 650 +1 650 3300100" - %s[0].fax == "+1 650 +1 650 6181434" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Google Inc" - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "US (UNITED STATES)" - %s[0].country_code == nil - %s[0].phone == "+1 650 +1 650 3300100" - %s[0].fax == "+1 650 +1 650 6181434" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Google Inc" - %s[0].organization == nil - %s[0].address == "1600 Amphitheatre Parkway" - %s[0].city == "Mountain View" - %s[0].zip == "94043" - %s[0].state == "CA" - %s[0].country == "US (UNITED STATES)" - %s[0].country_code == nil - %s[0].phone == "+1 650 +1 650 3300100" - %s[0].fax == "+ +1 650 6181434" - %s[0].email == "dns-admin@google.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - - -#response_throttled? - %s == false diff --git a/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.txt b/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.txt deleted file mode 100644 index bec4f10d2..000000000 --- a/spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.txt +++ /dev/null @@ -1,73 +0,0 @@ -% New Zealand Domain Name Registry Limited -% Users confirm on submission their agreement to all published Terms -% -version: 5.00 -query_datetime: 2013-06-25T21:14:20+12:00 -domain_name: google.co.nz -query_status: 200 Active -domain_dateregistered: 1999-02-17T00:00:00+13:00 -domain_datebilleduntil: 2014-02-17T00:00:00+13:00 -domain_datelastmodified: 2013-01-16T23:20:24+13:00 -domain_delegaterequested: yes -domain_signed: no -% -registrar_name: MarkMonitor -registrar_address1: 391 N. Ancestor Place -registrar_city: Boise -registrar_province: ID -registrar_postalcode: 83704 -registrar_country: US (UNITED STATES) -registrar_phone: +1 208 3895740 -registrar_fax: +1 208 3895771 -registrar_email: ccops@markmonitor.com -% -registrant_contact_name: Google Inc -registrant_contact_address1: 1600 Amphitheatre Parkway -registrant_contact_city: Mountain View -registrant_contact_province: CA -registrant_contact_postalcode: 94043 -registrant_contact_country: US (UNITED STATES) -registrant_contact_phone: +1 650 +1 650 3300100 -registrant_contact_fax: +1 650 +1 650 6181434 -registrant_contact_email: dns-admin@google.com -% -admin_contact_name: Google Inc -admin_contact_address1: 1600 Amphitheatre Parkway -admin_contact_city: Mountain View -admin_contact_province: CA -admin_contact_postalcode: 94043 -admin_contact_country: US (UNITED STATES) -admin_contact_phone: +1 650 +1 650 3300100 -admin_contact_fax: +1 650 +1 650 6181434 -admin_contact_email: dns-admin@google.com -% -technical_contact_name: Google Inc -technical_contact_address1: 1600 Amphitheatre Parkway -technical_contact_city: Mountain View -technical_contact_province: CA -technical_contact_postalcode: 94043 -technical_contact_country: US (UNITED STATES) -technical_contact_phone: +1 650 +1 650 3300100 -technical_contact_fax: + +1 650 6181434 -technical_contact_email: dns-admin@google.com -% -ns_name_01: ns1.google.com -ns_name_02: ns2.google.com -ns_name_03: ns3.google.com -ns_name_04: ns4.google.com -% -% Users are advised that the following activities are strictly forbidden. -% -% Using multiple WHOIS queries, or using the output of multiple WHOIS -% queries in conjunction with any other facility or service, to enable -% or effect a download of part or all of the .nz Register. -% -% Using any information contained in the WHOIS query output to attempt a -% targeted contact campaign with any person, or any organisation, using any -% medium. -% -% A breach of these conditions will be treated as a breach of the .nz Policies -% and Procedures. Sanctions in line with those specified in the policies and -% procedures at www.dnc.org.nz may result from any breach. -% -% Copyright InternetNZ diff --git a/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.expected b/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.expected deleted file mode 100644 index 07450ac86..000000000 --- a/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :unavailable - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.txt b/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.txt deleted file mode 100644 index 131d3fe8d..000000000 --- a/spec/fixtures/responses/whois.sx/sx/property_status_premium_name.txt +++ /dev/null @@ -1,46 +0,0 @@ - -Status: PREMIUM NAME (No match for domain "domain.sx") ->>> Last update of WHOIS database: 2012-11-22T12:01:41.176Z <<< - -% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS -% The WHOIS service offered by OpenRegistry and the access to the -% records in the OpenRegistry WHOIS database are provided for information -% purposes only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to the -% registration records of existing domain names. You are not authorized to -% access or query our WHOIS database through the use of electronic -% processes that are high-volume and automated except as reasonably -% necessary to register domain names or modify existing registrations. -% -% OpenRegistry cannot, under any circumstances, be held liable should the -% stored information prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a WHOIS query you agree not to use the information made -% available to: -% - Allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email, telephone -% or otherwise; -% - Target advertising in any possible way; -% - Cause nuisance in any possible way to the registrants by sending (whether -% by automated, electronic processes capable of enabling high volumes or -% other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part of the -% contents of the WHOIS database without prior and explicit permission by -% OpenRegistry, nor in any attempt hereof, to apply automated, electronic -% processes to OpenRegistry (or its systems). -% -% By submitting the query you agree that any reproduction and/or transmission -% of data for commercial purposes will always be considered as the extraction -% of a substantial part of the content of the WHOIS database. You also agree -% to abide by this policy and accept that OpenRegistry can take measures to -% limit the use of its WHOIS services in order to protect the privacy of its -% registrants and/or the integrity of the database. OpenRegistry reserves the -% right to restrict your access to the WHOIS database in its sole discretion -% to ensure operational stability. OpenRegistry may restrict or terminate your -% access to the WHOIS database for failure to abide by these terms of use. -% -% OpenRegistry reserves the right to modify these terms at any time. - diff --git a/spec/fixtures/responses/whois.sx/sx/status_available.expected b/spec/fixtures/responses/whois.sx/sx/status_available.expected deleted file mode 100644 index dc73b40d2..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s == "WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS\nThe WHOIS service offered by OpenRegistry and the access to the\nrecords in the OpenRegistry WHOIS database are provided for information\npurposes only. It allows persons to check whether a specific domain name\nis still available or not and to obtain information related to the\nregistration records of existing domain names. You are not authorized to\naccess or query our WHOIS database through the use of electronic\nprocesses that are high-volume and automated except as reasonably\nnecessary to register domain names or modify existing registrations.\n\nOpenRegistry cannot, under any circumstances, be held liable should the\nstored information prove to be wrong, incomplete or inaccurate in any sense.\n\nBy submitting a WHOIS query you agree not to use the information made\navailable to:\n- Allow, enable or otherwise support the transmission of unsolicited,\ncommercial advertising or other solicitations whether via email, telephone\nor otherwise;\n- Target advertising in any possible way;\n- Cause nuisance in any possible way to the registrants by sending (whether\nby automated, electronic processes capable of enabling high volumes or\nother possible means) messages to them.\n\nWithout prejudice to the above, it is explicitly forbidden to extract, copy\nand/or use or re-utilise in any form and by any means (electronically or\nnot) the whole or a quantitatively or qualitatively substantial part of the\ncontents of the WHOIS database without prior and explicit permission by\nOpenRegistry, nor in any attempt hereof, to apply automated, electronic\nprocesses to OpenRegistry (or its systems).\n\nBy submitting the query you agree that any reproduction and/or transmission\nof data for commercial purposes will always be considered as the extraction\nof a substantial part of the content of the WHOIS database. You also agree\nto abide by this policy and accept that OpenRegistry can take measures to\nlimit the use of its WHOIS services in order to protect the privacy of its\nregistrants and/or the integrity of the database. OpenRegistry reserves the\nright to restrict your access to the WHOIS database in its sole discretion\nto ensure operational stability. OpenRegistry may restrict or terminate your\naccess to the WHOIS database for failure to abide by these terms of use.\n\nOpenRegistry reserves the right to modify these terms at any time." - - -#domain - %s == "u34jedzcq.sx" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.sx/sx/status_available.txt b/spec/fixtures/responses/whois.sx/sx/status_available.txt deleted file mode 100644 index a4f46a5d1..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_available.txt +++ /dev/null @@ -1,46 +0,0 @@ - -Status: AVAILABLE (No match for domain "u34jedzcq.sx") ->>> Last update of WHOIS database: 2014-01-22T22:12:08.820Z <<< - -% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS -% The WHOIS service offered by OpenRegistry and the access to the -% records in the OpenRegistry WHOIS database are provided for information -% purposes only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to the -% registration records of existing domain names. You are not authorized to -% access or query our WHOIS database through the use of electronic -% processes that are high-volume and automated except as reasonably -% necessary to register domain names or modify existing registrations. -% -% OpenRegistry cannot, under any circumstances, be held liable should the -% stored information prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a WHOIS query you agree not to use the information made -% available to: -% - Allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email, telephone -% or otherwise; -% - Target advertising in any possible way; -% - Cause nuisance in any possible way to the registrants by sending (whether -% by automated, electronic processes capable of enabling high volumes or -% other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part of the -% contents of the WHOIS database without prior and explicit permission by -% OpenRegistry, nor in any attempt hereof, to apply automated, electronic -% processes to OpenRegistry (or its systems). -% -% By submitting the query you agree that any reproduction and/or transmission -% of data for commercial purposes will always be considered as the extraction -% of a substantial part of the content of the WHOIS database. You also agree -% to abide by this policy and accept that OpenRegistry can take measures to -% limit the use of its WHOIS services in order to protect the privacy of its -% registrants and/or the integrity of the database. OpenRegistry reserves the -% right to restrict your access to the WHOIS database in its sole discretion -% to ensure operational stability. OpenRegistry may restrict or terminate your -% access to the WHOIS database for failure to abide by these terms of use. -% -% OpenRegistry reserves the right to modify these terms at any time. - diff --git a/spec/fixtures/responses/whois.sx/sx/status_registered.expected b/spec/fixtures/responses/whois.sx/sx/status_registered.expected deleted file mode 100644 index 6f6be5f19..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_registered.expected +++ /dev/null @@ -1,111 +0,0 @@ -#disclaimer - %s == "WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS\nThe WHOIS service offered by OpenRegistry and the access to the\nrecords in the OpenRegistry WHOIS database are provided for information\npurposes only. It allows persons to check whether a specific domain name\nis still available or not and to obtain information related to the\nregistration records of existing domain names. You are not authorized to\naccess or query our WHOIS database through the use of electronic\nprocesses that are high-volume and automated except as reasonably\nnecessary to register domain names or modify existing registrations.\n\nOpenRegistry cannot, under any circumstances, be held liable should the\nstored information prove to be wrong, incomplete or inaccurate in any sense.\n\nBy submitting a WHOIS query you agree not to use the information made\navailable to:\n- Allow, enable or otherwise support the transmission of unsolicited,\ncommercial advertising or other solicitations whether via email, telephone\nor otherwise;\n- Target advertising in any possible way;\n- Cause nuisance in any possible way to the registrants by sending (whether\nby automated, electronic processes capable of enabling high volumes or\nother possible means) messages to them.\n\nWithout prejudice to the above, it is explicitly forbidden to extract, copy\nand/or use or re-utilise in any form and by any means (electronically or\nnot) the whole or a quantitatively or qualitatively substantial part of the\ncontents of the WHOIS database without prior and explicit permission by\nOpenRegistry, nor in any attempt hereof, to apply automated, electronic\nprocesses to OpenRegistry (or its systems).\n\nBy submitting the query you agree that any reproduction and/or transmission\nof data for commercial purposes will always be considered as the extraction\nof a substantial part of the content of the WHOIS database. You also agree\nto abide by this policy and accept that OpenRegistry can take measures to\nlimit the use of its WHOIS services in order to protect the privacy of its\nregistrants and/or the integrity of the database. OpenRegistry reserves the\nright to restrict your access to the WHOIS database in its sole discretion\nto ensure operational stability. OpenRegistry may restrict or terminate your\naccess to the WHOIS database for failure to abide by these terms of use.\n\nOpenRegistry reserves the right to modify these terms at any time." - - -#domain - %s == "whois.sx" - -#domain_id - %s == "d5-sx" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2011-12-09 14:07:22 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-02-25 16:50:39 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2022-12-09 14:07:22 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "SX Registry O" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "C65" - %s[0].name == "SX Registry SA administrator" - %s[0].organization == "SX Registry SA" - %s[0].address == "2, rue Léon Laval" - %s[0].city == "Leudelange" - %s[0].zip == "L3372" - %s[0].state == nil - %s[0].country == "LUXEMBOURG" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "registry@registry.sx" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "C65" - %s[0].name == "SX Registry SA administrator" - %s[0].organization == "SX Registry SA" - %s[0].address == "2, rue Léon Laval" - %s[0].city == "Leudelange" - %s[0].zip == "L3372" - %s[0].state == nil - %s[0].country == "LUXEMBOURG" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "registry@registry.sx" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "C65" - %s[0].name == "SX Registry SA administrator" - %s[0].organization == "SX Registry SA" - %s[0].address == "2, rue Léon Laval" - %s[0].city == "Leudelange" - %s[0].zip == "L3372" - %s[0].state == nil - %s[0].country == "LUXEMBOURG" - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "registry@registry.sx" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "a.ns.sx" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "b.ns.sx" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "c.ns.sx" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.sx/sx/status_registered.txt b/spec/fixtures/responses/whois.sx/sx/status_registered.txt deleted file mode 100644 index 22e2ae281..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_registered.txt +++ /dev/null @@ -1,80 +0,0 @@ - -Domain Name: WHOIS.SX -Domain ID: d5-sx -Updated Date: 2013-02-25T16:50:39.204Z -Creation Date: 2011-12-09T14:07:22.794Z -Registry Expiry Date: 2022-12-09T14:07:22.794Z -Sponsoring Registrar: SX Registry O -Domain Status: ok -Registrant ID: C65 -Registrant Name: SX Registry SA administrator -Registrant Organization: SX Registry SA -Registrant Street: 2, rue Léon Laval -Registrant City: Leudelange -Registrant Postal Code: L3372 -Registrant Country: LUXEMBOURG -Registrant Email: registry@registry.sx -Admin ID: C65 -Admin Name: SX Registry SA administrator -Admin Organization: SX Registry SA -Admin Street: 2, rue Léon Laval -Admin City: Leudelange -Admin Postal Code: L3372 -Admin Country: LUXEMBOURG -Admin Email: registry@registry.sx -Tech ID: C65 -Tech Name: SX Registry SA administrator -Tech Organization: SX Registry SA -Tech Street: 2, rue Léon Laval -Tech City: Leudelange -Tech Postal Code: L3372 -Tech Country: LUXEMBOURG -Tech Email: registry@registry.sx -Name Server: a.ns.sx -Name Server: b.ns.sx -Name Server: c.ns.sx -DNSSEC: signedDelegation ->>> Last update of WHOIS database: 2014-02-18T20:40:36.197Z <<< - -% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS -% The WHOIS service offered by OpenRegistry and the access to the -% records in the OpenRegistry WHOIS database are provided for information -% purposes only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to the -% registration records of existing domain names. You are not authorized to -% access or query our WHOIS database through the use of electronic -% processes that are high-volume and automated except as reasonably -% necessary to register domain names or modify existing registrations. -% -% OpenRegistry cannot, under any circumstances, be held liable should the -% stored information prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a WHOIS query you agree not to use the information made -% available to: -% - Allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email, telephone -% or otherwise; -% - Target advertising in any possible way; -% - Cause nuisance in any possible way to the registrants by sending (whether -% by automated, electronic processes capable of enabling high volumes or -% other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part of the -% contents of the WHOIS database without prior and explicit permission by -% OpenRegistry, nor in any attempt hereof, to apply automated, electronic -% processes to OpenRegistry (or its systems). -% -% By submitting the query you agree that any reproduction and/or transmission -% of data for commercial purposes will always be considered as the extraction -% of a substantial part of the content of the WHOIS database. You also agree -% to abide by this policy and accept that OpenRegistry can take measures to -% limit the use of its WHOIS services in order to protect the privacy of its -% registrants and/or the integrity of the database. OpenRegistry reserves the -% right to restrict your access to the WHOIS database in its sole discretion -% to ensure operational stability. OpenRegistry may restrict or terminate your -% access to the WHOIS database for failure to abide by these terms of use. -% -% OpenRegistry reserves the right to modify these terms at any time. - diff --git a/spec/fixtures/responses/whois.sx/sx/status_unavailable.expected b/spec/fixtures/responses/whois.sx/sx/status_unavailable.expected deleted file mode 100644 index 07450ac86..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_unavailable.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :unavailable - -#available? - %s == false - -#registered? - %s == false diff --git a/spec/fixtures/responses/whois.sx/sx/status_unavailable.txt b/spec/fixtures/responses/whois.sx/sx/status_unavailable.txt deleted file mode 100644 index 131d3fe8d..000000000 --- a/spec/fixtures/responses/whois.sx/sx/status_unavailable.txt +++ /dev/null @@ -1,46 +0,0 @@ - -Status: PREMIUM NAME (No match for domain "domain.sx") ->>> Last update of WHOIS database: 2012-11-22T12:01:41.176Z <<< - -% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS -% The WHOIS service offered by OpenRegistry and the access to the -% records in the OpenRegistry WHOIS database are provided for information -% purposes only. It allows persons to check whether a specific domain name -% is still available or not and to obtain information related to the -% registration records of existing domain names. You are not authorized to -% access or query our WHOIS database through the use of electronic -% processes that are high-volume and automated except as reasonably -% necessary to register domain names or modify existing registrations. -% -% OpenRegistry cannot, under any circumstances, be held liable should the -% stored information prove to be wrong, incomplete or inaccurate in any sense. -% -% By submitting a WHOIS query you agree not to use the information made -% available to: -% - Allow, enable or otherwise support the transmission of unsolicited, -% commercial advertising or other solicitations whether via email, telephone -% or otherwise; -% - Target advertising in any possible way; -% - Cause nuisance in any possible way to the registrants by sending (whether -% by automated, electronic processes capable of enabling high volumes or -% other possible means) messages to them. -% -% Without prejudice to the above, it is explicitly forbidden to extract, copy -% and/or use or re-utilise in any form and by any means (electronically or -% not) the whole or a quantitatively or qualitatively substantial part of the -% contents of the WHOIS database without prior and explicit permission by -% OpenRegistry, nor in any attempt hereof, to apply automated, electronic -% processes to OpenRegistry (or its systems). -% -% By submitting the query you agree that any reproduction and/or transmission -% of data for commercial purposes will always be considered as the extraction -% of a substantial part of the content of the WHOIS database. You also agree -% to abide by this policy and accept that OpenRegistry can take measures to -% limit the use of its WHOIS services in order to protect the privacy of its -% registrants and/or the integrity of the database. OpenRegistry reserves the -% right to restrict your access to the WHOIS database in its sole discretion -% to ensure operational stability. OpenRegistry may restrict or terminate your -% access to the WHOIS database for failure to abide by these terms of use. -% -% OpenRegistry reserves the right to modify these terms at any time. - diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected b/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected deleted file mode 100644 index e322b0abc..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected +++ /dev/null @@ -1,12 +0,0 @@ -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns.masterhost.ru" - %s[0].ipv4 == "217.16.20.30" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.masterhost.ru" - %s[1].ipv4 == "217.16.16.30" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.masterhost.ru" - %s[2].ipv4 == "217.16.22.30" diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.txt b/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.txt deleted file mode 100644 index 159f4da03..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.txt +++ /dev/null @@ -1,22 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -domain: MASTERHOST.RU -nserver: ns.masterhost.ru. 217.16.20.30 -nserver: ns1.masterhost.ru. 217.16.16.30 -nserver: ns2.masterhost.ru. 217.16.22.30 -state: REGISTERED, DELEGATED, UNVERIFIED -org: ZAO MASTERHOST -phone: +7 495 7729720 -phone: +7 800 2009720 -fax-no: +7 495 7729723 -e-mail: domain-tld@masterhost.ru -registrar: REGISTRATOR-REG-RIPN -created: 1999.12.15 -paid-till: 2011.01.01 -source: TCI - -Last updated on 2010.03.25 12:27:24 MSK/MSD - diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected b/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected deleted file mode 100644 index 14f450099..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.txt b/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.txt deleted file mode 100644 index 1b254938c..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -No entries found for the selected source(s). - -Last updated on 2014.01.23 02:11:43 MSK - diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected b/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected deleted file mode 100644 index 235bc50ad..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected +++ /dev/null @@ -1,60 +0,0 @@ -#domain - %s == "google.ru" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["REGISTERED", "DELEGATED", "VERIFIED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-03-04} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-05} - - -#registrar - %s %CLASS{registrar} - %s.id == "RU-CENTER-REG-RIPN" - %s.name == nil - %s.organization == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].organization == "Google Inc." - %s[0].url == "https://www.nic.ru/whois" - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.txt b/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.txt deleted file mode 100644 index 0a5f84e9a..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.txt +++ /dev/null @@ -1,21 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -domain: GOOGLE.RU -nserver: ns1.google.com. -nserver: ns2.google.com. -nserver: ns3.google.com. -nserver: ns4.google.com. -state: REGISTERED, DELEGATED, VERIFIED -org: Google Inc. -registrar: RU-CENTER-REG-RIPN -admin-contact: https://www.nic.ru/whois -created: 2004.03.04 -paid-till: 2015.03.05 -free-date: 2015.04.05 -source: TCI - -Last updated on 2014.02.19 00:41:43 MSK - diff --git a/spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected b/spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected deleted file mode 100644 index 14f450099..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tcinet.ru/su/status_available.txt b/spec/fixtures/responses/whois.tcinet.ru/su/status_available.txt deleted file mode 100644 index 315c2e383..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/su/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -No entries found for the selected source(s). - -Last updated on 2010.01.09 16:21:33 MSK/MSD - diff --git a/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected b/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected deleted file mode 100644 index 6b038305b..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected +++ /dev/null @@ -1,60 +0,0 @@ -#domain - %s == "google.su" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["REGISTERED", "DELEGATED", "UNVERIFIED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2005-10-16} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-10-16} - - -#registrar - %s %CLASS{registrar} - %s.id == "RUCENTER-REG-FID" - %s.name == nil - %s.organization == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Private Person" - %s[0].phone == "+7 495 9681807" - %s[0].fax == "+7 495 9681807" - %s[0].email == "cis@cis.su" - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1073.hostgator.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1074.hostgator.com" diff --git a/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.txt b/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.txt deleted file mode 100644 index 8242d15bc..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.txt +++ /dev/null @@ -1,20 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -domain: GOOGLE.SU -nserver: ns1073.hostgator.com. -nserver: ns1074.hostgator.com. -state: REGISTERED, DELEGATED, UNVERIFIED -person: Private Person -phone: +7 495 9681807 -fax-no: +7 495 9681807 -e-mail: cis@cis.su -registrar: RUCENTER-REG-FID -created: 2005.10.16 -paid-till: 2010.10.16 -source: TCI - -Last updated on 2010.01.09 16:21:33 MSK/MSD - diff --git a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected b/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected deleted file mode 100644 index 14f450099..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.txt b/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.txt deleted file mode 100644 index f71f7f4a5..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -No entries found for the selected source(s). - -Last updated on 2011.03.17 22:45:46 MSK/MSD - diff --git a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected b/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected deleted file mode 100644 index 4068013ce..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected +++ /dev/null @@ -1,63 +0,0 @@ -#domain - %s == "xn----8sbc3ahklcs4adf.xn--p1ai" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["REGISTERED", "DELEGATED", "VERIFIED"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-11-12} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-11-12} - - -#registrar - %s %CLASS{registrar} - %s.id == "R01-REG-RF" - %s.name == nil - %s.organization == nil - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "R01 Personal Data Operator protected" - %s[0].organization == nil - %s[0].phone == "+7 800 3020800" - %s[0].fax == nil - %s[0].email == "liderkubani@gmail.com" - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.redsoft.ru" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.redsoft.ru" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.r01.ru" diff --git a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.txt b/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.txt deleted file mode 100644 index a04f61dff..000000000 --- a/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.txt +++ /dev/null @@ -1,20 +0,0 @@ -% By submitting a query to RIPN's Whois Service -% you agree to abide by the following terms of use: -% http://www.ripn.net/about/servpol.html#3.2 (in Russian) -% http://www.ripn.net/about/en/servpol.html#3.2 (in English). - -domain: XN----8SBC3AHKLCS4ADF.XN--P1AI -nserver: ns1.redsoft.ru. -nserver: ns2.redsoft.ru. -nserver: ns2.r01.ru. -state: REGISTERED, DELEGATED, VERIFIED -person: R01 Personal Data Operator protected -phone: +7 800 3020800 -e-mail: liderkubani@gmail.com -registrar: R01-REG-RF -created: 2010.11.12 -paid-till: 2011.11.12 -source: TCI - -Last updated on 2011.03.17 22:40:46 MSK/MSD - diff --git a/spec/fixtures/responses/whois.thnic.co.th/th/status_available.expected b/spec/fixtures/responses/whois.thnic.co.th/th/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.thnic.co.th/th/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.thnic.co.th/th/status_available.txt b/spec/fixtures/responses/whois.thnic.co.th/th/status_available.txt deleted file mode 100644 index b043001b1..000000000 --- a/spec/fixtures/responses/whois.thnic.co.th/th/status_available.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Whois Server Version 2.1.0 - -% No match for "U34JEDZCQ.CO.TH". \ No newline at end of file diff --git a/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.expected b/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.expected deleted file mode 100644 index 944aa0b13..000000000 --- a/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2004-10-08} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-09-07} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-10-07} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.txt b/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.txt deleted file mode 100644 index 54263889e..000000000 --- a/spec/fixtures/responses/whois.thnic.co.th/th/status_registered.txt +++ /dev/null @@ -1,24 +0,0 @@ - -Whois Server Version 2.1.0 - -Domain: GOOGLE.CO.TH -Registrar: T.H.NIC Co., Ltd. -Name Server: NS1.GOOGLE.COM -Name Server: NS2.GOOGLE.COM -Name Server: NS3.GOOGLE.COM -Name Server: NS4.GOOGLE.COM -Status: ACTIVE -Updated date: 7 Sep 2012 -Created date: 8 Oct 2004 -Renew date: 8 Oct 2012 -Exp date: 7 Oct 2013 -Domain Holder: Google Inc. -2400 Bayshore Parkway, Mountain Veiw, CA -94043 -US - -Tech Contact: 13244 -MarkMonitor Inc. -391 N Ancestor Place, Boise, ID -83704 -US \ No newline at end of file diff --git a/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.expected b/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.expected deleted file mode 100644 index f5e00f824..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.expected +++ /dev/null @@ -1,123 +0,0 @@ -#disclaimer - %s == "Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee" - -#domain - %s == "samanacrafts.ee" - -#domain_id - %s %ERROR{AttributeNotSupported} - -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true - -#created_on - %s %CLASS{time} - %s %TIME{2014-11-01 20:38:55 +02:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-11-01 20:38:55 +02:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-11-01} - -#registrar - %s %CLASS{registrar} - %s.name == "Edicy OÜ" - %s.organization == "Edicy OÜ" - %s.url == "http://www.edicy.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Anastassia Hisamova" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2014-11-01 20:38:55 +02:00} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Anastassia Hisamova" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2014-11-01 20:38:55 +02:00} - %s[1] %CLASS{contact} - %s[1].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[1].id == nil - %s[1].name == "Anastassia Hisamova" - %s[1].organization == nil - %s[1].address == nil - %s[1].city == nil - %s[1].zip == nil - %s[1].state == nil - %s[1].country == nil - %s[1].country_code == nil - %s[1].phone == nil - %s[1].fax == nil - %s[1].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[1].created_on == nil - %s[1].updated_on %TIME{2014-11-01 20:38:55 +02:00} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Priit Haamer" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2010-12-09 16:08:33 +02:00} - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.edicy.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.edicy.net" - %s[1].ipv4 == nil - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.txt b/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.txt deleted file mode 100644 index 7954d3d1e..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.txt +++ /dev/null @@ -1,44 +0,0 @@ -Estonia .ee Top Level Domain WHOIS server - -Domain: -name: samanacrafts.ee -status: expired -status: serverHold -registered: 2014-11-01 20:38:55 +02:00 -changed: 2014-11-01 20:38:55 +02:00 -expire: 2015-11-01 -outzone: 2015-11-16 -delete: 2015-12-16 - -Registrant: -name: Anastassia Hisamova -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2014-11-01 20:38:55 +02:00 - -Administrative contact -name: Anastassia Hisamova -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2014-11-01 20:38:55 +02:00 -name: Anastassia Hisamova -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2014-11-01 20:38:55 +02:00 - - -Technical contact: -name: Priit Haamer -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2010-12-09 16:08:33 +02:00 - -Registrar: -name: Edicy OÜ -url: http://www.edicy.com -phone: +3727460064 -changed: 2015-11-30 23:29:03 +02:00 - -Name servers: -nserver: ns4.edicy.net -nserver: ns3.edicy.net -changed: 2014-06-29 16:31:04 +03:00 - -Estonia .ee Top Level Domain WHOIS server -More information at http://internet.ee \ No newline at end of file diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_available.expected b/spec/fixtures/responses/whois.tld.ee/ee/status_available.expected deleted file mode 100644 index 894325c31..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_available.expected +++ /dev/null @@ -1,49 +0,0 @@ -#disclaimer - %s == "Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee" - -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_available.txt b/spec/fixtures/responses/whois.tld.ee/ee/status_available.txt deleted file mode 100644 index d307debef..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_available.txt +++ /dev/null @@ -1,5 +0,0 @@ - -Domain not found - -Estonia .ee Top Level Domain WHOIS server -More information at http://internet.ee diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_expired.expected b/spec/fixtures/responses/whois.tld.ee/ee/status_expired.expected deleted file mode 100644 index 159f380e9..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_expired.expected +++ /dev/null @@ -1,108 +0,0 @@ -#disclaimer - %s == "Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee" - -#domain - %s == "eestiinternet.ee" - -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true - -#created_on - %s %CLASS{time} - %s %TIME{2010-07-04 07:52:56 +03:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-11-29 13:32:16 +02:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-11-29} - -#registrar - %s %CLASS{registrar} - %s.name == "Elisa Eesti AS" - %s.organization == "Elisa Eesti AS" - %s.url == "http://www.elisa.ee" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Eesti Interneti Sihtasutus" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2010-11-29 13:32:16 +02:00} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Jaana Järve" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2015-10-30 08:31:21 +02:00} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Jaana Järve" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2015-10-30 08:31:21 +02:00} - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "c.tld.ee" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "d.tld.ee" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "b.tld.ee" - %s[2].ipv4 == nil - %s[2].ipv6 == nil diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_expired.txt b/spec/fixtures/responses/whois.tld.ee/ee/status_expired.txt deleted file mode 100644 index 9149d4d43..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_expired.txt +++ /dev/null @@ -1,46 +0,0 @@ -Estonia .ee Top Level Domain WHOIS server - -Domain: -name: eestiinternet.ee -status: expired -registered: 2010-07-04 07:52:56 +03:00 -changed: 2010-11-29 13:32:16 +02:00 -expire: 2015-11-29 -outzone: 2015-12-14 -delete: 2016-01-13 - -Registrant: -name: Eesti Interneti Sihtasutus -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2010-11-29 13:32:16 +02:00 - -Administrative contact -name: Jaana Järve -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2015-10-30 08:31:21 +02:00 - - -Technical contact: -name: Jaana Järve -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2015-10-30 08:31:21 +02:00 - -Registrar: -name: Elisa Eesti AS -url: http://www.elisa.ee -phone: +372 660 0600 -changed: 2015-11-30 23:29:03 +02:00 - -Name servers: -nserver: c.tld.ee -nserver: d.tld.ee -nserver: b.tld.ee -changed: 2013-02-27 16:35:00 +02:00 - -DNSSEC: -dnskey: 257 3 8 AwEAAY3YwBrr5tleOJ7k8+ssMuENHddWxS3ettpuTbx9CQ56yq4KbZ5qntcaidPABGhAu9k0yffeuDM91MF0l03yQRtRLS3zAZ81lW1ZM58p4gvx+62pPIFf9dmPv871rPywu52OfK+jH2ga1dg97Ed5kTqkMWsO2Kpd/xc1HT255vodIj4qvCokZPtKOkQvQ6yc9eQ3KpfFxF1v+O0az21DBaTBvMfMzPZprNVhvfqgvZd6RE92pPkh8Q8vmkTadg7u7b9Op/3iDz44CjPOzR16FoowCxmlqB2PH9WOU7IK3HY1KBnYqd2Bmyg5TXBoNEGOtfWIG8SpxR/HE5l004f7EcWonKYEuAfUn5KyRMnBuzzXEqmXG4CTGfUblFScpWJQx8OFp8kR40YswuDkG7sdXkIC1iAOTSn4UI//MjaeH0wyFhqM/BLmFqtxEPycQP4aJakB9O8tPbrv90i5iWE+DByvdtzKqdUxMl+TsWDBUawEZnEc/j/k+Z+bnU0tz80ZqeS6HWfQYVFsV6q2+c4z63kQOHLvzWFMN5EttPErWhF9MQXAkdlSggvEeU0B4geqcOGuPUvddFJz2U+iYZdRYAu17bBhAWlxIeRP9Td4WGBGpAdAZ3vCXwtSybycWADsb4UnWYHr0Te7RlZVjB82aiYgv6XfgBaQF3OAnJiQF3sX -dnskey: 257 3 8 AwEAAd0PAn8hvIKCRThHiK86nP/wvQL5nuJclXydZhi5BmEDtTOhX4AxZ/BMZXJ2mJx5KNeuhQlTYIqi09t/C8VEaz8reHu415Y1SyuzTb5zJOOZGFlA5W7EzErPhu99pe9/WX3f5YO0zJ7si9UNVIXr1DFgCeuym+bnLihLuYdiybYrg1+diR7806bdDmgAMCqYUzXM5eOEPclPpQcdIT/+q8R4SbnCgvOj319YwVRPAa6OLPEeEcb5Ck+uKbHEAomrra03pJjRyFeK8QJQnL6lx1+PznzdW91O0yqdB61gJngik8mCmSxuXFol86I8a9zhLeVSEZynQNY/TY68i93F9pjzrzMMEVJTBZxiIqnCqKXuUB4kG7dh3lz26sCgUZg7UGTcCHXGrJNimkr+ltOrqCnEQfmO7dr1Li5JddAhF6x8ScmiRpT314a75GwgyOCczX+PGBYBxJ/lNEUt6P6dQlJgrb9XxiQ5PqWRKIkrXZyLY5O1JH89jy1Dc+TAEmgzMhiDfgUkb30yMGEy6ul2qcCsexNFkhPCTn1NKQccaF2kVgFaex/LYIrku2HaAKtOL/i1F5u3uqTsPu+4eQw+YHmFtLXFqCs7zMcgkq2qMogZeymotLDInAaDX/6ZCC3OqMNWM/y3q1Cwy6XxhB4mUyBt+45xTCDulttO919nF4G1 -changed: 2015-12-01 00:05:06 +02:00 - -Estonia .ee Top Level Domain WHOIS server -More information at http://internet.ee \ No newline at end of file diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_registered.expected b/spec/fixtures/responses/whois.tld.ee/ee/status_registered.expected deleted file mode 100644 index 4523d72b8..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_registered.expected +++ /dev/null @@ -1,115 +0,0 @@ -#disclaimer - %s == "Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee" - -#domain - %s == "internet.ee" - -#domain_id - %s %ERROR{AttributeNotSupported} - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - -#created_on - %s %CLASS{time} - %s %TIME{2010-08-10 16:43:38 +03:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-11-29 13:32:16 +02:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-02-04} - -#registrar - %s %CLASS{registrar} - %s.name == "Elisa Eesti AS" - %s.organization == "Elisa Eesti AS" - %s.url == "http://www.elisa.ee" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Eesti Interneti Sihtasutus" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2010-11-29 13:32:16 +02:00} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Jaana Järve" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2015-10-30 08:31:21 +02:00} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Jaana Järve" - %s[0].organization == nil - %s[0].address == nil - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "Not Disclosed - Visit www.internet.ee for webbased WHOIS" - %s[0].created_on == nil - %s[0].updated_on %TIME{2015-10-30 08:31:21 +02:00} - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "c.tld.ee" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "d.tld.ee" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "b.tld.ee" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "e.tld.ee" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.tld.ee/ee/status_registered.txt b/spec/fixtures/responses/whois.tld.ee/ee/status_registered.txt deleted file mode 100644 index 7caddc16a..000000000 --- a/spec/fixtures/responses/whois.tld.ee/ee/status_registered.txt +++ /dev/null @@ -1,47 +0,0 @@ -Estonia .ee Top Level Domain WHOIS server - -Domain: -name: internet.ee -status: ok (paid and in zone) -registered: 2010-08-10 16:43:38 +03:00 -changed: 2010-11-29 13:32:16 +02:00 -expire: 2017-02-04 -outzone: -delete: - -Registrant: -name: Eesti Interneti Sihtasutus -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2010-11-29 13:32:16 +02:00 - -Administrative contact -name: Jaana Järve -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2015-10-30 08:31:21 +02:00 - - -Technical contact: -name: Jaana Järve -email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: 2015-10-30 08:31:21 +02:00 - -Registrar: -name: Elisa Eesti AS -url: http://www.elisa.ee -phone: +372 660 0600 -changed: 2015-11-30 23:29:03 +02:00 - -Name servers: -nserver: c.tld.ee -nserver: d.tld.ee -nserver: b.tld.ee -nserver: e.tld.ee -changed: 2013-09-19 15:57:50 +03:00 - -DNSSEC: -dnskey: 257 3 8 AwEAAY+rjD0+Rpkx3e7tgUYwueVXtR0XIVvmHR7VA0YrERCxPfmxLXd8E2M/dzLn1URK0wHN1sOOiKDpGCNyKijJvTw/0npWAMAP8ZGN6AE+elqhutbOav7CYcPyXaV0OS08DZ9Q328n8DicHEojddYO1Z1NPvQd6zzVSKKEHS4O1r0Pm3N37J2gy0i/So08c3vogjS6FfSuqant+UUv6LVbeL+lDBJO213qE3i46FfUR9GeyUoItW4G3ylsYGwcK4pF4EHXjzyopron33+t+x+UKvRg9lDa7wToNeoSW3u5yjQe2TDI45kYkxq3lvAG6Gq0I3+HGMowjOt2w/QFFBbqio2bpIXlmpo1/8/Vo/sEWwRGufNovCvUbp4dc5Y6dnLlgbfz/PzCKekrjamFVGyQkoywbgoxKmJxji4tteniCIgWTxqT2dARrGbvjdXR8D60exmIGdENMZ8kJF71ow2WmR++oXkruoaTiQtV9yvXVNE86nkntZKCEfNiwBB3qFyhnQh8NP01DA3EVMnFSJlnxwdgjz/tYASZUL5kbkJEv0+3ZX6ZXGQzVF6YWR1Za+JvustYVrx+Z47Oez0kXYS5tGlXKwDVrxeB28BednSEmPQDh0/QIEtE+SVBGqlfx/Ls3WHWhsCgdnzX4CfmW7vt+VZLwyRunhP6+E5hNg32IVCR -dnskey: 257 3 8 AwEAAdDPecHavnkvbPQvDw2mi6XnDDIaHqdgQQgLfpkDb6iFrk6fkYXs9KijNT8DvCIUvuQeOVuV9bV/tsl6qxVOiMIpZEiJFQP09wJzybbVxmWlw03ING5e2IJoljrVGoxC/RPK5oSWlVyrcHiS36W725m+F7O3VjAjGTCv4dgA9BAq26M4pWOvWFgaG1Yi02KrMAApiqEoI0jJ6y1wUdj7TqfCCvUQuZi8CVZsUN/Ttw31CuCP8VVx0o1cFmiKVxks8lMEdHYuxmVTP84L7sFi1SiOCQM9YpfCCH1zaAIElT55GSwDrx3IbIX6zOK1ZDq6Me+L8mZcRKsCwvWdzmD0z8fEYwkZM5oVl8NUUCJ7RLjlOCi6uhCyIVviRXBMFOmeMMry2RADOQRPFpM0LTLEFAX1DxLUdMEtVjUrW3f8SEnBpY5cBcA0Amf3M6EpaqxlEZScW8KtVFEDeOWO7dr7iYKR1DHfpEjl8tmlujeKupmCLSK+x/lej/NpQaaYkG8/F/wmt8oW2x/ZADM4Cbi+zQQyONLDNEPXIpfvQ2whVLtrJZJFj+aEx/kmjguydi1Aic4GLvv1NojOUKkkB2P9GZ9R5z3D5kdWOeLstZFIKDiC0cci9PYfS3ve4NaB8C78vpqM6Acwia3dkKpfxYjjXy/Kg7fa0lAEFZvjNn1Un5E/ -changed: 2015-12-01 00:05:06 +02:00 - -Estonia .ee Top Level Domain WHOIS server -More information at http://internet.ee \ No newline at end of file diff --git a/spec/fixtures/responses/whois.tld.sy/sy/status_available.expected b/spec/fixtures/responses/whois.tld.sy/sy/status_available.expected deleted file mode 100644 index 6305a37cd..000000000 --- a/spec/fixtures/responses/whois.tld.sy/sy/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.sy" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tld.sy/sy/status_available.txt b/spec/fixtures/responses/whois.tld.sy/sy/status_available.txt deleted file mode 100644 index 5502e6e00..000000000 --- a/spec/fixtures/responses/whois.tld.sy/sy/status_available.txt +++ /dev/null @@ -1,6 +0,0 @@ -Domain Name: u34jedzcq.sy -Domain Status: Available - - - ->>> Last update of WHOIS database: 2014-01-22T09:55:13.059Z <<< diff --git a/spec/fixtures/responses/whois.tld.sy/sy/status_registered.expected b/spec/fixtures/responses/whois.tld.sy/sy/status_registered.expected deleted file mode 100644 index 47bb255f8..000000000 --- a/spec/fixtures/responses/whois.tld.sy/sy/status_registered.expected +++ /dev/null @@ -1,44 +0,0 @@ -#domain - %s == "tld.sy" - -#domain_id - %s == "7-sy" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2010-12-02 16:01:27 UTC} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2017-12-01 22:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "nans" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns4.tld.sy" - %s[1] %CLASS{nameserver} - %s[1].name == "ns3.tld.sy" diff --git a/spec/fixtures/responses/whois.tld.sy/sy/status_registered.txt b/spec/fixtures/responses/whois.tld.sy/sy/status_registered.txt deleted file mode 100644 index a77fa6f89..000000000 --- a/spec/fixtures/responses/whois.tld.sy/sy/status_registered.txt +++ /dev/null @@ -1,25 +0,0 @@ -Domain Name: tld.sy -Domain ID: 7-sy -WHOIS Server: ?????? ??????? ?????? ?????? - ????? ?????? ?????? -Referral URL: -Creation Date: 2010-12-02T16:01:27.664Z -Registry Expiry Date: 2017-12-01T22:00:00.000Z -Sponsoring Registrar: nans -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 6714-sy -Registrant Email: domain@tld.sy - -Billing ID: 6714-sy -Billing Email: domain@tld.sy - -Name Server: ns4.tld.sy -Name Server: ns3.tld.sy - -DNSSEC: unsigned - - - - ->>> Last update of WHOIS database: 2014-02-18T09:55:11.758Z <<< diff --git a/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.expected b/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.expected deleted file mode 100644 index 652b488c5..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.expected +++ /dev/null @@ -1,6 +0,0 @@ -#status - %s == :incomplete - - -#response_incomplete? - %s == true diff --git a/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.txt b/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.txt deleted file mode 100644 index 8b1378917..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/response_incomplete.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/spec/fixtures/responses/whois.tonic.to/to/status_available.expected b/spec/fixtures/responses/whois.tonic.to/to/status_available.expected deleted file mode 100644 index b0b5b89df..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/status_available.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s %ERROR{AttributeNotSupported} - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} - - -#response_incomplete? - %s == false diff --git a/spec/fixtures/responses/whois.tonic.to/to/status_available.txt b/spec/fixtures/responses/whois.tonic.to/to/status_available.txt deleted file mode 100644 index 6b48680bb..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/status_available.txt +++ /dev/null @@ -1,2 +0,0 @@ -Tonic whoisd V1.1 -No match for u34jedzcq diff --git a/spec/fixtures/responses/whois.tonic.to/to/status_registered.expected b/spec/fixtures/responses/whois.tonic.to/to/status_registered.expected deleted file mode 100644 index 49201ffb5..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/status_registered.expected +++ /dev/null @@ -1,50 +0,0 @@ -#disclaimer - %s %ERROR{AttributeNotSupported} - - -#domain - %s %ERROR{AttributeNotSupported} - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %ERROR{AttributeNotSupported} - -#admin_contacts - %s %ERROR{AttributeNotSupported} - -#technical_contacts - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %ERROR{AttributeNotSupported} - - -#response_incomplete? - %s == false diff --git a/spec/fixtures/responses/whois.tonic.to/to/status_registered.txt b/spec/fixtures/responses/whois.tonic.to/to/status_registered.txt deleted file mode 100644 index 5dccf7950..000000000 --- a/spec/fixtures/responses/whois.tonic.to/to/status_registered.txt +++ /dev/null @@ -1,3 +0,0 @@ -Tonic whoisd V1.1 -go ns-1.myphotoalbum.com -go ns-2.myphotoalbum.com diff --git a/spec/fixtures/responses/whois.tucows.com/status_available.expected b/spec/fixtures/responses/whois.tucows.com/status_available.expected deleted file mode 100644 index 9f23516ad..000000000 --- a/spec/fixtures/responses/whois.tucows.com/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tucows.com/status_available.txt b/spec/fixtures/responses/whois.tucows.com/status_available.txt deleted file mode 100644 index f0f2bb5ab..000000000 --- a/spec/fixtures/responses/whois.tucows.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ - No match for U34JEDZCQ.COM diff --git a/spec/fixtures/responses/whois.tucows.com/status_registered.expected b/spec/fixtures/responses/whois.tucows.com/status_registered.expected deleted file mode 100644 index 27d49a9c7..000000000 --- a/spec/fixtures/responses/whois.tucows.com/status_registered.expected +++ /dev/null @@ -1,99 +0,0 @@ -#domain - %s == "tucows.com" - -#domain_id - %s == "" - - -#status - %s == :registered - - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1995-09-07 04:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-08-07 23:52:35} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-06 04:00:00} - - -#registrar - %s %CLASS{registrar} - %s.id == "69" - %s.name == "TUCOWS, INC." - %s.organization == "TUCOWS, INC." - %s.url == "http://tucowsdomains.com" - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].name == "DNS Administrator" - %s[0].organization == "Tucows.com Co" - %s[0].address == "96 Mowat Avenue" - %s[0].city == "Toronto" - %s[0].zip == "M6K3M1" - %s[0].state == "Ontario" - %s[0].country_code == "CA" - %s[0].phone == "+1.4165350123 ext: 0000" - %s[0].fax == "" - %s[0].email == "dnsadmin@tucows.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].name == "DNS Administrator" - %s[0].organization == "Tucows ( Delaware ) Inc." - %s[0].address == "96 Mowat Avenue" - %s[0].city == "Toronto" - %s[0].zip == "M6K3M1" - %s[0].state == "Ontario" - %s[0].country_code == "CA" - %s[0].phone == "+1.4165350123 ext: 0000" - %s[0].fax == "" - %s[0].email == "dnsadmin@tucows.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].name == "DNS Administrator" - %s[0].organization == "Tucows ( Delaware ) Inc." - %s[0].address == "96 Mowat Avenue" - %s[0].city == "Toronto" - %s[0].zip == "M6K3M1" - %s[0].state == "Ontario" - %s[0].country_code == "CA" - %s[0].phone == "+1.4165350123 ext: 0000" - %s[0].fax == "" - %s[0].email == "dnsadmin@tucows.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.tucows.com" - %s[0].ipv4 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.tucows.com" - %s[1].ipv4 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.tucows.com" - %s[2].ipv4 == nil diff --git a/spec/fixtures/responses/whois.tucows.com/status_registered.txt b/spec/fixtures/responses/whois.tucows.com/status_registered.txt deleted file mode 100644 index 0085ffbdf..000000000 --- a/spec/fixtures/responses/whois.tucows.com/status_registered.txt +++ /dev/null @@ -1,102 +0,0 @@ -Domain Name: TUCOWS.COM -Registry Domain ID: -Registrar WHOIS Server: whois.tucows.com -Registrar URL: http://tucowsdomains.com -Updated Date: 2013-08-07 23:52:35 -Creation Date: 1995-09-07 04:00:00 -Registrar Registration Expiration Date: 2014-09-06 04:00:00 -Registrar: TUCOWS, INC. -Registrar IANA ID: 69 -Registrar Abuse Contact Email: -Registrar Abuse Contact Phone: -Reseller: Tucows.com Co. -Reseller: tucowsdomains@tucows.com -Reseller: 416-535-0123 -Domain Status: clientTransferProhibited -Domain Status: clientUpdateProhibited -Domain Status: serverDeleteProhibited -Domain Status: serverTransferProhibited -Domain Status: serverUpdateProhibited -Registry Registrant ID: -Registrant Name: DNS Administrator -Registrant Organization: Tucows.com Co -Registrant Street: 96 Mowat Avenue -Registrant City: Toronto -Registrant State/Province: Ontario -Registrant Postal Code: M6K3M1 -Registrant Country: CA -Registrant Phone: +1.4165350123 -Registrant Phone Ext: 0000 -Registrant Fax: -Registrant Fax Ext: -Registrant Email: dnsadmin@tucows.com -Registry Admin ID: -Admin Name: DNS Administrator -Admin Organization: Tucows ( Delaware ) Inc. -Admin Street: 96 Mowat Avenue -Admin City: Toronto -Admin State/Province: Ontario -Admin Postal Code: M6K3M1 -Admin Country: CA -Admin Phone: +1.4165350123 -Admin Phone Ext: 0000 -Admin Fax: -Admin Fax Ext: -Admin Email: dnsadmin@tucows.com -Registry Tech ID: -Tech Name: DNS Administrator -Tech Organization: Tucows ( Delaware ) Inc. -Tech Street: 96 Mowat Avenue -Tech City: Toronto -Tech State/Province: Ontario -Tech Postal Code: M6K3M1 -Tech Country: CA -Tech Phone: +1.4165350123 -Tech Phone Ext: 0000 -Tech Fax: -Tech Fax Ext: -Tech Email: dnsadmin@tucows.com -Name Server: NS3.TUCOWS.COM -Name Server: NS1.TUCOWS.COM -Name Server: NS2.TUCOWS.COM -DNSSEC: -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2013-08-07 23:52:35 <<< - -Registration Service Provider: - Tucows.com Co., tucowsdomains@tucows.com - 416-535-0123 - - -The Data in the Tucows Registrar WHOIS database is provided to you by Tucows -for information purposes only, and may be used to assist you in obtaining -information about or related to a domain name's registration record. - -Tucows makes this information available "as is," and does not guarantee its -accuracy. - -By submitting a WHOIS query, you agree that you will use this data only for -lawful purposes and that, under no circumstances will you use this data to: -a) allow, enable, or otherwise support the transmission by e-mail, -telephone, or facsimile of mass, unsolicited, commercial advertising or -solicitations to entities other than the data recipient's own existing -customers; or (b) enable high volume, automated, electronic processes that -send queries or data to the systems of any Registry Operator or -ICANN-Accredited registrar, except as reasonably necessary to register -domain names or modify existing registrations. - -The compilation, repackaging, dissemination or other use of this Data is -expressly prohibited without the prior written consent of Tucows. - -Tucows reserves the right to terminate your access to the Tucows WHOIS -database in its sole discretion, including without limitation, for excessive -querying of the WHOIS database or for failure to otherwise abide by this -policy. - -Tucows reserves the right to modify these terms at any time. - -By submitting this query, you agree to abide by these terms. - -NOTE: THE WHOIS DATABASE IS A CONTACT DATABASE ONLY. LACK OF A DOMAIN -RECORD DOES NOT SIGNIFY DOMAIN AVAILABILITY. - diff --git a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.expected b/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.expected deleted file mode 100644 index 8db490a5f..000000000 --- a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.txt b/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.txt deleted file mode 100644 index 8bc940efb..000000000 --- a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No Found diff --git a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.expected b/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.expected deleted file mode 100644 index 1bf1ad8b1..000000000 --- a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.expected +++ /dev/null @@ -1,33 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-08-29} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2011-11-09} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.txt b/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.txt deleted file mode 100644 index 51732000a..000000000 --- a/spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.txt +++ /dev/null @@ -1,32 +0,0 @@ -Domain Name: google.com.tw - Registrant: - Google Inc. - DNS Admin dns-admin@google.com - +1.6502530000 - +1.6506188571 - 1600 Amphitheatre Parkway - Mountain View, CA - US - - Administrative Contact: - DNS Admin dns-admin@google.com - +1.6502530000 - +1.6506188571 - - Technical Contact: - DNS Admin dns-admin@google.com - +1.6502530000 - +1.6506188571 - - Record expires on 2011-11-09 (YYYY-MM-DD) - Record created on 2000-08-29 (YYYY-MM-DD) - - Domain servers in listed order: - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - -Registration Service Provider: Markmonitor, Inc. - -[Provided by NeuStar Registry Gateway Services] diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.expected b/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.expected deleted file mode 100644 index 42a9e8a39..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :expired - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.txt b/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.txt deleted file mode 100644 index 01d6f63e4..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.txt +++ /dev/null @@ -1,56 +0,0 @@ -% -% TZNIC WHOIS data and services are subject to the Terms of Use -% available at: http://www.tznic.or.tz/docs/whois_tou.pdf -% -% You may also use our WHOIS Web service available at: -% http://whois.tznic.or.tz/whois -% -% -% Whoisd Server Version: 3.1.1 -% Timestamp: Fri May 11 09:18:51 2012 - -domain: amanabank.co.tz -registrant: AB2-EXTREME -admin-c: AB2-EXTREME -nsset: NS-AMANABANK.CO.TZ -registrar: REG-XTREME -status: Expired -registered: 28.04.2011 19:27:26 -changed: 24.04.2012 18:53:54 -expire: 28.04.2012 - -contact: AB2-EXTREME -org: Amana Bank Ltd -name: Abdul Bandawe -address: 3rd Floor, PPF Tower -address: P. O. Box 9771 -address: Dar es Salaam -address: 9771 -address: TZ -phone: +255.713509199 -e-mail: abdul.bandawe@amanabank.co.tz -registrar: REG-XTREME -created: 24.04.2012 18:53:07 - -nsset: NS-AMANABANK.CO.TZ -nserver: ns5.e-xtremetech.net -nserver: ns6.e-xtremetech.net -tech-c: MS1-TZNIC -registrar: REG-TZNIC -created: 28.04.2011 19:24:06 - -contact: MS1-TZNIC -org: Extreme Web Technologies -name: Mohsin Sumar -address: 5th Floor, Osman Towers -address: Zanaki Street -address: Dar es Salaam -address: P.O.Box 14001 -address: TZ -phone: +255.784870811 -e-mail: info@extremewebtechnologies.com -registrar: REG-TZNIC -created: 18.08.2009 12:11:40 -changed: 31.08.2010 10:56:38 - - diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.expected b/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.expected deleted file mode 100644 index 0e9a92864..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.txt b/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.txt deleted file mode 100644 index 498f0df64..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.txt +++ /dev/null @@ -1,15 +0,0 @@ -% -% TZNIC WHOIS data and services are subject to the Terms of Use -% available at: http://www.tznic.or.tz/docs/whois_tou.pdf -% -% You may also use our WHOIS Web service available at: -% http://whois.tznic.or.tz/whois -% -% -% Whoisd Server Version: 3.1.1 - -%ERROR:101: no entries found -% -% No entries found. - - diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.expected b/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.expected deleted file mode 100644 index c3d3d1ab1..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.expected +++ /dev/null @@ -1,102 +0,0 @@ -#domain - %s == "dailynews.co.tz" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2009-07-27 11:01:10} - -#updated_on - %s %CLASS{time} - %s %TIME{2010-08-30 15:47:56} - -#expires_on - %s %CLASS{time} - %s %TIME{2012-07-27} - - -#registrar - %s %CLASS{registrar} - %s.id == "REG-TZNIC" - %s.name == "REG-TZNIC" - %s.organization == nil - %s.url == nil - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "CM7-TZNIC" - %s[0].name == "Collins Mtita" - %s[0].organization == "TSN" - %s[0].address == "Dar_es_salaam\nDar_es_salaam\nP.O.BOX 9033\nTZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "mcollins@dailynews.co.tz" - %s[0].created_on %TIME{2010-08-30 15:46:35} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "CM7-TZNIC" - %s[0].name == "Collins Mtita" - %s[0].organization == "TSN" - %s[0].address == "Dar_es_salaam\nDar_es_salaam\nP.O.BOX 9033\nTZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == nil - %s[0].fax == nil - %s[0].email == "mcollins@dailynews.co.tz" - %s[0].created_on %TIME{2010-08-30 15:46:35} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "JN1-TZNIC" - %s[0].name == "Jacob Noel" - %s[0].organization == "Twiga Hosting" - %s[0].address == "Dar es Salaam\nDar es Salaam\nP.O.Box\nTZ" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == nil - %s[0].country_code == nil - %s[0].phone == "+255.755763951" - %s[0].fax == nil - %s[0].email == "jacobn@twigaonline.com" - %s[0].created_on %TIME{2009-08-24 06:21:51} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.twigaservers.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.twigaservers.com" diff --git a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.txt b/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.txt deleted file mode 100644 index 6b26e31b1..000000000 --- a/spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.txt +++ /dev/null @@ -1,53 +0,0 @@ -% -% TZNIC WHOIS data and services are subject to the Terms of Use -% available at: http://www.tznic.or.tz/docs/whois_tou.pdf -% -% You may also use our WHOIS Web service available at: -% http://whois.tznic.or.tz/whois -% -% -% Whoisd Server Version: 3.1.1 -% Timestamp: Tue Jul 03 15:55:21 2012 - -domain: dailynews.co.tz -registrant: CM7-TZNIC -admin-c: CM7-TZNIC -nsset: NS-DAILYNEWS.CO.TZ -registrar: REG-TZNIC -status: paid and in zone -registered: 27.07.2009 11:01:10 -changed: 30.08.2010 15:47:56 -expire: 27.07.2012 - -contact: CM7-TZNIC -org: TSN -name: Collins Mtita -address: Dar_es_salaam -address: Dar_es_salaam -address: P.O.BOX 9033 -address: TZ -e-mail: mcollins@dailynews.co.tz -registrar: REG-PT -created: 30.08.2010 15:46:35 - -nsset: NS-DAILYNEWS.CO.TZ -nserver: ns1.twigaservers.com -nserver: ns2.twigaservers.com -tech-c: JN1-TZNIC -registrar: REG-TZNIC -created: 27.07.2009 09:12:12 -changed: 02.02.2012 11:47:58 - -contact: JN1-TZNIC -org: Twiga Hosting -name: Jacob Noel -address: Dar es Salaam -address: Dar es Salaam -address: P.O.Box -address: TZ -phone: +255.755763951 -e-mail: jacobn@twigaonline.com -registrar: REG-TZNIC -created: 24.08.2009 06:21:51 - - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.txt deleted file mode 100644 index 3f1130417..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.txt +++ /dev/null @@ -1,106 +0,0 @@ -% request from 2a02:2c40:100:a000:40a3:5d78:c4df:66a6 -% This is the Ukrainian Whois query server #F. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: oogle.com.ua -dom-public: NO -registrant: pl-imena-1 -admin-c: pl-imena-1 -tech-c: pl-imena-1 -mnt-by: ua.imena -nserver: ns3.imena.com.ua -nserver: ns2.imena.com.ua -nserver: ns1.imena.com.ua -status: clientHold -created: 2010-07-18 15:15:39+03 -modified: 2013-07-19 04:23:16+03 -expires: 2013-07-18 15:15:38+03 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.imena -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -url: http://www.imena.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - - -% Query time: 4 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.txt deleted file mode 100644 index 5e3cceb08..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.txt +++ /dev/null @@ -1,99 +0,0 @@ -% request from 87.20.192.141 -% This is the Ukrainian Whois query server #I. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: fcbank.com.ua -dom-public: NO -registrant: com-fac5-1 -admin-c: com-fac5-1 -tech-c: com-fac5-1 -mnt-by: ua.register -nserver: ns2.fcbank.com.ua -nserver: ns1.fcbank.com.ua -nserver: ns.secondary.net.ua -status: clientTransferProhibited -created: 2004-08-06 13:17:36+03 -modified: 2013-06-14 14:09:54+03 -expires: 2014-08-06 13:17:36+03 -source: UAEPP - -% Glue Records: -% ============= -nserver: ns1.fcbank.com.ua -ip-address: 194.50.169.2 - -nserver: ns2.fcbank.com.ua -ip-address: 194.50.169.3 - -% Registrar: -% ========== -registrar: ua.register -organization: "DMedia" Ltd. -organization-loc: ТОВ "ДіМедіа" -url: http://register.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: com-fac5-1 -person: JSC "Finance and Credit" Bank -organization: JSC "Finance and Credit" Bank -e-mail: hostmaster@fcbank.com.ua -address: Artema str 60 -address: KIEV -postal-code: 04050 -country: UA -country-loc: UA -phone: +380.443642909 -mnt-by: ua.register -status: ok -status: linked -created: 2013-03-31 19:13:37+03 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: com-fac5-1 -person: JSC "Finance and Credit" Bank -organization: JSC "Finance and Credit" Bank -e-mail: hostmaster@fcbank.com.ua -address: Artema str 60 -address: KIEV -postal-code: 04050 -country: UA -country-loc: UA -phone: +380.443642909 -mnt-by: ua.register -status: ok -status: linked -created: 2013-03-31 19:13:37+03 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: com-fac5-1 -person: JSC "Finance and Credit" Bank -organization: JSC "Finance and Credit" Bank -e-mail: hostmaster@fcbank.com.ua -address: Artema str 60 -address: KIEV -postal-code: 04050 -country: UA -country-loc: UA -phone: +380.443642909 -mnt-by: ua.register -status: ok -status: linked -created: 2013-03-31 19:13:37+03 -source: UAEPP - - - -% Query time: 22 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.txt deleted file mode 100644 index 91d930e4b..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.txt +++ /dev/null @@ -1,106 +0,0 @@ -% request from 2a02:2c40:100:a000:40a3:5d78:c4df:66a6 -% This is the Ukrainian Whois query server #F. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: oogle.com.ua -dom-public: NO -registrant: pl-imena-1 -admin-c: pl-imena-1 -tech-c: pl-imena-1 -mnt-by: ua.imena -nserver: ns3.imena.com.ua -nserver: ns2.imena.com.ua -nserver: ns1.imena.com.ua -status: AutoRenewGracePeriod -created: 2010-07-18 15:15:39+03 -modified: 2013-07-19 04:23:16+03 -expires: 2013-07-18 15:15:38+03 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.imena -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -url: http://www.imena.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -organization: "Internet Invest" Ltd -organization-loc: п╒п·п▓ "п├пҐя┌п╣я─пҐп╣я┌ п├пҐп╡п╣я│я┌" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - - -% Query time: 4 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.expected deleted file mode 100644 index 3f198701e..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.txt deleted file mode 100644 index 07a193448..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.txt +++ /dev/null @@ -1,92 +0,0 @@ -% request from 87.21.235.97 -% This is the Ukrainian Whois query server #B. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: google.com.ua -dom-public: NO -registrant: com-gi8-1 -admin-c: com-gi8-1 -tech-c: com-gi8-1 -mnt-by: ua.imena -nserver: ns3.google.com -nserver: ns1.google.com -nserver: ns4.google.com -nserver: ns2.google.com -status: ok -created: 2002-12-04 00:00:00+02 -modified: 2013-04-15 20:00:10+03 -expires: 2013-12-04 00:00:00+02 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.imena -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -url: http://www.imena.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - - -% Query time: 5 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.txt deleted file mode 100644 index e5a750bdc..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.txt +++ /dev/null @@ -1,107 +0,0 @@ -IP: UNABLE TO RESOLVE -% request from 2a02:2c40:100:a000:19f:7a45:d162:84e9 -% This is the Ukrainian Whois query server #F. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: googke.com.ua -dom-public: NO -registrant: pl-imena-1 -admin-c: pl-imena-1 -tech-c: pl-imena-1 -mnt-by: ua.imena -nserver: ns3.imena.com.ua -nserver: ns2.imena.com.ua -nserver: ns1.imena.com.ua -status: pendingDelete -created: 2011-04-05 17:53:25+03 -modified: 2013-06-03 23:33:01+03 -expires: 2013-04-05 17:53:25+03 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.imena -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -url: http://www.imena.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: ТОВ "Інтернет Інвест" -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: ТОВ "Інтернет Інвест" -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: pl-imena-1 -person: "Internet Invest" Ltd -person-loc: ТОВ "Інтернет Інвест" -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -e-mail: hostmaster@imena.ua -address: Gaidara st. 50 -address: KYIV -postal-code: 01033 -country: UA -address-loc: n/a -country-loc: UA -phone: +380.442010102 -fax: +380.442010100 -mnt-by: ua.imena -status: ok -status: linked -created: 2002-08-17 00:00:00+03 -modified: 2011-11-22 14:35:00+02 -source: UAEPP - - - -% Query time: 18 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.expected deleted file mode 100644 index bc019c16a..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.expected +++ /dev/null @@ -1,8 +0,0 @@ -#status - %s == :redemption - -#available? - %s == false - -#registered? - %s == true diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.txt deleted file mode 100644 index d3d15abc4..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.txt +++ /dev/null @@ -1,76 +0,0 @@ -IP: UNABLE TO RESOLVE -% request from 2a02:2c40:100:a000:e866:6bdf:6b2e:b132 -% This is the Ukrainian Whois query server #F. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: googlw.com.ua -dom-public: NO -registrant: frh-qrlkjdef1llb -admin-c: frh-clwxo1st7ewr -tech-c: frh-hsa3zl8hqqso -mnt-by: ua.freehost -nserver: ns2.notpaid.com.ua -nserver: ns1.notpaid.com.ua -status: RedemptionPeriod -created: 2012-06-19 10:13:30+03 -modified: 2013-07-19 00:01:45+03 -expires: 2013-06-19 10:13:30+03 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.freehost -organization: Freehost -organization-loc: ПП "Фріхост" -url: http://www.freehost.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: frh-qrlkjdef1llb -person: not published -organization: KOT-studiya -e-mail: not published -address: n/a -mnt-by: ua.freehost -status: ok -status: linked -created: 2013-04-02 20:59:40+03 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: frh-clwxo1st7ewr -person: not published -organization: KOT-studiya -e-mail: not published -address: n/a -mnt-by: ua.freehost -status: ok -status: linked -created: 2013-04-02 20:59:41+03 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: frh-hsa3zl8hqqso -person: not published -organization: KOT-studiya -e-mail: not published -address: n/a -mnt-by: ua.freehost -status: ok -status: linked -created: 2013-04-10 16:38:54+03 -source: UAEPP - - - -% Query time: 4 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.expected deleted file mode 100644 index ff807e0fa..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.txt deleted file mode 100644 index 8c78aa51f..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/status_available.txt +++ /dev/null @@ -1,8 +0,0 @@ -% request from 87.21.235.97 -% This is the Ukrainian Whois query server #I. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -% No entries found for u34jedzcq.com.ua - diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.expected b/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.expected deleted file mode 100644 index bcc2e05d8..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.expected +++ /dev/null @@ -1,105 +0,0 @@ -#domain - %s == "google.com.ua" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-12-04 00:00:00 +02:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-04-15 20:00:10 +03:00} - -#expires_on - %s %CLASS{time} - %s %TIME{2013-12-04 00:00:00 +02:00} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "com-gi8-1" - %s[0].name == "Google Inc." - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway Mountain View CA 94043 US" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+16503300100" - %s[0].fax == "+16506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2013-03-31 19:13:45 +03:00} - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "com-gi8-1" - %s[0].name == "Google Inc." - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway Mountain View CA 94043 US" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+16503300100" - %s[0].fax == "+16506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2013-03-31 19:13:45 +03:00} - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "com-gi8-1" - %s[0].name == "Google Inc." - %s[0].organization == "Google Inc." - %s[0].address == "1600 Amphitheatre Parkway Mountain View CA 94043 US" - %s[0].city == nil - %s[0].zip == nil - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+16503300100" - %s[0].fax == "+16506188571" - %s[0].email == "dns-admin@google.com" - %s[0].created_on %TIME{2013-03-31 19:13:45 +03:00} - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns1.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns4.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns2.google.com" diff --git a/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.txt b/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.txt deleted file mode 100644 index 07a193448..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.txt +++ /dev/null @@ -1,92 +0,0 @@ -% request from 87.21.235.97 -% This is the Ukrainian Whois query server #B. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - -domain: google.com.ua -dom-public: NO -registrant: com-gi8-1 -admin-c: com-gi8-1 -tech-c: com-gi8-1 -mnt-by: ua.imena -nserver: ns3.google.com -nserver: ns1.google.com -nserver: ns4.google.com -nserver: ns2.google.com -status: ok -created: 2002-12-04 00:00:00+02 -modified: 2013-04-15 20:00:10+03 -expires: 2013-12-04 00:00:00+02 -source: UAEPP - -% Registrar: -% ========== -registrar: ua.imena -organization: "Internet Invest" Ltd -organization-loc: ТОВ "Інтернет Інвест" -url: http://www.imena.ua -city: Kyiv -country: UA -source: UAEPP - -% Registrant: -% =========== -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - -% Administrative Contacts: -% ======================= -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - -% Technical Contacts: -% =================== -contact-id: com-gi8-1 -person: Google Inc. -organization: Google Inc. -e-mail: dns-admin@google.com -address: 1600 Amphitheatre Parkway Mountain View CA 94043 US -address: n/a -country: UA -country-loc: UA -phone: +16503300100 -fax: +16506188571 -mnt-by: ua.imena -status: ok -status: linked -created: 2013-03-31 19:13:45+03 -source: UAEPP - - - -% Query time: 5 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.expected b/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.expected deleted file mode 100644 index c3645333c..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.expected +++ /dev/null @@ -1,36 +0,0 @@ -#technical_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "KG780-UANIC" - %s[0].name == nil - %s[0].organization == "Kyivstar GSM" - %s[0].address == "Chervonozoryanyi Av., 51" - %s[0].city == "KYIV" - %s[0].zip == "03110" - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+380 (67) 2372213" - %s[0].fax == "+380 (44) 2473954" - %s[0].email == "dnsmaster@kyivstar.net" - %s[0].created_on == nil - %s[0].updated_on %TIME{2008-09-02 12:52:47} - %s[1] %CLASS{contact} - %s[1].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[1].id == "EIC-UANIC" - %s[1].name == nil - %s[1].organization == "\"ElVisti Information Center\", LLC\nООО \"Информационный центр \"Электронные вести\"\nТОВ \"ІЦ ЕЛВІСТІ\"" - %s[1].address == "а/с, 151" - %s[1].city == "КИЇВ" - %s[1].zip == "03037" - %s[1].state == nil - %s[1].country == "UA" - %s[1].country_code == nil - %s[1].phone == "+38044 239-90-91" - %s[1].fax == nil - %s[1].email == "hostmaster@visti.net" - %s[1].created_on == nil - %s[1].updated_on %TIME{2011-12-15 11:33:14} - diff --git a/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.txt b/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.txt deleted file mode 100644 index 57d6a4645..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.txt +++ /dev/null @@ -1,83 +0,0 @@ -% request from 87.21.235.97 -% This is the Ukrainian Whois query server #B. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - - -% % .UA whois -% Domain Record: -% ============= -domain: kyivstar.ua -admin-c: KG780-UANIC -tech-c: KG780-UANIC -tech-c: EIC-UANIC -status: OK-UNTIL 20140903121852 -dom-public: NO -license: 85310 -nserver: ns2.elvisti.kiev.ua -nserver: ns.kyivstar.net -mnt-by: EIC-UANIC (ua.visti) -remark: notify: domain-reg@visti.net -created: 0-UANIC 20020903000000 -changed: EIC-UANIC 20120730164230 -source: UANIC - - -% Administrative Contact: -% ====================== -nic-handle: KG780-UANIC -organization: Kyivstar GSM -address: Chervonozoryanyi Av., 51 -address: 03110 KYIV -address: UA -phone: +380 (67) 2372213 -phone: +380 (44) 2473939 -fax-no: +380 (44) 2473954 -e-mail: dnsmaster@kyivstar.net -org-id: N/A -mnt-by: NONE -remark: hostmaster@kyivstar.net -changed: KG780-UANIC 20080902125247 -source: UANIC - -% Technical Contact: -% ================= -nic-handle: KG780-UANIC -organization: Kyivstar GSM -address: Chervonozoryanyi Av., 51 -address: 03110 KYIV -address: UA -phone: +380 (67) 2372213 -phone: +380 (44) 2473939 -fax-no: +380 (44) 2473954 -e-mail: dnsmaster@kyivstar.net -org-id: N/A -mnt-by: NONE -remark: hostmaster@kyivstar.net -changed: KG780-UANIC 20080902125247 -source: UANIC - -% Technical Contact: -% ================= -nic-handle: EIC-UANIC -organization: "ElVisti Information Center", LLC -organization: ООО "Информационный центр "Электронные вести" -organization: ТОВ "ІЦ ЕЛВІСТІ" -address: а/с, 151 -address: 03037 КИЇВ -address: UA -phone: +38044 239-90-91 -e-mail: hostmaster@visti.net -url: http://www.visti.net/ -org-id: 24361346 -mnt-by: NONE -changed: EIC-UANIC 20111215113314 -source: UANIC - - -% % .UA whois - - -% Query time: 8 msec - diff --git a/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.expected b/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.expected deleted file mode 100644 index 38f4716c5..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.expected +++ /dev/null @@ -1,85 +0,0 @@ -#domain - %s == "kyivstar.ua" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-09-03 00:00:00} - -#updated_on - %s %CLASS{time} - %s %TIME{2012-07-30 16:42:30} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-03 12:18:52} - - -#registrar - %s %ERROR{AttributeNotSupported} - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{0} - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "KG780-UANIC" - %s[0].name == nil - %s[0].organization == "Kyivstar GSM" - %s[0].address == "Chervonozoryanyi Av., 51" - %s[0].city == "KYIV" - %s[0].zip == "03110" - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+380 (67) 2372213" - %s[0].fax == "+380 (44) 2473954" - %s[0].email == "dnsmaster@kyivstar.net" - %s[0].created_on == nil - %s[0].updated_on %TIME{2008-09-02 12:52:47} - -#technical_contacts - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "KG780-UANIC" - %s[0].name == nil - %s[0].organization == "Kyivstar GSM" - %s[0].address == "Chervonozoryanyi Av., 51" - %s[0].city == "KYIV" - %s[0].zip == "03110" - %s[0].state == nil - %s[0].country == "UA" - %s[0].country_code == nil - %s[0].phone == "+380 (67) 2372213" - %s[0].fax == "+380 (44) 2473954" - %s[0].email == "dnsmaster@kyivstar.net" - %s[0].created_on == nil - %s[0].updated_on %TIME{2008-09-02 12:52:47} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns2.elvisti.kiev.ua" - %s[1] %CLASS{nameserver} - %s[1].name == "ns.kyivstar.net" \ No newline at end of file diff --git a/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.txt b/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.txt deleted file mode 100644 index 57d6a4645..000000000 --- a/spec/fixtures/responses/whois.ua/ua/uanic/status_registered.txt +++ /dev/null @@ -1,83 +0,0 @@ -% request from 87.21.235.97 -% This is the Ukrainian Whois query server #B. -% The Whois is subject to Terms of use -% See https://hostmaster.ua/services/ -% - - -% % .UA whois -% Domain Record: -% ============= -domain: kyivstar.ua -admin-c: KG780-UANIC -tech-c: KG780-UANIC -tech-c: EIC-UANIC -status: OK-UNTIL 20140903121852 -dom-public: NO -license: 85310 -nserver: ns2.elvisti.kiev.ua -nserver: ns.kyivstar.net -mnt-by: EIC-UANIC (ua.visti) -remark: notify: domain-reg@visti.net -created: 0-UANIC 20020903000000 -changed: EIC-UANIC 20120730164230 -source: UANIC - - -% Administrative Contact: -% ====================== -nic-handle: KG780-UANIC -organization: Kyivstar GSM -address: Chervonozoryanyi Av., 51 -address: 03110 KYIV -address: UA -phone: +380 (67) 2372213 -phone: +380 (44) 2473939 -fax-no: +380 (44) 2473954 -e-mail: dnsmaster@kyivstar.net -org-id: N/A -mnt-by: NONE -remark: hostmaster@kyivstar.net -changed: KG780-UANIC 20080902125247 -source: UANIC - -% Technical Contact: -% ================= -nic-handle: KG780-UANIC -organization: Kyivstar GSM -address: Chervonozoryanyi Av., 51 -address: 03110 KYIV -address: UA -phone: +380 (67) 2372213 -phone: +380 (44) 2473939 -fax-no: +380 (44) 2473954 -e-mail: dnsmaster@kyivstar.net -org-id: N/A -mnt-by: NONE -remark: hostmaster@kyivstar.net -changed: KG780-UANIC 20080902125247 -source: UANIC - -% Technical Contact: -% ================= -nic-handle: EIC-UANIC -organization: "ElVisti Information Center", LLC -organization: ООО "Информационный центр "Электронные вести" -organization: ТОВ "ІЦ ЕЛВІСТІ" -address: а/с, 151 -address: 03037 КИЇВ -address: UA -phone: +38044 239-90-91 -e-mail: hostmaster@visti.net -url: http://www.visti.net/ -org-id: 24361346 -mnt-by: NONE -changed: EIC-UANIC 20111215113314 -source: UANIC - - -% % .UA whois - - -% Query time: 8 msec - diff --git a/spec/fixtures/responses/whois.udag.net/status_available.expected b/spec/fixtures/responses/whois.udag.net/status_available.expected deleted file mode 100644 index 5202198df..000000000 --- a/spec/fixtures/responses/whois.udag.net/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == "u34jedzcq.com" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.udag.net/status_available.txt b/spec/fixtures/responses/whois.udag.net/status_available.txt deleted file mode 100644 index 8909823be..000000000 --- a/spec/fixtures/responses/whois.udag.net/status_available.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Whois Server Version 1.49 - -Domain Name: u34jedzcq.com - -We could not find the requested domain on our system - -# Terms and conditions: -# -# This data is provided by united-domains AG -# for information purposes, and to assist persons obtaining information -# about or related to domain name registration records. -# united-domains AG does not guarantee its accuracy. -# By submitting a WHOIS query, you agree that you will use this data -# only for lawful purposes and that, under no circumstances, you will -# use this data to -# 1) allow, enable, or otherwise support the transmission of mass -# unsolicited, commercial advertising or solicitations via E-mail -# (spam); or -# 2) enable high volume, automated, electronic processes that apply -# to this WHOIS server. -# These terms may be changed without prior notice. -# By submitting this query, you agree to abide by this policy. diff --git a/spec/fixtures/responses/whois.udag.net/status_registered.expected b/spec/fixtures/responses/whois.udag.net/status_registered.expected deleted file mode 100644 index 26c129be8..000000000 --- a/spec/fixtures/responses/whois.udag.net/status_registered.expected +++ /dev/null @@ -1,108 +0,0 @@ -#domain - %s == "udag.net" - -#domain_id - %s == "59973274_DOMAIN_NET-VRSN" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2001-02-11T20:15:57Z} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-02-12T08:40:19Z} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-02-11T20:15:57Z} - - -#registrar - %s %CLASS{registrar} - %s.id == "1408" - %s.name == "united domains AG" - %s.organization == "united domains AG" - %s.url == "http://www.united-domains.de/" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Host Master" - %s[0].organization == "united-domains AG" - %s[0].address == "Gautinger Str. 10" - %s[0].city == "Starnberg" - %s[0].zip == "82319" - %s[0].state == "Bayern" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.8151368670" - %s[0].fax == "+49.81513686777" - %s[0].email == "hostmaster@united-domains.de" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Hostmaster Hostmaster" - %s[0].organization == "united-domains AG" - %s[0].address == "Gautinger Strasse 10" - %s[0].city == "Starnberg" - %s[0].zip == "82319" - %s[0].state == "DE" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.8151368670" - %s[0].fax == "+49.81513686777" - %s[0].email == "hostmaster@united-domains.de" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Host Master" - %s[0].organization == "united-domains AG" - %s[0].address == "Gautinger Str. 10" - %s[0].city == "Starnberg" - %s[0].zip == "82319" - %s[0].state == "Bayern" - %s[0].country == nil - %s[0].country_code == "DE" - %s[0].phone == "+49.8151368670" - %s[0].fax == "+49.81513686777" - %s[0].email == "hostmaster@united-domains.de" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.udagdns.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.udagdns.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.udagdns.com" diff --git a/spec/fixtures/responses/whois.udag.net/status_registered.txt b/spec/fixtures/responses/whois.udag.net/status_registered.txt deleted file mode 100644 index 60bbf124e..000000000 --- a/spec/fixtures/responses/whois.udag.net/status_registered.txt +++ /dev/null @@ -1,78 +0,0 @@ - -# Whois Server Version 1.49 - -Domain Name: udag.net -Registry Domain ID: 59973274_DOMAIN_NET-VRSN -Registrar WHOIS Server: whois.udag.net -Registrar URL: http://www.united-domains.de/ -Updated Date: 2013-02-12T08:40:19Z -Creation Date: 2001-02-11T20:15:57Z -Registrar Registration Expiration Date: 2014-02-11T20:15:57Z -Registrar: united domains AG -Registrar IANA ID: 1408 -Registrar Abuse Contact Email: abuse@united-domains.de -Registrar Abuse Contact Phone: +49.8151368670 -Domain Status: clientTransferProhibited -Registry Registrant ID: -Registrant Name: Host Master -Registrant Organization: united-domains AG -Registrant Street: Gautinger Str. 10 -Registrant City: Starnberg -Registrant State/Province: Bayern -Registrant Postal Code: 82319 -Registrant Country: DE -Registrant Phone: +49.8151368670 -Registrant Phone Ext: -Registrant Fax: +49.81513686777 -Registrant Fax Ext: -Registrant Email: hostmaster@united-domains.de -Registry Admin ID: -Admin Name: Hostmaster Hostmaster -Admin Organization: united-domains AG -Admin Street: Gautinger Strasse 10 -Admin City: Starnberg -Admin State/Province: DE -Admin Postal Code: 82319 -Admin Country: DE -Admin Phone: +49.8151368670 -Admin Phone Ext: -Admin Fax: +49.81513686777 -Admin Fax Ext: -Admin Email: hostmaster@united-domains.de -Registry Tech ID: -Tech Name: Host Master -Tech Organization: united-domains AG -Tech Street: Gautinger Str. 10 -Tech City: Starnberg -Tech State/Province: Bayern -Tech Postal Code: 82319 -Tech Country: DE -Tech Phone: +49.8151368670 -Tech Phone Ext: -Tech Fax: +49.81513686777 -Tech Fax Ext: -Tech Email: hostmaster@united-domains.de -Name Server: ns1.udagdns.com -Name Server: ns2.udagdns.com -Name Server: ns3.udagdns.com -DNSSEC: -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2013-02-12T08:40:19Z - -# Terms and conditions: -# -# This data is provided by united-domains AG -# for information purposes, and to assist persons obtaining information -# about or related to domain name registration records. -# united-domains AG does not guarantee its accuracy. -# By submitting a WHOIS query, you agree that you will use this data -# only for lawful purposes and that, under no circumstances, you will -# use this data to -# 1) allow, enable, or otherwise support the transmission of mass -# unsolicited, commercial advertising or solicitations via E-mail -# (spam); or -# 2) enable high volume, automated, electronic processes that apply -# to this WHOIS server. -# These terms may be changed without prior notice. -# By submitting this query, you agree to abide by this policy. - diff --git a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.expected b/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.txt b/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.txt deleted file mode 100644 index e7c041313..000000000 --- a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.txt +++ /dev/null @@ -1,39 +0,0 @@ - - ->>> Domain "u34jedzcq.tattoo" is available for registration - ->>> Please visit http://uniregistry.com/registry/where-to-buy for a ->>> list of accredited registrars. - - ->>> Last update of WHOIS database: 2014-03-10T17:08:32.890Z <<< - - -The WHOIS information provided on this page is intended to provide you -with relevant contact information for a domain name registrant and the -identity of certain administrative and technical contacts associated -with the domain name. - -The data in this record is provided by Uniregistry for informational -purposes only, and it does not guarantee its accuracy. Uniregistry is -authoritative for whois information in top-level domains it operates -under contract with the Internet Corporation for Assigned Names and -Numbers. Whois information from other top-level domains is provided by -a third-party under license to Uniregistry. - -This service is intended only for query-based access. By using this -service, you agree that you will use any data presented only for lawful -purposes and that, under no circumstances will you use (a) data -acquired for the purpose of allowing, enabling, or otherwise supporting -the transmission by e-mail, telephone, facsimile or other -communications mechanism of mass unsolicited, commercial advertising -or solicitations to entities other than your existing customers; or -(b) this service to enable high volume, automated, electronic processes -that send queries or data to the systems of any Registrar or any -Registry except as reasonably necessary to register domain names or -modify existing domain name registrations. - -Uniregistry reserves the right to modify these terms at any time. By -submitting this query, you agree to abide by this policy. All rights -reserved. - diff --git a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.expected b/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.expected deleted file mode 100644 index 47f4a7f99..000000000 --- a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.expected +++ /dev/null @@ -1,118 +0,0 @@ -#domain - %s == "nic.tattoo" - -#domain_id - %s == "DO_4810ec9890fdf872f2e23b58df485dc4-ISC" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2013-09-16 14:21:26 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-11-09 02:51:24 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2023-09-16 14:21:26 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "9999" - %s.name == "Uniregistry, Corp." - %s.organization == "Uniregistry, Corp." - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "uniregistry" - %s[0].name == "Uniregistry Registry Internal Resources" - %s[0].organization == "Uniregistry, Corp" - %s[0].address == "PO Box 1361" - %s[0].city == "Grand Cayman" - %s[0].zip == "KY1-1108" - %s[0].state == "George Town" - %s[0].country == nil - %s[0].country_code == "KY" - %s[0].phone == "+1.3457496263" - %s[0].fax == "+1.3457496263" - %s[0].email == "info+whois@uniregistry.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "tattoo-admin" - %s[0].name == "Uniregistry admin contact" - %s[0].organization == "Uniregistry, Corp" - %s[0].address == "PO Box 1361" - %s[0].city == "Grand Cayman" - %s[0].zip == "KY1-1108" - %s[0].state == "George Town" - %s[0].country == nil - %s[0].country_code == "KY" - %s[0].phone == "+1.3457496263" - %s[0].fax == "+1.3457496263" - %s[0].email == "admin@nic.tattoo" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "tattoo-tech" - %s[0].name == "Uniregistry tech contact" - %s[0].organization == "Uniregistry, Corp" - %s[0].address == "PO Box 1361" - %s[0].city == "Grand Cayman" - %s[0].zip == "KY1-1108" - %s[0].state == "George Town" - %s[0].country == nil - %s[0].country_code == "KY" - %s[0].phone == "+1.3457496263" - %s[0].fax == "+1.3457496263" - %s[0].email == "tech@nic.tattoo" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "a.ns.uniregistry.net" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "tld.isc-sns.info" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "tld.isc-sns.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "tld.isc-sns.net" - %s[3].ipv4 == nil - %s[3].ipv6 == nil diff --git a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.txt b/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.txt deleted file mode 100644 index 765387296..000000000 --- a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.txt +++ /dev/null @@ -1,95 +0,0 @@ - -Domain Name:nic.tattoo -Domain ID:DO_4810ec9890fdf872f2e23b58df485dc4-ISC -WHOIS Server: whois.uniregistry.net -Referral URL: http://whois.uniregistry.net -Updated Date: 2013-11-09T02:51:24.230Z -Creation Date: 2013-09-16T14:21:26.648Z -Registry Expiry Date: 2023-09-16T14:21:26.648Z -Sponsoring Registrar: Uniregistry, Corp. -Sponsoring Registrar ID: uniregistry -Sponsoring Registrar IANA ID: 9999 -Domain Status: serverDeleteProhibited -Domain Status: serverTransferProhibited -Domain Status: serverUpdateProhibited -Registrant ID: uniregistry -Registrant Name: Uniregistry Registry Internal Resources -Registrant Organization: Uniregistry, Corp -Registrant Street: PO Box 1361 -Registrant City: Grand Cayman -Registrant State/Province: George Town -Registrant Postal Code: KY1-1108 -Registrant Country: KY -Registrant Phone: +1.3457496263 -Registrant Fax: +1.3457496263 -Registrant Email: info+whois@uniregistry.com -Admin ID: tattoo-admin -Admin Name: Uniregistry admin contact -Admin Organization: Uniregistry, Corp -Admin Street: PO Box 1361 -Admin City: Grand Cayman -Admin State/Province: George Town -Admin Postal Code: KY1-1108 -Admin Country: KY -Admin Phone: +1.3457496263 -Admin Fax: +1.3457496263 -Admin Email: admin@nic.tattoo -Tech ID: tattoo-tech -Tech Name: Uniregistry tech contact -Tech Organization: Uniregistry, Corp -Tech Street: PO Box 1361 -Tech City: Grand Cayman -Tech State/Province: George Town -Tech Postal Code: KY1-1108 -Tech Country: KY -Tech Phone: +1.3457496263 -Tech Fax: +1.3457496263 -Tech Email: tech@nic.tattoo -Billing ID: tattoo-billing -Billing Name: Uniregistry billing contact -Billing Organization: Uniregistry, Corp -Billing Street: PO Box 1361 -Billing City: Grand Cayman -Billing State/Province: George Town -Billing Postal Code: KY1-1108 -Billing Country: KY -Billing Phone: +1.3457496263 -Billing Fax: +1.3457496263 -Billing Email: billing@nic.tattoo -Name Server:a.ns.uniregistry.net -Name Server:tld.isc-sns.info -Name Server:tld.isc-sns.com -Name Server:tld.isc-sns.net -DNSSEC: signedDelegation - ->>> Last update of WHOIS database: 2014-03-10T17:08:47.822Z <<< - - -The WHOIS information provided on this page is intended to provide you -with relevant contact information for a domain name registrant and the -identity of certain administrative and technical contacts associated -with the domain name. - -The data in this record is provided by Uniregistry for informational -purposes only, and it does not guarantee its accuracy. Uniregistry is -authoritative for whois information in top-level domains it operates -under contract with the Internet Corporation for Assigned Names and -Numbers. Whois information from other top-level domains is provided by -a third-party under license to Uniregistry. - -This service is intended only for query-based access. By using this -service, you agree that you will use any data presented only for lawful -purposes and that, under no circumstances will you use (a) data -acquired for the purpose of allowing, enabling, or otherwise supporting -the transmission by e-mail, telephone, facsimile or other -communications mechanism of mass unsolicited, commercial advertising -or solicitations to entities other than your existing customers; or -(b) this service to enable high volume, automated, electronic processes -that send queries or data to the systems of any Registrar or any -Registry except as reasonably necessary to register domain names or -modify existing domain name registrations. - -Uniregistry reserves the right to modify these terms at any time. By -submitting this query, you agree to abide by this policy. All rights -reserved. - diff --git a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_unavailable.txt b/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_unavailable.txt deleted file mode 100644 index 24877e648..000000000 --- a/spec/fixtures/responses/whois.uniregistry.net/tattoo/status_unavailable.txt +++ /dev/null @@ -1,36 +0,0 @@ - -Domain Name: cheap.tattoo - ->>> This name is not available for registration: ->>> This name is registry reserved by Uniregistry. - ->>> Last update of WHOIS database: 2014-03-10T17:06:53.264Z <<< - - -The WHOIS information provided on this page is intended to provide you -with relevant contact information for a domain name registrant and the -identity of certain administrative and technical contacts associated -with the domain name. - -The data in this record is provided by Uniregistry for informational -purposes only, and it does not guarantee its accuracy. Uniregistry is -authoritative for whois information in top-level domains it operates -under contract with the Internet Corporation for Assigned Names and -Numbers. Whois information from other top-level domains is provided by -a third-party under license to Uniregistry. - -This service is intended only for query-based access. By using this -service, you agree that you will use any data presented only for lawful -purposes and that, under no circumstances will you use (a) data -acquired for the purpose of allowing, enabling, or otherwise supporting -the transmission by e-mail, telephone, facsimile or other -communications mechanism of mass unsolicited, commercial advertising -or solicitations to entities other than your existing customers; or -(b) this service to enable high volume, automated, electronic processes -that send queries or data to the systems of any Registrar or any -Registry except as reasonably necessary to register domain names or -modify existing domain name registrations. - -Uniregistry reserves the right to modify these terms at any time. By -submitting this query, you agree to abide by this policy. All rights -reserved. diff --git a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.expected b/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.expected deleted file mode 100644 index 46f921a92..000000000 --- a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.txt b/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.txt deleted file mode 100644 index 85f03a397..000000000 --- a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.txt +++ /dev/null @@ -1,18 +0,0 @@ - -The Data in the USP WHOIS database is provided by USP for -information purposes, and to assist persons in obtaining -information about or related to a domain name registration record. -USP does not guarantee its accuracy. By submitting a -WHOIS query, you agree that you will use this Data only for lawful -purposes and that, under no circumstances will you use this Data to: -(1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail -(spam); or (2) enable high volume, automated, electronic processes -that apply to USP (or its systems). USP reserves the right to modify -these terms at any time. By submitting this query, you agree to abide -by this policy. - - -The domain u34jedzcq.fj was not found! -Go to http://domains.fj to register it now! - diff --git a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.expected b/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.expected deleted file mode 100644 index ade4d3d4f..000000000 --- a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.expected +++ /dev/null @@ -1,32 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %ERROR{AttributeNotSupported} - -#updated_on - %s %ERROR{AttributeNotSupported} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-04-28} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == "216.239.32.10" - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == "216.239.34.10" - %s[1].ipv6 == nil diff --git a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.txt b/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.txt deleted file mode 100644 index 0df8ff4ba..000000000 --- a/spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.txt +++ /dev/null @@ -1,26 +0,0 @@ - -The Data in the USP WHOIS database is provided by USP for -information purposes, and to assist persons in obtaining -information about or related to a domain name registration record. -USP does not guarantee its accuracy. By submitting a -WHOIS query, you agree that you will use this Data only for lawful -purposes and that, under no circumstances will you use this Data to: -(1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail -(spam); or (2) enable high volume, automated, electronic processes -that apply to USP (or its systems). USP reserves the right to modify -these terms at any time. By submitting this query, you agree to abide -by this policy. - -Domain name: google.com.fj Status: Active -Expires: 28th April 2014 - - Registrant: - Google Inc. - 2400 E. Bayshore Pkwy - - Domain servers: - - NS1.GOOGLE.COM 216.239.32.10 - NS2.GOOGLE.COM 216.239.34.10 - diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.expected b/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.expected deleted file mode 100644 index 4de0dc677..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.expected +++ /dev/null @@ -1,3 +0,0 @@ -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.txt b/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.txt deleted file mode 100644 index 16ad854ec..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.txt +++ /dev/null @@ -1,67 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: Y.COM - Registrar: RESERVED-INTERNET ASSIGNED NUMBERS AUTHORITY - Whois Server: whois.iana.org - Referral URL: http://res-dom.iana.org - Name Server: No nameserver - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 09-dec-2009 - Creation Date: 01-dec-1993 - Expiration Date: 08-dec-2010 - ->>> Last update of whois database: Mon, 22 Feb 2010 22:09:16 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. - -IANA Whois Service -Domain: y.com -Name: IANA_RESERVED - -Registrant: - Unavailable - -Administrative Contact: - Unavailable - -Technical Contact: - Unavailable diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.expected b/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.expected deleted file mode 100644 index 73e45648a..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.expected +++ /dev/null @@ -1,6 +0,0 @@ -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MARKMONITOR INC." - %s.organization == nil - %s.url == "http://www.markmonitor.com" diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.txt b/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.txt deleted file mode 100644 index 145318cab..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.txt +++ /dev/null @@ -1,300 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Server Name: GOOGLE.COM.ZZZZZZZZZZZZZZZZZZZZZZZZZZ.HAVENDATA.COM - IP Address: 50.23.75.44 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZZZZZZZZZZZZZ.GET.ONE.MILLION.DOLLARS.AT.WWW.UNIMUNDI.COM - IP Address: 209.126.190.70 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM - IP Address: 69.41.185.195 - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM - IP Address: 217.107.217.167 - Registrar: DOMAINCONTEXT, INC. - Whois Server: whois.domaincontext.com - Referral URL: http://www.domaincontext.com - - Server Name: GOOGLE.COM.ZNAET.PRODOMEN.COM - IP Address: 62.149.23.126 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.YUCEKIRBAC.COM - IP Address: 88.246.115.134 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.YUCEHOCA.COM - IP Address: 88.246.115.134 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET - IP Address: 62.41.27.144 - Registrar: KEY-SYSTEMS GMBH - Whois Server: whois.rrpproxy.net - Referral URL: http://www.key-systems.net - - Server Name: GOOGLE.COM.VN - Registrar: ONLINENIC, INC. - Whois Server: whois.onlinenic.com - Referral URL: http://www.OnlineNIC.com - - Server Name: GOOGLE.COM.VABDAYOFF.COM - IP Address: 8.8.8.8 - Registrar: DOMAIN.COM, LLC - Whois Server: whois.domain.com - Referral URL: http://www.domain.com - - Server Name: GOOGLE.COM.UY - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.UA - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.TW - Registrar: WEB COMMERCE COMMUNICATIONS LIMITED DBA WEBNIC.CC - Whois Server: whois.webnic.cc - Referral URL: http://www.webnic.cc - - Server Name: GOOGLE.COM.TR - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM - IP Address: 80.190.192.24 - Registrar: CORE INTERNET COUNCIL OF REGISTRARS - Whois Server: whois.corenic.net - Referral URL: http://www.corenic.net - - Server Name: GOOGLE.COM.SPROSIUYANDEKSA.RU - Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE - Whois Server: whois.melbourneit.com - Referral URL: http://www.melbourneit.com - - Server Name: GOOGLE.COM.SPAMMING.IS.UNETHICAL.PLEASE.STOP.THEM.HUAXUEERBAN.COM - IP Address: 211.64.175.66 - IP Address: 211.64.175.67 - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SOUTHBEACHNEEDLEARTISTRY.COM - IP Address: 74.125.229.52 - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SHQIPERIA.COM - IP Address: 70.84.145.107 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.SA - Registrar: OMNIS NETWORK, LLC - Whois Server: whois.omnis.com - Referral URL: http://domains.omnis.com - - Server Name: GOOGLE.COM.PK - Registrar: BIGROCK SOLUTIONS LIMITED - Whois Server: Whois.bigrock.com - Referral URL: http://www.bigrock.com - - Server Name: GOOGLE.COM.PE - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.NS2.CHALESHGAR.COM - IP Address: 8.8.8.8 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.NS1.CHALESHGAR.COM - IP Address: 8.8.8.8 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.MY - Registrar: WILD WEST DOMAINS, LLC - Whois Server: whois.wildwestdomains.com - Referral URL: http://www.wildwestdomains.com - - Server Name: GOOGLE.COM.MX - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.LOLOLOLOLOL.SHTHEAD.COM - IP Address: 123.123.123.123 - Registrar: CRAZY DOMAINS FZ-LLC - Whois Server: whois.syra.com.au - Referral URL: http://www.crazydomains.com - - Server Name: GOOGLE.COM.LASERPIPE.COM - IP Address: 209.85.227.106 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET - IP Address: 217.148.161.5 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.IS.HOSTED.ON.PROFITHOSTING.NET - IP Address: 66.49.213.213 - Registrar: NAME.COM, INC. - Whois Server: whois.name.com - Referral URL: http://www.name.com - - Server Name: GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM - IP Address: 213.228.0.43 - Registrar: GANDI SAS - Whois Server: whois.gandi.net - Referral URL: http://www.gandi.net - - Server Name: GOOGLE.COM.HK - Registrar: CLOUD GROUP LIMITED - Whois Server: whois.hostingservicesinc.net - Referral URL: http://www.resell.biz - - Server Name: GOOGLE.COM.HICHINA.COM - IP Address: 218.103.1.1 - Registrar: HICHINA ZHICHENG TECHNOLOGY LTD. - Whois Server: grs-whois.hichina.com - Referral URL: http://www.net.cn - - Server Name: GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM - IP Address: 209.187.114.130 - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.DO - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.CO - Registrar: NAMESECURE.COM - Whois Server: whois.namesecure.com - Referral URL: http://www.namesecure.com - - Server Name: GOOGLE.COM.CN - Registrar: XIN NET TECHNOLOGY CORPORATION - Whois Server: whois.paycenter.com.cn - Referral URL: http://www.xinnet.com - - Server Name: GOOGLE.COM.BR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.BEYONDWHOIS.COM - IP Address: 203.36.226.2 - Registrar: INSTRA CORPORATION PTY, LTD. - Whois Server: whois.instra.net - Referral URL: http://www.instra.com - - Server Name: GOOGLE.COM.AU - Registrar: PLANETDOMAIN PTY LTD. - Whois Server: whois.planetdomain.com - Referral URL: http://www.planetdomain.com - - Server Name: GOOGLE.COM.ARTVISUALRIO.COM - IP Address: 200.222.44.35 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.AR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.AFRICANBATS.ORG - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Domain Name: GOOGLE.COM - Registrar: MARKMONITOR INC. - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 20-jul-2011 - Creation Date: 15-sep-1997 - Expiration Date: 14-sep-2020 - ->>> Last update of whois database: Tue, 26 Nov 2013 17:41:54 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/property_status_pendingdelete.txt b/spec/fixtures/responses/whois.verisign-grs.com/com/property_status_pendingdelete.txt deleted file mode 100644 index 316ab8e71..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/property_status_pendingdelete.txt +++ /dev/null @@ -1,53 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: KILLIANESTATES.COM - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - Name Server: NS75.DOMAINCONTROL.COM - Name Server: NS76.DOMAINCONTROL.COM - Status: pendingDelete - Updated Date: 05-may-2013 - Creation Date: 26-may-2010 - Expiration Date: 26-may-2013 - ->>> Last update of whois database: Tue, 07 May 2013 14:08:58 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.expected b/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.expected deleted file mode 100644 index 887d6d969..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "u34jedzcq.com" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#referral_whois - %s == nil - -#referral_url - %s == nil diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.txt b/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.txt deleted file mode 100644 index 3f6159a7c..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/status_available.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - -No match for "U34JEDZCQ.COM". ->>> Last update of whois database: Wed, 22 Jan 2014 22:08:21 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.expected b/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.expected deleted file mode 100644 index 93f0996e8..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "google.com" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1997-09-15} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-07-20} - -#expires_on - %s %CLASS{time} - %s %TIME{2020-09-14} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MARKMONITOR INC." - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - - - -#referral_whois - %s == ["whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.tucows.com", "whois.domaincontext.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.rrpproxy.net", "whois.onlinenic.com", "whois.domain.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.webnic.cc", "whois.PublicDomainRegistry.com", "whois.corehub.net", "whois.melbourneit.com", "whois.godaddy.com", "whois.godaddy.com", "whois.enom.com", "whois.omnis.com", "Whois.bigrock.com", "whois.PublicDomainRegistry.com", "whois.yoursrs.com", "whois.yoursrs.com", "whois.wildwestdomains.com", "whois.PublicDomainRegistry.com", "whois.crazydomains.com", "whois.yoursrs.com", "whois.enom.com", "whois.name.com", "whois.gandi.net", "whois.hostingservicesinc.net", "whois.tucows.com", "whois.godaddy.com", "whois.godaddy.com", "whois.godaddy.com", "whois.namesecure.com", "whois.paycenter.com.cn", "whois.enom.com", "whois.instra.net", "whois.planetdomain.com", "whois.enom.com", "whois.enom.com", "whois.tucows.com", "whois.markmonitor.com"] - -#referral_url - %s == "http://www.markmonitor.com" diff --git a/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.txt b/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.txt deleted file mode 100644 index 464091a5b..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.txt +++ /dev/null @@ -1,305 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Server Name: GOOGLE.COM.ZZZZZZZZZZZZZZZZZZZZZZZZZZ.HAVENDATA.COM - IP Address: 50.23.75.44 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZZZZZZZZZZZZZ.GET.ONE.MILLION.DOLLARS.AT.WWW.UNIMUNDI.COM - IP Address: 209.126.190.70 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM - IP Address: 69.41.185.195 - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM - IP Address: 217.107.217.167 - Registrar: DOMAINCONTEXT, INC. - Whois Server: whois.domaincontext.com - Referral URL: http://www.domaincontext.com - - Server Name: GOOGLE.COM.ZNAET.PRODOMEN.COM - IP Address: 62.149.23.126 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.YUCEKIRBAC.COM - IP Address: 88.246.115.134 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.YUCEHOCA.COM - IP Address: 88.246.115.134 - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET - IP Address: 62.41.27.144 - Registrar: KEY-SYSTEMS GMBH - Whois Server: whois.rrpproxy.net - Referral URL: http://www.key-systems.net - - Server Name: GOOGLE.COM.VN - Registrar: ONLINENIC, INC. - Whois Server: whois.onlinenic.com - Referral URL: http://www.OnlineNIC.com - - Server Name: GOOGLE.COM.VABDAYOFF.COM - IP Address: 8.8.8.8 - Registrar: DOMAIN.COM, LLC - Whois Server: whois.domain.com - Referral URL: http://www.domain.com - - Server Name: GOOGLE.COM.UY - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.UA - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.TW - Registrar: WEB COMMERCE COMMUNICATIONS LIMITED DBA WEBNIC.CC - Whois Server: whois.webnic.cc - Referral URL: http://www.webnic.cc - - Server Name: GOOGLE.COM.TR - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM - IP Address: 80.190.192.24 - Registrar: COREHUB, S.R.L. - Whois Server: whois.corehub.net - Referral URL: http://www.corehub.net - - Server Name: GOOGLE.COM.SPROSIUYANDEKSA.RU - Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE - Whois Server: whois.melbourneit.com - Referral URL: http://www.melbourneit.com - - Server Name: GOOGLE.COM.SPAMMING.IS.UNETHICAL.PLEASE.STOP.THEM.HUAXUEERBAN.COM - IP Address: 211.64.175.66 - IP Address: 211.64.175.67 - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SOUTHBEACHNEEDLEARTISTRY.COM - IP Address: 74.125.229.52 - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.SHQIPERIA.COM - IP Address: 70.84.145.107 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.SA - Registrar: OMNIS NETWORK, LLC - Whois Server: whois.omnis.com - Referral URL: http://domains.omnis.com - - Server Name: GOOGLE.COM.PK - Registrar: BIGROCK SOLUTIONS LIMITED - Whois Server: Whois.bigrock.com - Referral URL: http://www.bigrock.com - - Server Name: GOOGLE.COM.PE - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.NS2.CHALESHGAR.COM - IP Address: 8.8.8.8 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.NS1.CHALESHGAR.COM - IP Address: 8.8.8.8 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.MY - Registrar: WILD WEST DOMAINS, LLC - Whois Server: whois.wildwestdomains.com - Referral URL: http://www.wildwestdomains.com - - Server Name: GOOGLE.COM.MX - Registrar: PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM - Whois Server: whois.PublicDomainRegistry.com - Referral URL: http://www.PublicDomainRegistry.com - - Server Name: GOOGLE.COM.LOLOLOLOLOL.SHTHEAD.COM - IP Address: 123.123.123.123 - Registrar: CRAZY DOMAINS FZ-LLC - Whois Server: whois.crazydomains.com - Referral URL: http://www.crazydomains.com - - Server Name: GOOGLE.COM.LASERPIPE.COM - IP Address: 209.85.227.106 - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - - Server Name: GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET - IP Address: 217.148.161.5 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.IS.HOSTED.ON.PROFITHOSTING.NET - IP Address: 66.49.213.213 - Registrar: NAME.COM, INC. - Whois Server: whois.name.com - Referral URL: http://www.name.com - - Server Name: GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM - IP Address: 213.228.0.43 - Registrar: GANDI SAS - Whois Server: whois.gandi.net - Referral URL: http://www.gandi.net - - Server Name: GOOGLE.COM.HK - Registrar: CLOUD GROUP LIMITED - Whois Server: whois.hostingservicesinc.net - Referral URL: http://www.resell.biz - - Server Name: GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM - IP Address: 209.187.114.130 - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Server Name: GOOGLE.COM.HACKED.BY.JAPTRON.ES - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.FIBERTREAT.COM - IP Address: 64.233.160.5 - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.DO - Registrar: GODADDY.COM, LLC - Whois Server: whois.godaddy.com - Referral URL: http://registrar.godaddy.com - - Server Name: GOOGLE.COM.CO - Registrar: NAMESECURE.COM - Whois Server: whois.namesecure.com - Referral URL: http://www.namesecure.com - - Server Name: GOOGLE.COM.CN - Registrar: XIN NET TECHNOLOGY CORPORATION - Whois Server: whois.paycenter.com.cn - Referral URL: http://www.xinnet.com - - Server Name: GOOGLE.COM.BR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.BEYONDWHOIS.COM - IP Address: 203.36.226.2 - Registrar: INSTRA CORPORATION PTY, LTD. - Whois Server: whois.instra.net - Referral URL: http://www.instra.com - - Server Name: GOOGLE.COM.AU - Registrar: PLANETDOMAIN PTY LTD. - Whois Server: whois.planetdomain.com - Referral URL: http://www.planetdomain.com - - Server Name: GOOGLE.COM.ARTVISUALRIO.COM - IP Address: 200.222.44.35 - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.AR - Registrar: ENOM, INC. - Whois Server: whois.enom.com - Referral URL: http://www.enom.com - - Server Name: GOOGLE.COM.AFRICANBATS.ORG - Registrar: TUCOWS DOMAINS INC. - Whois Server: whois.tucows.com - Referral URL: http://domainhelp.opensrs.net - - Domain Name: GOOGLE.COM - Registrar: MARKMONITOR INC. - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 20-jul-2011 - Creation Date: 15-sep-1997 - Expiration Date: 14-sep-2020 - ->>> Last update of whois database: Tue, 18 Mar 2014 13:37:06 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.expected b/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.expected deleted file mode 100644 index ba096dc00..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.expected +++ /dev/null @@ -1,46 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "u34jedzcq.net" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] - - - -#referral_whois - %s == nil - -#referral_url - %s == nil diff --git a/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.txt b/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.txt deleted file mode 100644 index 2b0e6c41a..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/net/status_available.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - -No match for "U34JEDZCQ.NET". ->>> Last update of whois database: Wed, 22 Jan 2014 22:08:51 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.expected b/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.expected deleted file mode 100644 index 5df789598..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.expected +++ /dev/null @@ -1,69 +0,0 @@ -#disclaimer - %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time." - - -#domain - %s == "google.net" - -#domain_id - %s == nil - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{1999-03-15} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-02-11} - -#expires_on - %s %CLASS{time} - %s %TIME{2015-03-15} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MARKMONITOR INC." - %s.organization == nil - %s.url == "http://www.markmonitor.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[0].ipv4 == nil - %s[0].ipv6 == nil - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[1].ipv4 == nil - %s[1].ipv6 == nil - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[2].ipv4 == nil - %s[2].ipv6 == nil - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" - %s[3].ipv4 == nil - %s[3].ipv6 == nil - - - -#referral_whois - %s == "whois.markmonitor.com" - -#referral_url - %s == "http://www.markmonitor.com" diff --git a/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.txt b/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.txt deleted file mode 100644 index af4a6459f..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.txt +++ /dev/null @@ -1,60 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: GOOGLE.NET - Registrar: MARKMONITOR INC. - Whois Server: whois.markmonitor.com - Referral URL: http://www.markmonitor.com - Name Server: NS1.GOOGLE.COM - Name Server: NS2.GOOGLE.COM - Name Server: NS3.GOOGLE.COM - Name Server: NS4.GOOGLE.COM - Status: clientDeleteProhibited - Status: clientTransferProhibited - Status: clientUpdateProhibited - Status: serverDeleteProhibited - Status: serverTransferProhibited - Status: serverUpdateProhibited - Updated Date: 11-feb-2014 - Creation Date: 15-mar-1999 - Expiration Date: 15-mar-2015 - ->>> Last update of whois database: Tue, 18 Mar 2014 13:37:06 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.expected b/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.expected deleted file mode 100644 index 49d272a17..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.expected +++ /dev/null @@ -1,2 +0,0 @@ -#response_unavailable? - %s == true diff --git a/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.txt b/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.txt deleted file mode 100644 index a9640bdac..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. -* -* WELCOME to the Verisign Inc. Registry Whois Server. -* -* Sorry, the Whois database is currently down. -* -* Please wait a while and try again. Thanks -* \ No newline at end of file diff --git a/spec/fixtures/responses/whois.verisign-grs.com/status_registered.txt b/spec/fixtures/responses/whois.verisign-grs.com/status_registered.txt deleted file mode 100644 index fd847b240..000000000 --- a/spec/fixtures/responses/whois.verisign-grs.com/status_registered.txt +++ /dev/null @@ -1,53 +0,0 @@ - -Whois Server Version 2.0 - -Domain names in the .com and .net domains can now be registered -with many different competing registrars. Go to http://www.internic.net -for detailed information. - - Domain Name: YOURSRS.COM - Registrar: REALTIME REGISTER BV - Whois Server: whois.yoursrs.com - Referral URL: http://www.realtimeregister.com - Name Server: NS1.YOURSRS.COM - Name Server: NS2.YOURSRS.COM - Status: ok - Updated Date: 25-nov-2013 - Creation Date: 24-nov-2003 - Expiration Date: 24-nov-2014 - ->>> Last update of whois database: Wed, 26 Feb 2014 12:47:56 UTC <<< - -NOTICE: The expiration date displayed in this record is the date the -registrar's sponsorship of the domain name registration in the registry is -currently set to expire. This date does not necessarily reflect the expiration -date of the domain name registrant's agreement with the sponsoring -registrar. Users may consult the sponsoring registrar's Whois database to -view the registrar's reported date of expiration for this registration. - -TERMS OF USE: You are not authorized to access or query our Whois -database through the use of electronic processes that are high-volume and -automated except as reasonably necessary to register domain names or -modify existing registrations; the Data in VeriSign Global Registry -Services' ("VeriSign") Whois database is provided by VeriSign for -information purposes only, and to assist persons in obtaining information -about or related to a domain name registration record. VeriSign does not -guarantee its accuracy. By submitting a Whois query, you agree to abide -by the following terms of use: You agree that you may use this Data only -for lawful purposes and that under no circumstances will you use this Data -to: (1) allow, enable, or otherwise support the transmission of mass -unsolicited, commercial advertising or solicitations via e-mail, telephone, -or facsimile; or (2) enable high volume, automated, electronic processes -that apply to VeriSign (or its computer systems). The compilation, -repackaging, dissemination or other use of this Data is expressly -prohibited without the prior written consent of VeriSign. You agree not to -use electronic processes that are automated and high-volume to access or -query the Whois database except as reasonably necessary to register -domain names or modify existing registrations. VeriSign reserves the right -to restrict your access to the Whois database in its sole discretion to ensure -operational stability. VeriSign may restrict or terminate your access to the -Whois database for failure to abide by these terms of use. VeriSign -reserves the right to modify these terms at any time. - -The Registry database contains ONLY .COM, .NET, .EDU domains and -Registrars. \ No newline at end of file diff --git a/spec/fixtures/responses/whois.website.ws/ws/status_available.expected b/spec/fixtures/responses/whois.website.ws/ws/status_available.expected deleted file mode 100644 index 3d5a25f85..000000000 --- a/spec/fixtures/responses/whois.website.ws/ws/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.website.ws/ws/status_available.txt b/spec/fixtures/responses/whois.website.ws/ws/status_available.txt deleted file mode 100644 index d9dd94585..000000000 --- a/spec/fixtures/responses/whois.website.ws/ws/status_available.txt +++ /dev/null @@ -1,12 +0,0 @@ - - -Welcome to the .WS Whois Server - -Use of this service for any purpose other -than determining the availability of a domain -in the .WS TLD to be registered is strictly -prohibited. - -No match for "u34jedzcq.ws". - - diff --git a/spec/fixtures/responses/whois.website.ws/ws/status_registered.expected b/spec/fixtures/responses/whois.website.ws/ws/status_registered.expected deleted file mode 100644 index d5999e1ca..000000000 --- a/spec/fixtures/responses/whois.website.ws/ws/status_registered.expected +++ /dev/null @@ -1,34 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-03-03} - -#updated_on - %s %CLASS{time} - %s %TIME{2008-12-08} - -#expires_on - %s %CLASS{time} - %s %TIME{2010-03-03} - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois.website.ws/ws/status_registered.txt b/spec/fixtures/responses/whois.website.ws/ws/status_registered.txt deleted file mode 100644 index b91b17251..000000000 --- a/spec/fixtures/responses/whois.website.ws/ws/status_registered.txt +++ /dev/null @@ -1,34 +0,0 @@ - - -Welcome to the .WS Whois Server - -Use of this service for any purpose other -than determining the availability of a domain -in the .WS TLD to be registered is strictly -prohibited. - - Domain Name: GOOGLE.WS - - Registrar Name: .WS Registry - Registrar Email: support@website.ws - Registrar Telephone: --- - Registrar Whois: whois.website.ws - - Registrant Name: Google, Inc. - Registrant Email: --- - - Administrative Contact Email: kulpreet@google.com - Administrative Contact Telephone: 6503300100 - - Domain Created: 2002-03-03 - Domain Last Updated: 2008-12-08 - Domain Currently Expires: 2010-03-03 - - Current Nameservers: - - ns1.google.com - ns2.google.com - ns3.google.com - ns4.google.com - - diff --git a/spec/fixtures/responses/whois.wildwestdomains.com/status_available.expected b/spec/fixtures/responses/whois.wildwestdomains.com/status_available.expected deleted file mode 100644 index 6bbcc28c5..000000000 --- a/spec/fixtures/responses/whois.wildwestdomains.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.wildwestdomains.com/status_available.txt b/spec/fixtures/responses/whois.wildwestdomains.com/status_available.txt deleted file mode 100644 index 3a4f5e21d..000000000 --- a/spec/fixtures/responses/whois.wildwestdomains.com/status_available.txt +++ /dev/null @@ -1,21 +0,0 @@ -% The data in the WHOIS database of 1&1 Internet AG is provided by -% 1&1 for information purposes, and to assist persons in obtaining -% information about or related to a domain name registration record. -% 1&1 does not guarantee its accuracy. By submitting a WHOIS query, -% you agree that you will use this data only for lawful purposes and that, -% under no circumstances, you will use this data to -% (1) allow, enable, or otherwise support the transmission by e-mail, -% telephone, or facsimile of mass, unsolicited, commercial advertising or -% solicitations to entities other than the data recipient's own existing -% customers; or -% (2) enable high volume, automated, electronic processes that send queries or -% data to the systems of any Registry Operator or ICANN-Accredited registrar, -% except as reasonably necessary to register domain names or modify existing -% registrations. -% 1&1 reserves the right to modify these terms at any time. -% By submitting this query, you agree to abide by this policy. - -Domain sadasdsa.com is not registered here. - -% URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ -% See http://registrar.1und1.info for information about 1&1 Internet AG diff --git a/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.expected b/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.expected deleted file mode 100644 index f54c03c26..000000000 --- a/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.expected +++ /dev/null @@ -1,108 +0,0 @@ -#domain - %s == "wildwestdomains.com" - -#domain_id - %s == "33386184_DOMAIN_COM-VRSN" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-08-22 23:29:11 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2011-11-01 21:31:47 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2021-11-01 11:59:59 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == "440" - %s.name == "Wild West Domains, LLC" - %s.organization == "Wild West Domains, LLC" - %s.url == "http://www.wildwestdomains.com" - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == nil - %s[0].name == "Registration Private" - %s[0].organization == "Domains By Proxy, LLC" - %s[0].address == "DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == nil - %s[0].country_code == "United States" - %s[0].phone == "+1.4806242599" - %s[0].fax == "+1.4806242598" - %s[0].email == "WILDWESTDOMAINS.COM@domainsbyproxy.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == nil - %s[0].name == "Registration Private" - %s[0].organization == "Domains By Proxy, LLC" - %s[0].address == "DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == nil - %s[0].country_code == "United States" - %s[0].phone == "+1.4806242599" - %s[0].fax == "+1.4806242598" - %s[0].email == "WILDWESTDOMAINS.COM@domainsbyproxy.com" - %s[0].created_on == nil - %s[0].updated_on == nil - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == nil - %s[0].name == "Registration Private" - %s[0].organization == "Domains By Proxy, LLC" - %s[0].address == "DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309" - %s[0].city == "Scottsdale" - %s[0].zip == "85260" - %s[0].state == "Arizona" - %s[0].country == nil - %s[0].country_code == "United States" - %s[0].phone == "+1.4806242599" - %s[0].fax == "+1.4806242598" - %s[0].email == "WILDWESTDOMAINS.COM@domainsbyproxy.com" - %s[0].created_on == nil - %s[0].updated_on == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "cns1.secureserver.net" - %s[1] %CLASS{nameserver} - %s[1].name == "cns2.secureserver.net" - %s[2] %CLASS{nameserver} - %s[2].name == "cns3.secureserver.net" diff --git a/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.txt b/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.txt deleted file mode 100644 index aae5934d4..000000000 --- a/spec/fixtures/responses/whois.wildwestdomains.com/status_registered.txt +++ /dev/null @@ -1,92 +0,0 @@ -Domain Name: WILDWESTDOMAINS.COM -Registry Domain ID: 33386184_DOMAIN_COM-VRSN -Registrar WHOIS Server: whois.wildwestdomains.com -Registrar URL: http://www.wildwestdomains.com -Update Date: 2011-11-01T21:31:47Z -Creation Date: 2000-08-22T23:29:11Z -Registrar Registration Expiration Date: 2021-11-01T11:59:59Z -Registrar: Wild West Domains, LLC -Registrar IANA ID: 440 -Registrar Abuse Contact Email: abuse@wildwestdomains.com -Registrar Abuse Contact Phone: +1.4806242505 -Reseller: WWDomains.com -Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited -Domain Status: clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited -Domain Status: clientRenewProhibited http://www.icann.org/epp#clientRenewProhibited -Domain Status: clientDeleteProhibited http://www.icann.org/epp#clientDeleteProhibited -Registry Registrant ID: -Registrant Name: Registration Private -Registrant Organization: Domains By Proxy, LLC -Registrant Street: DomainsByProxy.com -Registrant Street: 14747 N Northsight Blvd Suite 111, PMB 309 -Registrant City: Scottsdale -Registrant State/Province: Arizona -Registrant Postal Code: 85260 -Registrant Country: United States -Registrant Phone: +1.4806242599 -Registrant Phone Ext: -Registrant Fax: +1.4806242598 -Registrant Fax Ext: -Registrant Email: WILDWESTDOMAINS.COM@domainsbyproxy.com -Registry Admin ID: -Admin Name: Registration Private -Admin Organization: Domains By Proxy, LLC -Admin Street: DomainsByProxy.com -Admin Street: 14747 N Northsight Blvd Suite 111, PMB 309 -Admin City: Scottsdale -Admin State/Province: Arizona -Admin Postal Code: 85260 -Admin Country: United States -Admin Phone: +1.4806242599 -Admin Phone Ext: -Admin Fax: +1.4806242598 -Admin Fax Ext: -Admin Email: WILDWESTDOMAINS.COM@domainsbyproxy.com -Registry Tech ID: -Tech Name: Registration Private -Tech Organization: Domains By Proxy, LLC -Tech Street: DomainsByProxy.com -Tech Street: 14747 N Northsight Blvd Suite 111, PMB 309 -Tech City: Scottsdale -Tech State/Province: Arizona -Tech Postal Code: 85260 -Tech Country: United States -Tech Phone: +1.4806242599 -Tech Phone Ext: -Tech Fax: +1.4806242598 -Tech Fax Ext: -Tech Email: WILDWESTDOMAINS.COM@domainsbyproxy.com -Name Server: CNS1.SECURESERVER.NET -Name Server: CNS2.SECURESERVER.NET -Name Server: CNS3.SECURESERVER.NET -DNSSEC: unsigned -URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ ->>> Last update of WHOIS database: 2015-11-30T03:00:00Z <<< - -For more information on Whois status codes, please visit https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en - -**************************************************** -See Business Registration Listing -**************************************************** -Copy and paste the link below to view additional details: -http://who.securepaynet.net/whoischeck.aspx?domain=WILDWESTDOMAINS.COM&prog_id=26domains - -The data contained in this Registrar's Whois database, -while believed by the registrar to be reliable, is provided "as is" -with no guarantee or warranties regarding its accuracy. This information -is provided for the sole purpose of assisting you in obtaining -information about domain name registration records. Any use of -this data for any other purpose is expressly forbidden without -the prior written permission of this registrar. By submitting an -inquiry, you agree to these terms of usage and limitations of warranty. -In particular, you agree not to use this data to allow, enable, or -otherwise make possible, dissemination or collection of this data, in -part or in its entirety, for any purpose, such as the transmission of -unsolicited advertising and solicitations of any kind, including spam. -You further agree not to use this data to enable high volume, automated -or robotic electronic processes designed to collect or compile this data -for any purpose, including mining this data for your own personal or -commercial purposes. - -Please note: the owner of the domain name is specified in the "registrant" section. -In most cases, the Registrar is not the owner of domain names listed in this database. diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_available.expected b/spec/fixtures/responses/whois.yoursrs.com/status_available.expected deleted file mode 100644 index 301fcc395..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_available.expected +++ /dev/null @@ -1,47 +0,0 @@ -#domain - %s == nil - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == [] - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#registrant_contacts - %s %CLASS{array} - %s == [] - -#admin_contacts - %s %CLASS{array} - %s == [] - -#technical_contacts - %s %CLASS{array} - %s == [] - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_available.txt b/spec/fixtures/responses/whois.yoursrs.com/status_available.txt deleted file mode 100644 index ca350fea8..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_available.txt +++ /dev/null @@ -1 +0,0 @@ -No match for u34jedzcq.com diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_registered.expected b/spec/fixtures/responses/whois.yoursrs.com/status_registered.expected deleted file mode 100644 index 9706dfc68..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_registered.expected +++ /dev/null @@ -1,97 +0,0 @@ -#domain - %s == "yoursrs.com" - -#domain_id - %s %ERROR{AttributeNotSupported} - - -#status - %s == ["OK"] - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2003-11-24 09:40:55} - -#updated_on - %s %CLASS{time} - %s %TIME{2014-01-22 14:04:50} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-11-24 09:40:55} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "REALTIME REGISTER B.V." - %s.organization == nil - %s.url == nil - - -#registrant_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT - %s[0].id == "realtimeregister" - %s[0].name == "Valentijn Borstlap" - %s[0].organization == "Realtime Register B.V." - %s[0].address == "Ceintuurbaan 32a" - %s[0].city == "Zwolle" - %s[0].zip == "8024AA" - %s[0].state == "Overijssel" - %s[0].country_code == "NL" - %s[0].phone == "+31.384530752" - %s[0].fax == "+31.384540122" - %s[0].email == "support@realtimeregister.com" - -#admin_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_ADMINISTRATIVE - %s[0].id == "realtimeregister" - %s[0].name == "Valentijn Borstlap" - %s[0].organization == "Realtime Register B.V." - %s[0].address == "Ceintuurbaan 32a" - %s[0].city == "Zwolle" - %s[0].zip == "8024AA" - %s[0].state == "Overijssel" - %s[0].country_code == "NL" - %s[0].phone == "+31.384530752" - %s[0].fax == "+31.384540122" - %s[0].email == "support@realtimeregister.com" - -#technical_contacts - %s %CLASS{array} - %s %SIZE{1} - %s[0] %CLASS{contact} - %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL - %s[0].id == "realtimeregister" - %s[0].name == "Valentijn Borstlap" - %s[0].organization == "Realtime Register B.V." - %s[0].address == "Ceintuurbaan 32a" - %s[0].city == "Zwolle" - %s[0].zip == "8024AA" - %s[0].state == "Overijssel" - %s[0].country_code == "NL" - %s[0].phone == "+31.384530752" - %s[0].fax == "+31.384540122" - %s[0].email == "support@realtimeregister.com" - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.yoursrs.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.yoursrs.com" diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_registered.txt b/spec/fixtures/responses/whois.yoursrs.com/status_registered.txt deleted file mode 100644 index 4bdd34139..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_registered.txt +++ /dev/null @@ -1,53 +0,0 @@ -Domain Name:yoursrs.com -Name Server:ns1.yoursrs.com -Name Server:ns2.yoursrs.com -Created On:2003-11-24 09:40:55.0 -Last Updated On:2014-01-22 14:04:50.0 -Expiration Date:2014-11-24 09:40:55.0 -Sponsoring Registrar:REALTIME REGISTER B.V. -Reseller:Realtime Register B.V. -Status:OK -Registrant ID:realtimeregister -Registrant Name:Valentijn Borstlap -Registrant Organization:Realtime Register B.V. -Registrant Street1:Ceintuurbaan 32a -Registrant City:Zwolle -Registrant State:Overijssel -Registrant Postal Code:8024AA -Registrant Country:NL -Registrant Phone:+31.384530752 -Registrant Fax:+31.384540122 -Registrant Email:support@realtimeregister.com -TECH ID:realtimeregister -TECH Name:Valentijn Borstlap -TECH Organization:Realtime Register B.V. -TECH Street1:Ceintuurbaan 32a -TECH City:Zwolle -TECH State:Overijssel -TECH Postal Code:8024AA -TECH Country:NL -TECH Phone:+31.384530752 -TECH Fax:+31.384540122 -TECH Email:support@realtimeregister.com -BILLING ID:realtimeregister -BILLING Name:Valentijn Borstlap -BILLING Organization:Realtime Register B.V. -BILLING Street1:Ceintuurbaan 32a -BILLING City:Zwolle -BILLING State:Overijssel -BILLING Postal Code:8024AA -BILLING Country:NL -BILLING Phone:+31.384530752 -BILLING Fax:+31.384540122 -BILLING Email:support@realtimeregister.com -ADMIN ID:realtimeregister -ADMIN Name:Valentijn Borstlap -ADMIN Organization:Realtime Register B.V. -ADMIN Street1:Ceintuurbaan 32a -ADMIN City:Zwolle -ADMIN State:Overijssel -ADMIN Postal Code:8024AA -ADMIN Country:NL -ADMIN Phone:+31.384530752 -ADMIN Fax:+31.384540122 -ADMIN Email:support@realtimeregister.com diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.expected b/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.expected deleted file mode 100644 index 07e5b7738..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.expected +++ /dev/null @@ -1,2 +0,0 @@ -#updated_on - %s == nil diff --git a/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.txt b/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.txt deleted file mode 100644 index 62080e9bb..000000000 --- a/spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.txt +++ /dev/null @@ -1,53 +0,0 @@ -Domain Name:yoursrs.com -Name Server:ns1.yoursrs.com -Name Server:ns2.yoursrs.com -Created On:2003-11-24 09:40:55.0 -Last Updated On: -Expiration Date:2014-11-24 09:40:55.0 -Sponsoring Registrar:REALTIME REGISTER B.V. -Reseller:Realtime Register B.V. -Status:OK -Registrant ID:realtimeregister -Registrant Name:Valentijn Borstlap -Registrant Organization:Realtime Register B.V. -Registrant Street1:Ceintuurbaan 32a -Registrant City:Zwolle -Registrant State:Overijssel -Registrant Postal Code:8024AA -Registrant Country:NL -Registrant Phone:+31.384530752 -Registrant Fax:+31.384540122 -Registrant Email:support@realtimeregister.com -TECH ID:realtimeregister -TECH Name:Valentijn Borstlap -TECH Organization:Realtime Register B.V. -TECH Street1:Ceintuurbaan 32a -TECH City:Zwolle -TECH State:Overijssel -TECH Postal Code:8024AA -TECH Country:NL -TECH Phone:+31.384530752 -TECH Fax:+31.384540122 -TECH Email:support@realtimeregister.com -BILLING ID:realtimeregister -BILLING Name:Valentijn Borstlap -BILLING Organization:Realtime Register B.V. -BILLING Street1:Ceintuurbaan 32a -BILLING City:Zwolle -BILLING State:Overijssel -BILLING Postal Code:8024AA -BILLING Country:NL -BILLING Phone:+31.384530752 -BILLING Fax:+31.384540122 -BILLING Email:support@realtimeregister.com -ADMIN ID:realtimeregister -ADMIN Name:Valentijn Borstlap -ADMIN Organization:Realtime Register B.V. -ADMIN Street1:Ceintuurbaan 32a -ADMIN City:Zwolle -ADMIN State:Overijssel -ADMIN Postal Code:8024AA -ADMIN Country:NL -ADMIN Phone:+31.384530752 -ADMIN Fax:+31.384540122 -ADMIN Email:support@realtimeregister.com diff --git a/spec/fixtures/responses/whois.za.net/za.net/status_available.expected b/spec/fixtures/responses/whois.za.net/za.net/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.za.net/za.net/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.za.net/za.net/status_available.txt b/spec/fixtures/responses/whois.za.net/za.net/status_available.txt deleted file mode 100644 index 45535696a..000000000 --- a/spec/fixtures/responses/whois.za.net/za.net/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ - -No such domain: u34jedzcq.za.net - -The ZA NiC whois service contains ONLY information relating to the registration -or availability of Internet domain names under the ZA.NET and ZA.ORG namespace. -Online registration of ZA NiC domains can be made using the automated tool -available at http://www.za.net/ - - diff --git a/spec/fixtures/responses/whois.za.net/za.net/status_registered.expected b/spec/fixtures/responses/whois.za.net/za.net/status_registered.expected deleted file mode 100644 index cb69fc92e..000000000 --- a/spec/fixtures/responses/whois.za.net/za.net/status_registered.expected +++ /dev/null @@ -1,29 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-03-29 22:03:53 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2002-03-29 22:03:53 UTC} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{2} - %s[0] %CLASS{nameserver} - %s[0].name == "ns3.zoneedit.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns5.zoneedit.com" diff --git a/spec/fixtures/responses/whois.za.net/za.net/status_registered.txt b/spec/fixtures/responses/whois.za.net/za.net/status_registered.txt deleted file mode 100644 index 472dacb69..000000000 --- a/spec/fixtures/responses/whois.za.net/za.net/status_registered.txt +++ /dev/null @@ -1,42 +0,0 @@ - -Domain Name : karnaugh.za.net - -Registered for : Colin Alston - 11 Swales Crescent - Pinetown - 3610 - South Africa - -Administrative Contact : Colin Alston - DAC - 11 Swales Crecent - Pinetown - KZN - 3610 - South Africa - 7037634 - -Technical Contact : Colin Alston - DAC - 11 Swales Crecent - Pinetown - KZN - 3610 - South Africa - 7037634 - -Record Created : Fri Mar 29 22:03:53 GMT 2002 -Record Last Updated : Fri Mar 29 22:03:53 GMT 2002 -Database Last Updated : Sun Nov 22 16:01:16 GMT 2009 - -Domain Name Servers listed in order: - - ns3.zoneedit.com - ns5.zoneedit.com - - -The ZA NiC whois service contains ONLY information relating to the registration -or availability of Internet domain names under the ZA.NET and ZA.ORG namespace. -Online registration of ZA NiC domains can be made using the automated tool -available at http://www.za.net/ - diff --git a/spec/fixtures/responses/whois.za.org/za.org/status_available.expected b/spec/fixtures/responses/whois.za.org/za.org/status_available.expected deleted file mode 100644 index 5892f7f9c..000000000 --- a/spec/fixtures/responses/whois.za.org/za.org/status_available.expected +++ /dev/null @@ -1,23 +0,0 @@ -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois.za.org/za.org/status_available.txt b/spec/fixtures/responses/whois.za.org/za.org/status_available.txt deleted file mode 100644 index bf6ef8dff..000000000 --- a/spec/fixtures/responses/whois.za.org/za.org/status_available.txt +++ /dev/null @@ -1,9 +0,0 @@ - -No such domain: u34jedzcq.za.org - -The ZA NiC whois service contains ONLY information relating to the registration -or availability of Internet domain names under the ZA.NET and ZA.ORG namespace. -Online registration of ZA NiC domains can be made using the automated tool -available at http://www.za.net/ - - diff --git a/spec/fixtures/responses/whois.za.org/za.org/status_registered.expected b/spec/fixtures/responses/whois.za.org/za.org/status_registered.expected deleted file mode 100644 index 11f52d49d..000000000 --- a/spec/fixtures/responses/whois.za.org/za.org/status_registered.expected +++ /dev/null @@ -1,31 +0,0 @@ -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2000-11-05 14:03:48 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2005-08-15 12:15:10} - -#expires_on - %s %ERROR{AttributeNotSupported} - - -#nameservers - %s %CLASS{array} - %s %SIZE{3} - %s[0] %CLASS{nameserver} - %s[0].name == "blade.wcic.co.za" - %s[1] %CLASS{nameserver} - %s[1].name == "sabertooth.wcic.co.za" - %s[2] %CLASS{nameserver} - %s[2].name == "ns2.iafrica.com" diff --git a/spec/fixtures/responses/whois.za.org/za.org/status_registered.txt b/spec/fixtures/responses/whois.za.org/za.org/status_registered.txt deleted file mode 100644 index f99345c5a..000000000 --- a/spec/fixtures/responses/whois.za.org/za.org/status_registered.txt +++ /dev/null @@ -1,44 +0,0 @@ - -Domain Name : csa.za.org - -Registered for : W&C Information Consultants CC - No 4 Botano Bldg - Centurion - 0046 - South Africa - -Administrative Contact : Willo van der Merwe - W&C Information Consultants CC - No 4 Botano Bldg - Centurion - Gauteng - 0046 - South Africa - +27 12 643 0288 - +27 12 643 0287 - -Technical Contact : Willo van der Merwe - W&C Information Consultants CC - No 4 Botano Bldg - Centurion - Gauteng - 0046 - South Africa - +27 12 643 0288 - +27 12 643 0287 - -Record Created : Sun Nov 5 14:03:48 GMT 2000 -Record Last Updated : Mon Aug 15 12:15:10 BST 2005 -Database Last Updated : Sun Nov 22 16:01:16 GMT 2009 - -Domain Name Servers listed in order: - - blade.wcic.co.za - sabertooth.wcic.co.za - ns2.iafrica.com - -The ZA NiC whois service contains ONLY information relating to the registration -or availability of Internet domain names under the ZA.NET and ZA.ORG namespace. -Online registration of ZA NiC domains can be made using the automated tool -available at http://www.za.net/ - diff --git a/spec/fixtures/responses/whois1.nic.bi/bi/status_available.expected b/spec/fixtures/responses/whois1.nic.bi/bi/status_available.expected deleted file mode 100644 index 14f200296..000000000 --- a/spec/fixtures/responses/whois1.nic.bi/bi/status_available.expected +++ /dev/null @@ -1,34 +0,0 @@ -#domain - %s == "u34jedzcq.bi" - -#domain_id - %s == nil - - -#status - %s == :available - -#available? - %s == true - -#registered? - %s == false - - -#created_on - %s == nil - -#updated_on - %s == nil - -#expires_on - %s == nil - - -#registrar - %s == nil - - -#nameservers - %s %CLASS{array} - %s == [] diff --git a/spec/fixtures/responses/whois1.nic.bi/bi/status_available.txt b/spec/fixtures/responses/whois1.nic.bi/bi/status_available.txt deleted file mode 100644 index baf9e78fa..000000000 --- a/spec/fixtures/responses/whois1.nic.bi/bi/status_available.txt +++ /dev/null @@ -1,10 +0,0 @@ -Domain Name: u34jedzcq.bi -Domain Status: No Object Found - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIC.BI as a service to the internet community on behalf of Burundi cctld.) - -The data is for information purposes only. NIC.BI does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes - -The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T03:00:07.485Z <<< diff --git a/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.expected b/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.expected deleted file mode 100644 index bc71e645b..000000000 --- a/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.expected +++ /dev/null @@ -1,49 +0,0 @@ -#domain - %s == "google.bi" - -#domain_id - %s == "2633NIC-BI" - - -#status - %s == :registered - -#available? - %s == false - -#registered? - %s == true - - -#created_on - %s %CLASS{time} - %s %TIME{2002-09-29 22:00:00 UTC} - -#updated_on - %s %CLASS{time} - %s %TIME{2013-12-05 07:16:04 UTC} - -#expires_on - %s %CLASS{time} - %s %TIME{2014-09-29 22:00:00 UTC} - - -#registrar - %s %CLASS{registrar} - %s.id == nil - %s.name == "MarkMonito" - %s.organization == nil - %s.url == nil - - -#nameservers - %s %CLASS{array} - %s %SIZE{4} - %s[0] %CLASS{nameserver} - %s[0].name == "ns1.google.com" - %s[1] %CLASS{nameserver} - %s[1].name == "ns2.google.com" - %s[2] %CLASS{nameserver} - %s[2].name == "ns3.google.com" - %s[3] %CLASS{nameserver} - %s[3].name == "ns4.google.com" diff --git a/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.txt b/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.txt deleted file mode 100644 index b7e3402fd..000000000 --- a/spec/fixtures/responses/whois1.nic.bi/bi/status_registered.txt +++ /dev/null @@ -1,79 +0,0 @@ -Domain Name: google.bi -Domain ID: 2633NIC-BI -WHOIS Server: -Referral URL: -Updated Date: 2013-12-05T07:16:04.538Z -Creation Date: 2002-09-29T22:00:00.000Z -Registry Expiry Date: 2014-09-29T22:00:00.000Z -Sponsoring Registrar: MarkMonito -Sponsoring Registrar IANA ID: -Domain Status: ok - -Registrant ID: 85593NIC-BI -Registrant Name: DNS Admin -Registrant Organization: Google Inc. -Registrant Street: 1600 Amphitheatre Parkway -Registrant City: Mountain View -Registrant State/Province: CA -Registrant Postal Code: 94043 -Registrant Country: US -Registrant Phone: +1.6506234000 -Registrant Phone Ext: -Registrant Email: dns-admin@google.com - -Admin ID: 85593NIC-BI -Admin Name: DNS Admin -Admin Organization: Google Inc. -Admin Street: 1600 Amphitheatre Parkway -Admin City: Mountain View -Admin State/Province: CA -Admin Postal Code: 94043 -Admin Country: US -Admin Phone: +1.6506234000 -Admin Phone Ext: -Admin Email: dns-admin@google.com - -Billing ID: 85594NIC-BI -Billing Name: MM Domain Administrator -Billing Organization: MarkMonitor Inc -Billing Street: 391 N Ancestor Place -Billing City: Boise -Billing State/Province: Idaho -Billing Postal Code: 83704 -Billing Country: US -Billing Phone: +1.2083895740 -Billing Phone Ext: -Billing Email: ccopsbilling@markmonitor.com - -Tech ID: 85593NIC-BI -Tech Name: DNS Admin -Tech Organization: Google Inc. -Tech Street: 1600 Amphitheatre Parkway -Tech City: Mountain View -Tech State/Province: CA -Tech Postal Code: 94043 -Tech Country: US -Tech Phone: +1.6506234000 -Tech Phone Ext: -Tech Email: dns-admin@google.com - -Name Server: ns1.google.com -Name Server: ns2.google.com -Name Server: ns3.google.com -Name Server: ns4.google.com - -DNSSEC: unsigned - -Additional Section - -Sponsoring Registrar Country: US -Sponsoring Registrar Admin Contact: -Sponsoring Registrar Admin Email: - -TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated. Whois database is provided by NIC.BI as a service to the internet community on behalf of Burundi cctld.) - -The data is for information purposes only. NIC.BI does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes - -The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. - ->>> Last update of WHOIS database: 2013-12-18T03:00:07.485Z <<< diff --git a/spec/integration/whois_spec.rb b/spec/integration/whois_spec.rb index 2b3928bf3..ea76b30b9 100644 --- a/spec/integration/whois_spec.rb +++ b/spec/integration/whois_spec.rb @@ -1,26 +1,26 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois do - - let(:response) { "Domain: example.it\nStatus: AVAILABLE\n" } + let(:response) { "Domain: example.it\nStatus: AVAILABLE\n" } describe "Basic WHOIS querying and parsing" do it "works" do with_definitions do - Whois::Server.define(:tld, ".it", "whois.nic.it") - Whois::Server::Adapters::Base. - query_handler.expects(:call). - with("example.it", "whois.nic.it", 43). - returns(response) + Whois::Server.define(:tld, "it", "whois.nic.it") + expect(Whois::Server::Adapters::Standard.query_handler).to receive(:call) + .with("example.it", "whois.nic.it", 43) + .and_return(response) record = Whois.lookup("example.it") expect(record).to be_a(Whois::Record) - expect(record.available?).to be_truthy - expect(record.registered?).to be_falsey + # expect(record.available?).to be_truthy + # expect(record.registered?).to be_falsey - expect(record.parser).to be_a(Whois::Record::Parser) - expect(record.parser.parsers.first).to be_a(Whois::Record::Parser::WhoisNicIt) + # expect(record.parser).to be_a(Whois::Record::Parser) + # expect(record.parser.parsers.first).to be_a(Whois::Record::Parser::WhoisNicIt) end end end @@ -28,13 +28,12 @@ describe "Passing :bind_host and :bind_port options" do it "binds the WHOIS query to given host and port" do with_definitions do - Whois::Server.define(:tld, ".it", "whois.nic.it") - Whois::Server::Adapters::Base. - query_handler.expects(:call). - with("example.it", "whois.nic.it", 43, "192.168.1.1", 3000). - returns(response) + Whois::Server.define(:tld, "it", "whois.nic.it") + expect(Whois::Server::Adapters::Standard.query_handler).to receive(:call) + .with("example.it", "whois.nic.it", 43, "192.168.1.1", 3000) + .and_return(response) - client = Whois::Client.new(:bind_host => "192.168.1.1", :bind_port => 3000) + client = Whois::Client.new(bind_host: "192.168.1.1", bind_port: 3000) client.lookup("example.it") end end @@ -43,13 +42,12 @@ describe "Passing :bind_port options" do it "binds the WHOIS query to given port and defaults host" do with_definitions do - Whois::Server.define(:tld, ".it", "whois.nic.it") - Whois::Server::Adapters::Base. - query_handler.expects(:call). - with("example.it", "whois.nic.it", 43, Whois::Server::Adapters::Base::DEFAULT_BIND_HOST, 3000). - returns(response) + Whois::Server.define(:tld, "it", "whois.nic.it") + expect(Whois::Server::Adapters::Standard.query_handler).to receive(:call) + .with("example.it", "whois.nic.it", 43, Whois::Server::Adapters::Base::DEFAULT_BIND_HOST, 3000) + .and_return(response) - client = Whois::Client.new(:bind_port => 3000) + client = Whois::Client.new(bind_port: 3000) client.lookup("example.it") end end @@ -58,13 +56,12 @@ describe "Passing :host options" do it "forces the WHOIS query to given host" do with_definitions do - Whois::Server.define(:tld, ".it", "whois.nic.it") - Whois::Server::Adapters::Base. - query_handler.expects(:call). - with("example.it", "whois.example.com", 43). - returns(response) + Whois::Server.define(:tld, "it", "whois.nic.it") + expect(Whois::Server::Adapters::Standard.query_handler).to receive(:call) + .with("example.it", "whois.example.com", 43) + .and_return(response) - client = Whois::Client.new(:host => "whois.example.com") + client = Whois::Client.new(host: "whois.example.com") record = client.lookup("example.it") expect(record.parts.size).to eq(1) @@ -73,5 +70,4 @@ end end end - end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index defab6e16..cd19646e0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,9 +1,9 @@ +# frozen_string_literal: true + require 'rspec' require 'whois' -unless defined?(SPEC_ROOT) - SPEC_ROOT = File.expand_path("../", __FILE__) -end +SPEC_ROOT = File.expand_path(__dir__) unless defined?(SPEC_ROOT) # The fixtures are UTF-8 encoded. # Make sure Ruby uses the proper encoding. @@ -12,8 +12,8 @@ # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. -Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f } +Dir[File.join(SPEC_ROOT, "support/**/*.rb")].sort.each { |f| require f } RSpec.configure do |config| - config.mock_with :mocha + config.mock_with :rspec end diff --git a/spec/support/example/parser_example_group.rb b/spec/support/example/parser_example_group.rb deleted file mode 100644 index a57791d80..000000000 --- a/spec/support/example/parser_example_group.rb +++ /dev/null @@ -1,39 +0,0 @@ -module ParserExampleGroup - - def load_part(path) - Whois::Record::Part.new(File.read(fixture("responses", @host.to_s, @suffix.to_s, @schema.to_s, path)), @host) - end - -end - -RSpec::Matchers.define :cache_property do |property| - match do |instance| - cache = instance.instance_eval do - @cached_properties = {} - @cached_properties - end - - expect(cache.key?(property)).to be_falsey - value = instance.send(property) - - expect(cache.key?(property)).to be_truthy - expect(cache[property]).to eq(value) - - true - end - - failure_message_for_should do |instance| - "expected parser to cache property #{property}" - end - failure_message_for_should_not do |instance| - "expected parser to not cache property #{property}" - end -end - -RSpec::configure do |c| - def c.escaped_path(*parts) - /#{parts.join('\/')}/ - end - - c.include ParserExampleGroup, file_path: c.escaped_path(%w( spec whois record parser )) -end diff --git a/spec/support/helpers/connectivity_helper.rb b/spec/support/helpers/connectivity_helper.rb index aea25186c..d09fa76f9 100644 --- a/spec/support/helpers/connectivity_helper.rb +++ b/spec/support/helpers/connectivity_helper.rb @@ -1,8 +1,8 @@ +# frozen_string_literal: true + module RSpecSupportConnectivityHelpers def need_connectivity - if connectivity_available? - yield - end + yield if connectivity_available? end def connectivity_available? diff --git a/spec/support/helpers/spec_helper.rb b/spec/support/helpers/spec_helper.rb index ef953c709..996455e6c 100644 --- a/spec/support/helpers/spec_helper.rb +++ b/spec/support/helpers/spec_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module RSpecSupportSpecHelpers def fixture(*names) @@ -16,13 +18,12 @@ def with_definitions end def definitions_setup - @_definitions = Whois::Server.definitions - Whois::Server.send :class_variable_set, :@@definitions, - { :tld => [], :ipv4 => [], :ipv6 => [], :asn16 => [], :asn32 => [] } + @_definitions = Whois::Server.send :instance_variable_get, :@definitions + Whois::Server.clear_definitions end def definitions_teardown - Whois::Server.send :class_variable_set, :@@definitions, @_definitions + Whois::Server.send :instance_variable_set, :@definitions, @_definitions end end diff --git a/spec/support/matchers/support_property.rb b/spec/support/matchers/support_property.rb deleted file mode 100644 index 7d6bc631c..000000000 --- a/spec/support/matchers/support_property.rb +++ /dev/null @@ -1,5 +0,0 @@ -RSpec::Matchers.define :support_property do |property| - match_unless_raises Whois::AttributeNotSupported do |parser| - parser.send(property) - end -end diff --git a/spec/tlds.yml b/spec/tlds.yml deleted file mode 100644 index 6c5404fbf..000000000 --- a/spec/tlds.yml +++ /dev/null @@ -1,1392 +0,0 @@ -ae.org: - _server: whois.centralnic.com - _subdir: ae.org - status_available: u34jedzcq.ae.org - status_registered: kidzlink.ae.org -ar.com: - _server: whois.centralnic.com - _subdir: ar.com - status_available: u34jedzcq.ar.com - status_registered: hotel.ar.com -br.com: - _server: whois.centralnic.com - _subdir: br.com - status_available: u34jedzcq.br.com - status_registered: billboard.br.com -cn.com: - _server: whois.centralnic.com - _subdir: cn.com - status_available: u34jedzcq.cn.com - status_registered: gsn.cn.com -# com.de: -# _server: whois.centralnic.com -# _subdir: com.de -# status_available: u34jedzcq.com.de -# status_registered: abercrombiefitcheshop.com.de -de.com: - _server: whois.centralnic.com - _subdir: de.com - status_available: u34jedzcq.de.com - status_registered: autopoint.de.com -eu.com: - _server: whois.centralnic.com - _subdir: eu.com - status_available: u34jedzcq.eu.com - status_registered: walkabout.eu.com -gb.com: - _server: whois.centralnic.com - _subdir: gb.com - status_available: u34jedzcq.gb.com - status_registered: hotel.gb.com -gb.net: - _server: whois.centralnic.com - _subdir: gb.net - status_available: u34jedzcq.gb.net - status_registered: hotel.gb.net -gr.com: - _server: whois.centralnic.com - _subdir: gr.com - status_available: u34jedzcq.gr.com - status_registered: google.gr.com -hu.com: - _server: whois.centralnic.com - _subdir: hu.com - status_available: u34jedzcq.hu.com - status_registered: porn.hu.com -jp.net: - _server: whois.centralnic.com - _subdir: jp.net - status_available: u34jedzcq.jp.net - status_registered: ntt.jp.net -jpn.com: - _server: whois.centralnic.com - _subdir: jpn.com - status_available: u34jedzcq.jpn.com - status_registered: koi.jpn.com -kr.com: - _server: whois.centralnic.com - _subdir: kr.com - status_available: u34jedzcq.kr.com - status_registered: academyart.kr.com -no.com: - _server: whois.centralnic.com - _subdir: no.com - status_available: u34jedzcq.no.com - # status_registered: mrsa.no.com -qc.com: - _server: whois.centralnic.com - _subdir: qc.com - status_available: u34jedzcq.qc.com - status_registered: ceo.qc.com -ru.com: - _server: whois.centralnic.com - _subdir: ru.com - status_available: u34jedzcq.ru.com - status_registered: srk.ru.com -sa.com: - _server: whois.centralnic.com - _subdir: sa.com - status_available: u34jedzcq.sa.com - status_registered: fynbos.sa.com -se.com: - _server: whois.centralnic.com - _subdir: se.com - status_available: u34jedzcq.se.com - status_registered: hotel.se.com -se.net: - _server: whois.centralnic.com - _subdir: se.net - status_available: u34jedzcq.se.net - status_registered: hotel.se.net -uk.com: - _server: whois.centralnic.com - _subdir: uk.com - status_available: u34jedzcq.uk.com - status_registered: history.uk.com -uk.net: - _server: whois.centralnic.com - _subdir: uk.net - status_available: u34jedzcq.uk.net - status_registered: paramount.uk.net -us.com: - _server: whois.centralnic.com - _subdir: us.com - status_available: u34jedzcq.us.com - status_registered: college.us.com -us.org: - _server: whois.centralnic.com - _subdir: us.org - status_available: u34jedzcq.us.org - # status_registered: -uy.com: - _server: whois.centralnic.com - _subdir: uy.com - status_available: u34jedzcq.uy.com - status_registered: bestb.uy.com -za.com: - _server: whois.centralnic.com - _subdir: za.com - status_available: u34jedzcq.za.com - status_registered: siyenza.za.com -com: - _server: whois.verisign-grs.com - _subdir: com - status_available: u34jedzcq.com - status_registered: google.com -za.net: - _server: whois.za.net - status_available: u34jedzcq.za.net - status_registered: karnaugh.za.net -net: - _server: whois.verisign-grs.com - _subdir: net - status_available: u34jedzcq.net - status_registered: google.net -eu.org: - _server: whois.eu.org - status_available: u34jedzcq.eu.org - status_registered: google.eu.org -za.org: - _server: whois.za.org - status_available: u34jedzcq.za.org - status_registered: csa.za.org -org: - _server: whois.pir.org - status_available: u34jedzcq.org - status_registered: google.org -edu: - _server: whois.educause.edu - status_available: u34jedzcq.edu - status_registered: academia.edu -gov: - _server: whois.nic.gov - status_available: u34jedzcq.gov - status_registered: gsa.gov - _status_available_skipdiff: - - 4 - _status_registered_skipdiff: - - 6 -int: - _server: whois.iana.org - _subdir: int - status_available: u34jedzcq.int - status_registered: nato.int -mil: - _adapter: none -in-addr.arpa: - _adapter: none -arpa: - _server: whois.iana.org - _subdir: arpa - status_available: u34jedzcq.arpa - status_registered: ip6.arpa -aero: - _server: whois.aero - status_available: u34jedzcq.aero - status_registered: srilankan.aero -asia: - _server: whois.nic.asia - status_available: u34jedzcq.asia - status_registered: cj7.asia -biz: - _server: whois.biz - status_available: u34jedzcq.biz - status_registered: google.biz - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 68 -cat: - _server: whois.cat - status_available: u34jedzcq.cat - status_registered: gencat.cat -coop: - _server: whois.nic.coop - status_available: u34jedzcq.coop - status_registered: calgary.coop -info: - _server: whois.afilias.info - status_available: u34jedzcq.info - status_registered: google.info -jobs: - _server: jobswhois.verisign-grs.com - _subdir: jobs - status_available: u34jedzcq.jobs - status_registered: google.jobs -mobi: - _server: whois.dotmobiregistry.net - status_available: u34jedzcq.mobi - status_registered: google.mobi -museum: - _server: whois.museum - status_available: u34jedzcq.museum - status_registered: musedoma.museum -name: - _server: whois.nic.name - status_available: u34jedzcq.name - status_registered: carletti.name -pro: - _server: whois.registrypro.pro - status_available: u34jedzcq.pro - status_registered: google.pro -tel: - _server: whois.nic.tel - status_available: u34jedzcq.tel - status_registered: google.tel - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 69 -travel: - _server: whois.nic.travel - status_available: u34jedzcq.travel - status_registered: travel.travel - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 54 -ac: - _server: whois.nic.ac - status_available: u34jedzcq.ac - status_registered: google.ac -ad: - _adapter: none -ae: - _server: whois.aeda.net.ae - status_available: u34jedzcq.ae - status_registered: google.ae -af: - _server: whois.nic.af - status_available: u34jedzcq.af - status_registered: google.af - _status_available_skipdiff: - - 10 - _status_registered_skipdiff: - - 93 -ag: - _server: whois.nic.ag - status_available: u34jedzcq.ag - status_registered: google.ag -ai: - _server: whois.ai - status_available: u34jedzcq.ai - status_registered: google.ai -al: - _adapter: none -am: - _server: whois.nic.am - status_available: u34jedzcq.am - status_registered: google.am -an: - _adapter: none -ao: - _adapter: none -aq: - _adapter: none -ar: - _adapter: web -as: - _server: whois.nic.as - status_available: u34jedzcq.as - status_registered: google.as -priv.at: - _server: whois.nic.priv.at - status_available: u34jedzcq.priv.at - status_registered: nic.priv.at -at: - _server: whois.nic.at - status_available: u34jedzcq.at - status_registered: google.at -au: - _server: whois.audns.net.au - status_available: u34jedzcq.com.au - status_registered: google.com.au - _status_registered_skipdiff: - - 2 -aw: - _adapter: none -ax: - _server: whois.ax - status_available: u34jedzcq.ax - status_registered: regeringen.ax -az: - _adapter: web -ba: - _adapter: web -bb: - _adapter: web -bd: - _adapter: web -be: - _server: whois.dns.be - status_available: u34jedzcq.be - status_registered: google.be -bf: - _adapter: none -bg: - _server: whois.register.bg - status_available: u34jedzcq.bg - status_registered: google.bg -bh: - _adapter: none -bi: - _server: whois1.nic.bi - status_available: u34jedzcq.bi - status_registered: google.bi - _status_available_skipdiff: - - 10 - _status_registered_skipdiff: - - 79 -bj: - _server: whois.nic.bj - status_available: u34jedzcq.bj - status_registered: google.bj -bm: - _adapter: web -bn: - _server: whois.bn - status_available: u34jedzcq.com.bn - status_registered: telbru.com.bn -bo: - _server: whois.nic.bo - status_available: u34jedzcq.bo - status_registered: google.bo -br: - _server: whois.registro.br - status_available: u34jedzcq.br - status_registered: google.com.br - _status_available_skipdiff: - - 8 -bs: - _adapter: web -bt: - _adapter: web -bv: - _adapter: none -by: - _server: whois.cctld.by - status_available: u34jedzcq.by - status_registered: active.by -bw: - _adapter: none -bz: - _server: whois.afilias-grs.info - _subdir: bz - status_available: u34jedzcq.bz - status_registered: google.bz -co.ca: - _server: whois.co.ca - status_available: u34jedzcq.co.ca - status_registered: internet.co.ca -ca: - _server: whois.cira.ca - status_available: u34jedzcq.ca - status_registered: google.ca - _status_available_skipdiff: - - 4 - _status_registered_skipdiff: - - 36 -cc: - _server: ccwhois.verisign-grs.com - _subdir: cc - status_available: u34jedzcq.cc - status_registered: google.cc - _status_available_skipdiff: - - 9 - _status_registered_skipdiff: - - 29 -cd: - _server: whois.nic.cd - status_available: u34jedzcq.cd - status_registered: google.cd - _status_available_skipdiff: - - 9 - _status_registered_skipdiff: - - 24 -cf: - status_available: u34jedzcq.cf - status_registered: dot.cf -cg: - _adapter: web -ch: - _server: whois.nic.ch - status_available: u34jedzcq.ch - status_registered: google.ch -ci: - _server: www.nic.ci - status_available: u34jedzcq.ci - status_registered: google.ci -ck: - _adapter: none -cl: - _server: whois.nic.cl - status_available: u34jedzcq.cl - status_registered: google.cl -cm: - _server: whois.netcom.cm - status_available: u34jedzcq.cm - status_registered: google.cm -# edu.cn: -# -cn: - _server: whois.cnnic.cn - status_available: u34jedzcq.cn - status_registered: google.cn - status_reserved: hyko.cn - property_status_reserved: hyko.cn - property_status_reserved_list: 12323.cn -co: - _server: whois.nic.co - status_available: u34jedzcq.co - status_registered: t.co - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 69 -college: - _server: whois.nic.college - _subdir: college - _newtld: true - status_available: u34jedzcq.college - status_registered: toplevel.college -cr: - _adapter: web -cu: - _adapter: web -cv: - _adapter: web -cw: - _adapter: none -cx: - _server: whois.nic.cx - status_available: u34jedzcq.cx - status_registered: google.cx - _status_available_skipdiff: - - 10 - _status_registered_skipdiff: - - 80 -cy: - _adapter: none -cz: - _server: whois.nic.cz - status_available: u34jedzcq.cz - status_registered: google.cz - _status_registered_skipdiff: - - 19 -de: - _server: whois.denic.de - status_available: u34jedzcq.de - status_registered: google.de -design: - _server: whois.nic.design - _subdir: design - _newtld: true - status_available: u34jedzcq.design - status_registered: toplevel.design -dj: - _adapter: web -dk: - _server: whois.dk-hostmaster.dk - status_available: u34jedzcq.dk - status_registered: google.dk -dk: - _server: whois.nic.dm - status_available: u34jedzcq.dm - status_registered: google.dm -do: - _adapter: web -dz: - _server: whois.nic.dz - status_available: u34jedzcq.dz - status_registered: google.dz -ec: - _server: whois.nic.ec - status_available: u34jedzcq.ec - status_registered: google.ec -ee: - _server: whois.tld.ee - status_available: u34jedzcq.ee - status_registered: edicy.ee -eg: - _adapter: web -er: - _adapter: none -es: - _server: whois.nic.es - status_available: u34jedzcq.es - status_registered: google.es -et: - _adapter: none -es: - _server: whois.eu - status_available: u34jedzcq.eu - status_registered: google.eu -fi: - _server: whois.fi - status_available: u34jedzcq.fi - status_registered: google.fi -fj: - _server: whois.usp.ac.fj - status_available: u34jedzcq.fi - status_registered: google.com.fj -fk: - _adapter: none -fm: - _adapter: web -fo: - _server: whois.nic.fo - status_available: u34jedzcq.fo - status_registered: nic.fo -fr: - _server: whois.nic.fr - _subdir: fr - status_available: u34jedzcq.fr - status_registered: google.fr -ga: - _adapter: none -gb: - _adapter: none -gd: - _server: whois.nic.gd - status_available: u34jedzcq.gd - status_registered: google.gd -ge: - _adapter: web -gf: - _adapter: web -gg: - _server: whois.gg - status_available: u34jedzcq.gg - status_registered: google.gg -gh: - _adapter: web -gi: - _server: whois.afilias-grs.info - status_available: u34jedzcq.gi - status_registered: sapphire.gi -gl: - _server: whois.nic.gl - status_available: u34jedzcq.gl - status_registered: google.gl -gm: - _adapter: web -gn: - _adapter: none -gp: - _adapter: none -gq: - _adapter: none -gr: - _adapter: web -gs: - _server: whois.nic.gs - status_available: u34jedzcq.gs - status_registered: google.gs - _status_available_skipdiff: - - 22 - _status_registered_skipdiff: - - 47 -gt: - _adapter: web -gu: - _adapter: web -gw: - _adapter: none -gy: - _server: whois.registry.gy - status_available: u34jedzcq.gy - status_registered: google.gy - _status_available_skipdiff: - - 16 - _status_registered_skipdiff: - - 87 -hk: - _server: whois.hkirc.hk - status_available: u34jedzcq.hk - status_registered: google.hk -hm: - _server: whois.registry.hm - status_available: u34jedzcq.hm - status_registered: google.hm -hn: - _server: whois.nic.hn - status_available: u34jedzcq.hn - status_registered: google.hn - _status_available_skipdiff: - - 22 - _status_registered_skipdiff: - - 95 -hr: - _server: whois.dns.hr - status_available: u34jedzcq.hr - status_registered: google.hr -ht: - _server: whois.nic.ht - status_available: u34jedzcq.ht - status_registered: google.ht - _status_available_skipdiff: - - 12 - _status_registered_skipdiff: - - 91 -hu: - _server: whois.nic.hu - status_available: u34jedzcq.hu - status_registered: google.hu -id: - _server: whois.pandi.or.id - status_available: u34jedzcq.co.id - status_registered: google.co.id -ie: - _server: whois.domainregistry.ie - status_available: u34jedzcq.ie - status_registered: google.ie -il: - _server: whois.isoc.org.il - status_available: u34jedzcq.il - status_registered: isoc.org.il -im: - _server: whois.nic.im - status_available: u34jedzcq.im - status_registered: google.im -in: - _server: whois.registry.in - status_available: u34jedzcq.in - status_registered: google.in -io: - _server: whois.nic.io - status_available: u34jedzcq.io - status_registered: redis.io - status_reserved: drop.io -iq: - _server: whois.cmc.iq - status_available: u34jedzcq.iq - status_registered: google.iq - _status_available_skipdiff: - - 9 - _status_registered_skipdiff: - - 37 -ir: - _server: whois.nic.ir - status_available: u34jedzcq.ir - status_registered: google.ir -is: - _server: whois.isnic.is - status_available: u34jedzcq.is - status_registered: google.is -it: - _server: whois.nic.it - status_available: u34jedzcq.it - status_registered: google.it -je: - _server: whois.je - status_available: u34jedzcq.je - status_registered: google.je -jm: - _adapter: none -jo: - _adapter: web -jp: - _server: whois.jprs.jp - _subdir: jp - status_available: u34jedzcq.jp - status_registered: google.jp -ke: - _server: whois.kenic.or.ke - status_available: u34jedzcq.ke - status_registered: google.co.ke -kg: - _server: whois.domain.kg - status_available: u34jedzcq.kg - status_registered: google.kg -kh: - _adapter: none -ki: - _server: whois.nic.ki - status_available: u34jedzcq.ki - status_registered: google.ki - _status_available_skipdiff: - - 20 - _status_registered_skipdiff: - - 62 -km: - _adapter: none -kn: - _adapter: web -kp: - _adapter: none -kr: - _server: whois.kr - status_available: u34jedzcq.kr - status_registered: google.kr -kw: - _adapter: web -ky: - _adapter: web -kz: - _server: whois.nic.kz - status_available: u34jedzcq.kz - status_registered: google.kz -la: - _server: whois.nic.la - status_available: u34jedzcq.la - status_registered: google.la -lb: - _adapter: web -lc: - _server: whois.afilias-grs.info - status_available: u34jedzcq.lc - status_registered: nic.lc -li: - _server: whois.nic.li - status_available: u34jedzcq.li - status_registered: google.li -lk: - _server: whois.nic.lk - _subdir: lk - status_available: u34jedzcq.lk - status_registered: google.lk - property_created_on_null: nestle.lk -lr: - _adapter: none -ls: - _adapter: web -lt: - _server: whois.domreg.lt - status_available: u34jedzcq.lt - status_registered: google.lt -lu: - _server: whois.dns.lu - status_available: u34jedzcq.lu - status_registered: google.lu -lv: - _server: whois.nic.lv - status_available: u34jedzcq.lv - status_registered: google.lv -ly: - _server: whois.nic.ly - status_available: u34jedzcq.ly - status_registered: google.ly -ma: - _server: whois.registre.ma - _subdir: ma - status_available: u34jedzcq.ma - status_registered: google.ma -mc: - _adapter: none -md: - _server: whois.nic.md - status_available: u34jedzcq.md - status_registered: google.md -me: - _server: whois.nic.me - status_available: u34jedzcq.me - status_registered: google.me -mg: - _server: whois.nic.mg - status_available: u34jedzcq.mg - status_registered: google.mg - _status_available_skipdiff: - - 20 - _status_registered_skipdiff: - - 74 -mh: - _adapter: none -mk: - _adapter: web -ml: - _adapter: none -mm: - _adapter: none -mn: - _server: whois.afilias-grs.info - _subdir: mn - status_available: u34jedzcq.mn - status_registered: google.mn -mo: - _server: whois.monic.mo - status_available: u34jedzcq.mo - status_registered: umac.mo -mp: - _adapter: none -mq: - _adapter: web -mr: - _adapter: none -ms: - _server: whois.nic.ms - status_available: u34jedzcq.ms - status_registered: google.ms - _status_available_skipdiff: - - 13 - _status_registered_skipdiff: - - 87 -mt: - _adapter: web -mu: - _server: whois.nic.mu - status_available: u34jedzcq.mu - status_registered: google.mu - _status_available_skipdiff: - - 12 - _status_registered_skipdiff: - - 74 -mv: - _adapter: none -mw: - _adapter: web -mx: - _server: whois.nic.mc - status_available: u34jedzcq.mx - status_registered: google.mx -my: - _server: whois.domainregistry.my - status_available: u34jedzcq.my - status_registered: google.my -mz: - _adapter: none -na: - _server: whois.na-nic.com.na - status_available: u34jedzcq.na - status_registered: google.na - _status_available_skipdiff: - - 12 - _status_registered_skipdiff: - - 75 -nc: - _server: whois.nc - status_available: u34jedzcq.nc - status_registered: domaine.nc -ne: - _adapter: none -nf: - _server: whois.nic.nf - status_available: u34jedzcq.nf - status_registered: google.nf - _status_available_skipdiff: - - 10 - _status_registered_skipdiff: - - 52 -ng: - _server: whois.nic.net.ng - status_available: u34jedzcq.ng - status_registered: nic.net.ng - _status_available_skipdiff: - - 13 - _status_registered_skipdiff: - - 56 -ni: - _adapter: web -nl: - _server: whois.domain-registry.nl - status_available: u34jedzcq.nl - status_registered: google.nl -no: - _server: whois.norid.no - _subdir: no - status_available: u34jedzcq.no - status_registered: google.no -np: - _adapter: web -nr: - _adapter: web -nu: - _server: whois.iis.nu - _subdir: nu - status_available: u34jedzcq.nu - status_registered: google.nu -nz: - _server: whois.srs.net.nz - status_available: u34jedzcq.co.nz - status_registered: google.co.nz - _status_available_skipdiff: - - 5 - _status_registered_skipdiff: - - 5 -om: - _server: whois.registry.om - status_available: u34jedzcq.om - status_registered: rop.gov.om -pa: - _adapter: web -pe: - _server: kero.yachay.pe - status_available: u34jedzcq.pe - status_registered: google.pe -pf: - _adapter: none -pg: - _adapter: none -ph: - _adapter: web -pk: - _adapter: web -co.pl: - _server: whois.co.pl - status_available: u34jedzcq.co.pl - status_registered: coco.co.pl -pl: - _server: whois.dns.pl - status_available: u34jedzcq.pl - status_registered: google.pl - property_nameservers_with_ip: pentex.pl -pm: - _server: whois.nic.fr - _subdir: pm - status_available: u34jedzcq.pm - status_registered: nic.pm - _status_available_skipdiff: - - 13 - _status_registered_skipdiff: - - 13 -pn: - _adapter: web -post: - _server: whois.dotpostregistry.net - status_available: u34jedzcq.post - status_registered: posteitaliane.post -pr: - _server: whois.nic.pr - status_available: u34jedzcq.pr - status_registered: google.pr -ps: - _server: whois.pnina.ps - status_available: u34jedzcq.ps - status_registered: google.ps -pt: - _server: whois.dns.pt - status_available: u34jedzcq.pt - status_registered: google.pt -pw: - _server: whois.nic.pw - status_available: u34jedzcq.pw - status_registered: google.pw -py: - _adapter: web -qa: - _server: whois.registry.qa - status_available: u34jedzcq.qa - status_registered: qtel.com.qa -re: - _server: whois.nic.fr - _subdir: re - status_available: u34jedzcq.re - status_registered: nic.re -ro: - _server: whois.rotld.ro - status_available: u34jedzcq.ro - status_registered: google.ro -rs: - _server: whois.rnids.rs - status_available: u34jedzcq.rs - status_registered: google.rs -# edu.ru: -# _server: whois.informika.ru -# status_available: -# status_registered: -ru: - _server: whois.tcinet.ru - _subdir: ru - status_available: u34jedzcq.ru - status_registered: google.ru -rw: - _adapter: none -sa: - _server: whois.nic.net.sa - _subdir: sa - status_available: u34jedzcq.com.sa - status_registered: saudigazette.com.sa -sb: - _server: whois.nic.net.sb - status_available: u34jedzcq.sb - status_registered: baidu.com.sb - _status_available_skipdiff: - - 11 - _status_registered_skipdiff: - - 83 -sc: - _server: whois.afilias-grs.info - _subdir: sc - status_available: u34jedzcq.sc - status_registered: google.sc -sd: - _adapter: none -se: - _server: whois.iis.se - _subdir: se - status_available: u34jedzcq.se - status_registered: google.se -sg: - _server: whois.sgnic.sg - status_available: u34jedzcq.sg - status_registered: google.sg -sh: - _server: whois.nic.sh - status_available: u34jedzcq.sh - status_registered: google.sh -si: - _server: whois.register.si - _subdir: si - status_available: u34jedzcq.si - status_registered: google.si - -sv: - _adapter: web -sx: - _server: whois.sx - status_available: u34jedzcq.sx - status_registered: whois.sx - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 37 -sy: - _server: whois.tld.sy - status_available: u34jedzcq.sy - status_registered: tld.sy - _status_available_skipdiff: - - 6 - _status_registered_skipdiff: - - 22 -sz: - _adapter: none -tc: - _server: whois.nic.tc - _subdir: tc - status_available: u34jedzcq.tc - status_registered: google.tc -td: - _adapter: none -tf: - _server: whois.nic.fr - _subdir: tf - status_available: u34jedzcq.tf - status_registered: google.tf -tg: - _adapter: web -th: - _server: whois.thnic.co.th - status_available: u34jedzcq.co.th - status_registered: google.co.th -tj: - _adapter: web -tk: - _server: whois.dot.tk - status_available: u34jedzcq.tk - status_registered: thinkcode.tk -tl: - _server: whois.nic.tl - status_available: u34jedzcq.tl - status_registered: google.tl - _status_available_skipdiff: - - 22 - _status_registered_skipdiff: - - 76 -tm: - _server: whois.nic.tm - status_available: u34jedzcq.tm - status_registered: google.tm -tn: - _server: whois.ati.tn - status_available: u34jedzcq.tn - status_registered: google.tn -to: - _server: whois.tonic.to - status_available: u34jedzcq.to - status_registered: go.to -tp: - _adapter: none -tr: - _server: whois.nic.tr - status_available: u34jedzcq.com.tr - status_invalid: invalid.tr - status_registered: google.com.tr -tt: - _adapter: web -tv: - _server: whois.nic.tv - _subdir: tv - status_available: u34jedzcq.tv - status_registered: google.tv -tw: - _server: whois.twnic.net.tw - status_available: u34jedzcq.com.tw - status_registered: google.com.tw -tz: - _server: whois.tznic.or.tz - status_available: u34jedzcq.co.tz - status_registered: dailynews.co.tz -in.ua: - _server: whois.in.ua - status_available: u34jedzcq.in.ua - status_registered: google.in.ua -ua: - _server: whois.ua - _subdir: ua - status_available: u34jedzcq.com.ua - status_registered: google.com.ua -ug: - _server: whois.co.ug - status_available: u34jedzcq.co.ug - status_registered: google.co.ug -ac.uk: - _server: whois.ja.net - _subdir: ac.uk - status_available: u34jedzcq.ac.uk - status_registered: lboro.ac.uk -bl.uk: - _adapter: none -british-library.uk: - _adapter: none - -uk: - _server: whois.nic.uk - status_available: u34jedzcq.co.uk - status_registered: google.co.uk - _status_available_skipdiff: - - 6 - _status_registered_skipdiff: - - 36 -us: - _server: whois.nic.us - status_available: u34jedzcq.us - status_registered: google.us - _status_available_skipdiff: - - 3 - _status_registered_skipdiff: - - 76 -com.uy: - _adapter: web -uy: - _server: whois.nic.org.uy - status_available: u34jedzcq.uy - status_registered: google.uy - property_updated_on_blank: gub.uy -uz: - _server: whois.cctld.uz - status_available: u34jedzcq.uz - status_registered: google.uz -va: - _adapter: none -vc: - _server: whois.afilias-grs.info - _subdir: vc - status_available: u34jedzcq.vc - status_registered: google.vc -ve: - _server: whois.nic.ve - status_available: u34jedzcq.ve - status_registered: ula.ve -vg: - _server: ccwhois.ksregistry.net - _subdir: vg - status_available: u34jedzcq.vg - status_registered: google.vg -vi: - _adapter: web -vn: - _adapter: web -vu: - _adapter: web -wf: - _server: whois.nic.fr - _subdir: wf - status_available: u34jedzcq.wf - status_registered: nic.wf -ws: - _server: whois.website.ws - status_available: u34jedzcq.ws - status_registered: google.ws -xxx: - _server: whois.nic.xxx - status_available: u34jedzcq.xxx - status_registered: masala.xxx -ye: - _adapter: none -yt: - _server: whois.nic.fr - _subdir: yt - status_available: u34jedzcq.yt - status_registered: nic.yt -ac.za: - _server: whois.ac.za - status_available: u34jedzcq.ac.za - status_registered: tenet.ac.za -co.za: - _server: whois.registry.net.za - status_available: u34jedzcq.co.za - status_registered: google.co.za -gov.za: - _server: whois.gov.za - status_available: u34jedzcq.gov.za - status_registered: dha.gov.za -org.za: - _server: org-whois.registry.net.za - status_available: u34jedzcq.org.za - status_registered: joburg.org.za -za: - _adapter: none -zm: - _adapter: none -zw: - _adapter: none - -# wed: -# _server: whois.nic.wed -# _subdir: wed -# status_available: u34jedzcq.wed -# status_registered: nic.wed - -bike: - _server: whois.donuts.co - _subdir: bike - status_available: u34jedzcq.bike - status_registered: whereismy.bike - -cab: - _server: whois.donuts.co - _subdir: cab - -camera: - _server: whois.donuts.co - _subdir: camera - -careers: - _server: whois.donuts.co - _subdir: careers - -clothing: - _server: whois.donuts.co - _subdir: clothing - -careers: - _server: whois.donuts.co - _subdir: careers - -construction: - _server: whois.donuts.co - _subdir: construction - -contractors: - _server: whois.donuts.co - _subdir: contractors - -diamonds: - _server: whois.donuts.co - _subdir: diamonds - -directory: - _server: whois.donuts.co - _subdir: directory - -domains: - _server: whois.donuts.co - _subdir: domains - -enterprises: - _server: whois.donuts.co - _subdir: enterprises - -equipment: - _server: whois.donuts.co - _subdir: equipment - -estate: - _server: whois.donuts.co - _subdir: estate - -gallery: - _server: whois.donuts.co - _subdir: gallery - -graphics: - _server: whois.donuts.co - _subdir: graphics - -guru: - _server: whois.donuts.co - _subdir: guru - -holdings: - _server: whois.donuts.co - _subdir: holdings - -kitchen: - _server: whois.donuts.co - _subdir: kitchen - -land: - _server: whois.donuts.co - _subdir: land - -lighting: - _server: whois.donuts.co - _subdir: lighting - -limo: - _server: whois.donuts.co - _subdir: limo - -photography: - _server: whois.donuts.co - _subdir: photography - -photos: - _server: whois.donuts.co - _subdir: photos - -plumbing: - _server: whois.donuts.co - _subdir: plumbing - -recipes: - _server: whois.donuts.co - _subdir: recipes - -sexy: - _server: whois.uniregistry.net - _subdir: sexy - -shoes: - _server: whois.donuts.co - _subdir: shoes - -singles: - _server: whois.donuts.co - _subdir: singles - -tattoo: - _server: whois.uniregistry.net - _subdir: tattoo - status_available: u34jedzcq.tattoo - status_reserved: cheap.tattoo - status_registered: nic.tattoo - -technology: - _server: whois.donuts.co - _subdir: technology - -tips: - _server: whois.donuts.co - _subdir: tips - -today: - _server: whois.donuts.co - _subdir: today - -ventures: - _server: whois.donuts.co - _subdir: ventures - -voyage: - _server: whois.donuts.co - _subdir: voyage - -// .شبكة -xn--ngbc5azd: - _server: whois.nic.xn--ngbc5azd - _subdir: xn--ngbc5azd - -// .みんな -xn--q9jyb4c: - _server: domain-registry-whois.l.google.com - _subdir: xn--q9jyb4c diff --git a/spec/whois/client_spec.rb b/spec/whois/client_spec.rb index f402fdbd6..aea9feee8 100644 --- a/spec/whois/client_spec.rb +++ b/spec/whois/client_spec.rb @@ -1,24 +1,25 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Client do - describe "#initialize" do it "accepts a zero parameters" do - expect { described_class.new }.to_not raise_error + expect { described_class.new }.not_to raise_error end it "accepts a settings parameter" do - expect { described_class.new({ :foo => "bar" }) }.to_not raise_error + expect { described_class.new({ foo: "bar" }) }.not_to raise_error end it "accepts a timeout setting with a value in seconds" do - client = described_class.new(:timeout => 100) + client = described_class.new(timeout: 100) expect(client.timeout).to eq(100) end it "accepts a timeout setting with a nil value" do - client = described_class.new(:timeout => nil) + client = described_class.new(timeout: nil) expect(client.timeout).to be_nil end @@ -35,8 +36,8 @@ end it "sets settings to given argument, except timeout" do - client = described_class.new(:timeout => nil, :foo => "bar") - expect(client.settings).to eq({ :foo => "bar" }) + client = described_class.new(timeout: nil, foo: "bar") + expect(client.settings).to eq({ foo: "bar" }) end end @@ -49,17 +50,17 @@ def to_s end end - server = Whois::Server::Adapters::Base.new(:tld, ".test", "whois.test") - server.expects(:lookup).with("example.test") - Whois::Server.expects(:guess).with("example.test").returns(server) + server = Whois::Server::Adapters::Base.new(:tld, "test", "whois.test") + expect(server).to receive(:lookup).with("example.test") + expect(Whois::Server).to receive(:guess).with("example.test").and_return(server) described_class.new.lookup(query) end it "converts the argument to downcase" do - server = Whois::Server::Adapters::Base.new(:tld, ".test", "whois.test") - server.expects(:lookup).with("example.test") - Whois::Server.expects(:guess).with("example.test").returns(server) + server = Whois::Server::Adapters::Base.new(:tld, "test", "whois.test") + expect(server).to receive(:lookup).with("example.test") + expect(Whois::Server).to receive(:guess).with("example.test").and_return(server) described_class.new.lookup("Example.TEST") end @@ -71,7 +72,7 @@ def to_s end it "works with domain with no whois" do - Whois::Server.define(:tld, ".nowhois", nil, :adapter => Whois::Server::Adapters::None) + Whois::Server.define(:tld, "nowhois", nil, adapter: Whois::Server::Adapters::None) expect { described_class.new.lookup("domain.nowhois") @@ -79,7 +80,7 @@ def to_s end it "works with domain with web whois" do - Whois::Server.define(:tld, ".webwhois", nil, :adapter => Whois::Server::Adapters::Web, :url => "http://www.example.com/") + Whois::Server.define(:tld, "webwhois", nil, adapter: Whois::Server::Adapters::Web, url: "http://www.example.com/") expect { described_class.new.lookup("domain.webwhois") @@ -92,9 +93,9 @@ def lookup(*) sleep(2) end end - Whois::Server.expects(:guess).returns(adapter.new(:tld, ".test", "whois.test")) + expect(Whois::Server).to receive(:guess).and_return(adapter.new(:tld, "test", "whois.test")) - client = described_class.new(:timeout => 1) + client = described_class.new(timeout: 1) expect { client.lookup("example.test") }.to raise_error(Timeout::Error) @@ -106,12 +107,12 @@ def lookup(*) sleep(1) end end - Whois::Server.expects(:guess).returns(adapter.new(:tld, ".test", "whois.test")) + expect(Whois::Server).to receive(:guess).and_return(adapter.new(:tld, "test", "whois.test")) - client = described_class.new(:timeout => 5) + client = described_class.new(timeout: 5) expect { client.lookup("example.test") - }.to_not raise_error + }.not_to raise_error end it "supports unlimited timeout" do @@ -120,14 +121,13 @@ def lookup(*) sleep(1) end end - Whois::Server.expects(:guess).returns(adapter.new(:tld, ".test", "whois.test")) + expect(Whois::Server).to receive(:guess).and_return(adapter.new(:tld, "test", "whois.test")) client = described_class.new.tap { |c| c.timeout = nil } expect { client.lookup("example.test") - }.to_not raise_error + }.not_to raise_error end - end # FIXME: use RSpec metadata @@ -140,5 +140,4 @@ def lookup(*) end end end - end diff --git a/spec/whois/record/contact_spec.rb b/spec/whois/record/contact_spec.rb deleted file mode 100644 index 43be8485f..000000000 --- a/spec/whois/record/contact_spec.rb +++ /dev/null @@ -1,51 +0,0 @@ -require 'spec_helper' -require 'whois/record/contact' - - -describe Whois::Record::Contact do - - it "inherits from SuperStruct" do - expect(described_class.ancestors).to include(SuperStruct) - end - - - describe "#initialize" do - it "accepts an empty value" do - expect { - instance = described_class.new - expect(instance.id).to be_nil - }.to_not raise_error - end - - it "accepts an empty hash" do - expect { - instance = described_class.new({}) - expect(instance.id).to be_nil - }.to_not raise_error - end - - it "initializes a new instance from given hash" do - instance = described_class.new(:id => 10, :name => "John Doe", :type => described_class::TYPE_REGISTRANT) - - expect(instance.id).to eq(10) - expect(instance.type).to eq(described_class::TYPE_REGISTRANT) - expect(instance.name).to eq("John Doe") - expect(instance.organization).to be_nil - end - - it "initializes a new instance from given block" do - inspect = described_class.new do |c| - c.id = 10 - c.type = described_class::TYPE_REGISTRANT - c.name = "John Doe" - end - - expect(inspect.id).to eq(10) - expect(inspect.type).to eq(described_class::TYPE_REGISTRANT) - expect(inspect.name).to eq("John Doe") - expect(inspect.organization).to be_nil - end - end - -end - diff --git a/spec/whois/record/nameserver_spec.rb b/spec/whois/record/nameserver_spec.rb deleted file mode 100644 index a5c4e71aa..000000000 --- a/spec/whois/record/nameserver_spec.rb +++ /dev/null @@ -1,55 +0,0 @@ -require 'spec_helper' -require 'whois/record/nameserver' - - -describe Whois::Record::Nameserver do - - it "inherits from SuperStruct" do - expect(described_class.ancestors).to include(SuperStruct) - end - - - describe "#initialize" do - it "accepts an empty value" do - expect { - instance = described_class.new - expect(instance.name).to be_nil - }.to_not raise_error - end - - it "accepts an empty hash" do - expect { - instance = described_class.new({}) - expect(instance.name).to be_nil - }.to_not raise_error - end - - it "initializes a new instance from given hash" do - instance = described_class.new(:name => "ns1.example.com", :ipv4 => "127.0.0.1") - - expect(instance.name).to eq("ns1.example.com") - expect(instance.ipv4).to eq("127.0.0.1") - expect(instance.ipv6).to be_nil - end - - it "initializes a new instance from given block" do - instance = described_class.new do |c| - c.name = "ns1.example.com" - c.ipv4 = "127.0.0.1" - end - - expect(instance.name).to eq("ns1.example.com") - expect(instance.ipv4).to eq("127.0.0.1") - expect(instance.ipv6).to be_nil - end - end - - describe "#to_s" do - it "returns the string representation of this object" do - expect(described_class.new(name: "ns1.example.com").to_s).to eq("ns1.example.com") - expect(described_class.new(name: nil).to_s).to eq("") - expect(described_class.new.to_s).to eq("") - end - end - -end diff --git a/spec/whois/record/parser/base_spec.rb b/spec/whois/record/parser/base_spec.rb deleted file mode 100644 index 7c3ba316d..000000000 --- a/spec/whois/record/parser/base_spec.rb +++ /dev/null @@ -1,244 +0,0 @@ -require 'spec_helper' -require 'whois/record/parser/base' - - -describe Whois::Record::Parser::Base do - - let(:part) { - Whois::Record::Part.new(body: "This is the response.", host: "whois.example.test") - } - - - describe ".property_register" do - it "register given property" do - koncrete = Class.new(described_class) - koncrete.property_register(:greetings, Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) - - expect(koncrete._properties[:greetings]).to eq(Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) - end - end - - describe "#property_supported?" do - it "returns false if the property is not supported" do - koncrete = Class.new(described_class) do - end - expect(koncrete.new(part).property_supported?(:disclaimer)).to be_falsey - expect(koncrete.new(part).respond_to?(:disclaimer)).to be_truthy - end - - it "returns true if the property is supported" do - koncrete = Class.new(described_class) do - property_register(:disclaimer, Whois::Record::Parser::PROPERTY_STATE_SUPPORTED) {} - end - expect(koncrete.new(part).property_supported?(:disclaimer)).to be_truthy - expect(koncrete.new(part).respond_to?(:disclaimer)).to be_truthy - end - end - - - describe "#initialize" do - it "requires a part" do - expect { described_class.new }.to raise_error(ArgumentError) - expect { described_class.new(part) }.to_not raise_error - end - - it "sets the part" do - expect(described_class.new(part).part).to be(part) - end - end - - describe "#content" do - it "returns the part body" do - instance = described_class.new(part) - expect(instance.content).to be(part.body) - end - end - - describe "#content_for_scanner" do - it "returns the part body with line feed normalized" do - instance = described_class.new(Whois::Record::Part.new(:body => "This is\r\nthe response.", :host => "whois.example.test")) - expect(instance.send(:content_for_scanner)).to eq("This is\nthe response.") - end - - it "caches the result" do - instance = described_class.new(Whois::Record::Part.new(:body => "This is\r\nthe response.", :host => "whois.example.test")) - expect(instance.instance_eval { @content_for_scanner }).to be_nil - instance.send(:content_for_scanner) - expect(instance.instance_eval { @content_for_scanner }).to eq("This is\nthe response.") - end - end - - describe "#is" do - it "calls the method if the object respond to the method" do - koncrete = Class.new(described_class) { def response_throttled?; true; end }.new(Whois::Record::Part.new) - koncrete.is(:response_throttled?) - end - it "does not call the method if the object does not respond to the method" do - koncrete = Class.new(described_class).new(Whois::Record::Part.new) - expect(koncrete.is(:response_throttled?)).to be_falsey - end - end - - describe "#validate!" do - it "raises Whois::ResponseIsThrottled when the response is throttled" do - koncrete = Class.new(described_class) { def response_throttled?; true; end }.new(Whois::Record::Part.new) - expect { koncrete.validate! }.to raise_error(Whois::ResponseIsThrottled) - - koncrete = Class.new(described_class) { def response_throttled?; false; end }.new(Whois::Record::Part.new) - expect { koncrete.validate! }.to_not raise_error - end - - it "raises Whois::ResponseIsUnavailable when the response is unavailable" do - koncrete = Class.new(described_class) { def response_unavailable?; true; end }.new(Whois::Record::Part.new) - expect { koncrete.validate! }.to raise_error(Whois::ResponseIsUnavailable) - - koncrete = Class.new(described_class) { def response_unavailable?; false; end }.new(Whois::Record::Part.new) - expect { koncrete.validate! }.to_not raise_error - end - end - - - describe "#changed?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(part).changed?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(part).changed?(described_class.new(part)) - }.to_not raise_error - end - end - - describe "#unchanged?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(part).unchanged?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(part).unchanged?(described_class.new(part)) - }.to_not raise_error - end - - it "returns true if self and other references the same object" do - instance = described_class.new(part) - expect(instance.unchanged?(instance)).to be_truthy - end - - it "returns true if the content_for_scanner is the same" do - instance = described_class.new(Whois::Record::Part.new(:body => "This is the\nresponse 1.", :host => "whois.example.test")) - other = described_class.new(Whois::Record::Part.new(:body => "This is the\r\nresponse 1.", :host => "whois.example.test")) - expect(instance.unchanged?(other)).to be_truthy - end - - it "returns false if the content_for_scanner is not the same" do - instance = described_class.new(Whois::Record::Part.new(:body => "This is the response 1.", :host => "whois.example.test")) - other = described_class.new(Whois::Record::Part.new(:body => "This is the response 2.", :host => "whois.example.test")) - expect(instance.unchanged?(other)).to be_falsey - end - end - - describe "#contacts" do - it "returns an array of contacts" do - c1 = Whois::Record::Contact.new(:id => "1st", :name => "foo") - c2 = Whois::Record::Contact.new(:id => "2nd", :name => "foo") - c3 = Whois::Record::Contact.new(:id => "3rd", :name => "foo") - instance = Class.new(described_class) do - property_supported(:registrant_contacts) { [c1, c2] } - property_supported(:admin_contacts) { [] } - property_supported(:technical_contacts) { [c3] } - end.new(part) - - expect(instance.contacts).to eq([c1, c2, c3]) - end - - it "returns an empty array when no contact is supported" do - instance = described_class.new(part) - expect(instance.contacts).to eq([]) - end - end - - - describe "#response_incomplete?" do - it "is undefined" do - expect(described_class.new(part).respond_to?(:response_incomplete?)).to be_falsey - end - - # it "returns nil" do - # i = described_class.new(part) - # expect(i.response_incomplete?).to be_nil - # end - # - # it "is false" do - # i = described_class.new(part) - # expect(i.response_incomplete?).to be_falsey - # end - end - - describe "#response_throttled?" do - it "is undefined" do - expect(described_class.new(part).respond_to?(:response_throttled?)).to be_falsey - end - - # it "returns nil" do - # i = described_class.new(part) - # expect(i.response_throttled?).to be_nil - # end - # - # it "is false" do - # i = described_class.new(part) - # expect(i.response_throttled?).to be_falsey - # end - end - - describe "#response_unavailable?" do - it "is undefined" do - expect(described_class.new(part).respond_to?(:response_unavailable?)).to be_falsey - end - - # it "returns nil" do - # i = described_class.new(part) - # expect(i.response_unavailable?).to be_nil - # end - # - # it "is false" do - # i = described_class.new(part) - # expect(i.response_unavailable?).to be_falsey - # end - end - -end - -describe Whois::Record::Parser::Base, "Parser Behavior" do - - Klass = Class.new(Whois::Record::Parser::Base) do - property_supported(:domain) { "example.com" } - property_not_supported(:domain_id) - - def response_throttled? - part.host == "throttled.whois.test" - end - end - - context "property supported" do - it "raises Whois::ResponseIsThrottled when the response is throttled" do - i = Klass.new(Whois::Record::Part.new(:body => "", :host => "throttled.whois.test")) - expect { i.domain }.to raise_error(Whois::ResponseIsThrottled) - - i = Klass.new(Whois::Record::Part.new(:body => "", :host => "success.whois.test")) - expect { i.domain }.to_not raise_error - end - end - - context "property not supported" do - it "raises Whois::ResponseIsThrottled when the response is throttled" do - i = Klass.new(Whois::Record::Part.new(:body => "", :host => "throttled.whois.test")) - expect { i.domain_id }.to raise_error(Whois::AttributeNotSupported) - - i = Klass.new(Whois::Record::Part.new(:body => "", :host => "success.whois.test")) - expect { i.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - -end diff --git a/spec/whois/record/parser/blank_spec.rb b/spec/whois/record/parser/blank_spec.rb deleted file mode 100644 index 308fca009..000000000 --- a/spec/whois/record/parser/blank_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'spec_helper' -require 'whois/record/parser/blank' - -describe Whois::Record::Parser::Blank do - - let(:part) { - Whois::Record::Part.new(body: "This is the response.", host: "whois.example.test") - } - - Whois::Record::Parser::PROPERTIES.each do |method| - describe "##{method}" do - it "raises Whois::ParserNotFound" do - expect { - described_class.new(part).send(method) - }.to raise_error(Whois::ParserNotFound, /whois.example.test/) - end - end - end - -end diff --git a/spec/whois/record/parser/responses/.gitkeep b/spec/whois/record/parser/responses/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_available_spec.rb b/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_available_spec.rb deleted file mode 100644 index 85d07ebf5..000000000 --- a/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/capetown-whois.registry.net.za.rb' - -describe Whois::Record::Parser::CapetownWhoisRegistryNetZa, "status_available.expected" do - - subject do - file = fixture("responses", "capetown-whois.registry.net.za/capetown/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_registered_spec.rb b/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_registered_spec.rb deleted file mode 100644 index b75d6ba1b..000000000 --- a/spec/whois/record/parser/responses/capetown-whois.registry.net.za/capetown/status_registered_spec.rb +++ /dev/null @@ -1,153 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/capetown-whois.registry.net.za/capetown/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/capetown-whois.registry.net.za.rb' - -describe Whois::Record::Parser::CapetownWhoisRegistryNetZa, "status_registered.expected" do - - subject do - file = fixture("responses", "capetown-whois.registry.net.za/capetown/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("registry.capetown") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("dom_3K3-9999") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2015-04-01 07:41:59 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-05-30 09:21:00 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-04-01 07:41:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("1466") - expect(subject.registrar.name).to eq("Lexsynergy") - expect(subject.registrar.organization).to eq("Lexsynergy") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("LEX-7IC-235J") - expect(subject.registrant_contacts[0].name).to eq("Lucky Mokgabudi Masilela") - expect(subject.registrant_contacts[0].organization).to eq("ZA Central Registry") - expect(subject.registrant_contacts[0].address).to eq("COZA House, Gazelle Close Corporate Park South") - expect(subject.registrant_contacts[0].city).to eq("Midrand") - expect(subject.registrant_contacts[0].zip).to eq("1685") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ZA") - expect(subject.registrant_contacts[0].phone).to eq("+27.113140077") - expect(subject.registrant_contacts[0].fax).to eq("+27.113140088") - expect(subject.registrant_contacts[0].email).to eq("legal@co.za") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("LEX-7IC-235J") - expect(subject.admin_contacts[0].name).to eq("Lucky Mokgabudi Masilela") - expect(subject.admin_contacts[0].organization).to eq("ZA Central Registry") - expect(subject.admin_contacts[0].address).to eq("COZA House, Gazelle Close Corporate Park South") - expect(subject.admin_contacts[0].city).to eq("Midrand") - expect(subject.admin_contacts[0].zip).to eq("1685") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ZA") - expect(subject.admin_contacts[0].phone).to eq("+27.113140077") - expect(subject.admin_contacts[0].fax).to eq("+27.113140088") - expect(subject.admin_contacts[0].email).to eq("legal@co.za") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("LEX-7IC-235J") - expect(subject.technical_contacts[0].name).to eq("Lucky Mokgabudi Masilela") - expect(subject.technical_contacts[0].organization).to eq("ZA Central Registry") - expect(subject.technical_contacts[0].address).to eq("COZA House, Gazelle Close Corporate Park South") - expect(subject.technical_contacts[0].city).to eq("Midrand") - expect(subject.technical_contacts[0].zip).to eq("1685") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("ZA") - expect(subject.technical_contacts[0].phone).to eq("+27.113140077") - expect(subject.technical_contacts[0].fax).to eq("+27.113140088") - expect(subject.technical_contacts[0].email).to eq("legal@co.za") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.capetown") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.dnservices.co.za") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_available_spec.rb b/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_available_spec.rb deleted file mode 100644 index 02794a7e2..000000000 --- a/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/ccwhois.ksregistry.net.rb' - -describe Whois::Record::Parser::CcwhoisKsregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "ccwhois.ksregistry.net/vg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_registered_spec.rb b/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_registered_spec.rb deleted file mode 100644 index 07349cda1..000000000 --- a/spec/whois/record/parser/responses/ccwhois.ksregistry.net/vg/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/ccwhois.ksregistry.net/vg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/ccwhois.ksregistry.net.rb' - -describe Whois::Record::Parser::CcwhoisKsregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "ccwhois.ksregistry.net/vg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("The data in the WHOIS database of KSregistry GmbH is provided by KSregistry GmbH for information purposes, and to assist persons in obtaining information about or related to domain name registration records. KSregistry GmbH does not guarantee its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via E-mail (spam); or 2) enable high volume, automated, electronic processes that apply to KSregistry GmbH or its systems. KSregistry GmbH reserves the right to modify these terms. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.vg") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-05 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-03-01 00:02:14")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-06-05 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("P-GFI26") - expect(subject.registrant_contacts[0].name).to eq("Google, Inc.") - expect(subject.registrant_contacts[0].organization).to eq("Google, Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6503300100") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506181499") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("P-GFI26") - expect(subject.admin_contacts[0].name).to eq("Google, Inc.") - expect(subject.admin_contacts[0].organization).to eq("Google, Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6503300100") - expect(subject.admin_contacts[0].fax).to eq("+1.6506181499") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("P-GFI26") - expect(subject.technical_contacts[0].name).to eq("Google, Inc.") - expect(subject.technical_contacts[0].organization).to eq("Google, Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6503300100") - expect(subject.technical_contacts[0].fax).to eq("+1.6506181499") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver_spec.rb b/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver_spec.rb deleted file mode 100644 index 1cab8815a..000000000 --- a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/ccwhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::CcwhoisVerisignGrsCom, "property_nameserver_no_nameserver.expected" do - - subject do - file = fixture("responses", "ccwhois.verisign-grs.com/cc/property_nameserver_no_nameserver.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_available_spec.rb b/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_available_spec.rb deleted file mode 100644 index abfd07247..000000000 --- a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/ccwhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::CcwhoisVerisignGrsCom, "status_available.expected" do - - subject do - file = fixture("responses", "ccwhois.verisign-grs.com/cc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.cc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(nil) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_registered_spec.rb b/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_registered_spec.rb deleted file mode 100644 index 055a315f9..000000000 --- a/spec/whois/record/parser/responses/ccwhois.verisign-grs.com/cc/status_registered_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/ccwhois.verisign-grs.com/cc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/ccwhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::CcwhoisVerisignGrsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "ccwhois.verisign-grs.com/cc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.cc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("86420657") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-07 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-05-06 05:17:44 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-07 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MARKMONITOR INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq("whois.markmonitor.com") - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq("http://www.markmonitor.com") - end - end -end diff --git a/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_available_spec.rb b/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_available_spec.rb deleted file mode 100644 index 1844f3484..000000000 --- a/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/durban-whois.registry.net.za/durban/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/durban-whois.registry.net.za.rb' - -describe Whois::Record::Parser::DurbanWhoisRegistryNetZa, "status_available.expected" do - - subject do - file = fixture("responses", "durban-whois.registry.net.za/durban/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_registered_spec.rb b/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_registered_spec.rb deleted file mode 100644 index 3498cfddf..000000000 --- a/spec/whois/record/parser/responses/durban-whois.registry.net.za/durban/status_registered_spec.rb +++ /dev/null @@ -1,156 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/durban-whois.registry.net.za/durban/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/durban-whois.registry.net.za.rb' - -describe Whois::Record::Parser::DurbanWhoisRegistryNetZa, "status_registered.expected" do - - subject do - file = fixture("responses", "durban-whois.registry.net.za/durban/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("wordpress.durban") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("dom_7G-9999") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-11-04T06:00:01Z")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-11-11T06:00:03Z")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-11-04T06:00:01Z")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq("MarkMonitor") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-132163") - expect(subject.registrant_contacts[0].name).to eq("DNStination Inc.") - expect(subject.registrant_contacts[0].organization).to eq("") - expect(subject.registrant_contacts[0].address).to eq("425 Market St 5th Floor") - expect(subject.registrant_contacts[0].city).to eq("San Francisco") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].zip).to eq("94105") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.4155319335") - expect(subject.registrant_contacts[0].fax).to eq("+1.4155319336") - expect(subject.registrant_contacts[0].email).to eq("admin@dnstinations.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-132163") - expect(subject.admin_contacts[0].name).to eq("DNStination Inc.") - expect(subject.admin_contacts[0].organization).to eq("") - expect(subject.admin_contacts[0].address).to eq("425 Market St 5th Floor") - expect(subject.admin_contacts[0].city).to eq("San Francisco") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].zip).to eq("94105") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.4155319335") - expect(subject.admin_contacts[0].fax).to eq("+1.4155319336") - expect(subject.admin_contacts[0].email).to eq("admin@dnstinations.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-132163") - expect(subject.technical_contacts[0].name).to eq("DNStination Inc.") - expect(subject.technical_contacts[0].organization).to eq("") - expect(subject.technical_contacts[0].address).to eq("425 Market St 5th Floor") - expect(subject.technical_contacts[0].city).to eq("San Francisco") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].zip).to eq("94105") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.4155319335") - expect(subject.technical_contacts[0].fax).to eq("+1.4155319336") - expect(subject.technical_contacts[0].email).to eq("admin@dnstinations.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.markmonitor.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.markmonitor.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver_spec.rb b/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver_spec.rb deleted file mode 100644 index 93efcf6a5..000000000 --- a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/jobswhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::JobswhoisVerisignGrsCom, "property_nameserver_no_nameserver.expected" do - - subject do - file = fixture("responses", "jobswhois.verisign-grs.com/jobs/property_nameserver_no_nameserver.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_available_spec.rb b/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_available_spec.rb deleted file mode 100644 index ed5eceb40..000000000 --- a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/jobswhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::JobswhoisVerisignGrsCom, "status_available.expected" do - - subject do - file = fixture("responses", "jobswhois.verisign-grs.com/jobs/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.jobs") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(nil) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_registered_spec.rb b/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_registered_spec.rb deleted file mode 100644 index 776e858e4..000000000 --- a/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/jobs/status_registered_spec.rb +++ /dev/null @@ -1,105 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/jobswhois.verisign-grs.com/jobs/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/jobswhois.verisign-grs.com.rb' - -describe Whois::Record::Parser::JobswhoisVerisignGrsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "jobswhois.verisign-grs.com/jobs/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.jobs") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("86932313") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-09-15 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-14 05:20:33 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-15 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MARKMONITOR INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq("whois.markmonitor.com") - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq("http://www.markmonitor.com") - end - end -end diff --git a/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_available_spec.rb b/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_available_spec.rb deleted file mode 100644 index 4e1399825..000000000 --- a/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/joburg-whois.registry.net.za.rb' - -describe Whois::Record::Parser::JoburgWhoisRegistryNetZa, "status_available.expected" do - - subject do - file = fixture("responses", "joburg-whois.registry.net.za/joburg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_registered_spec.rb b/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_registered_spec.rb deleted file mode 100644 index 69a9b56e8..000000000 --- a/spec/whois/record/parser/responses/joburg-whois.registry.net.za/joburg/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/joburg-whois.registry.net.za/joburg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/joburg-whois.registry.net.za.rb' - -describe Whois::Record::Parser::JoburgWhoisRegistryNetZa, "status_registered.expected" do - - subject do - file = fixture("responses", "joburg-whois.registry.net.za/joburg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("usedautos.joburg") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("dom_7P-9999") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-11-03 22:00:08 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-11-10 07:08:28 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-11-03 22:00:08 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("1466") - expect(subject.registrar.name).to eq("Lexsynergy") - expect(subject.registrar.organization).to eq("Lexsynergy") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("LEX-5FP-22YL") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("The Car Trader (Pty) Ltd") - expect(subject.registrant_contacts[0].address).to eq("154 Bram Fischer Drive Randburg") - expect(subject.registrant_contacts[0].city).to eq("Johannesburg") - expect(subject.registrant_contacts[0].zip).to eq("2194") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ZA") - expect(subject.registrant_contacts[0].phone).to eq("+27.116860900") - expect(subject.registrant_contacts[0].fax).to eq("+27.117896449") - expect(subject.registrant_contacts[0].email).to eq("domains@autotrader.co.za") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("LEX-5FP-22YL") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("The Car Trader (Pty) Ltd") - expect(subject.admin_contacts[0].address).to eq("154 Bram Fischer Drive Randburg") - expect(subject.admin_contacts[0].city).to eq("Johannesburg") - expect(subject.admin_contacts[0].zip).to eq("2194") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ZA") - expect(subject.admin_contacts[0].phone).to eq("+27.116860900") - expect(subject.admin_contacts[0].fax).to eq("+27.117896449") - expect(subject.admin_contacts[0].email).to eq("domains@autotrader.co.za") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("LEX-5FP-22YL") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("The Car Trader (Pty) Ltd") - expect(subject.technical_contacts[0].address).to eq("154 Bram Fischer Drive Randburg") - expect(subject.technical_contacts[0].city).to eq("Johannesburg") - expect(subject.technical_contacts[0].zip).to eq("2194") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("ZA") - expect(subject.technical_contacts[0].phone).to eq("+27.116860900") - expect(subject.technical_contacts[0].fax).to eq("+27.117896449") - expect(subject.technical_contacts[0].email).to eq("domains@autotrader.co.za") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.lexsynergy.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.lexsynergy.us") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.lexsynergy.info") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/kero.yachay.pe/pe/response_throttled_spec.rb b/spec/whois/record/parser/responses/kero.yachay.pe/pe/response_throttled_spec.rb deleted file mode 100644 index c7865602f..000000000 --- a/spec/whois/record/parser/responses/kero.yachay.pe/pe/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/kero.yachay.pe/pe/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/kero.yachay.pe.rb' - -describe Whois::Record::Parser::KeroYachayPe, "response_throttled.expected" do - - subject do - file = fixture("responses", "kero.yachay.pe/pe/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_available_spec.rb b/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_available_spec.rb deleted file mode 100644 index 8b6f3116e..000000000 --- a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_available_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/kero.yachay.pe/pe/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/kero.yachay.pe.rb' - -describe Whois::Record::Parser::KeroYachayPe, "status_available.expected" do - - subject do - file = fixture("responses", "kero.yachay.pe/pe/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_inactive_spec.rb b/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_inactive_spec.rb deleted file mode 100644 index ca665fb0f..000000000 --- a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_inactive_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/kero.yachay.pe/pe/status_inactive.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/kero.yachay.pe.rb' - -describe Whois::Record::Parser::KeroYachayPe, "status_inactive.expected" do - - subject do - file = fixture("responses", "kero.yachay.pe/pe/status_inactive.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(0) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_registered_spec.rb b/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_registered_spec.rb deleted file mode 100644 index 7b71dcff3..000000000 --- a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_registered_spec.rb +++ /dev/null @@ -1,73 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/kero.yachay.pe/pe/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/kero.yachay.pe.rb' - -describe Whois::Record::Parser::KeroYachayPe, "status_registered.expected" do - - subject do - file = fixture("responses", "kero.yachay.pe/pe/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_suspended_spec.rb b/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_suspended_spec.rb deleted file mode 100644 index 745d11050..000000000 --- a/spec/whois/record/parser/responses/kero.yachay.pe/pe/status_suspended_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/kero.yachay.pe/pe/status_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/kero.yachay.pe.rb' - -describe Whois::Record::Parser::KeroYachayPe, "status_suspended.expected" do - - subject do - file = fixture("responses", "kero.yachay.pe/pe/status_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_available_spec.rb b/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_available_spec.rb deleted file mode 100644 index 964fe7f64..000000000 --- a/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/org-whois.registry.net.za/org.za/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/org-whois.registry.net.za.rb' - -describe Whois::Record::Parser::OrgWhoisRegistryNetZa, "status_available.expected" do - - subject do - file = fixture("responses", "org-whois.registry.net.za/org.za/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_registered_spec.rb b/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_registered_spec.rb deleted file mode 100644 index f21627e34..000000000 --- a/spec/whois/record/parser/responses/org-whois.registry.net.za/org.za/status_registered_spec.rb +++ /dev/null @@ -1,158 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/org-whois.registry.net.za/org.za/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/org-whois.registry.net.za.rb' - -describe Whois::Record::Parser::OrgWhoisRegistryNetZa, "status_registered.expected" do - - subject do - file = fixture("responses", "org-whois.registry.net.za/org.za/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("joburg.org.za") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("dom_8VP-9999") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-10-03 09:46:34 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-02-05 08:45:51 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2999-12-31 21:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9999") - expect(subject.registrar.name).to eq("ZA Central Registry") - expect(subject.registrar.organization).to eq("ZA Central Registry") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("jobuRant") - expect(subject.registrant_contacts[0].name).to eq("City of Johannesburg Metropolitan Municipality") - expect(subject.registrant_contacts[0].organization).to eq("") - expect(subject.registrant_contacts[0].address).to eq("P.O. Box 30757") - expect(subject.registrant_contacts[0].city).to eq("Braamfontein") - expect(subject.registrant_contacts[0].state).to eq("Gauteng") - expect(subject.registrant_contacts[0].zip).to eq("2017") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ZA") - expect(subject.registrant_contacts[0].phone).to eq("+27.110186314") - expect(subject.registrant_contacts[0].fax).to eq("+27.113819583") - expect(subject.registrant_contacts[0].email).to eq("joelsonp@joburg.org.za") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("zacr-a0c0379446") - expect(subject.admin_contacts[0].name).to eq("Joelson Pholoha") - expect(subject.admin_contacts[0].organization).to eq("") - expect(subject.admin_contacts[0].address).to eq("Private Bag X10013, Sandton, 2146") - expect(subject.admin_contacts[0].city).to eq("-") - expect(subject.admin_contacts[0].zip).to eq("") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("--") - expect(subject.admin_contacts[0].phone).to eq("+27.110186314") - expect(subject.admin_contacts[0].fax).to eq("+27.113819583") - expect(subject.admin_contacts[0].email).to eq("Joelsonp@Joburg.org.za") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("zacr-71fff5bce2") - expect(subject.technical_contacts[0].name).to eq("Eben Jacobs") - expect(subject.technical_contacts[0].organization).to eq("") - expect(subject.technical_contacts[0].address).to eq("Accounts Payable, Vida Building, Kabelweg 57, 1014 BA Amsterdam") - expect(subject.technical_contacts[0].city).to eq("-") - expect(subject.technical_contacts[0].zip).to eq("") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("--") - expect(subject.technical_contacts[0].phone).to eq("+27.110186314") - expect(subject.technical_contacts[0].fax).to eq("+27.113819583") - expect(subject.technical_contacts[0].email).to eq("ebenj@joburg.org.za") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("demeter.is.co.za") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("jupiter.is.co.za") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("titan.is.co.za") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.1und1.info/status_available_spec.rb b/spec/whois/record/parser/responses/whois.1und1.info/status_available_spec.rb deleted file mode 100644 index e677ca906..000000000 --- a/spec/whois/record/parser/responses/whois.1und1.info/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.1und1.info/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.1und1.info.rb' - -describe Whois::Record::Parser::Whois1und1Info, "status_available.expected" do - - subject do - file = fixture("responses", "whois.1und1.info/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.1und1.info/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.1und1.info/status_registered_spec.rb deleted file mode 100644 index 808a735a9..000000000 --- a/spec/whois/record/parser/responses/whois.1und1.info/status_registered_spec.rb +++ /dev/null @@ -1,147 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.1und1.info/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.1und1.info.rb' - -describe Whois::Record::Parser::Whois1und1Info, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.1und1.info/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("1und1.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1998-08-12 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-11 00:00:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-11 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("83") - expect(subject.registrar.name).to eq("1&1 Internet AG") - expect(subject.registrar.organization).to eq("1&1 Internet AG") - expect(subject.registrar.url).to eq("http://1and1.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Andreas Gauger") - expect(subject.registrant_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.registrant_contacts[0].address).to eq("Elgendorfer Strasse 57") - expect(subject.registrant_contacts[0].city).to eq("Montabaur") - expect(subject.registrant_contacts[0].zip).to eq("56410") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.2602960") - expect(subject.registrant_contacts[0].fax).to eq("+49.72191374215") - expect(subject.registrant_contacts[0].email).to eq("hostmaster@1und1.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Andreas Gauger") - expect(subject.admin_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.admin_contacts[0].address).to eq("Elgendorfer Strasse 57") - expect(subject.admin_contacts[0].city).to eq("Montabaur") - expect(subject.admin_contacts[0].zip).to eq("56410") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.2602960") - expect(subject.admin_contacts[0].fax).to eq("+49.72191374215") - expect(subject.admin_contacts[0].email).to eq("hostmaster@1und1.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Andreas Gauger") - expect(subject.technical_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.technical_contacts[0].address).to eq("Elgendorfer Strasse 57") - expect(subject.technical_contacts[0].city).to eq("Montabaur") - expect(subject.technical_contacts[0].zip).to eq("56410") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.2602960") - expect(subject.technical_contacts[0].fax).to eq("+49.72191374215") - expect(subject.technical_contacts[0].email).to eq("hostmaster@1und1.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns-1and1.ui-dns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-1and1.ui-dns.org") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns-1and1.ui-dns.de") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns-1and1.ui-dns.biz") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.35.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.35.com/status_registered_spec.rb deleted file mode 100644 index 9bdf8a0ec..000000000 --- a/spec/whois/record/parser/responses/whois.35.com/status_registered_spec.rb +++ /dev/null @@ -1,140 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.35.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.35.com.rb' - -describe Whois::Record::Parser::Whois35Com, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.35.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-09-10")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-08-21 23:48:59")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-09-10")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("1316") - expect(subject.registrar.name).to eq("35 Technology Co., Ltd.") - expect(subject.registrar.organization).to eq("35 Technology Co., Ltd.") - expect(subject.registrar.url).to eq("http://www.35.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("baolei") - expect(subject.registrant_contacts[0].organization).to eq("jiaxing zhongwang ad co.,ltd.") - expect(subject.registrant_contacts[0].address).to eq("126# jiyang rd.") - expect(subject.registrant_contacts[0].city).to eq("jiaxing") - expect(subject.registrant_contacts[0].zip).to eq("314000") - expect(subject.registrant_contacts[0].state).to eq("zhejiang") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("CN") - expect(subject.registrant_contacts[0].phone).to eq("+86.57382033533") - expect(subject.registrant_contacts[0].fax).to eq("+86.57382033533") - expect(subject.registrant_contacts[0].email).to eq("aaa@zjcf.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("baolei") - expect(subject.admin_contacts[0].organization).to eq("jiaxing zhongwang ad co.,ltd.") - expect(subject.admin_contacts[0].address).to eq("126# jiyang rd.") - expect(subject.admin_contacts[0].city).to eq("jiaxing") - expect(subject.admin_contacts[0].zip).to eq("314000") - expect(subject.admin_contacts[0].state).to eq("zhejiang") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("CN") - expect(subject.admin_contacts[0].phone).to eq("+86.57382033533") - expect(subject.admin_contacts[0].fax).to eq("+86.57382033533") - expect(subject.admin_contacts[0].email).to eq("aaa@zjcf.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("baolei") - expect(subject.technical_contacts[0].organization).to eq("jiaxing zhongwang ad co.,ltd.") - expect(subject.technical_contacts[0].address).to eq("126# jiyang rd.") - expect(subject.technical_contacts[0].city).to eq("jiaxing") - expect(subject.technical_contacts[0].zip).to eq("314000") - expect(subject.technical_contacts[0].state).to eq("zhejiang") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("CN") - expect(subject.technical_contacts[0].phone).to eq("+86.57382033533") - expect(subject.technical_contacts[0].fax).to eq("+86.57382033533") - expect(subject.technical_contacts[0].email).to eq("aaa@zjcf.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.dns-diy.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.dns-diy.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_available_spec.rb b/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_available_spec.rb deleted file mode 100644 index 406c10fb3..000000000 --- a/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.aeda.net.ae/ae/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.aeda.net.ae.rb' - -describe Whois::Record::Parser::WhoisAedaNetAe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.aeda.net.ae/ae/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_registered_spec.rb deleted file mode 100644 index aa461d934..000000000 --- a/spec/whois/record/parser/responses/whois.aeda.net.ae/ae/status_registered_spec.rb +++ /dev/null @@ -1,64 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.aeda.net.ae/ae/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.aeda.net.ae.rb' - -describe Whois::Record::Parser::WhoisAedaNetAe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.aeda.net.ae/ae/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.aero/status_available_spec.rb b/spec/whois/record/parser/responses/whois.aero/status_available_spec.rb deleted file mode 100644 index abd790383..000000000 --- a/spec/whois/record/parser/responses/whois.aero/status_available_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.aero/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.aero.rb' - -describe Whois::Record::Parser::WhoisAero, "status_available.expected" do - - subject do - file = fixture("responses", "whois.aero/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.aero/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.aero/status_registered_spec.rb deleted file mode 100644 index 06e91e4cc..000000000 --- a/spec/whois/record/parser/responses/whois.aero/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.aero/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.aero.rb' - -describe Whois::Record::Parser::WhoisAero, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.aero/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to .AERO WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("srilankan.aero") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D246-AERO") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-03-26 06:48:27 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-09 06:35:03 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-26 06:48:27 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("380") - expect(subject.registrar.name).to eq("Tuonome IT") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("C4526901-AERO") - expect(subject.registrant_contacts[0].name).to eq("Domain Name Administrator") - expect(subject.registrant_contacts[0].organization).to eq("SriLankan Airlines Ltd") - expect(subject.registrant_contacts[0].address).to eq("Admin Bldg") - expect(subject.registrant_contacts[0].city).to eq("Katunayaka") - expect(subject.registrant_contacts[0].zip).to eq("11450") - expect(subject.registrant_contacts[0].state).to eq("WP") - expect(subject.registrant_contacts[0].country_code).to eq("LK") - expect(subject.registrant_contacts[0].phone).to eq("+94.197331600") - expect(subject.registrant_contacts[0].fax).to eq("+94.197335160") - expect(subject.registrant_contacts[0].email).to eq("domregister@srilankan.aero") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("C4526901-AERO") - expect(subject.admin_contacts[0].name).to eq("Domain Name Administrator") - expect(subject.admin_contacts[0].organization).to eq("SriLankan Airlines Ltd") - expect(subject.admin_contacts[0].address).to eq("Admin Bldg") - expect(subject.admin_contacts[0].city).to eq("Katunayaka") - expect(subject.admin_contacts[0].zip).to eq("11450") - expect(subject.admin_contacts[0].state).to eq("WP") - expect(subject.admin_contacts[0].country_code).to eq("LK") - expect(subject.admin_contacts[0].phone).to eq("+94.197331600") - expect(subject.admin_contacts[0].fax).to eq("+94.197335160") - expect(subject.admin_contacts[0].email).to eq("domregister@srilankan.aero") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C4526901-AERO") - expect(subject.technical_contacts[0].name).to eq("Domain Name Administrator") - expect(subject.technical_contacts[0].organization).to eq("SriLankan Airlines Ltd") - expect(subject.technical_contacts[0].address).to eq("Admin Bldg") - expect(subject.technical_contacts[0].city).to eq("Katunayaka") - expect(subject.technical_contacts[0].zip).to eq("11450") - expect(subject.technical_contacts[0].state).to eq("WP") - expect(subject.technical_contacts[0].country_code).to eq("LK") - expect(subject.technical_contacts[0].phone).to eq("+94.197331600") - expect(subject.technical_contacts[0].fax).to eq("+94.197335160") - expect(subject.technical_contacts[0].email).to eq("domregister@srilankan.aero") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.srilankan.aero") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.srilankan.aero") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("s2.ns.slt.lk") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("s1.ns.slt.lk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.aero/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.aero/status_reserved_spec.rb deleted file mode 100644 index bbcc5f988..000000000 --- a/spec/whois/record/parser/responses/whois.aero/status_reserved_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.aero/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.aero.rb' - -describe Whois::Record::Parser::WhoisAero, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.aero/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_available_spec.rb deleted file mode 100644 index 07fda3191..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/bz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_registered_spec.rb deleted file mode 100644 index 23552d37b..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_registered_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/bz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.bz") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D354967-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "RENEWPERIOD"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-02-12 18:08:52 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-11 10:18:14 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-12 18:08:52 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R22-LRCC") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(0) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(0) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(0) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_available_spec.rb deleted file mode 100644 index bd01c96b8..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/gi/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_registered_spec.rb deleted file mode 100644 index 5616f2141..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/gi/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("sapphire.gi") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D68296-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-12-20 13:34:34 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2008-12-20 19:25:54 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2009-12-20 13:34:34 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R43-LRCC") - expect(subject.registrar.name).to eq("GibNet Registrar") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("FR-1103549674779") - expect(subject.registrant_contacts[0].name).to eq("Jimmy Imossi") - expect(subject.registrant_contacts[0].organization).to eq("Broadband Gibraltar Limited") - expect(subject.registrant_contacts[0].address).to eq("Suite 951\nEuroport") - expect(subject.registrant_contacts[0].city).to eq("Gibraltar") - expect(subject.registrant_contacts[0].zip).to eq("NA") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country_code).to eq("GI") - expect(subject.registrant_contacts[0].phone).to eq("+350.47200") - expect(subject.registrant_contacts[0].fax).to eq("+350.47272") - expect(subject.registrant_contacts[0].email).to eq("jimossi@sapphire.gi") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("FR-1103549674779") - expect(subject.admin_contacts[0].name).to eq("Jimmy Imossi") - expect(subject.admin_contacts[0].organization).to eq("Broadband Gibraltar Limited") - expect(subject.admin_contacts[0].address).to eq("Suite 951\nEuroport") - expect(subject.admin_contacts[0].city).to eq("Gibraltar") - expect(subject.admin_contacts[0].zip).to eq("NA") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country_code).to eq("GI") - expect(subject.admin_contacts[0].phone).to eq("+350.47200") - expect(subject.admin_contacts[0].fax).to eq("+350.47272") - expect(subject.admin_contacts[0].email).to eq("jimossi@sapphire.gi") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("FR-10a223e2e4cf0") - expect(subject.technical_contacts[0].name).to eq("Tech Dept") - expect(subject.technical_contacts[0].organization).to eq("Broadband Gibraltar Ltd") - expect(subject.technical_contacts[0].address).to eq("Suite 9.5.1\nEuroport") - expect(subject.technical_contacts[0].city).to eq("N/A") - expect(subject.technical_contacts[0].zip).to eq("N/A") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("GI") - expect(subject.technical_contacts[0].phone).to eq("+350.47200") - expect(subject.technical_contacts[0].fax).to eq("+350.47271") - expect(subject.technical_contacts[0].email).to eq("tech@sapphire.gi") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1-a.sapphire.gi") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2-a.sapphire.gi") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_available_spec.rb deleted file mode 100644 index 9ffe8c26e..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/lc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_registered_spec.rb deleted file mode 100644 index c980fd0a6..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/lc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("nic.lc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D946482-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-12-08 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2008-12-08 19:25:09 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2009-12-08 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R144-LRCC") - expect(subject.registrar.name).to eq("NicLc Registrar") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("LC-54921") - expect(subject.registrant_contacts[0].name).to eq("Nic LC Admin") - expect(subject.registrant_contacts[0].organization).to eq("Nic LC") - expect(subject.registrant_contacts[0].address).to eq("#4 Colony House\nJohn Compton Hwy") - expect(subject.registrant_contacts[0].city).to eq("Castries") - expect(subject.registrant_contacts[0].zip).to eq("Not Provided") - expect(subject.registrant_contacts[0].state).to eq("Not Provided") - expect(subject.registrant_contacts[0].country_code).to eq("LC") - expect(subject.registrant_contacts[0].phone).to eq("+758.4520220") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("nic@nic.lc") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("LC-51893") - expect(subject.admin_contacts[0].name).to eq("Nic LC Hostmaster") - expect(subject.admin_contacts[0].organization).to eq("Nic LC") - expect(subject.admin_contacts[0].address).to eq("#4 Colony House\nNot Provided") - expect(subject.admin_contacts[0].city).to eq("Castries") - expect(subject.admin_contacts[0].zip).to eq("Not Provided") - expect(subject.admin_contacts[0].state).to eq("Not Provided") - expect(subject.admin_contacts[0].country_code).to eq("LC") - expect(subject.admin_contacts[0].phone).to eq("+758.4520220") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.lc") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("LC-53407") - expect(subject.technical_contacts[0].name).to eq("Nic LC Technical") - expect(subject.technical_contacts[0].organization).to eq("Nic LC") - expect(subject.technical_contacts[0].address).to eq("#4 Colony House\nNot Provided") - expect(subject.technical_contacts[0].city).to eq("Castries") - expect(subject.technical_contacts[0].zip).to eq("Not Provided") - expect(subject.technical_contacts[0].state).to eq("Not Provided") - expect(subject.technical_contacts[0].country_code).to eq("LC") - expect(subject.technical_contacts[0].phone).to eq("+758.4520220") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("technical@nic.lc") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.ag") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns.patricklay.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_available_spec.rb deleted file mode 100644 index 479217d23..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/mn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_registered_spec.rb deleted file mode 100644 index b3a7eabf1..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/mn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.mn") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D444956-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-07 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-03-06 10:21:48 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-07 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R22-LRCC") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MNM-11332") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+165.03300100") - expect(subject.registrant_contacts[0].fax).to eq("+165.06188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MNM-11332") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+165.03300100") - expect(subject.admin_contacts[0].fax).to eq("+165.06188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-33293") - expect(subject.technical_contacts[0].name).to eq("Domain Admin") - expect(subject.technical_contacts[0].organization).to eq("MarkMonitor") - expect(subject.technical_contacts[0].address).to eq("391 N. Ancestor Place\nSuite 150") - expect(subject.technical_contacts[0].city).to eq("Boise") - expect(subject.technical_contacts[0].zip).to eq("83704") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.2083895740") - expect(subject.technical_contacts[0].fax).to eq("+1.2083895771") - expect(subject.technical_contacts[0].email).to eq("ccops@markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_available_spec.rb deleted file mode 100644 index 3ed86cf93..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/sc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_registered_spec.rb deleted file mode 100644 index c52c94ef3..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/sc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.sc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D47234-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "RENEWPERIOD"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-02-03 19:19:12 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-02 10:20:29 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-03 19:19:12 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R22-LRCC") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("AGRS-129819") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("AGRS-129293") - expect(subject.admin_contacts[0].name).to eq("CCOPS") - expect(subject.admin_contacts[0].organization).to eq("MarkMonitor") - expect(subject.admin_contacts[0].address).to eq("PMB 155\n10400 Overland Rd.") - expect(subject.admin_contacts[0].city).to eq("Boise") - expect(subject.admin_contacts[0].zip).to eq("83709-1433") - expect(subject.admin_contacts[0].state).to eq("ID") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.20838957") - expect(subject.admin_contacts[0].fax).to eq("+1.20838957") - expect(subject.admin_contacts[0].email).to eq("ccops@markmonitor.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-33293") - expect(subject.technical_contacts[0].name).to eq("Domain Admin") - expect(subject.technical_contacts[0].organization).to eq("MarkMonitor") - expect(subject.technical_contacts[0].address).to eq("391 N. Ancestor Place\nSuite 150") - expect(subject.technical_contacts[0].city).to eq("Boise") - expect(subject.technical_contacts[0].zip).to eq("83704") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.2083895740") - expect(subject.technical_contacts[0].fax).to eq("+1.2083895771") - expect(subject.technical_contacts[0].email).to eq("ccops@markmonitor.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_available_spec.rb deleted file mode 100644 index 3ce3a323c..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/vc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_registered_spec.rb deleted file mode 100644 index 655868613..000000000 --- a/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias-grs.info.rb' - -describe Whois::Record::Parser::WhoisAfiliasGrsInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias-grs.info/vc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.vc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D133753-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-06-29 00:58:18 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-02-17 17:43:40 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-06-29 00:58:18 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R22-LRCC") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-2383") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-2383") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-2383") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias.net/info/status_available_spec.rb b/spec/whois/record/parser/responses/whois.afilias.net/info/status_available_spec.rb deleted file mode 100644 index 31afa273b..000000000 --- a/spec/whois/record/parser/responses/whois.afilias.net/info/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias.net/info/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias.net.rb' - -describe Whois::Record::Parser::WhoisAfiliasNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.afilias.net/info/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.afilias.net/info/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.afilias.net/info/status_registered_spec.rb deleted file mode 100644 index a6427b53e..000000000 --- a/spec/whois/record/parser/responses/whois.afilias.net/info/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.afilias.net/info/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.afilias.net.rb' - -describe Whois::Record::Parser::WhoisAfiliasNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.afilias.net/info/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to AFILIAS WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.info") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D37288-LRMS") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-07-31 23:57:50 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-06-29 09:26:47 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-07-31 23:57:50 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-32097") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6506234000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-32097") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-32097") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6506234000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ai/ai/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ai/ai/status_available_spec.rb deleted file mode 100644 index a5832c6e9..000000000 --- a/spec/whois/record/parser/responses/whois.ai/ai/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ai/ai/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ai.rb' - -describe Whois::Record::Parser::WhoisAi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ai/ai/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ai/ai/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ai/ai/status_registered_spec.rb deleted file mode 100644 index e0cbafad4..000000000 --- a/spec/whois/record/parser/responses/whois.ai/ai/status_registered_spec.rb +++ /dev/null @@ -1,68 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ai/ai/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ai.rb' - -describe Whois::Record::Parser::WhoisAi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ai/ai/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.amnic.net/am/status_available_spec.rb b/spec/whois/record/parser/responses/whois.amnic.net/am/status_available_spec.rb deleted file mode 100644 index c6f309eb9..000000000 --- a/spec/whois/record/parser/responses/whois.amnic.net/am/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.amnic.net/am/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.amnic.net.rb' - -describe Whois::Record::Parser::WhoisAmnicNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.amnic.net/am/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.amnic.net/am/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.amnic.net/am/status_registered_spec.rb deleted file mode 100644 index dabcad319..000000000 --- a/spec/whois/record/parser/responses/whois.amnic.net/am/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.amnic.net/am/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.amnic.net.rb' - -describe Whois::Record::Parser::WhoisAmnicNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.amnic.net/am/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-05")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-13")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-15")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ascio.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ascio.com/status_available_spec.rb deleted file mode 100644 index 4a04491df..000000000 --- a/spec/whois/record/parser/responses/whois.ascio.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ascio.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ascio.com.rb' - -describe Whois::Record::Parser::WhoisAscioCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ascio.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ascio.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ascio.com/status_registered_spec.rb deleted file mode 100644 index b307f61e2..000000000 --- a/spec/whois/record/parser/responses/whois.ascio.com/status_registered_spec.rb +++ /dev/null @@ -1,144 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ascio.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ascio.com.rb' - -describe Whois::Record::Parser::WhoisAscioCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ascio.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("ascio.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-03-01 14:11:50 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-02 00:23:21 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-31 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("106") - expect(subject.registrar.name).to eq("Ascio Technologies, Inc") - expect(subject.registrar.organization).to eq("Ascio Technologies, Inc") - expect(subject.registrar.url).to eq("http://www.ascio.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Hostmaster Ascio") - expect(subject.registrant_contacts[0].organization).to eq("ASCIO Technologies Inc.") - expect(subject.registrant_contacts[0].address).to eq("Islands Brygge 55") - expect(subject.registrant_contacts[0].city).to eq("Copenhagen") - expect(subject.registrant_contacts[0].zip).to eq("2300") - expect(subject.registrant_contacts[0].state).to eq("S") - expect(subject.registrant_contacts[0].country_code).to eq("DK") - expect(subject.registrant_contacts[0].phone).to eq("") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("Technical Hostmaster") - expect(subject.admin_contacts[0].organization).to eq("Speednames") - expect(subject.admin_contacts[0].address).to eq("Rejsbygade 8a") - expect(subject.admin_contacts[0].city).to eq("Copenhagen") - expect(subject.admin_contacts[0].zip).to eq("1759") - expect(subject.admin_contacts[0].state).to eq("DK") - expect(subject.admin_contacts[0].country_code).to eq("DK") - expect(subject.admin_contacts[0].phone).to eq("+45.33886300") - expect(subject.admin_contacts[0].fax).to eq("+45.33886301") - expect(subject.admin_contacts[0].email).to eq("hostmaster@speednames.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("Netnames Hostmaster") - expect(subject.technical_contacts[0].organization).to eq("Group NBT") - expect(subject.technical_contacts[0].address).to eq("3rd Floor Prospero House, 241 Borough High St.") - expect(subject.technical_contacts[0].city).to eq("London") - expect(subject.technical_contacts[0].zip).to eq("SE1 1GA") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.2070159370") - expect(subject.technical_contacts[0].fax).to eq("+44.2070159375") - expect(subject.technical_contacts[0].email).to eq("hostmaster@netnames.net") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.ascio.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.ascio.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.ascio.net") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.ascio.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ati.tn/tn/property_contact_updated_none_spec.rb b/spec/whois/record/parser/responses/whois.ati.tn/tn/property_contact_updated_none_spec.rb deleted file mode 100644 index 118d6c5b5..000000000 --- a/spec/whois/record/parser/responses/whois.ati.tn/tn/property_contact_updated_none_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ati.tn/tn/property_contact_updated_none.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ati.tn.rb' - -describe Whois::Record::Parser::WhoisAtiTn, "property_contact_updated_none.expected" do - - subject do - file = fixture("responses", "whois.ati.tn/tn/property_contact_updated_none.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("MAISON DE BIEN HOTELIERS ET EQ Farhat Riadh") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2013-12-13 20:00:57")) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ati.tn/tn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ati.tn/tn/status_available_spec.rb deleted file mode 100644 index 3ba416269..000000000 --- a/spec/whois/record/parser/responses/whois.ati.tn/tn/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ati.tn/tn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ati.tn.rb' - -describe Whois::Record::Parser::WhoisAtiTn, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ati.tn/tn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("All rights reserved.\nCopyright \"Tunisian Internet Agency - http://whois.tn\"") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ati.tn/tn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ati.tn/tn/status_registered_spec.rb deleted file mode 100644 index e865c0ea6..000000000 --- a/spec/whois/record/parser/responses/whois.ati.tn/tn/status_registered_spec.rb +++ /dev/null @@ -1,163 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ati.tn/tn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ati.tn.rb' - -describe Whois::Record::Parser::WhoisAtiTn, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ati.tn/tn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("All rights reserved.\nCopyright \"Tunisian Internet Agency - http://whois.tn\"") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.tn") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-05-14 00:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("3S Global Net") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("GOOGLE Inc") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("PO BOX 2050 Moutain view CA 94042 USA") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+1 925 685 9600") - expect(subject.registrant_contacts[0].fax).to eq("+1 925 685 9620") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2009-05-14 00:00:00")) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2010-07-18 00:00:00")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("GOOGLE Inc") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("PO BOX 2050 Moutain view CA 94042 USA") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+1 925 685 9600") - expect(subject.admin_contacts[0].fax).to eq("+1 925 685 9620") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2009-05-14 00:00:00")) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2010-07-18 00:00:00")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("GOOGLE Inc") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("PO BOX 2050 Moutain view CA 94042 USA") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+1 925 685 9600") - expect(subject.technical_contacts[0].fax).to eq("+1 925 685 9620") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2009-05-14 00:00:00")) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2010-07-18 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq("216.239.32.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq("216.239.34.10") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq("216.239.36.10") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq("216.239.38.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.audns.net.au/au/property_status_with_multiple_spec.rb b/spec/whois/record/parser/responses/whois.audns.net.au/au/property_status_with_multiple_spec.rb deleted file mode 100644 index c001e7664..000000000 --- a/spec/whois/record/parser/responses/whois.audns.net.au/au/property_status_with_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.audns.net.au/au/property_status_with_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.audns.net.au.rb' - -describe Whois::Record::Parser::WhoisAudnsNetAu, "property_status_with_multiple.expected" do - - subject do - file = fixture("responses", "whois.audns.net.au/au/property_status_with_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["serverHold (Expired)", "serverUpdateProhibited (Expired)"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.audns.net.au/au/status_available_spec.rb b/spec/whois/record/parser/responses/whois.audns.net.au/au/status_available_spec.rb deleted file mode 100644 index 7b76bc55d..000000000 --- a/spec/whois/record/parser/responses/whois.audns.net.au/au/status_available_spec.rb +++ /dev/null @@ -1,97 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.audns.net.au/au/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.audns.net.au.rb' - -describe Whois::Record::Parser::WhoisAudnsNetAu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.audns.net.au/au/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.audns.net.au/au/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.audns.net.au/au/status_registered_spec.rb deleted file mode 100644 index d3ba20f02..000000000 --- a/spec/whois/record/parser/responses/whois.audns.net.au/au/status_registered_spec.rb +++ /dev/null @@ -1,142 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.audns.net.au/au/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.audns.net.au.rb' - -describe Whois::Record::Parser::WhoisAudnsNetAu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.audns.net.au/au/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.com.au") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientUpdateProhibited", "serverDeleteProhibited (Protected by .auLOCKDOWN)", "serverUpdateProhibited (Protected by .auLOCKDOWN)"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-05 04:03:08 UTC")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("MARKMONITOR") - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MMR-122026") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("Google INC") - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Visit whois.ausregistry.com.au for Web based WhoIs") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MMR-87489") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Visit whois.ausregistry.com.au for Web based WhoIs") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ax/ax/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ax/ax/status_available_spec.rb deleted file mode 100644 index 951a144a0..000000000 --- a/spec/whois/record/parser/responses/whois.ax/ax/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ax/ax/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ax.rb' - -describe Whois::Record::Parser::WhoisAx, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ax/ax/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ax/ax/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ax/ax/status_registered_spec.rb deleted file mode 100644 index d246eb5a3..000000000 --- a/spec/whois/record/parser/responses/whois.ax/ax/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ax/ax/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ax.rb' - -describe Whois::Record::Parser::WhoisAx, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ax/ax/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-08-03")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns.regeringen.ax") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.regeringen.ax") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.alcom.aland.fi") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.alcom.aland.fi") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.biz/biz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.biz/biz/status_available_spec.rb deleted file mode 100644 index 54b7c6280..000000000 --- a/spec/whois/record/parser/responses/whois.biz/biz/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.biz/biz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.biz.rb' - -describe Whois::Record::Parser::WhoisBiz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.biz/biz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.biz") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.biz/biz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.biz/biz/status_registered_spec.rb deleted file mode 100644 index 8b8c40633..000000000 --- a/spec/whois/record/parser/responses/whois.biz/biz/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.biz/biz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.biz.rb' - -describe Whois::Record::Parser::WhoisBiz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.biz/biz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.biz") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D2835288-BIZ") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-03-27 00:01:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-02-22 10:23:59 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-26 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MARKMONITOR, INC.") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MMR-87489") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MMR-87489") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MMR-87489") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_available_spec.rb deleted file mode 100644 index 826127dd3..000000000 --- a/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.bnnic.bn/bn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.bnnic.bn.rb' - -describe Whois::Record::Parser::WhoisBnnicBn, "status_available.expected" do - - subject do - file = fixture("responses", "whois.bnnic.bn/bn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_registered_spec.rb deleted file mode 100644 index 4ae48bf45..000000000 --- a/spec/whois/record/parser/responses/whois.bnnic.bn/bn/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.bnnic.bn/bn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.bnnic.bn.rb' - -describe Whois::Record::Parser::WhoisBnnicBn, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.bnnic.bn/bn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-10-07 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-12-17 18:07:42")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-10-07 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns.brunet.bn") - expect(subject.nameservers[0].ipv4).to eq("61.6.254.147") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.brunet.bn") - expect(subject.nameservers[1].ipv4).to eq("61.6.254.148") - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns3.brunet.bn") - expect(subject.nameservers[2].ipv4).to eq("61.6.254.166") - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("dns4.brunet.bn") - expect(subject.nameservers[3].ipv4).to eq("61.6.254.168") - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cat/cat/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.cat/cat/property_status_missing_spec.rb deleted file mode 100644 index 342162ce1..000000000 --- a/spec/whois/record/parser/responses/whois.cat/cat/property_status_missing_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cat/cat/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cat.rb' - -describe Whois::Record::Parser::WhoisCat, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.cat/cat/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cat/cat/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.cat/cat/property_status_multiple_spec.rb deleted file mode 100644 index c18df15ba..000000000 --- a/spec/whois/record/parser/responses/whois.cat/cat/property_status_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cat/cat/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cat.rb' - -describe Whois::Record::Parser::WhoisCat, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.cat/cat/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "clientDeleteProhibited"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cat/cat/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.cat/cat/property_status_ok_spec.rb deleted file mode 100644 index 3abc81579..000000000 --- a/spec/whois/record/parser/responses/whois.cat/cat/property_status_ok_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cat/cat/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cat.rb' - -describe Whois::Record::Parser::WhoisCat, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.cat/cat/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cat/cat/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cat/cat/status_available_spec.rb deleted file mode 100644 index 68e59abb0..000000000 --- a/spec/whois/record/parser/responses/whois.cat/cat/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cat/cat/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cat.rb' - -describe Whois::Record::Parser::WhoisCat, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cat/cat/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cat/cat/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cat/cat/status_registered_spec.rb deleted file mode 100644 index 25a7ea911..000000000 --- a/spec/whois/record/parser/responses/whois.cat/cat/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cat/cat/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cat.rb' - -describe Whois::Record::Parser::WhoisCat, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cat/cat/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-02-14 09:12:37 GMT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-27 17:30:59 GMT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-02-14 09:12:37 GMT")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns.gencat.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.gencat.cat") - expect(subject.nameservers[1].ipv4).to eq("83.247.132.4") - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.by/by/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cctld.by/by/status_available_spec.rb deleted file mode 100644 index 51fc08c62..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.by/by/status_available_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.by/by/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.by.rb' - -describe Whois::Record::Parser::WhoisCctldBy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cctld.by/by/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.by/by/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cctld.by/by/status_registered_spec.rb deleted file mode 100644 index bd7564886..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.by/by/status_registered_spec.rb +++ /dev/null @@ -1,105 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.by/by/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.by.rb' - -describe Whois::Record::Parser::WhoisCctldBy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cctld.by/by/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("active.by") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-02-02")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-16")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-12-21")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("Active Technologies LLC") - expect(subject.registrar.name).to eq("Active Technologies LLC") - expect(subject.registrar.organization).to eq("Active Technologies LLC") - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.activeby.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.activeby.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_expires_on_dash_spec.rb b/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_expires_on_dash_spec.rb deleted file mode 100644 index 9380007ae..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_expires_on_dash_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.uz/uz/property_expires_on_dash.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.uz.rb' - -describe Whois::Record::Parser::WhoisCctldUz, "property_expires_on_dash.expected" do - - subject do - file = fixture("responses", "whois.cctld.uz/uz/property_expires_on_dash.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_status_reserved_spec.rb deleted file mode 100644 index b62a07d4f..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.uz/uz/property_status_reserved_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.uz/uz/property_status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.uz.rb' - -describe Whois::Record::Parser::WhoisCctldUz, "property_status_reserved.expected" do - - subject do - file = fixture("responses", "whois.cctld.uz/uz/property_status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_available_spec.rb deleted file mode 100644 index df176e3e6..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.uz/uz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.uz.rb' - -describe Whois::Record::Parser::WhoisCctldUz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cctld.uz/uz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_registered_spec.rb deleted file mode 100644 index ed711af54..000000000 --- a/spec/whois/record/parser/responses/whois.cctld.uz/uz/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cctld.uz/uz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cctld.uz.rb' - -describe Whois::Record::Parser::WhoisCctldUz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cctld.uz/uz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-04-13")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-03-26")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-05-01")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_available_spec.rb deleted file mode 100644 index 58bf088c2..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ae.org/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_registered_spec.rb deleted file mode 100644 index d51c84c1d..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ae.org/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("kidzlink.ae.org") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO887354") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-08-03 15:37:33 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-09 00:12:37 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-03 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H65658") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("101Domain, Inc.") - expect(subject.registrar.url).to eq("http://www.101domain.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("RWG000000003DA24") - expect(subject.registrant_contacts[0].name).to eq("IPC C/O Clarenter") - expect(subject.registrant_contacts[0].organization).to eq("Clarenter") - expect(subject.registrant_contacts[0].address).to eq("110 E Broward Blvd\nSte. 1720") - expect(subject.registrant_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.registrant_contacts[0].zip).to eq("33301") - expect(subject.registrant_contacts[0].state).to eq("FL") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.18888443911") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("patricia@internationalpreschoolcurriculum.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("RWG000000003DA24") - expect(subject.admin_contacts[0].name).to eq("IPC C/O Clarenter") - expect(subject.admin_contacts[0].organization).to eq("Clarenter") - expect(subject.admin_contacts[0].address).to eq("110 E Broward Blvd\nSte. 1720") - expect(subject.admin_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.admin_contacts[0].zip).to eq("33301") - expect(subject.admin_contacts[0].state).to eq("FL") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.18888443911") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("patricia@internationalpreschoolcurriculum.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("RWG000000003DA24") - expect(subject.technical_contacts[0].name).to eq("IPC C/O Clarenter") - expect(subject.technical_contacts[0].organization).to eq("Clarenter") - expect(subject.technical_contacts[0].address).to eq("110 E Broward Blvd\nSte. 1720") - expect(subject.technical_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.technical_contacts[0].zip).to eq("33301") - expect(subject.technical_contacts[0].state).to eq("FL") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.18888443911") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("patricia@internationalpreschoolcurriculum.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns37.domaincontrol.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns38.domaincontrol.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_available_spec.rb deleted file mode 100644 index 8feec9941..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ar.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_registered_spec.rb deleted file mode 100644 index 7b6d25460..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ar.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("hotel.ar.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO557730") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-04-25 16:22:13 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-26 00:15:40 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-25 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H1323241") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("CentralNic Ltd") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1323241") - expect(subject.registrant_contacts[0].name).to eq("Reserved Domains") - expect(subject.registrant_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.registrant_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.registrant_contacts[0].city).to eq("London") - expect(subject.registrant_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.8700170900") - expect(subject.registrant_contacts[0].fax).to eq("+44.8700170901") - expect(subject.registrant_contacts[0].email).to eq("domains@centralnic.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H1323241") - expect(subject.admin_contacts[0].name).to eq("Reserved Domains") - expect(subject.admin_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.admin_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.admin_contacts[0].city).to eq("London") - expect(subject.admin_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.8700170900") - expect(subject.admin_contacts[0].fax).to eq("+44.8700170901") - expect(subject.admin_contacts[0].email).to eq("domains@centralnic.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H1323241") - expect(subject.technical_contacts[0].name).to eq("Reserved Domains") - expect(subject.technical_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.technical_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.technical_contacts[0].city).to eq("London") - expect(subject.technical_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.8700170900") - expect(subject.technical_contacts[0].fax).to eq("+44.8700170901") - expect(subject.technical_contacts[0].email).to eq("domains@centralnic.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns0.centralnic-dns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.centralnic-dns.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.centralnic-dns.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.centralnic-dns.com") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns4.centralnic-dns.com") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns5.centralnic-dns.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_available_spec.rb deleted file mode 100644 index f494e4a72..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/br.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_registered_spec.rb deleted file mode 100644 index 80e059f2a..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/br.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("billboard.br.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO624205") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited", "renewPeriod"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-04-17 12:22:49 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-01-16 16:23:18 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-04-17 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H292913") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Network Solutions LLC") - expect(subject.registrar.url).to eq("http://www.networksolutions.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("36542943") - expect(subject.registrant_contacts[0].name).to eq("Antonio Camarotti Pinto") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Rua Urussui, 238\n#22") - expect(subject.registrant_contacts[0].city).to eq("Sao Paulo") - expect(subject.registrant_contacts[0].zip).to eq("04542-050") - expect(subject.registrant_contacts[0].state).to eq("Sao Paulo") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("BR") - expect(subject.registrant_contacts[0].phone).to eq("+1.551130787711") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("ac@bpp.bz") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("36542943") - expect(subject.admin_contacts[0].name).to eq("Antonio Camarotti Pinto") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("Rua Urussui, 238\n#22") - expect(subject.admin_contacts[0].city).to eq("Sao Paulo") - expect(subject.admin_contacts[0].zip).to eq("04542-050") - expect(subject.admin_contacts[0].state).to eq("Sao Paulo") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("BR") - expect(subject.admin_contacts[0].phone).to eq("+1.551130787711") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("ac@bpp.bz") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("36542943") - expect(subject.technical_contacts[0].name).to eq("Antonio Camarotti Pinto") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("Rua Urussui, 238\n#22") - expect(subject.technical_contacts[0].city).to eq("Sao Paulo") - expect(subject.technical_contacts[0].zip).to eq("04542-050") - expect(subject.technical_contacts[0].state).to eq("Sao Paulo") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("BR") - expect(subject.technical_contacts[0].phone).to eq("+1.551130787711") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("ac@bpp.bz") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.locaweb.com.br") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.locaweb.com.br") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_available_spec.rb deleted file mode 100644 index cb4ae8c8b..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/cn.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_registered_spec.rb deleted file mode 100644 index 4822f6989..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/cn.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("gsn.cn.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO323367") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-11-23 15:44:03 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-26 12:16:45 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-23 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H67436") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("united-domains AG") - expect(subject.registrar.url).to eq("http://www.united-domains.de") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1062079") - expect(subject.registrant_contacts[0].name).to eq("GSN Electronics Incorporation Pte Ltd") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Straits Trading Building 9 Battery Road 16-08\nSingapore") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("049910") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("SG") - expect(subject.registrant_contacts[0].phone).to eq("+65.62336919") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("abuse@gsn.in") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("AUTO-DRZK-SNVHSY") - expect(subject.admin_contacts[0].name).to eq("Pauline Ang") - expect(subject.admin_contacts[0].organization).to eq("GSN Electronics Incorporation Pte Ltd") - expect(subject.admin_contacts[0].address).to eq("Straits Trading Building 9 Battery Road 16-08") - expect(subject.admin_contacts[0].city).to eq("Singapore") - expect(subject.admin_contacts[0].zip).to eq("049910") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("SG") - expect(subject.admin_contacts[0].phone).to eq("+65.62336919") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("abuse@gsn.in") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C-UHM65D7-TJGULR") - expect(subject.technical_contacts[0].name).to eq("Host Master") - expect(subject.technical_contacts[0].organization).to eq("united-domains AG") - expect(subject.technical_contacts[0].address).to eq("Gautinger Str. 10") - expect(subject.technical_contacts[0].city).to eq("Starnberg") - expect(subject.technical_contacts[0].zip).to eq("82319") - expect(subject.technical_contacts[0].state).to eq("Bayern") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.8151368670") - expect(subject.technical_contacts[0].fax).to eq("+49.81513686777") - expect(subject.technical_contacts[0].email).to eq("hostmaster@united-domains.de") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.meteos.it") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.meteos.it") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_available_spec.rb deleted file mode 100644 index 9157a636b..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/de.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_registered_spec.rb deleted file mode 100644 index 9d01eda37..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/de.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("autopoint.de.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO578833") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-07-04 20:30:08 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-12 10:03:56 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-04 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H67436") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("united-domains AG") - expect(subject.registrar.url).to eq("http://www.united-domains.de") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1102323") - expect(subject.registrant_contacts[0].name).to eq("Stefan Von Gehlen") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Muelgaustr. 292-294, Moenchengladbach") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("41238") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.2166120626") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("s.vongehlen@arcor.de") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H402505") - expect(subject.admin_contacts[0].name).to eq("Stefan Von Gehlen") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("Muelgaustr. 292-294, Moenchengladbach") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq("41238") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.2166120626") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("s.vongehlen@arcor.de") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C-UHM65D7-TJGULR") - expect(subject.technical_contacts[0].name).to eq("Host Master") - expect(subject.technical_contacts[0].organization).to eq("united-domains AG") - expect(subject.technical_contacts[0].address).to eq("Gautinger Str. 10") - expect(subject.technical_contacts[0].city).to eq("Starnberg") - expect(subject.technical_contacts[0].zip).to eq("82319") - expect(subject.technical_contacts[0].state).to eq("Bayern") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.8151368670") - expect(subject.technical_contacts[0].fax).to eq("+49.81513686777") - expect(subject.technical_contacts[0].email).to eq("hostmaster@united-domains.de") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns.udagdns.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns.udagdns.de") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_available_spec.rb deleted file mode 100644 index 8d6df3a5d..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/eu.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_registered_spec.rb deleted file mode 100644 index 5e181caff..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/eu.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("walkabout.eu.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO85080") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-08-14 10:14:41 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-15 11:25:43 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-08-14 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H126914") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("iTransact Ltd") - expect(subject.registrar.url).to eq("www.itransact.ltd.uk") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1045382") - expect(subject.registrant_contacts[0].name).to eq("Regent Inns Plc") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("77 Muswell Hill\nLondon") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("N10 3PJ") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.2083753155") - expect(subject.registrant_contacts[0].fax).to eq("+44.2083753001") - expect(subject.registrant_contacts[0].email).to eq("john.boyle@regent-inns.plc.uk") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H64717") - expect(subject.admin_contacts[0].name).to eq("John Boyle") - expect(subject.admin_contacts[0].organization).to eq("Regent Inns Plc") - expect(subject.admin_contacts[0].address).to eq("77 Muswell Hill\nLondon") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq("N10 3PJ") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.2083753155") - expect(subject.admin_contacts[0].fax).to eq("+44.2083753001") - expect(subject.admin_contacts[0].email).to eq("john.boyle@regent-inns.plc.uk") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H126914") - expect(subject.technical_contacts[0].name).to eq("Constantine Pagonis") - expect(subject.technical_contacts[0].organization).to eq("iTransact Ltd") - expect(subject.technical_contacts[0].address).to eq("PO Box 430\nCambridge\nCambs") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq("CB1 2WE") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1223700322") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("constantine@itransact.ltd.uk") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns-1146.awsdns-15.org") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-1741.awsdns-25.co.uk") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2].name).to eq("ns-374.awsdns-46.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3].name).to eq("ns-914.awsdns-50.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_available_spec.rb deleted file mode 100644 index c6fbe04d1..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gb.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_registered_spec.rb deleted file mode 100644 index 12e822a13..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gb.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("hotel.gb.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO403461") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-04-23 06:26:11 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-12 09:45:17 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-04-23 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H386560") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Wind Internethaus GMBH") - expect(subject.registrar.url).to eq("www.windinternethaus.de") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1049605") - expect(subject.registrant_contacts[0].name).to eq("Robert Ragge, Hotel Reservation Service Robert Ragge GmbH") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Blaubach 32") - expect(subject.registrant_contacts[0].city).to eq("Koeln") - expect(subject.registrant_contacts[0].zip).to eq("50676") - expect(subject.registrant_contacts[0].state).to eq("NRW") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.2212077222") - expect(subject.registrant_contacts[0].fax).to eq("+49.2212077394") - expect(subject.registrant_contacts[0].email).to eq("domains@hrs.de") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H393781") - expect(subject.admin_contacts[0].name).to eq("Robert Ragge") - expect(subject.admin_contacts[0].organization).to eq("Hotel Reservation Service Robert Ragge GmbH") - expect(subject.admin_contacts[0].address).to eq("Blaubach 32") - expect(subject.admin_contacts[0].city).to eq("Koeln") - expect(subject.admin_contacts[0].zip).to eq("50676") - expect(subject.admin_contacts[0].state).to eq("NRW") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.2212077222") - expect(subject.admin_contacts[0].fax).to eq("+49.2212077394") - expect(subject.admin_contacts[0].email).to eq("domains@hrs.de") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H1103064") - expect(subject.technical_contacts[0].name).to eq("Uwe Watzek, Wind Internethaus GMBH") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("Am Krebsgraben 15\nHaus 2") - expect(subject.technical_contacts[0].city).to eq("Villingen-Schwenningen") - expect(subject.technical_contacts[0].zip).to eq("78048") - expect(subject.technical_contacts[0].state).to eq("Baden-Wuerttemberg") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.77214070740") - expect(subject.technical_contacts[0].fax).to eq("+49.77214070741") - expect(subject.technical_contacts[0].email).to eq("info@windinternethaus.de") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.hrs.de") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.hrs.de") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.surfbrett.de") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_available_spec.rb deleted file mode 100644 index 46557fcb9..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gb.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_registered_spec.rb deleted file mode 100644 index 05ed42591..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_registered_spec.rb +++ /dev/null @@ -1,165 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gb.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("hotel.gb.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO1423750") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2013-08-25 12:36:24 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-30 12:42:09 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-25 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H1167922") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Gandi SAS") - expect(subject.registrar.url).to eq("http://www.gandi.net/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("R1149-GANDI-PRYP") - expect(subject.registrant_contacts[0].name).to eq("Heinz Pierre Roeser") - expect(subject.registrant_contacts[0].organization).to eq("Roevertrieb") - expect(subject.registrant_contacts[0].address).to eq("Friedensstr. 77") - expect(subject.registrant_contacts[0].city).to eq("Grevenbroich") - expect(subject.registrant_contacts[0].zip).to eq("41517") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.218145077") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("roevertrieb@aol.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("R1149-GANDI-PRYP") - expect(subject.admin_contacts[0].name).to eq("Heinz Pierre Roeser") - expect(subject.admin_contacts[0].organization).to eq("Roevertrieb") - expect(subject.admin_contacts[0].address).to eq("Friedensstr. 77") - expect(subject.admin_contacts[0].city).to eq("Grevenbroich") - expect(subject.admin_contacts[0].zip).to eq("41517") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.218145077") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("roevertrieb@aol.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("R1149-GANDI-PRYP") - expect(subject.technical_contacts[0].name).to eq("Heinz Pierre Roeser") - expect(subject.technical_contacts[0].organization).to eq("Roevertrieb") - expect(subject.technical_contacts[0].address).to eq("Friedensstr. 77") - expect(subject.technical_contacts[0].city).to eq("Grevenbroich") - expect(subject.technical_contacts[0].zip).to eq("41517") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.218145077") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("roevertrieb@aol.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("b.dns.gandi.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("c.dns.gandi.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("a.dns.gandi.net") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_available_spec.rb deleted file mode 100644 index 9cd97807a..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gr.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_registered_spec.rb deleted file mode 100644 index fa1c28bf2..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/gr.com/status_registered_spec.rb +++ /dev/null @@ -1,133 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/gr.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.gr.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO735168") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2011-02-07 13:10:14 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-06-23 10:38:02 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-07 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1346485") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(0) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H1346485") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("f1g1ns1.dnspod.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("f1g1ns2.dnspod.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_available_spec.rb deleted file mode 100644 index 8e405c674..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/hu.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_registered_spec.rb deleted file mode 100644 index bd544d03a..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/hu.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("porn.hu.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO970405") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["pendingDelete", "pendingDelete"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-11-28 17:46:03 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-11 00:16:13 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-11-28 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H65658") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("101Domain, Inc.") - expect(subject.registrar.url).to eq("http://www.101domain.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("RWG000000004273D") - expect(subject.registrant_contacts[0].name).to eq("Gintautas Liaskus") - expect(subject.registrant_contacts[0].organization).to eq("G.Liaskaus firma INFOMEGA") - expect(subject.registrant_contacts[0].address).to eq("Kapsu 32-53") - expect(subject.registrant_contacts[0].city).to eq("Vilnius") - expect(subject.registrant_contacts[0].zip).to eq("02167") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("LT") - expect(subject.registrant_contacts[0].phone).to eq("+370.52711457") - expect(subject.registrant_contacts[0].fax).to eq("+370.52784278") - expect(subject.registrant_contacts[0].email).to eq("infotau@infotau.lt") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("RWG000000004273D") - expect(subject.admin_contacts[0].name).to eq("Gintautas Liaskus") - expect(subject.admin_contacts[0].organization).to eq("G.Liaskaus firma INFOMEGA") - expect(subject.admin_contacts[0].address).to eq("Kapsu 32-53") - expect(subject.admin_contacts[0].city).to eq("Vilnius") - expect(subject.admin_contacts[0].zip).to eq("02167") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("LT") - expect(subject.admin_contacts[0].phone).to eq("+370.52711457") - expect(subject.admin_contacts[0].fax).to eq("+370.52784278") - expect(subject.admin_contacts[0].email).to eq("infotau@infotau.lt") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("RWG000000004273D") - expect(subject.technical_contacts[0].name).to eq("Gintautas Liaskus") - expect(subject.technical_contacts[0].organization).to eq("G.Liaskaus firma INFOMEGA") - expect(subject.technical_contacts[0].address).to eq("Kapsu 32-53") - expect(subject.technical_contacts[0].city).to eq("Vilnius") - expect(subject.technical_contacts[0].zip).to eq("02167") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("LT") - expect(subject.technical_contacts[0].phone).to eq("+370.52711457") - expect(subject.technical_contacts[0].fax).to eq("+370.52784278") - expect(subject.technical_contacts[0].email).to eq("infotau@infotau.lt") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.sedoparking.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.sedoparking.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_available_spec.rb deleted file mode 100644 index 2531bdb02..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/jp.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/jp.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_registered_spec.rb deleted file mode 100644 index cb9272cc5..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/jp.net/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/jp.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/jp.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("ntt.jp.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO846061") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-03-16 11:47:23 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-01-24 16:57:19 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2018-03-16 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H1605993") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("GMO") - expect(subject.registrar.url).to eq("http://www.onamae.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("136151BCEFE") - expect(subject.registrant_contacts[0].name).to eq("zhijian xia") - expect(subject.registrant_contacts[0].organization).to eq("zhijian xia") - expect(subject.registrant_contacts[0].address).to eq("Chuo\n3-23-20") - expect(subject.registrant_contacts[0].city).to eq("Warabi-shi") - expect(subject.registrant_contacts[0].zip).to eq("335-0004") - expect(subject.registrant_contacts[0].state).to eq("Saitama") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("JP") - expect(subject.registrant_contacts[0].phone).to eq("+81.08037215656") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("xia@ingame.jp") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("136151BD1A1") - expect(subject.admin_contacts[0].name).to eq("zhijian xia") - expect(subject.admin_contacts[0].organization).to eq("zhijian xia") - expect(subject.admin_contacts[0].address).to eq("Chuo\n3-23-20") - expect(subject.admin_contacts[0].city).to eq("Warabi-shi") - expect(subject.admin_contacts[0].zip).to eq("335-0004") - expect(subject.admin_contacts[0].state).to eq("Saitama") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("JP") - expect(subject.admin_contacts[0].phone).to eq("+81.08037215656") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("xia@ingame.jp") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("136151BD459") - expect(subject.technical_contacts[0].name).to eq("Technical Contact") - expect(subject.technical_contacts[0].organization).to eq("GMO Internet Inc.") - expect(subject.technical_contacts[0].address).to eq("26-1 Sakuragaoka-cho\nCerulean Tower 11F") - expect(subject.technical_contacts[0].city).to eq("Shibuya-ku") - expect(subject.technical_contacts[0].zip).to eq("150-8512") - expect(subject.technical_contacts[0].state).to eq("Tokyo") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("JP") - expect(subject.technical_contacts[0].phone).to eq("+81.0354562555") - expect(subject.technical_contacts[0].fax).to eq("+81.0354562556") - expect(subject.technical_contacts[0].email).to eq("admin@onamae.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.onamae.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.onamae.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_available_spec.rb deleted file mode 100644 index 65d6d103e..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/jpn.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_registered_spec.rb deleted file mode 100644 index 8d297400d..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/jpn.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("koi.jpn.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO492866") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-06-29 13:42:35 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-01 00:18:14 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-06-29 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("I6467") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Webfusion") - expect(subject.registrar.url).to eq("http://www.123-reg.co.uk/domain-names/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MNT78E22765897") - expect(subject.registrant_contacts[0].name).to eq("Identity Protection Service") - expect(subject.registrant_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.registrant_contacts[0].address).to eq("PO Box 795") - expect(subject.registrant_contacts[0].city).to eq("Godalming") - expect(subject.registrant_contacts[0].zip).to eq("GU7 9GA") - expect(subject.registrant_contacts[0].state).to eq("Surrey") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.1483307527") - expect(subject.registrant_contacts[0].fax).to eq("+44.1483304031") - expect(subject.registrant_contacts[0].email).to eq("koi.jpn.com@identity-protect.org") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MNT78E22765897") - expect(subject.admin_contacts[0].name).to eq("Identity Protection Service") - expect(subject.admin_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.admin_contacts[0].address).to eq("PO Box 795") - expect(subject.admin_contacts[0].city).to eq("Godalming") - expect(subject.admin_contacts[0].zip).to eq("GU7 9GA") - expect(subject.admin_contacts[0].state).to eq("Surrey") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.1483307527") - expect(subject.admin_contacts[0].fax).to eq("+44.1483304031") - expect(subject.admin_contacts[0].email).to eq("koi.jpn.com@identity-protect.org") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MNT78E22765897") - expect(subject.technical_contacts[0].name).to eq("Identity Protection Service") - expect(subject.technical_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.technical_contacts[0].address).to eq("PO Box 795") - expect(subject.technical_contacts[0].city).to eq("Godalming") - expect(subject.technical_contacts[0].zip).to eq("GU7 9GA") - expect(subject.technical_contacts[0].state).to eq("Surrey") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1483307527") - expect(subject.technical_contacts[0].fax).to eq("+44.1483304031") - expect(subject.technical_contacts[0].email).to eq("koi.jpn.com@identity-protect.org") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.chaoshosting.co.uk") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.chaoshosting.co.uk") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_available_spec.rb deleted file mode 100644 index 4d9701f6a..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/kr.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_registered_spec.rb deleted file mode 100644 index 1c18af91f..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_registered_spec.rb +++ /dev/null @@ -1,167 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/kr.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("academyart.kr.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO569707") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-06-11 21:25:43 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-01-16 16:25:41 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-11 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H292913") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Network Solutions LLC") - expect(subject.registrar.url).to eq("http://www.networksolutions.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("41619876") - expect(subject.registrant_contacts[0].name).to eq("Academy of Art College") - expect(subject.registrant_contacts[0].organization).to eq("Academy of Art College") - expect(subject.registrant_contacts[0].address).to eq("79 NEW MONTGOMERY ST") - expect(subject.registrant_contacts[0].city).to eq("SAN FRANCISCO") - expect(subject.registrant_contacts[0].zip).to eq("94105") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.415618350") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("clefferts@academyart.edu") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("41619876") - expect(subject.admin_contacts[0].name).to eq("Academy of Art College") - expect(subject.admin_contacts[0].organization).to eq("Academy of Art College") - expect(subject.admin_contacts[0].address).to eq("79 NEW MONTGOMERY ST") - expect(subject.admin_contacts[0].city).to eq("SAN FRANCISCO") - expect(subject.admin_contacts[0].zip).to eq("94105") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.415618350") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("clefferts@academyart.edu") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("41619876") - expect(subject.technical_contacts[0].name).to eq("Academy of Art College") - expect(subject.technical_contacts[0].organization).to eq("Academy of Art College") - expect(subject.technical_contacts[0].address).to eq("79 NEW MONTGOMERY ST") - expect(subject.technical_contacts[0].city).to eq("SAN FRANCISCO") - expect(subject.technical_contacts[0].zip).to eq("94105") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.415618350") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("clefferts@academyart.edu") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.academyart.edu") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dbru.br.ns.els-gms.att.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dmtu.mt.ns.els-gms.att.net") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("cbru.br.ns.els-gms.att.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("cmtu.mt.ns.els-gms.att.net") - expect(subject.nameservers[4].ipv4).to eq(nil) - expect(subject.nameservers[4].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/no.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/no.com/status_available_spec.rb deleted file mode 100644 index 18fb1473f..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/no.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/no.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_available_spec.rb deleted file mode 100644 index c3770e172..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/qc.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_registered_spec.rb deleted file mode 100644 index 11696afa9..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/qc.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("ceo.qc.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO327026") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-10-08 02:12:49 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-11-23 18:03:55 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-08 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("7065-EN") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("eNom, Inc.") - expect(subject.registrar.url).to eq("http://www.enom.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1062277") - expect(subject.registrant_contacts[0].name).to eq("helene") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("309 Laurendeau, Magog Qc") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("J1X 3W4") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("CA") - expect(subject.registrant_contacts[0].phone).to eq("+1.8198438380") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("docjgs@videotron.ca") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H114589") - expect(subject.admin_contacts[0].name).to eq("helene viens") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("309 Laurendeau, Magog Qc") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq("J1X 3W4") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("CA") - expect(subject.admin_contacts[0].phone).to eq("+1.8198438380") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("docjgs@videotron.ca") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H114590") - expect(subject.technical_contacts[0].name).to eq("helene viens") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("309 Laurendeau, Magog Qc") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq("J1X 3W4") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("CA") - expect(subject.technical_contacts[0].phone).to eq("+1.8198438380") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("docjgs@videotron.ca") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns12.zoneedit.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("t1.zoneedit.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_available_spec.rb deleted file mode 100644 index 2cb770ab7..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ru.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_registered_spec.rb deleted file mode 100644 index df33efd5f..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_registered_spec.rb +++ /dev/null @@ -1,147 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/ru.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("srk.ru.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO450826") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-07-31 10:06:04 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-07-10 08:16:19 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-31 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1037013") - expect(subject.registrant_contacts[0].name).to eq("Anthony Lloyd, SRK Consulting (UK) Limited") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("5th Floor\nChurchill House\n17 Churchill Way") - expect(subject.registrant_contacts[0].city).to eq("Cardiff") - expect(subject.registrant_contacts[0].zip).to eq("CF10 2HH") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.2920348150") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("alloyd@srk.co.uk") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H265405") - expect(subject.admin_contacts[0].name).to eq("Anthony Lloyd") - expect(subject.admin_contacts[0].organization).to eq("SRK Consulting (UK) Limited") - expect(subject.admin_contacts[0].address).to eq("5th Floor\nChurchill House\n17 Churchill Way") - expect(subject.admin_contacts[0].city).to eq("Cardiff") - expect(subject.admin_contacts[0].zip).to eq("CF10 2HH") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.2920348150") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("alloyd@srk.co.uk") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H265405") - expect(subject.technical_contacts[0].name).to eq("Anthony Lloyd") - expect(subject.technical_contacts[0].organization).to eq("SRK Consulting (UK) Limited") - expect(subject.technical_contacts[0].address).to eq("5th Floor\nChurchill House\n17 Churchill Way") - expect(subject.technical_contacts[0].city).to eq("Cardiff") - expect(subject.technical_contacts[0].zip).to eq("CF10 2HH") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.2920348150") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("alloyd@srk.co.uk") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns7.zoneedit.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns12.zoneedit.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_available_spec.rb deleted file mode 100644 index 2645bfee1..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/sa.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_registered_spec.rb deleted file mode 100644 index 7ba100ee2..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/sa.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("fynbos.sa.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO501005") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-09-27 18:14:53 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-02 13:42:11 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-27 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("C30342") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Paragon Internet Group") - expect(subject.registrar.url).to eq("http://www.paragon.net.uk") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H323273") - expect(subject.registrant_contacts[0].name).to eq("Maarten Groos") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("farm 215 fynbos reserve\nPO Box 1314") - expect(subject.registrant_contacts[0].city).to eq("Gansbaai") - expect(subject.registrant_contacts[0].zip).to eq("7220") - expect(subject.registrant_contacts[0].state).to eq("Western Cape") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ZA") - expect(subject.registrant_contacts[0].phone).to eq("+27.283880920") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("maarten@farm215.co.za") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H323273") - expect(subject.admin_contacts[0].name).to eq("Maarten Groos") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("farm 215 fynbos reserve\nPO Box 1314") - expect(subject.admin_contacts[0].city).to eq("Gansbaai") - expect(subject.admin_contacts[0].zip).to eq("7220") - expect(subject.admin_contacts[0].state).to eq("Western Cape") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ZA") - expect(subject.admin_contacts[0].phone).to eq("+27.283880920") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("maarten@farm215.co.za") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C30342") - expect(subject.technical_contacts[0].name).to eq("Seb de Lemos") - expect(subject.technical_contacts[0].organization).to eq("Paragon Internet Group") - expect(subject.technical_contacts[0].address).to eq("St Andrew's House\nSt Mary's Walk") - expect(subject.technical_contacts[0].city).to eq("Maidenhead") - expect(subject.technical_contacts[0].zip).to eq("SL6 1QZ") - expect(subject.technical_contacts[0].state).to eq("Berkshire") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.2031377651") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("domains@paragon.net.uk") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1191.websitewelcome.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1192.websitewelcome.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_available_spec.rb deleted file mode 100644 index 2c82056d2..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/se.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_registered_spec.rb deleted file mode 100644 index 0672b77e5..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/se.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("hotel.se.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO561053") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-05-10 05:17:32 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-03 10:33:46 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-10 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("7145-IX") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("InternetX GmbH") - expect(subject.registrar.url).to eq("http://www.internetx.de/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("INX-10599082com") - expect(subject.registrant_contacts[0].name).to eq("Hotel Reservation Service Robert Ragge GmbH") - expect(subject.registrant_contacts[0].organization).to eq("Hotel Reservation Service Robert Ragge GmbH") - expect(subject.registrant_contacts[0].address).to eq("Blaubach 32") - expect(subject.registrant_contacts[0].city).to eq("Koeln") - expect(subject.registrant_contacts[0].zip).to eq("50676") - expect(subject.registrant_contacts[0].state).to eq("NRW") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.2212077222") - expect(subject.registrant_contacts[0].fax).to eq("+49.2212077394") - expect(subject.registrant_contacts[0].email).to eq("domains@hrs.de") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("INX-201727com") - expect(subject.admin_contacts[0].name).to eq("Robert Ragge") - expect(subject.admin_contacts[0].organization).to eq("Hotel Reservation Service Robert Ragge GmbH") - expect(subject.admin_contacts[0].address).to eq("Blaubach 32") - expect(subject.admin_contacts[0].city).to eq("Koeln") - expect(subject.admin_contacts[0].zip).to eq("50676") - expect(subject.admin_contacts[0].state).to eq("DE") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.2212077222") - expect(subject.admin_contacts[0].fax).to eq("+49.2212077394") - expect(subject.admin_contacts[0].email).to eq("domains@hrs.de") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("INX-201728com") - expect(subject.technical_contacts[0].name).to eq("Uwe Watzek") - expect(subject.technical_contacts[0].organization).to eq("Wind Internethaus GmbH") - expect(subject.technical_contacts[0].address).to eq("Am Krebsgraben 15\nHaus 2") - expect(subject.technical_contacts[0].city).to eq("Villingen-Schwenningen") - expect(subject.technical_contacts[0].zip).to eq("78048") - expect(subject.technical_contacts[0].state).to eq("Baden-Wuerttemberg") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.77214070740") - expect(subject.technical_contacts[0].fax).to eq("+49.77214070741") - expect(subject.technical_contacts[0].email).to eq("info@windinternethaus.de") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.hrs.de") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.hrs.de") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.surfbrett.de") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_available_spec.rb deleted file mode 100644 index c506ec566..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/se.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_registered_spec.rb deleted file mode 100644 index 4a75d40eb..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/se.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("hotel.se.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO1617446") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2013-11-13 10:35:03 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-28 11:49:39 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-13 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H2307235") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Soluciones Corporativas IP, S.L.U.") - expect(subject.registrar.url).to eq("www.scip.es") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("scipr000323588") - expect(subject.registrant_contacts[0].name).to eq("Christoph Donath") - expect(subject.registrant_contacts[0].organization).to eq("Christoph Donath") - expect(subject.registrant_contacts[0].address).to eq("C. Tijarafe 24, 2c") - expect(subject.registrant_contacts[0].city).to eq("Cruce de Arinaga") - expect(subject.registrant_contacts[0].zip).to eq("35118") - expect(subject.registrant_contacts[0].state).to eq("Palmas (Las)") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ES") - expect(subject.registrant_contacts[0].phone).to eq("+34.667889082") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("info@christophdonath.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("scipa000323588") - expect(subject.admin_contacts[0].name).to eq("Christoph Donath") - expect(subject.admin_contacts[0].organization).to eq("Christoph Donath") - expect(subject.admin_contacts[0].address).to eq("C. Tijarafe 24, 2c") - expect(subject.admin_contacts[0].city).to eq("Cruce de Arinaga") - expect(subject.admin_contacts[0].zip).to eq("35118") - expect(subject.admin_contacts[0].state).to eq("Palmas (Las)") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ES") - expect(subject.admin_contacts[0].phone).to eq("+34.667889082") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("info@christophdonath.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("scipt000323588") - expect(subject.technical_contacts[0].name).to eq("Christoph Donath") - expect(subject.technical_contacts[0].organization).to eq("Christoph Donath") - expect(subject.technical_contacts[0].address).to eq("C. Tijarafe 24, 2c") - expect(subject.technical_contacts[0].city).to eq("Cruce de Arinaga") - expect(subject.technical_contacts[0].zip).to eq("35118") - expect(subject.technical_contacts[0].state).to eq("Palmas (Las)") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("ES") - expect(subject.technical_contacts[0].phone).to eq("+34.667889082") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("info@christophdonath.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns8261.hostgator.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns8262.hostgator.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_available_spec.rb deleted file mode 100644 index 722cc4bb6..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uk.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_registered_spec.rb deleted file mode 100644 index 38e8c465f..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uk.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("history.uk.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO86293") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-08-31 11:50:57 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-03 10:36:47 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-08-31 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H78362") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("E-VELOCITY LTD") - expect(subject.registrar.url).to eq("http://www.e-velocity.co.uk/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1045821") - expect(subject.registrant_contacts[0].name).to eq("Mr. Ray Hatley") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Tallow House\n65-66 Lower Galdeford") - expect(subject.registrant_contacts[0].city).to eq("Ludlow") - expect(subject.registrant_contacts[0].zip).to eq("SY8 1RU") - expect(subject.registrant_contacts[0].state).to eq("Shropshire") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.1584873633") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("ray@hatley.co.uk") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H305798") - expect(subject.admin_contacts[0].name).to eq("Mr. Ray Hatley") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("Tallow House\n65-66 Lower Galdeford") - expect(subject.admin_contacts[0].city).to eq("Ludlow") - expect(subject.admin_contacts[0].zip).to eq("SY8 1RU") - expect(subject.admin_contacts[0].state).to eq("Shropshire") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.1584873633") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("ray@hatley.co.uk") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H78362") - expect(subject.technical_contacts[0].name).to eq("Mr Simon Williams") - expect(subject.technical_contacts[0].organization).to eq("E-VELOCITY LTD") - expect(subject.technical_contacts[0].address).to eq("P.O Box 3295\nBrighton") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq("BN50 9EY") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1273684969") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("simon@e-velocity.co.uk") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns37.eukdns.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns38.eukdns.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_available_spec.rb deleted file mode 100644 index a2c838789..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uk.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_registered_spec.rb deleted file mode 100644 index 16d844f8d..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uk.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("paramount.uk.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO393884") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-02-28 12:17:01 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-03 12:59:45 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-02-28 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("I6467") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Webfusion") - expect(subject.registrar.url).to eq("http://www.123-reg.co.uk/domain-names/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MNT60424953041") - expect(subject.registrant_contacts[0].name).to eq("Identity Protection Service") - expect(subject.registrant_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.registrant_contacts[0].address).to eq("PO Box 795") - expect(subject.registrant_contacts[0].city).to eq("Godalming") - expect(subject.registrant_contacts[0].zip).to eq("GU7 9GA") - expect(subject.registrant_contacts[0].state).to eq("Surrey") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.1483307527") - expect(subject.registrant_contacts[0].fax).to eq("+44.1483304031") - expect(subject.registrant_contacts[0].email).to eq("paramount.uk.net@identity-protect.org") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MNT60424953041") - expect(subject.admin_contacts[0].name).to eq("Identity Protection Service") - expect(subject.admin_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.admin_contacts[0].address).to eq("PO Box 795") - expect(subject.admin_contacts[0].city).to eq("Godalming") - expect(subject.admin_contacts[0].zip).to eq("GU7 9GA") - expect(subject.admin_contacts[0].state).to eq("Surrey") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.1483307527") - expect(subject.admin_contacts[0].fax).to eq("+44.1483304031") - expect(subject.admin_contacts[0].email).to eq("paramount.uk.net@identity-protect.org") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MNT60424953041") - expect(subject.technical_contacts[0].name).to eq("Identity Protection Service") - expect(subject.technical_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.technical_contacts[0].address).to eq("PO Box 795") - expect(subject.technical_contacts[0].city).to eq("Godalming") - expect(subject.technical_contacts[0].zip).to eq("GU7 9GA") - expect(subject.technical_contacts[0].state).to eq("Surrey") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1483307527") - expect(subject.technical_contacts[0].fax).to eq("+44.1483304031") - expect(subject.technical_contacts[0].email).to eq("paramount.uk.net@identity-protect.org") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.myhostcp.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.myhostcp.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_available_spec.rb deleted file mode 100644 index 91488e64a..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/us.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_registered_spec.rb deleted file mode 100644 index 96617715d..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/us.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("college.us.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO275307") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-10-20 10:03:28 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-01-16 16:27:26 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-20 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1044037") - expect(subject.registrant_contacts[0].name).to eq("Vantage Media Corporation") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("2101 Rosecrans Ave.\nSuite 2000") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("90245") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.3102196200") - expect(subject.registrant_contacts[0].fax).to eq("+1.8665897214") - expect(subject.registrant_contacts[0].email).to eq("domainadmin@vantagemedia.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H143205") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("Vantage Media LLC") - expect(subject.admin_contacts[0].address).to eq("2101 Rosecrans Ave.\nSuite 2000") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq("90245") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.3102196200") - expect(subject.admin_contacts[0].fax).to eq("+1.8665897214") - expect(subject.admin_contacts[0].email).to eq("domainadmin@vantagemedia.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H143205") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("Vantage Media LLC") - expect(subject.technical_contacts[0].address).to eq("2101 Rosecrans Ave.\nSuite 2000") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq("90245") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.3102196200") - expect(subject.technical_contacts[0].fax).to eq("+1.8665897214") - expect(subject.technical_contacts[0].email).to eq("domainadmin@vantagemedia.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.p17.dynect.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.p17.dynect.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.p17.dynect.net") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.p17.dynect.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/us.org/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/us.org/status_available_spec.rb deleted file mode 100644 index 8b01c66ca..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/us.org/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/us.org/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_available_spec.rb deleted file mode 100644 index 5b302026e..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uy.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_registered_spec.rb deleted file mode 100644 index c553a5ad4..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/uy.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("bestb.uy.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO493832") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-07-12 13:49:25 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-10 00:27:20 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-07-12 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("I6467") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Webfusion") - expect(subject.registrar.url).to eq("http://www.123-reg.co.uk/domain-names/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MNT32524959440") - expect(subject.registrant_contacts[0].name).to eq("Identity Protection Service") - expect(subject.registrant_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.registrant_contacts[0].address).to eq("PO Box 795") - expect(subject.registrant_contacts[0].city).to eq("Godalming") - expect(subject.registrant_contacts[0].zip).to eq("GU7 9GA") - expect(subject.registrant_contacts[0].state).to eq("Surrey") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.1483307527") - expect(subject.registrant_contacts[0].fax).to eq("+44.1483304031") - expect(subject.registrant_contacts[0].email).to eq("bestb.uy.com@identity-protect.org") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MNT32524959440") - expect(subject.admin_contacts[0].name).to eq("Identity Protection Service") - expect(subject.admin_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.admin_contacts[0].address).to eq("PO Box 795") - expect(subject.admin_contacts[0].city).to eq("Godalming") - expect(subject.admin_contacts[0].zip).to eq("GU7 9GA") - expect(subject.admin_contacts[0].state).to eq("Surrey") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.1483307527") - expect(subject.admin_contacts[0].fax).to eq("+44.1483304031") - expect(subject.admin_contacts[0].email).to eq("bestb.uy.com@identity-protect.org") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MNT32524959440") - expect(subject.technical_contacts[0].name).to eq("Identity Protection Service") - expect(subject.technical_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.technical_contacts[0].address).to eq("PO Box 795") - expect(subject.technical_contacts[0].city).to eq("Godalming") - expect(subject.technical_contacts[0].zip).to eq("GU7 9GA") - expect(subject.technical_contacts[0].state).to eq("Surrey") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1483307527") - expect(subject.technical_contacts[0].fax).to eq("+44.1483304031") - expect(subject.technical_contacts[0].email).to eq("bestb.uy.com@identity-protect.org") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.123-reg.co.uk") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns.123-reg.co.uk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_available_spec.rb deleted file mode 100644 index d901b4864..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/za.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_registered_spec.rb deleted file mode 100644 index 651d7ddd4..000000000 --- a/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.centralnic.com.rb' - -describe Whois::Record::Parser::WhoisCentralnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.centralnic.com/za.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("siyenza.za.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO333077") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-11-17 11:47:29 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-03 12:33:13 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-17 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("C12112") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Megaweb Internet Services") - expect(subject.registrar.url).to eq("http://www.megaweb.co.za/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H1063006") - expect(subject.registrant_contacts[0].name).to eq("MegaWeb Internet Services cc") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("PO Box 3738\nCramerview") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq("2060") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ZA") - expect(subject.registrant_contacts[0].phone).to eq("+27.0114851984") - expect(subject.registrant_contacts[0].fax).to eq("+27.0114855999") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@megaweb.co.za") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H119106") - expect(subject.admin_contacts[0].name).to eq("Liz Hart") - expect(subject.admin_contacts[0].organization).to eq("Siyenza Management") - expect(subject.admin_contacts[0].address).to eq("PO Box 3738\nCramerview") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq("2060") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ZA") - expect(subject.admin_contacts[0].phone).to eq("+27.0114851984") - expect(subject.admin_contacts[0].fax).to eq("+27.0114855999") - expect(subject.admin_contacts[0].email).to eq("dns-admin@megaweb.co.za") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C12112") - expect(subject.technical_contacts[0].name).to eq("Laida Peters") - expect(subject.technical_contacts[0].organization).to eq("Megaweb Internet Services") - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq("Gauteng") - expect(subject.technical_contacts[0].zip).to eq("2192") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("ZA") - expect(subject.technical_contacts[0].phone).to eq("+27.027114851984") - expect(subject.technical_contacts[0].fax).to eq("+27.027114851986") - expect(subject.technical_contacts[0].email).to eq("dns-admin@megaweb.co.za") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1a.your-server.co.za") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("nsa.second-ns.co.za") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_autorenew_grace_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_autorenew_grace_spec.rb deleted file mode 100644 index c9ab1f51d..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_autorenew_grace_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_autorenew_grace.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_autorenew_grace.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_autorenew_grace.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_available_spec.rb deleted file mode 100644 index 040cb2691..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_pendingdelete_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_pendingdelete_spec.rb deleted file mode 100644 index d5861861a..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_pendingdelete_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_pendingdelete.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_pendingdelete.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_pendingdelete.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_redemption_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_redemption_spec.rb deleted file mode 100644 index c0092ed2b..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_redemption_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_redemption.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_redemption.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_redemption.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_registered_spec.rb deleted file mode 100644 index e44a7b065..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_registered_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_registered.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_tobereleased_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_tobereleased_spec.rb deleted file mode 100644 index 92597b8a7..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/property_status_tobereleased_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/property_status_tobereleased.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "property_status_tobereleased.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/property_status_tobereleased.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/status_available_spec.rb deleted file mode 100644 index f51722282..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_available_spec.rb +++ /dev/null @@ -1,108 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal\nNotice, available at http://www.cira.ca/legal-notice/?lang=en\n\n(c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/)") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ca") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(true) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/status_invalid_spec.rb deleted file mode 100644 index 870025386..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_invalid_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cira.ca/ca/status_registered_spec.rb deleted file mode 100644 index 7ef729397..000000000 --- a/spec/whois/record/parser/responses/whois.cira.ca/ca/status_registered_spec.rb +++ /dev/null @@ -1,162 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cira.ca/ca/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cira.ca.rb' - -describe Whois::Record::Parser::WhoisCiraCa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cira.ca/ca/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Use of CIRA's WHOIS service is governed by the Terms of Use in its Legal\nNotice, available at http://www.cira.ca/legal-notice/?lang=en\n\n(c) 2014 Canadian Internet Registration Authority, (http://www.cira.ca/)") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.ca") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-10-03 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-13 00:00:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-04-28 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("5000040") - expect(subject.registrar.name).to eq("MarkMonitor International Canada Ltd.") - expect(subject.registrar.organization).to eq("MarkMonitor International Canada Ltd.") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Christina Chiou") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("130 King St. W., Suite 1800,\nToronto ON M5X1E3 Canada") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+1.4168653361x") - expect(subject.admin_contacts[0].fax).to eq("+1.4169456616") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Matt Serlin") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("Domain Provisioning,10400 Overland Rd. PMB 155\nBoise ID 83709 United States") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+1.2083895740x") - expect(subject.technical_contacts[0].fax).to eq("+1.2083895771") - expect(subject.technical_contacts[0].email).to eq("ccops@markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(true) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_available_spec.rb deleted file mode 100644 index 89cdd208a..000000000 --- a/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cmc.iq/iq/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cmc.iq.rb' - -describe Whois::Record::Parser::WhoisCmcIq, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cmc.iq/iq/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.iq") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_registered_spec.rb deleted file mode 100644 index 64f21461e..000000000 --- a/spec/whois/record/parser/responses/whois.cmc.iq/iq/status_registered_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cmc.iq/iq/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cmc.iq.rb' - -describe Whois::Record::Parser::WhoisCmcIq, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cmc.iq/iq/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.iq") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("895-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-10-03 21:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-29 05:19:04 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-02 21:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("CMC Registrar") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_ok_spec.rb deleted file mode 100644 index 62f514757..000000000 --- a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cnnic.cn/cn/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cnnic.cn.rb' - -describe Whois::Record::Parser::WhoisCnnicCn, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.cnnic.cn/cn/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_reserved_list_spec.rb b/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_reserved_list_spec.rb deleted file mode 100644 index f649798b5..000000000 --- a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/property_status_reserved_list_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cnnic.cn/cn/property_status_reserved_list.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cnnic.cn.rb' - -describe Whois::Record::Parser::WhoisCnnicCn, "property_status_reserved_list.expected" do - - subject do - file = fixture("responses", "whois.cnnic.cn/cn/property_status_reserved_list.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_available_spec.rb deleted file mode 100644 index 370f8ce46..000000000 --- a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_available_spec.rb +++ /dev/null @@ -1,102 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cnnic.cn/cn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cnnic.cn.rb' - -describe Whois::Record::Parser::WhoisCnnicCn, "status_available.expected" do - - subject do - file = fixture("responses", "whois.cnnic.cn/cn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_registered_spec.rb deleted file mode 100644 index 002ed52b3..000000000 --- a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_registered_spec.rb +++ /dev/null @@ -1,120 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cnnic.cn/cn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cnnic.cn.rb' - -describe Whois::Record::Parser::WhoisCnnicCn, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.cnnic.cn/cn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.cn") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("20030311s10001s00033735-cn") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "serverDeleteProhibited", "clientUpdateProhibited", "serverUpdateProhibited", "clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-03-17 12:20:05")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-03-17 12:48:36")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("MarkMonitor Inc.") - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("cnnic-zdmd-022") - expect(subject.registrant_contacts[0].name).to eq("Google Ireland Holdings") - expect(subject.registrant_contacts[0].organization).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_reserved_spec.rb deleted file mode 100644 index 185ccd56c..000000000 --- a/spec/whois/record/parser/responses/whois.cnnic.cn/cn/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.cnnic.cn/cn/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.cnnic.cn.rb' - -describe Whois::Record::Parser::WhoisCnnicCn, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.cnnic.cn/cn/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_available_spec.rb b/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_available_spec.rb deleted file mode 100644 index 8bc3a60c6..000000000 --- a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_available_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ca/co.ca/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ca.rb' - -describe Whois::Record::Parser::WhoisCoCa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.co.ca/co.ca/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_registered_spec.rb deleted file mode 100644 index 1624b7d85..000000000 --- a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ca/co.ca/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ca.rb' - -describe Whois::Record::Parser::WhoisCoCa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.co.ca/co.ca/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-06-25 16:03:30")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-25")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.canadawebhosting.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.canadawebhosting.com") - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_reserved_spec.rb deleted file mode 100644 index a7b323f80..000000000 --- a/spec/whois/record/parser/responses/whois.co.ca/co.ca/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ca/co.ca/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ca.rb' - -describe Whois::Record::Parser::WhoisCoCa, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.co.ca/co.ca/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_available_spec.rb deleted file mode 100644 index 80e3aca6c..000000000 --- a/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_available_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.pl/co.pl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.pl.rb' - -describe Whois::Record::Parser::WhoisCoPl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.co.pl/co.pl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_registered_spec.rb deleted file mode 100644 index f72109be7..000000000 --- a/spec/whois/record/parser/responses/whois.co.pl/co.pl/status_registered_spec.rb +++ /dev/null @@ -1,100 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.pl/co.pl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.pl.rb' - -describe Whois::Record::Parser::WhoisCoPl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.co.pl/co.pl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("coco.co.pl") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-06-23 09:41:50")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.co.pl") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.co.pl") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_active_spec.rb b/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_active_spec.rb deleted file mode 100644 index d50587059..000000000 --- a/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_active_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ug/ug/property_status_active.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ug.rb' - -describe Whois::Record::Parser::WhoisCoUg, "property_status_active.expected" do - - subject do - file = fixture("responses", "whois.co.ug/ug/property_status_active.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_unconfirmed_spec.rb b/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_unconfirmed_spec.rb deleted file mode 100644 index dfda58b43..000000000 --- a/spec/whois/record/parser/responses/whois.co.ug/ug/property_status_unconfirmed_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ug/ug/property_status_unconfirmed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ug.rb' - -describe Whois::Record::Parser::WhoisCoUg, "property_status_unconfirmed.expected" do - - subject do - file = fixture("responses", "whois.co.ug/ug/property_status_unconfirmed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ug/ug/status_available_spec.rb b/spec/whois/record/parser/responses/whois.co.ug/ug/status_available_spec.rb deleted file mode 100644 index 73bb9c32f..000000000 --- a/spec/whois/record/parser/responses/whois.co.ug/ug/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ug/ug/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ug.rb' - -describe Whois::Record::Parser::WhoisCoUg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.co.ug/ug/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.co.ug/ug/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.co.ug/ug/status_registered_spec.rb deleted file mode 100644 index 5f398a3f2..000000000 --- a/spec/whois/record/parser/responses/whois.co.ug/ug/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.co.ug/ug/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.co.ug.rb' - -describe Whois::Record::Parser::WhoisCoUg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.co.ug/ug/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-04-02 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-11-10 14:06:58 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2018-04-07 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.cfi.co.ug") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.cfi.co.ug") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.cfi.co.ug") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.comlaude.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.comlaude.com/status_registered_spec.rb deleted file mode 100644 index 03d3a8ac1..000000000 --- a/spec/whois/record/parser/responses/whois.comlaude.com/status_registered_spec.rb +++ /dev/null @@ -1,132 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.comlaude.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.comlaude.com.rb' - -describe Whois::Record::Parser::WhoisComlaudeCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.comlaude.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect { subject.status }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-01-30")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-01-30")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("NOM IQ LTD (DBA COM LAUDE)") - expect(subject.registrar.url).to eq("http://www.comlaude.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Domain Manager") - expect(subject.registrant_contacts[0].organization).to eq("Nom-IQ Ltd dba Com Laude") - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+44.2078360070") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("admin@comlaude.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("Domain Manager") - expect(subject.admin_contacts[0].organization).to eq("Nom-IQ Ltd dba Com Laude") - expect(subject.admin_contacts[0].address).to eq(nil) - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+44.2078360070") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("admin@comlaude.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("Technical Manager") - expect(subject.technical_contacts[0].organization).to eq("Com Laude") - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+44.2074218250") - expect(subject.technical_contacts[0].fax).to eq("+44.8700118187") - expect(subject.technical_contacts[0].email).to eq("hostmaster@comlaude.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.comlaude-dns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.comlaude-dns.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns3.comlaude-dns.co.uk") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("dns4.comlaude-dns.eu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.corporatedomains.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.corporatedomains.com/status_available_spec.rb deleted file mode 100644 index c858c98f3..000000000 --- a/spec/whois/record/parser/responses/whois.corporatedomains.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.corporatedomains.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.corporatedomains.com.rb' - -describe Whois::Record::Parser::WhoisCorporatedomainsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.corporatedomains.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.corporatedomains.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.corporatedomains.com/status_registered_spec.rb deleted file mode 100644 index 05ab1c7ce..000000000 --- a/spec/whois/record/parser/responses/whois.corporatedomains.com/status_registered_spec.rb +++ /dev/null @@ -1,158 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.corporatedomains.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.corporatedomains.com.rb' - -describe Whois::Record::Parser::WhoisCorporatedomainsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.corporatedomains.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1992-11-24 00:00:00 -0500")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-05-16 09:28:56 -0400")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-11-23 00:00:00 -0500")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("299") - expect(subject.registrar.name).to eq("CORPORATE DOMAINS, INC.") - expect(subject.registrar.organization).to eq("CORPORATE DOMAINS, INC.") - expect(subject.registrar.url).to eq("www.cscprotectsbrands.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Dns Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("Please contact contact-admin@google.com, 1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("2400 E. Bayshore Pkwy") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6503300100") - expect(subject.technical_contacts[0].fax).to eq("+1.6506181499") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 38d6a9993..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,50 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.prodns.de") - expect(subject.nameservers[0].ipv4).to eq("91.233.85.99") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.prodns.eu") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.prodns.de") - expect(subject.nameservers[2].ipv4).to eq("91.233.86.99") - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.prodns.eu") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns5.prodns.de") - expect(subject.nameservers[4].ipv4).to eq("65.18.172.184") - expect(subject.nameservers[4].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/response_error_55000000010_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/response_error_55000000010_spec.rb deleted file mode 100644 index da4dc3085..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/response_error_55000000010_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/response_error_55000000010.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "response_error_55000000010.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/response_error_55000000010.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/response_throttled_spec.rb deleted file mode 100644 index 4cd4626b1..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/status_available_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/status_available_spec.rb deleted file mode 100644 index c52365652..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.de") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_ace_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_ace_spec.rb deleted file mode 100644 index 294d93ee1..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_ace_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/status_failed_ace.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "status_failed_ace.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/status_failed_ace.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_spec.rb deleted file mode 100644 index 522461f92..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/status_failed_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/status_failed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "status_failed.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/status_failed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/status_invalid_spec.rb deleted file mode 100644 index 845609968..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/status_invalid_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("googlededewdedewdewde.foo.de") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.denic.de/de/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.denic.de/de/status_registered_spec.rb deleted file mode 100644 index b199672ed..000000000 --- a/spec/whois/record/parser/responses/whois.denic.de/de/status_registered_spec.rb +++ /dev/null @@ -1,129 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.denic.de/de/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.denic.de.rb' - -describe Whois::Record::Parser::WhoisDenicDe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.denic.de/de/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("The data in this record is provided by DENIC for informational purposes only. DENIC does not guarantee its accuracy and cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete or not accurate in any sense. All the domain data that is visible in the whois service is protected by law. It is not permitted to use it for any purpose other than technical or administrative requirements associated with the operation of the Internet. It is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the whois database without prior and explicit written permission by DENIC. It is prohibited, in particular, to use it for transmission of unsolicited and/or commercial and/or advertising by phone, fax, e-mail or for any similar purposes. By maintaining the connection you assure that you have a legitimate interest in the data and that you will only use it for the stated purposes. You are aware that DENIC maintains the right to initiate legal proceedings against you in the event of any breach of this assurance and to bar you from using its whois service. The DENIC whois service on port 43 never discloses any information concerning the domain holder/administrative contact. Information concerning the domain holder/administrative contact can be obtained through use of our web-based whois service available at the DENIC website: http://www.denic.de/en/domains/whois-service/web-whois.html") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.de") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-03-30 19:36:27 +0200")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Domain Admin") - expect(subject.registrar.organization).to eq("MarkMonitor Inc") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated_spec.rb b/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated_spec.rb deleted file mode 100644 index ea5ce8653..000000000 --- a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_deactivated.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dk-hostmaster.dk.rb' - -describe Whois::Record::Parser::WhoisDkHostmasterDk, "property_status_deactivated.expected" do - - subject do - file = fixture("responses", "whois.dk-hostmaster.dk/dk/property_status_deactivated.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_reserved_spec.rb deleted file mode 100644 index 93f03e695..000000000 --- a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/property_status_reserved_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dk-hostmaster.dk/dk/property_status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dk-hostmaster.dk.rb' - -describe Whois::Record::Parser::WhoisDkHostmasterDk, "property_status_reserved.expected" do - - subject do - file = fixture("responses", "whois.dk-hostmaster.dk/dk/property_status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_available_spec.rb deleted file mode 100644 index b9c6465f6..000000000 --- a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dk-hostmaster.dk.rb' - -describe Whois::Record::Parser::WhoisDkHostmasterDk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dk-hostmaster.dk/dk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_registered_spec.rb deleted file mode 100644 index 4d1f2c98f..000000000 --- a/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/dk/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dk-hostmaster.dk/dk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dk-hostmaster.dk.rb' - -describe Whois::Record::Parser::WhoisDkHostmasterDk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dk-hostmaster.dk/dk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-01-10")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-03-31")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_nameservers_with_ip_spec.rb deleted file mode 100644 index d373f77a7..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.register.be") - expect(subject.nameservers[0].ipv4).to eq("91.121.5.186") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.register.be") - expect(subject.nameservers[1].ipv4).to eq("80.169.63.207") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.register.be") - expect(subject.nameservers[2].ipv4).to eq("217.21.176.34") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_status_available_spec.rb deleted file mode 100644 index 26803fe98..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_not_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_status_not_available_spec.rb deleted file mode 100644 index 2f99713e1..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_not_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_status_not_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_status_not_available.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_status_not_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_notallowed_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_status_notallowed_spec.rb deleted file mode 100644 index 55db76b35..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_notallowed_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_status_notallowed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_status_notallowed.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_status_notallowed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_outofservice_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_status_outofservice_spec.rb deleted file mode 100644 index 92a9fbd19..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_outofservice_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_status_outofservice.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_status_outofservice.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_status_outofservice.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_quarantine_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/property_status_quarantine_spec.rb deleted file mode 100644 index 149cecb0e..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/property_status_quarantine_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/property_status_quarantine.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "property_status_quarantine.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/property_status_quarantine.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/response_blocked_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/response_blocked_spec.rb deleted file mode 100644 index 953161e2b..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/response_blocked_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/response_blocked.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "response_blocked.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/response_blocked.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end - describe "#response_blocked?" do - it do - expect(subject.response_blocked?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_hourly_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_hourly_spec.rb deleted file mode 100644 index a941a7128..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_hourly_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/response_throttled_hourly.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "response_throttled_hourly.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/response_throttled_hourly.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_limit_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_limit_spec.rb deleted file mode 100644 index 26508be6d..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/response_throttled_limit_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/response_throttled_limit.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "response_throttled_limit.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/response_throttled_limit.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/status_available_spec.rb deleted file mode 100644 index 8cbbfaa18..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/status_available_spec.rb +++ /dev/null @@ -1,80 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.be") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/status_invalid_spec.rb deleted file mode 100644 index 5a6ce7eec..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/status_invalid_spec.rb +++ /dev/null @@ -1,80 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("www.kimdemolenaer.be") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.be/be/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dns.be/be/status_registered_spec.rb deleted file mode 100644 index c3c3860f3..000000000 --- a/spec/whois/record/parser/responses/whois.dns.be/be/status_registered_spec.rb +++ /dev/null @@ -1,92 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.be/be/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.be.rb' - -describe Whois::Record::Parser::WhoisDnsBe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dns.be/be/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.be") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-12-12 00:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.hr/hr/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.hr/hr/status_available_spec.rb deleted file mode 100644 index d9a454866..000000000 --- a/spec/whois/record/parser/responses/whois.dns.hr/hr/status_available_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.hr/hr/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.hr.rb' - -describe Whois::Record::Parser::WhoisDnsHr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.hr/hr/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.hr/hr/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dns.hr/hr/status_registered_spec.rb deleted file mode 100644 index d3d258c7a..000000000 --- a/spec/whois/record/parser/responses/whois.dns.hr/hr/status_registered_spec.rb +++ /dev/null @@ -1,110 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.hr/hr/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.hr.rb' - -describe Whois::Record::Parser::WhoisDnsHr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dns.hr/hr/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.hr") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-21")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Hrvatska d.o.o.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Ulica Petra Hektorovića 2") - expect(subject.registrant_contacts[0].city).to eq("Zagreb") - expect(subject.registrant_contacts[0].zip).to eq("10 000") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.lu/lu/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.dns.lu/lu/property_nameservers_with_ip_spec.rb deleted file mode 100644 index af78b2a05..000000000 --- a/spec/whois/record/parser/responses/whois.dns.lu/lu/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.lu/lu/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.lu.rb' - -describe Whois::Record::Parser::WhoisDnsLu, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.dns.lu/lu/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.arbed.lu") - expect(subject.nameservers[0].ipv4).to eq("194.154.218.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.pt.lu") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.arbed.lu") - expect(subject.nameservers[2].ipv4).to eq("194.154.218.12") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.lu/lu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.lu/lu/status_available_spec.rb deleted file mode 100644 index 0f71c8cd1..000000000 --- a/spec/whois/record/parser/responses/whois.dns.lu/lu/status_available_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.lu/lu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.lu.rb' - -describe Whois::Record::Parser::WhoisDnsLu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.lu/lu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.lu/lu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dns.lu/lu/status_registered_spec.rb deleted file mode 100644 index c55ce860e..000000000 --- a/spec/whois/record/parser/responses/whois.dns.lu/lu/status_registered_spec.rb +++ /dev/null @@ -1,117 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.lu/lu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.lu.rb' - -describe Whois::Record::Parser::WhoisDnsLu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dns.lu/lu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-06-04 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("Markmonitor") - expect(subject.registrar.url).to eq("http://www.markmonitor.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].country_code).to eq("US") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].address).to eq("Google Inc., 1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].address).to eq("Google Inc., 1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pl/pl/property_expires_on_not_defined_spec.rb b/spec/whois/record/parser/responses/whois.dns.pl/pl/property_expires_on_not_defined_spec.rb deleted file mode 100644 index 0a442cf86..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pl/pl/property_expires_on_not_defined_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pl/pl/property_expires_on_not_defined.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pl.rb' - -describe Whois::Record::Parser::WhoisDnsPl, "property_expires_on_not_defined.expected" do - - subject do - file = fixture("responses", "whois.dns.pl/pl/property_expires_on_not_defined.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pl/pl/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.dns.pl/pl/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 7721d68a8..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pl/pl/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pl/pl/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pl.rb' - -describe Whois::Record::Parser::WhoisDnsPl, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.dns.pl/pl/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.pentex.pl") - expect(subject.nameservers[0].ipv4).to eq("188.165.232.46") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.pentex.pl") - expect(subject.nameservers[1].ipv4).to eq("83.142.46.21") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pl/pl/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.dns.pl/pl/response_throttled_spec.rb deleted file mode 100644 index 9a3ed787d..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pl/pl/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pl/pl/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pl.rb' - -describe Whois::Record::Parser::WhoisDnsPl, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.dns.pl/pl/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pl/pl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.pl/pl/status_available_spec.rb deleted file mode 100644 index 8f6e99195..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pl/pl/status_available_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pl/pl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pl.rb' - -describe Whois::Record::Parser::WhoisDnsPl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.pl/pl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pl/pl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dns.pl/pl/status_registered_spec.rb deleted file mode 100644 index 09b02139c..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pl/pl/status_registered_spec.rb +++ /dev/null @@ -1,121 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pl/pl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pl.rb' - -describe Whois::Record::Parser::WhoisDnsPl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dns.pl/pl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.pl") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-09-19 13:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-08-17 11:21:09")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-09-18 14:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Markmonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("ks_5271013") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("DNS Admin\nGoogle Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6503300100") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/property_nameservers_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/property_nameservers_spec.rb deleted file mode 100644 index 890f649c1..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/property_nameservers_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/property_nameservers.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "property_nameservers.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/property_nameservers.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/property_status_techpro_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/property_status_techpro_spec.rb deleted file mode 100644 index 0dd8b2da1..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/property_status_techpro_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/property_status_techpro.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "property_status_techpro.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/property_status_techpro.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/status_available_spec.rb deleted file mode 100644 index 9fc8c13a3..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_inactive_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/status_inactive_spec.rb deleted file mode 100644 index 32502d28e..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_inactive_spec.rb +++ /dev/null @@ -1,62 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/status_inactive.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "status_inactive.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/status_inactive.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-02-09 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-01 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(0) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/status_registered_spec.rb deleted file mode 100644 index f95507a05..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-01-09 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-28 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.dns.pt/pt/status_reserved_spec.rb deleted file mode 100644 index 42ef09537..000000000 --- a/spec/whois/record/parser/responses/whois.dns.pt/pt/status_reserved_spec.rb +++ /dev/null @@ -1,61 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dns.pt/pt/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dns.pt.rb' - -describe Whois::Record::Parser::WhoisDnsPt, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.dns.pt/pt/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-02-09 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 5f7e365d5..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.tntpost.nl") - expect(subject.nameservers[0].ipv4).to eq("145.78.21.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.tntpost.nl") - expect(subject.nameservers[1].ipv4).to eq("80.69.76.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_status_inactive_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_status_inactive_spec.rb deleted file mode 100644 index 162fe0d0c..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/property_status_inactive_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/property_status_inactive.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "property_status_inactive.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/property_status_inactive.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_daily_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_daily_spec.rb deleted file mode 100644 index 14cabcbcd..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_daily_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled_daily.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "response_throttled_daily.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/response_throttled_daily.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_spec.rb deleted file mode 100644 index 969c42aa1..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_unavailable_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_unavailable_spec.rb deleted file mode 100644 index 6a210b757..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/response_unavailable_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/response_unavailable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "response_unavailable.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/response_unavailable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_available_spec.rb deleted file mode 100644 index c37d8f369..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_available_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_redemption_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_redemption_spec.rb deleted file mode 100644 index b74335553..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_redemption_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/status_redemption.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "status_redemption.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/status_redemption.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_registered_spec.rb deleted file mode 100644 index eb5ce3307..000000000 --- a/spec/whois/record/parser/responses/whois.domain-registry.nl/nl/status_registered_spec.rb +++ /dev/null @@ -1,80 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain-registry.nl/nl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain-registry.nl.rb' - -describe Whois::Record::Parser::WhoisDomainRegistryNl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.domain-registry.nl/nl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-05-27")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-02-11")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain.kg/kg/status_available_spec.rb b/spec/whois/record/parser/responses/whois.domain.kg/kg/status_available_spec.rb deleted file mode 100644 index ad9ca1c7d..000000000 --- a/spec/whois/record/parser/responses/whois.domain.kg/kg/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain.kg/kg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain.kg.rb' - -describe Whois::Record::Parser::WhoisDomainKg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.domain.kg/kg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domain.kg/kg/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.domain.kg/kg/status_registered_spec.rb deleted file mode 100644 index 8d9c1c7c6..000000000 --- a/spec/whois/record/parser/responses/whois.domain.kg/kg/status_registered_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domain.kg/kg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domain.kg.rb' - -describe Whois::Record::Parser::WhoisDomainKg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.domain.kg/kg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-02-10 09:42:42")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-04-19 21:47:14")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-30 23:59:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/case_token_application_pending_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/case_token_application_pending_spec.rb deleted file mode 100644 index 5748862e5..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/case_token_application_pending_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/case_token_application_pending.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "case_token_application_pending.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/case_token_application_pending.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_multiple_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_multiple_spec.rb deleted file mode 100644 index cdb0b2ad6..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_multiple_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "property_contacts_multiple.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/property_contacts_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(2) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("JL241-IEDR") - expect(subject.admin_contacts[0].name).to eq("Jonathan Lundberg") - expect(subject.admin_contacts[1]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[1].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[1].id).to eq("JM474-IEDR") - expect(subject.admin_contacts[1].name).to eq("John Moylan") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("JM474-IEDR") - expect(subject.technical_contacts[0].name).to eq("John Moylan") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id_spec.rb deleted file mode 100644 index 4b3fbb91d..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/property_contacts_not_matching_id.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "property_contacts_not_matching_id.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/property_contacts_not_matching_id.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("KG37-IEDR") - expect(subject.technical_contacts[0].name).to eq("Michael McGovern") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip_spec.rb deleted file mode 100644 index af9b8112b..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.dns.ie") - expect(subject.nameservers[0].ipv4).to eq("208.94.148.4") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.dns.ie") - expect(subject.nameservers[1].ipv4).to eq("208.80.124.4") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.dns.ie") - expect(subject.nameservers[2].ipv4).to eq("208.80.126.4") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.dns.ie") - expect(subject.nameservers[3].ipv4).to eq("208.80.125.4") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns5.dns.ie") - expect(subject.nameservers[4].ipv4).to eq("208.80.127.4") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns6.dns.ie") - expect(subject.nameservers[5].ipv4).to eq("208.94.149.4") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_available_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_available_spec.rb deleted file mode 100644 index 332d9ed91..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96\nDo not remove this notice") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_registered_spec.rb deleted file mode 100644 index 7c8d6901d..000000000 --- a/spec/whois/record/parser/responses/whois.domainregistry.ie/ie/status_registered_spec.rb +++ /dev/null @@ -1,118 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domainregistry.ie/ie/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domainregistry.ie.rb' - -describe Whois::Record::Parser::WhoisDomainregistryIe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.domainregistry.ie/ie/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Rights restricted by copyright; http://iedr.ie/index.php/mnudomregs/mnudnssearch/96\nDo not remove this notice") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.ie") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-03-21")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-21")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google, Inc") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("AAV410-IEDR") - expect(subject.admin_contacts[0].name).to eq("Christina Chiou") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("CCA7-IEDR") - expect(subject.technical_contacts[0].name).to eq("Markmonitor Inc") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domreg.lt/lt/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.domreg.lt/lt/property_nameservers_with_ip_spec.rb deleted file mode 100644 index ee417e741..000000000 --- a/spec/whois/record/parser/responses/whois.domreg.lt/lt/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domreg.lt/lt/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domreg.lt.rb' - -describe Whois::Record::Parser::WhoisDomregLt, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.domreg.lt/lt/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.serveriai.lt") - expect(subject.nameservers[0].ipv4).to eq("79.98.25.142") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.serveriai.lt") - expect(subject.nameservers[1].ipv4).to eq("174.36.250.192") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.serveriai.lt") - expect(subject.nameservers[2].ipv4).to eq("79.98.29.142") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.serveriai.lt") - expect(subject.nameservers[3].ipv4).to eq("67.228.39.192") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_available_spec.rb b/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_available_spec.rb deleted file mode 100644 index a7e99520f..000000000 --- a/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domreg.lt/lt/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domreg.lt.rb' - -describe Whois::Record::Parser::WhoisDomregLt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.domreg.lt/lt/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_registered_spec.rb deleted file mode 100644 index c93ed1d1d..000000000 --- a/spec/whois/record/parser/responses/whois.domreg.lt/lt/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.domreg.lt/lt/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.domreg.lt.rb' - -describe Whois::Record::Parser::WhoisDomregLt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.domreg.lt/lt/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-06")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.donuts.co/bike/status_available_spec.rb b/spec/whois/record/parser/responses/whois.donuts.co/bike/status_available_spec.rb deleted file mode 100644 index d70f466e4..000000000 --- a/spec/whois/record/parser/responses/whois.donuts.co/bike/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.donuts.co/bike/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.donuts.co.rb' - -describe Whois::Record::Parser::WhoisDonutsCo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.donuts.co/bike/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.donuts.co/bike/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.donuts.co/bike/status_registered_spec.rb deleted file mode 100644 index 9f8efeec2..000000000 --- a/spec/whois/record/parser/responses/whois.donuts.co/bike/status_registered_spec.rb +++ /dev/null @@ -1,168 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.donuts.co/bike/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.donuts.co.rb' - -describe Whois::Record::Parser::WhoisDonutsCo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.donuts.co/bike/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("whereismy.bike") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("C52CECC9AF044831A7335E8A0ECBC349-D") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-02-21 22:55:07 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-21 22:55:08 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-21 22:55:07 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("48") - expect(subject.registrar.name).to eq("Enom, Inc.") - expect(subject.registrar.organization).to eq("Enom, Inc.") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("8ff85c48fbd456f1") - expect(subject.registrant_contacts[0].name).to eq("whoisguard protected") - expect(subject.registrant_contacts[0].organization).to eq("WhoisGuard, Inc.") - expect(subject.registrant_contacts[0].address).to eq("P.O. Box 0823-03411") - expect(subject.registrant_contacts[0].city).to eq("Panama") - expect(subject.registrant_contacts[0].zip).to eq("00000") - expect(subject.registrant_contacts[0].state).to eq("Panama") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("PA") - expect(subject.registrant_contacts[0].phone).to eq("+507.8365503") - expect(subject.registrant_contacts[0].fax).to eq("+51.17057182") - expect(subject.registrant_contacts[0].email).to eq("legal@whoisguard.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("8ff85c48fbd456f1") - expect(subject.admin_contacts[0].name).to eq("whoisguard protected") - expect(subject.admin_contacts[0].organization).to eq("WhoisGuard, Inc.") - expect(subject.admin_contacts[0].address).to eq("P.O. Box 0823-03411") - expect(subject.admin_contacts[0].city).to eq("Panama") - expect(subject.admin_contacts[0].zip).to eq("00000") - expect(subject.admin_contacts[0].state).to eq("Panama") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("PA") - expect(subject.admin_contacts[0].phone).to eq("+507.8365503") - expect(subject.admin_contacts[0].fax).to eq("+51.17057182") - expect(subject.admin_contacts[0].email).to eq("legal@whoisguard.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("8ff85c48fbd456f1") - expect(subject.technical_contacts[0].name).to eq("whoisguard protected") - expect(subject.technical_contacts[0].organization).to eq("WhoisGuard, Inc.") - expect(subject.technical_contacts[0].address).to eq("P.O. Box 0823-03411") - expect(subject.technical_contacts[0].city).to eq("Panama") - expect(subject.technical_contacts[0].zip).to eq("00000") - expect(subject.technical_contacts[0].state).to eq("Panama") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("PA") - expect(subject.technical_contacts[0].phone).to eq("+507.8365503") - expect(subject.technical_contacts[0].fax).to eq("+51.17057182") - expect(subject.technical_contacts[0].email).to eq("legal@whoisguard.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns5.registrar-servers.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns3.registrar-servers.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns2.registrar-servers.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("dns1.registrar-servers.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("dns4.registrar-servers.com") - expect(subject.nameservers[4].ipv4).to eq(nil) - expect(subject.nameservers[4].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dot.cf/cf/property_expires_on_blank_spec.rb b/spec/whois/record/parser/responses/whois.dot.cf/cf/property_expires_on_blank_spec.rb deleted file mode 100644 index b48f11651..000000000 --- a/spec/whois/record/parser/responses/whois.dot.cf/cf/property_expires_on_blank_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dot.cf/cf/property_expires_on_blank.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dot.cf.rb' - -describe Whois::Record::Parser::WhoisDotCf, "property_expires_on_blank.expected" do - - subject do - file = fixture("responses", "whois.dot.cf/cf/property_expires_on_blank.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dot.cf/cf/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dot.cf/cf/status_available_spec.rb deleted file mode 100644 index ffddd939b..000000000 --- a/spec/whois/record/parser/responses/whois.dot.cf/cf/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dot.cf/cf/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dot.cf.rb' - -describe Whois::Record::Parser::WhoisDotCf, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dot.cf/cf/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dot.cf/cf/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dot.cf/cf/status_registered_spec.rb deleted file mode 100644 index 0b4c05ec5..000000000 --- a/spec/whois/record/parser/responses/whois.dot.cf/cf/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dot.cf/cf/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dot.cf.rb' - -describe Whois::Record::Parser::WhoisDotCf, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dot.cf/cf/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2013-03-28 00:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns5.nettica.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns1.nettica.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns2.nettica.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("dns3.nettica.com") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("dns4.nettica.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dot.tk/tk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dot.tk/tk/status_available_spec.rb deleted file mode 100644 index cd2f55897..000000000 --- a/spec/whois/record/parser/responses/whois.dot.tk/tk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dot.tk/tk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dot.tk.rb' - -describe Whois::Record::Parser::WhoisDotTk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dot.tk/tk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dot.tk/tk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dot.tk/tk/status_registered_spec.rb deleted file mode 100644 index 7c16c478f..000000000 --- a/spec/whois/record/parser/responses/whois.dot.tk/tk/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dot.tk/tk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dot.tk.rb' - -describe Whois::Record::Parser::WhoisDotTk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dot.tk/tk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-12-18 00:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2012-03-02 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_available_spec.rb deleted file mode 100644 index cf4052c14..000000000 --- a/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_available_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotgov.gov/gov/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotgov.gov.rb' - -describe Whois::Record::Parser::WhoisDotgovGov, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dotgov.gov/gov/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_registered_spec.rb deleted file mode 100644 index 599d6eb31..000000000 --- a/spec/whois/record/parser/responses/whois.dotgov.gov/gov/status_registered_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotgov.gov/gov/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotgov.gov.rb' - -describe Whois::Record::Parser::WhoisDotgovGov, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dotgov.gov/gov/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_available_spec.rb deleted file mode 100644 index 5d2e38790..000000000 --- a/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotmobiregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotmobiregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dotmobiregistry.net/mobi/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_registered_spec.rb deleted file mode 100644 index c10537c76..000000000 --- a/spec/whois/record/parser/responses/whois.dotmobiregistry.net/mobi/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotmobiregistry.net/mobi/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotmobiregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotmobiregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dotmobiregistry.net/mobi/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("mTLD WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered by mTLD and the access to the records in the mTLD WHOIS database are provided for information purposes only. It allows persons to check whether a specific domain name is still available or not and to obtain information related to the registration records of existing domain names. mTLD cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete, or not accurate in any sense. By submitting a query you agree not to use the information made available to: allow, enable or otherwise support the transmission of unsolicited, commercial advertising or other solicitations whether via email or otherwise; target advertising in any possible way; or to cause nuisance in any possible way to the registrants by sending (whether by automated, electronic processes capable of enabling high volumes or other possible means) messages to them. Without prejudice to the above, it is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the WHOIS database without prior and explicit permission by mTLD, nor in any attempt hereof, or to apply automated, electronic processes to mTLD (or its systems). You agree that any reproduction and/or transmission of data for commercial purposes will always be considered as the extraction of a substantial part of the content of the WHOIS database. By submitting the query you agree to abide by this policy and accept that mTLD can take measures to limit the use of its WHOIS services in order to protect the privacy of its registrants or the integrity of the database.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.mobi") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D117-MOBI") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-05-11 21:08:42 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-09 09:24:02 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-11 21:08:42 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-14290820") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6506234000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-14290820") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-14290820") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6506234000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_available_spec.rb deleted file mode 100644 index e2c7b0394..000000000 --- a/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotpostregistry.net/post/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotpostregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotpostregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dotpostregistry.net/post/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_registered_spec.rb deleted file mode 100644 index 60c8b4f96..000000000 --- a/spec/whois/record/parser/responses/whois.dotpostregistry.net/post/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotpostregistry.net/post/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotpostregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotpostregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dotpostregistry.net/post/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to .POST REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .POST Registry registry database. The data in this record is provided by .POST Registry for informational purposes only, and .POST Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .POST Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("posteitaliane.post") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D19482-POST") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["TRANSFER PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-09-21 12:03:07 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-09-21 12:07:40 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-21 12:03:07 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R4947-POST") - expect(subject.registrar.name).to eq("Universal Postal Union") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("ITPI30001") - expect(subject.registrant_contacts[0].name).to eq("Poste Italiane") - expect(subject.registrant_contacts[0].organization).to eq("Poste Italiane") - expect(subject.registrant_contacts[0].address).to eq("Viale Europa 190") - expect(subject.registrant_contacts[0].city).to eq("Rome") - expect(subject.registrant_contacts[0].zip).to eq("00144") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country_code).to eq("IT") - expect(subject.registrant_contacts[0].phone).to eq("+39.0659581") - expect(subject.registrant_contacts[0].fax).to eq("+39.065942298") - expect(subject.registrant_contacts[0].email).to eq("info@poste.it") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("UPU_C1002") - expect(subject.admin_contacts[0].name).to eq("Giovanni Brardinoni") - expect(subject.admin_contacts[0].organization).to eq("Poste Italiane") - expect(subject.admin_contacts[0].address).to eq("Viale Europa 175") - expect(subject.admin_contacts[0].city).to eq("Rome") - expect(subject.admin_contacts[0].zip).to eq("00144") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country_code).to eq("IT") - expect(subject.admin_contacts[0].phone).to eq("+39.0659583671") - expect(subject.admin_contacts[0].fax).to eq("+39.0698688651") - expect(subject.admin_contacts[0].email).to eq("Giovanni.Brardinoni@Postecom.it") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("UPU_C1001") - expect(subject.technical_contacts[0].name).to eq("Andrea Speranza") - expect(subject.technical_contacts[0].organization).to eq("Poste Italiane") - expect(subject.technical_contacts[0].address).to eq("Viale Europa 175") - expect(subject.technical_contacts[0].city).to eq("Rome") - expect(subject.technical_contacts[0].zip).to eq("00144") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("IT") - expect(subject.technical_contacts[0].phone).to eq("+39.0659583086") - expect(subject.technical_contacts[0].fax).to eq("+39.0659582032") - expect(subject.technical_contacts[0].email).to eq("netsecurity@postecom.it") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns.poste.it") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.poste.it") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_available_spec.rb b/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_available_spec.rb deleted file mode 100644 index 7a3e0f921..000000000 --- a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotproregistry.net/pro/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotproregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotproregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.dotproregistry.net/pro/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_registered_spec.rb deleted file mode 100644 index 170a16401..000000000 --- a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotproregistry.net/pro/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotproregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotproregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dotproregistry.net/pro/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to .PRO REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .PRO Registry registry database. The data in this record is provided by .PRO Registry for informational purposes only, and .PRO Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .PRO Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.pro") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D11545-PRO") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-07-22 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-07 09:18:18 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-08 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R2341-PRO") - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("google") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("google") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("google") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_reserved_spec.rb deleted file mode 100644 index 7f4875aee..000000000 --- a/spec/whois/record/parser/responses/whois.dotproregistry.net/pro/status_reserved_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dotproregistry.net/pro/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dotproregistry.net.rb' - -describe Whois::Record::Parser::WhoisDotproregistryNet, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.dotproregistry.net/pro/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dreamhost.com/property_contact_private_spec.rb b/spec/whois/record/parser/responses/whois.dreamhost.com/property_contact_private_spec.rb deleted file mode 100644 index d2eca0c53..000000000 --- a/spec/whois/record/parser/responses/whois.dreamhost.com/property_contact_private_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dreamhost.com.rb' - -describe Whois::Record::Parser::WhoisDreamhostCom, "property_contact_private.expected" do - - subject do - file = fixture("responses", "whois.dreamhost.com/property_contact_private.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.registrant_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.registrant_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM") - expect(subject.registrant_contacts[0].city).to eq("BREA") - expect(subject.registrant_contacts[0].zip).to eq("92821") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.7147064182") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("ADEQUATEHQ.COM@PROXY.DREAMHOST.COM") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.admin_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.admin_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM") - expect(subject.admin_contacts[0].city).to eq("BREA") - expect(subject.admin_contacts[0].zip).to eq("92821") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.7147064182") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("ADEQUATEHQ.COM@PROXY.DREAMHOST.COM") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.technical_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.technical_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O ADEQUATEHQ.COM") - expect(subject.technical_contacts[0].city).to eq("BREA") - expect(subject.technical_contacts[0].zip).to eq("92821") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.7147064182") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("ADEQUATEHQ.COM@PROXY.DREAMHOST.COM") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.dreamhost.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.dreamhost.com/status_registered_spec.rb deleted file mode 100644 index a2cc2a040..000000000 --- a/spec/whois/record/parser/responses/whois.dreamhost.com/status_registered_spec.rb +++ /dev/null @@ -1,132 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.dreamhost.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.dreamhost.com.rb' - -describe Whois::Record::Parser::WhoisDreamhostCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.dreamhost.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-09-22 21:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-14 16:53:27 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-09-22 04:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("431") - expect(subject.registrar.name).to eq("DREAMHOST") - expect(subject.registrar.organization).to eq("DREAMHOST") - expect(subject.registrar.url).to eq("www.dreamhost.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.registrant_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.registrant_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O DREAMHOST.COM") - expect(subject.registrant_contacts[0].city).to eq("BREA") - expect(subject.registrant_contacts[0].zip).to eq("92821") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.7147064182") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.admin_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.admin_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O DREAMHOST.COM") - expect(subject.admin_contacts[0].city).to eq("BREA") - expect(subject.admin_contacts[0].zip).to eq("92821") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.7147064182") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("PRIVATE REGISTRANT") - expect(subject.technical_contacts[0].organization).to eq("A HAPPY DREAMHOST CUSTOMER") - expect(subject.technical_contacts[0].address).to eq("417 ASSOCIATED RD #324, C/O DREAMHOST.COM") - expect(subject.technical_contacts[0].city).to eq("BREA") - expect(subject.technical_contacts[0].zip).to eq("92821") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.7147064182") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("YW3GAZMC77BTMTF@PROXY.DREAMHOST.COM") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.dreamhost.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.dreamhost.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.dreamhost.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_spec.rb deleted file mode 100644 index 0975ddffd..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contact_registrant.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contact_registrant.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("North Idaho College") - expect(subject.registrant_contacts[0].address).to eq("1000 W. Garden Avenue") - expect(subject.registrant_contacts[0].city).to eq("Coeur d'Alene") - expect(subject.registrant_contacts[0].zip).to eq("83814") - expect(subject.registrant_contacts[0].state).to eq("ID") - expect(subject.registrant_contacts[0].country).to eq("UNITED STATES") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization_spec.rb deleted file mode 100644 index bb5d7fc2d..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_with_additional_organization.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contact_registrant_with_additional_organization.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contact_registrant_with_additional_organization.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Harvard University") - expect(subject.registrant_contacts[0].address).to eq("HUIT Network Services\n60 Oxford Street") - expect(subject.registrant_contacts[0].city).to eq("Cambridge") - expect(subject.registrant_contacts[0].zip).to eq("02138") - expect(subject.registrant_contacts[0].state).to eq("MA") - expect(subject.registrant_contacts[0].country).to eq("UNITED STATES") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_address_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_address_spec.rb deleted file mode 100644 index 23f224626..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_address_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_address.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contact_registrant_without_address.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contact_registrant_without_address.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Massachusetts Institute of Technology") - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq("Cambridge") - expect(subject.registrant_contacts[0].zip).to eq("02139") - expect(subject.registrant_contacts[0].state).to eq("MA") - expect(subject.registrant_contacts[0].country).to eq("UNITED STATES") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_zip_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_zip_spec.rb deleted file mode 100644 index b8a1ab920..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contact_registrant_without_zip_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contact_registrant_without_zip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contact_registrant_without_zip.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contact_registrant_without_zip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("The American University of the Caribbean School of Medicine") - expect(subject.registrant_contacts[0].address).to eq("c/o Campbell Corporate Services, Ltd.\nScotiabank Building, P. O. Box 268") - expect(subject.registrant_contacts[0].city).to eq("Grand Cayman") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("CAYMAN ISLANDS") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case1_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case1_spec.rb deleted file mode 100644 index d35e6aea1..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case1_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case1.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contacts_case1.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contacts_case1.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Information Technology\nEDUCAUSE") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("4772 Walnut Street\nSte 206") - expect(subject.technical_contacts[0].city).to eq("Boulder") - expect(subject.technical_contacts[0].zip).to eq("80301") - expect(subject.technical_contacts[0].state).to eq("CO") - expect(subject.technical_contacts[0].country).to eq("UNITED STATES") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("(303) 449-4430") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("netadmin@educause.edu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case2_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case2_spec.rb deleted file mode 100644 index a24c63d3b..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case2_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case2.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contacts_case2.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contacts_case2.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Domain Admin\nStanford University") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("241 Panama Street Pine Hall, Room 115") - expect(subject.technical_contacts[0].city).to eq("Stanford") - expect(subject.technical_contacts[0].zip).to eq("94305-4122") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("UNITED STATES") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("(650) 723-4328") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("sunet-admin@stanford.edu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case3_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case3_spec.rb deleted file mode 100644 index 99cb0c607..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case3_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case3.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contacts_case3.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contacts_case3.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Tracy L. Smith\nUniversity of Illinois at Urbana-Champaign\nCITES 2105 Digital Computer Laboratory") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("1304 West Springfield Avenue") - expect(subject.admin_contacts[0].city).to eq("Urbana") - expect(subject.admin_contacts[0].zip).to eq("61801-4399") - expect(subject.admin_contacts[0].state).to eq("IL") - expect(subject.admin_contacts[0].country).to eq("UNITED STATES") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("(217) 244-2032") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("edu-admin@listserv.illinois.edu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case4_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case4_spec.rb deleted file mode 100644 index 700dde98f..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_case4_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contacts_case4.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contacts_case4.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contacts_case4.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("ITS Business Office\nSyracuse University\nInformation Technology and Services\nCenter for Science and Technology") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq(nil) - expect(subject.admin_contacts[0].city).to eq("Syracuse") - expect(subject.admin_contacts[0].zip).to eq("13244") - expect(subject.admin_contacts[0].state).to eq("NY") - expect(subject.admin_contacts[0].country).to eq("UNITED STATES") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("(315) 443-6189") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("itsoffice@syr.edu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_spec.rb deleted file mode 100644 index d9f57021a..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_contacts_spec.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_contacts.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_contacts.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_contacts.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Dennis L Noordam\nWindows System Administrator\nNorth Idaho College") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("1000 W. Garden Avenue") - expect(subject.technical_contacts[0].city).to eq("Coeur d Alene") - expect(subject.technical_contacts[0].zip).to eq("83814") - expect(subject.technical_contacts[0].state).to eq("ID") - expect(subject.technical_contacts[0].country).to eq("UNITED STATES") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("(208) 769-7860") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("dlnoordam@nic.edu") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_updated_on_unknown_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/property_updated_on_unknown_spec.rb deleted file mode 100644 index 01c582305..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/property_updated_on_unknown_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/property_updated_on_unknown.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "property_updated_on_unknown.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/property_updated_on_unknown.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/status_available_spec.rb deleted file mode 100644 index 441ad6262..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.educause.edu/edu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.educause.edu/edu/status_registered_spec.rb deleted file mode 100644 index db1896433..000000000 --- a/spec/whois/record/parser/responses/whois.educause.edu/edu/status_registered_spec.rb +++ /dev/null @@ -1,151 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.educause.edu/edu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.educause.edu.rb' - -describe Whois::Record::Parser::WhoisEducauseEdu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.educause.edu/edu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("academia.edu") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-05-10")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-04-04")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-31")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Academia") - expect(subject.registrant_contacts[0].address).to eq("251 Kearny St\nsuite 520") - expect(subject.registrant_contacts[0].city).to eq("San Francisco") - expect(subject.registrant_contacts[0].zip).to eq("94108") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("UNITED STATES") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Academia, Inc.") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("251 Kearny St\nsuite 520") - expect(subject.admin_contacts[0].city).to eq("San Francisco") - expect(subject.admin_contacts[0].zip).to eq("94108") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq("UNITED STATES") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("(415) 829-2341") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("helpdesk@academia.edu") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Academia, Inc.") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("251 Kearny St\nsuite 520") - expect(subject.technical_contacts[0].city).to eq("San Francisco") - expect(subject.technical_contacts[0].zip).to eq("94108") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("UNITED STATES") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("(415) 829-2341") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("helpdesk@academia.edu") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns-1484.awsdns-57.org") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-225.awsdns-28.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns-1850.awsdns-39.co.uk") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns-629.awsdns-14.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_available_spec.rb b/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_available_spec.rb deleted file mode 100644 index 982138527..000000000 --- a/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eenet.ee/ee/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eenet.ee.rb' - -describe Whois::Record::Parser::WhoisEenetEe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.eenet.ee/ee/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_registered_spec.rb deleted file mode 100644 index 4cd9c467a..000000000 --- a/spec/whois/record/parser/responses/whois.eenet.ee/ee/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eenet.ee/ee/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eenet.ee.rb' - -describe Whois::Record::Parser::WhoisEenetEe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.eenet.ee/ee/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-22")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-05-28")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.enom.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.enom.com/status_available_spec.rb deleted file mode 100644 index 12ccc25e2..000000000 --- a/spec/whois/record/parser/responses/whois.enom.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.enom.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.enom.com.rb' - -describe Whois::Record::Parser::WhoisEnomCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.enom.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.enom.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.enom.com/status_registered_spec.rb deleted file mode 100644 index 34fce9e6a..000000000 --- a/spec/whois/record/parser/responses/whois.enom.com/status_registered_spec.rb +++ /dev/null @@ -1,158 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.enom.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.enom.com.rb' - -describe Whois::Record::Parser::WhoisEnomCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.enom.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("enom.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-10-24 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("eNom, Inc.") - expect(subject.registrar.organization).to eq("eNom, Inc.") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("DNS MANAGER") - expect(subject.registrant_contacts[0].organization).to eq("ENOM, INC.") - expect(subject.registrant_contacts[0].address).to eq("P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300") - expect(subject.registrant_contacts[0].city).to eq("KIRKLAND") - expect(subject.registrant_contacts[0].zip).to eq("98033") - expect(subject.registrant_contacts[0].state).to eq("WA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("DNS MANAGER") - expect(subject.admin_contacts[0].organization).to eq("ENOM, INC.") - expect(subject.admin_contacts[0].address).to eq("P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300") - expect(subject.admin_contacts[0].city).to eq("KIRKLAND") - expect(subject.admin_contacts[0].zip).to eq("98033") - expect(subject.admin_contacts[0].state).to eq("WA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.4259744689") - expect(subject.admin_contacts[0].fax).to eq("+1.4259744791") - expect(subject.admin_contacts[0].email).to eq("DOMAINS@DEMANDMEDIA.COM") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("DNS MANAGER") - expect(subject.technical_contacts[0].organization).to eq("ENOM, INC.") - expect(subject.technical_contacts[0].address).to eq("P.O. BOX 7449, 5808 LAKE WASHINGTON BLVD. NE, SUITE 300") - expect(subject.technical_contacts[0].city).to eq("KIRKLAND") - expect(subject.technical_contacts[0].zip).to eq("98033") - expect(subject.technical_contacts[0].state).to eq("WA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.4259744689") - expect(subject.technical_contacts[0].fax).to eq("+1.4259744791") - expect(subject.technical_contacts[0].email).to eq("DOMAINS@DEMANDMEDIA.COM") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns11.enom.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns12.enom.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns13.enom.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.enom.com/status_registered_with_blank_updated_date_spec.rb b/spec/whois/record/parser/responses/whois.enom.com/status_registered_with_blank_updated_date_spec.rb deleted file mode 100644 index cccfe3d63..000000000 --- a/spec/whois/record/parser/responses/whois.enom.com/status_registered_with_blank_updated_date_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.enom.com/status_registered_with_blank_updated_date.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.enom.com.rb' - -describe Whois::Record::Parser::WhoisEnomCom, "status_registered_with_blank_updated_date.expected" do - - subject do - file = fixture("responses", "whois.enom.com/status_registered_with_blank_updated_date.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_available_spec.rb b/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_available_spec.rb deleted file mode 100644 index 1fd5154dc..000000000 --- a/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_available_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu.org/eu.org/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.org.rb' - -describe Whois::Record::Parser::WhoisEuOrg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.eu.org/eu.org/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_registered_spec.rb deleted file mode 100644 index c4624dfe7..000000000 --- a/spec/whois/record/parser/responses/whois.eu.org/eu.org/status_registered_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu.org/eu.org/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.org.rb' - -describe Whois::Record::Parser::WhoisEuOrg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.eu.org/eu.org/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu/eu/property_nameservers_spec.rb b/spec/whois/record/parser/responses/whois.eu/eu/property_nameservers_spec.rb deleted file mode 100644 index 335bb839b..000000000 --- a/spec/whois/record/parser/responses/whois.eu/eu/property_nameservers_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu/eu/property_nameservers.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.rb' - -describe Whois::Record::Parser::WhoisEu, "property_nameservers.expected" do - - subject do - file = fixture("responses", "whois.eu/eu/property_nameservers.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a.nic.eu") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("l.nic.eu") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("p.nic.eu") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.eurid.eu") - expect(subject.nameservers[3].ipv4).to eq("91.220.191.220") - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns2.eurid.eu") - expect(subject.nameservers[4].ipv4).to eq("195.234.53.220") - expect(subject.nameservers[4].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu/eu/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.eu/eu/response_throttled_spec.rb deleted file mode 100644 index db4d708fd..000000000 --- a/spec/whois/record/parser/responses/whois.eu/eu/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu/eu/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.rb' - -describe Whois::Record::Parser::WhoisEu, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.eu/eu/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu/eu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.eu/eu/status_available_spec.rb deleted file mode 100644 index c34ed8c6f..000000000 --- a/spec/whois/record/parser/responses/whois.eu/eu/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu/eu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.rb' - -describe Whois::Record::Parser::WhoisEu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.eu/eu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.eu") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.eu/eu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.eu/eu/status_registered_spec.rb deleted file mode 100644 index 36eb0f41f..000000000 --- a/spec/whois/record/parser/responses/whois.eu/eu/status_registered_spec.rb +++ /dev/null @@ -1,116 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.eu/eu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.eu.rb' - -describe Whois::Record::Parser::WhoisEu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.eu/eu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.eu") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(0) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.fi/fi/property_status_graceperiod_spec.rb b/spec/whois/record/parser/responses/whois.fi/fi/property_status_graceperiod_spec.rb deleted file mode 100644 index 511796bbe..000000000 --- a/spec/whois/record/parser/responses/whois.fi/fi/property_status_graceperiod_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.fi/fi/property_status_graceperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.fi.rb' - -describe Whois::Record::Parser::WhoisFi, "property_status_graceperiod.expected" do - - subject do - file = fixture("responses", "whois.fi/fi/property_status_graceperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("oogle.fi") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-06-21")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-22")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-06-21")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("NURMI") - expect(subject.registrant_contacts[0].name).to eq("-") - expect(subject.registrant_contacts[0].organization).to eq("Minna") - expect(subject.registrant_contacts[0].address).to eq("Huovitie 3") - expect(subject.registrant_contacts[0].city).to eq("HELSINKI") - expect(subject.registrant_contacts[0].zip).to eq("00400") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+358201599789") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a.ns.netim.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("b.ns.netim.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.fi/fi/status_available_spec.rb b/spec/whois/record/parser/responses/whois.fi/fi/status_available_spec.rb deleted file mode 100644 index daaf1b3a0..000000000 --- a/spec/whois/record/parser/responses/whois.fi/fi/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.fi/fi/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.fi.rb' - -describe Whois::Record::Parser::WhoisFi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.fi/fi/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.fi/fi/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.fi/fi/status_registered_spec.rb deleted file mode 100644 index 28652e321..000000000 --- a/spec/whois/record/parser/responses/whois.fi/fi/status_registered_spec.rb +++ /dev/null @@ -1,123 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.fi/fi/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.fi.rb' - -describe Whois::Record::Parser::WhoisFi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.fi/fi/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.fi") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-06-30")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-07")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-04")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("09073468") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("Google Finland Oy") - expect(subject.registrant_contacts[0].address).to eq("Mannerheimintie 12 B") - expect(subject.registrant_contacts[0].city).to eq("HELSINKI") - expect(subject.registrant_contacts[0].zip).to eq("00100") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("35896966890") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.fi/fi/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.fi/fi/status_reserved_spec.rb deleted file mode 100644 index 797a36bfd..000000000 --- a/spec/whois/record/parser/responses/whois.fi/fi/status_reserved_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.fi/fi/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.fi.rb' - -describe Whois::Record::Parser::WhoisFi, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.fi/fi/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("More information is available at https://domain.fi/\nCopyright (c) Finnish Communications Regulatory Authority") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gandi.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.gandi.net/status_available_spec.rb deleted file mode 100644 index a959a79fe..000000000 --- a/spec/whois/record/parser/responses/whois.gandi.net/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gandi.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gandi.net.rb' - -describe Whois::Record::Parser::WhoisGandiNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.gandi.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gandi.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.gandi.net/status_registered_spec.rb deleted file mode 100644 index ae1aa9a7d..000000000 --- a/spec/whois/record/parser/responses/whois.gandi.net/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gandi.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gandi.net.rb' - -describe Whois::Record::Parser::WhoisGandiNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.gandi.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("gandi.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("6683836_DOMAIN_NET-VRSN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-02-23 12:12:59 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-23 18:42:52 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2023-05-21 14:09:56 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("81") - expect(subject.registrar.name).to eq("GANDI SAS") - expect(subject.registrar.organization).to eq("GANDI SAS") - expect(subject.registrar.url).to eq("http://www.gandi.net") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Stephan RAMOIN") - expect(subject.registrant_contacts[0].organization).to eq("Gandi SAS") - expect(subject.registrant_contacts[0].address).to eq("63-65 Boulevard Massena") - expect(subject.registrant_contacts[0].city).to eq("Paris") - expect(subject.registrant_contacts[0].zip).to eq("75013") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq("+33.143737851") - expect(subject.registrant_contacts[0].fax).to eq("+33.143731851") - expect(subject.registrant_contacts[0].email).to eq("61ebd5b3df9f45f2b3f67f6dd01e1049-523678@contact.gandi.net") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Noc GANDI") - expect(subject.admin_contacts[0].organization).to eq("GANDI SAS") - expect(subject.admin_contacts[0].address).to eq("63-65 Boulevard MASSENA") - expect(subject.admin_contacts[0].city).to eq("Paris") - expect(subject.admin_contacts[0].zip).to eq("75013") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33.143737851") - expect(subject.admin_contacts[0].fax).to eq("+33.143731851") - expect(subject.admin_contacts[0].email).to eq("12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Noc GANDI") - expect(subject.technical_contacts[0].organization).to eq("GANDI SAS") - expect(subject.technical_contacts[0].address).to eq("63-65 Boulevard MASSENA") - expect(subject.technical_contacts[0].city).to eq("Paris") - expect(subject.technical_contacts[0].zip).to eq("75013") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33.143737851") - expect(subject.technical_contacts[0].fax).to eq("+33.143731851") - expect(subject.technical_contacts[0].email).to eq("12e7da77f638acdf8d9f4d0b828ca80c-248842@contact.gandi.net") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns0.gandi.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns1.gandi.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dns2.gandi.net") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("dns3.gandi.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gg/gg/status_available_spec.rb b/spec/whois/record/parser/responses/whois.gg/gg/status_available_spec.rb deleted file mode 100644 index 2fa07481f..000000000 --- a/spec/whois/record/parser/responses/whois.gg/gg/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gg/gg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gg.rb' - -describe Whois::Record::Parser::WhoisGg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.gg/gg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.gg") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gg/gg/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.gg/gg/status_registered_spec.rb deleted file mode 100644 index 23b4de019..000000000 --- a/spec/whois/record/parser/responses/whois.gg/gg/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gg/gg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gg.rb' - -describe Whois::Record::Parser::WhoisGg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.gg/gg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.gg") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("24221-CI") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-30 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb deleted file mode 100644 index b9c0c315e..000000000 --- a/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb +++ /dev/null @@ -1,126 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.godaddy.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.godaddy.com.rb' - -describe Whois::Record::Parser::WhoisGodaddyCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.godaddy.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect { subject.status }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("GoDaddy.com, LLC") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.godaddy.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Go Daddy Go Daddy") - expect(subject.registrant_contacts[0].organization).to eq("Go Daddy") - expect(subject.registrant_contacts[0].address).to eq("14455 N Hayden Rd Suite 219") - expect(subject.registrant_contacts[0].city).to eq("Scottsdale") - expect(subject.registrant_contacts[0].zip).to eq("85260") - expect(subject.registrant_contacts[0].state).to eq("Arizona") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("Go Daddy Go Daddy") - expect(subject.admin_contacts[0].organization).to eq("Go Daddy") - expect(subject.admin_contacts[0].address).to eq("14455 N Hayden Rd Suite 219") - expect(subject.admin_contacts[0].city).to eq("Scottsdale") - expect(subject.admin_contacts[0].zip).to eq("85260") - expect(subject.admin_contacts[0].state).to eq("Arizona") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].phone).to eq("+1.4805058800") - expect(subject.admin_contacts[0].fax).to eq("+1.4805058844") - expect(subject.admin_contacts[0].email).to eq("dns@jomax.net") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("Go Daddy Go Daddy") - expect(subject.technical_contacts[0].organization).to eq("Go Daddy") - expect(subject.technical_contacts[0].address).to eq("14455 N Hayden Rd Suite 219") - expect(subject.technical_contacts[0].city).to eq("Scottsdale") - expect(subject.technical_contacts[0].zip).to eq("85260") - expect(subject.technical_contacts[0].state).to eq("Arizona") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].phone).to eq("+1.4805058800") - expect(subject.technical_contacts[0].fax).to eq("+1.4805058844") - expect(subject.technical_contacts[0].email).to eq("dns@jomax.net") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("CNS1.SECURESERVER.NET") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("CNS2.SECURESERVER.NET") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("CNS3.SECURESERVER.NET") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_available_spec.rb b/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_available_spec.rb deleted file mode 100644 index 193d08a74..000000000 --- a/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_available_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gov.za/gov.za/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gov.za.rb' - -describe Whois::Record::Parser::WhoisGovZa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.gov.za/gov.za/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_registered_spec.rb deleted file mode 100644 index 993b21231..000000000 --- a/spec/whois/record/parser/responses/whois.gov.za/gov.za/status_registered_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.gov.za/gov.za/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.gov.za.rb' - -describe Whois::Record::Parser::WhoisGovZa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.gov.za/gov.za/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-09-03")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/property_expires_on_null_spec.rb b/spec/whois/record/parser/responses/whois.hkirc.hk/hk/property_expires_on_null_spec.rb deleted file mode 100644 index 02fa04481..000000000 --- a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/property_expires_on_null_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.hkirc.hk/hk/property_expires_on_null.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.hkirc.hk.rb' - -describe Whois::Record::Parser::WhoisHkircHk, "property_expires_on_null.expected" do - - subject do - file = fixture("responses", "whois.hkirc.hk/hk/property_expires_on_null.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_available_spec.rb deleted file mode 100644 index fb5896d1a..000000000 --- a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.hkirc.hk/hk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.hkirc.hk.rb' - -describe Whois::Record::Parser::WhoisHkircHk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.hkirc.hk/hk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_registered_spec.rb deleted file mode 100644 index 7b981e304..000000000 --- a/spec/whois/record/parser/responses/whois.hkirc.hk/hk/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.hkirc.hk/hk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.hkirc.hk.rb' - -describe Whois::Record::Parser::WhoisHkircHk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.hkirc.hk/hk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-04-06")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-31")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iana.org/int/status_available_spec.rb b/spec/whois/record/parser/responses/whois.iana.org/int/status_available_spec.rb deleted file mode 100644 index b6b1ce8bb..000000000 --- a/spec/whois/record/parser/responses/whois.iana.org/int/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iana.org/int/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iana.org.rb' - -describe Whois::Record::Parser::WhoisIanaOrg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.iana.org/int/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iana.org/int/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.iana.org/int/status_registered_spec.rb deleted file mode 100644 index 8e0e70426..000000000 --- a/spec/whois/record/parser/responses/whois.iana.org/int/status_registered_spec.rb +++ /dev/null @@ -1,146 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iana.org/int/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iana.org.rb' - -describe Whois::Record::Parser::WhoisIanaOrg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.iana.org/int/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-08-26")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-08-07")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("North Atlantic Treaty Organization") - expect(subject.registrant_contacts[0].address).to eq("Blvd Leopold III") - expect(subject.registrant_contacts[0].city).to eq("1110 Brussels") - expect(subject.registrant_contacts[0].zip).to eq("Brussels") - expect(subject.registrant_contacts[0].country).to eq("Belgium") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Aidan Murdock") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("SHAPE") - expect(subject.admin_contacts[0].city).to eq("NCIA SP SDD SAS NAR") - expect(subject.admin_contacts[0].zip).to eq("Mons Hainaut 7010") - expect(subject.admin_contacts[0].country).to eq("Belgium") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+32 65 44 9168") - expect(subject.admin_contacts[0].fax).to eq("+32 65 44 9480") - expect(subject.admin_contacts[0].email).to eq("aidan.murdock@ncia.nato.int") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Francesco Conserva") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("SHAPE") - expect(subject.technical_contacts[0].city).to eq("NCIA SP SMD ENT EMA") - expect(subject.technical_contacts[0].zip).to eq("Mons Hainaut 7010") - expect(subject.technical_contacts[0].country).to eq("Belgium") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+32 65 44 7534") - expect(subject.technical_contacts[0].fax).to eq("+32 65 44 7556") - expect(subject.technical_contacts[0].email).to eq("francesco.conserva@ncia.nato.int") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(7) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("globe.nc3a.nato.int") - expect(subject.nameservers[0].ipv4).to eq("192.41.140.178") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("max.nra.nato.int") - expect(subject.nameservers[1].ipv4).to eq("192.101.252.69") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("maxima.nra.nato.int") - expect(subject.nameservers[2].ipv4).to eq("193.110.130.68") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns.namsa.nato.int") - expect(subject.nameservers[3].ipv4).to eq("193.168.11.15") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns.saclantc.nato.int") - expect(subject.nameservers[4].ipv4).to eq("192.106.197.1") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns1.cs.ucl.ac.uk") - expect(subject.nameservers[5].ipv4).to eq("128.16.5.32") - expect(subject.nameservers[6]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[6].name).to eq("ns1.drenet.dnd.ca") - expect(subject.nameservers[6].ipv4).to eq("131.136.242.3") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iana.org/tld/status_not_assigned_spec.rb b/spec/whois/record/parser/responses/whois.iana.org/tld/status_not_assigned_spec.rb deleted file mode 100644 index b3e96ab3f..000000000 --- a/spec/whois/record/parser/responses/whois.iana.org/tld/status_not_assigned_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iana.org.rb' - -describe Whois::Record::Parser::WhoisIanaOrg, "status_not_assigned.expected" do - - subject do - file = fixture("responses", "whois.iana.org/tld/status_not_assigned.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("1999-09-27")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.nu/nu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.iis.nu/nu/status_available_spec.rb deleted file mode 100644 index 93ca3171b..000000000 --- a/spec/whois/record/parser/responses/whois.iis.nu/nu/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.nu/nu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.nu.rb' - -describe Whois::Record::Parser::WhoisIisNu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.iis.nu/nu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. # Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .nu top level domain. This whois printout is printed with UTF-8 encoding.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.nu/nu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.iis.nu/nu/status_registered_spec.rb deleted file mode 100644 index 13a3fd2c6..000000000 --- a/spec/whois/record/parser/responses/whois.iis.nu/nu/status_registered_spec.rb +++ /dev/null @@ -1,123 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.nu/nu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.nu.rb' - -describe Whois::Record::Parser::WhoisIisNu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.iis.nu/nu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. # Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .nu top level domain. This whois printout is printed with UTF-8 encoding.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.nu") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-07")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-05-06")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-06-07")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-142621") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_datetime_is_dash_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_datetime_is_dash_spec.rb deleted file mode 100644 index 2313b797c..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_datetime_is_dash_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_datetime_is_dash.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_datetime_is_dash.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_datetime_is_dash.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-08-05")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-08-05")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_single_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_single_spec.rb deleted file mode 100644 index dd9436b3d..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_single_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_nameservers_single.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_nameservers_single.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_nameservers_single.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(1) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("freja.nhv.se") - expect(subject.nameservers[0].ipv4).to eq("82.96.40.83") - expect(subject.nameservers[0].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 03f14bfe2..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.loopia.se") - expect(subject.nameservers[0].ipv4).to eq("93.188.0.21") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.loopia.se") - expect(subject.nameservers[1].ipv4).to eq("93.188.0.20") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.loopia.se") - expect(subject.nameservers[2].ipv4).to eq("93.188.0.21") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.loopia.se") - expect(subject.nameservers[3].ipv4).to eq("93.188.0.20") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_inactive_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_status_inactive_spec.rb deleted file mode 100644 index cf6fd8f11..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_inactive_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_status_inactive.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_status_inactive.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_status_inactive.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(Time.parse("2000-11-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(Time.parse("2006-04-18")) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("CoreRegistry") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_status_ok_spec.rb deleted file mode 100644 index 03d8bdafc..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_serverhold_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/property_status_serverhold_spec.rb deleted file mode 100644 index 872f6957c..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/property_status_serverhold_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/property_status_serverhold.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "property_status_serverhold.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/property_status_serverhold.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/status_available_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/status_available_spec.rb deleted file mode 100644 index 00961dc93..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .SE top level domain. This whois printout is printed with UTF-8 encoding.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.iis.se/se/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.iis.se/se/status_registered_spec.rb deleted file mode 100644 index 7771130b6..000000000 --- a/spec/whois/record/parser/responses/whois.iis.se/se/status_registered_spec.rb +++ /dev/null @@ -1,123 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.iis.se/se/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.iis.se.rb' - -describe Whois::Record::Parser::WhoisIisSe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.iis.se/se/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Copyright (c) 1997- .SE (The Internet Infrastructure Foundation). All rights reserved. The information obtained through searches, or otherwise, is protected by the Swedish Copyright Act (1960:729) and international conventions. It is also subject to database protection according to the Swedish Copyright Act. Any use of this material to target advertising or similar activities is forbidden and will be prosecuted. If any of the information below is transferred to a third party, it must be done in its entirety. This server must not be used as a backend for a search engine. Result of search for registered domain names under the .SE top level domain. This whois printout is printed with UTF-8 encoding.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.se") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-10-20")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-18")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-20")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("MarkMonitor Inc") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr8008-53808") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_available_spec.rb b/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_available_spec.rb deleted file mode 100644 index 340ee0a80..000000000 --- a/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.in.ua/in.ua/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.in.ua.rb' - -describe Whois::Record::Parser::WhoisInUa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.in.ua/in.ua/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_registered_spec.rb deleted file mode 100644 index 9035dfd0c..000000000 --- a/spec/whois/record/parser/responses/whois.in.ua/in.ua/status_registered_spec.rb +++ /dev/null @@ -1,68 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.in.ua/in.ua/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.in.ua.rb' - -describe Whois::Record::Parser::WhoisInUa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.in.ua/in.ua/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-12-16 13:41:04")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-12-18 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns12.uadns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns11.uadns.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns10.uadns.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_missing_spec.rb deleted file mode 100644 index ddcdb261d..000000000 --- a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_missing_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.inregistry.net/in/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.inregistry.net.rb' - -describe Whois::Record::Parser::WhoisInregistryNet, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.inregistry.net/in/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_multiple_spec.rb deleted file mode 100644 index a2316105e..000000000 --- a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.inregistry.net/in/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.inregistry.net.rb' - -describe Whois::Record::Parser::WhoisInregistryNet, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.inregistry.net/in/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT RENEW PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_ok_spec.rb deleted file mode 100644 index 6d0a8e34c..000000000 --- a/spec/whois/record/parser/responses/whois.inregistry.net/in/property_status_ok_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.inregistry.net/in/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.inregistry.net.rb' - -describe Whois::Record::Parser::WhoisInregistryNet, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.inregistry.net/in/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.inregistry.net/in/status_available_spec.rb b/spec/whois/record/parser/responses/whois.inregistry.net/in/status_available_spec.rb deleted file mode 100644 index e7fe6b9cb..000000000 --- a/spec/whois/record/parser/responses/whois.inregistry.net/in/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.inregistry.net/in/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.inregistry.net.rb' - -describe Whois::Record::Parser::WhoisInregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.inregistry.net/in/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.inregistry.net/in/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.inregistry.net/in/status_registered_spec.rb deleted file mode 100644 index 8df8cc03a..000000000 --- a/spec/whois/record/parser/responses/whois.inregistry.net/in/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.inregistry.net/in/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.inregistry.net.rb' - -describe Whois::Record::Parser::WhoisInregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.inregistry.net/in/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to .IN WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .IN registry database. The data in this record is provided by .IN Registry for informational purposes only, and .IN does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .IN reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.in") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D21089-AFIN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(Time.parse("2005-02-14 20:35:14 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(Time.parse("2015-01-13 10:22:36 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(Time.parse("2016-02-14 20:35:14 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R84-AFIN") - expect(subject.registrar.name).to eq("Mark Monitor") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-108695") - expect(subject.registrant_contacts[0].name).to eq("Christina Chiou") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-108695") - expect(subject.admin_contacts[0].name).to eq("Christina Chiou") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-108695") - expect(subject.technical_contacts[0].name).to eq("Christina Chiou") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isnic.is/is/status_available_spec.rb b/spec/whois/record/parser/responses/whois.isnic.is/is/status_available_spec.rb deleted file mode 100644 index 2ed807be8..000000000 --- a/spec/whois/record/parser/responses/whois.isnic.is/is/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isnic.is/is/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isnic.is.rb' - -describe Whois::Record::Parser::WhoisIsnicIs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.isnic.is/is/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isnic.is/is/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.isnic.is/is/status_registered_spec.rb deleted file mode 100644 index bbb9a49ac..000000000 --- a/spec/whois/record/parser/responses/whois.isnic.is/is/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isnic.is/is/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isnic.is.rb' - -describe Whois::Record::Parser::WhoisIsnicIs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.isnic.is/is/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-05-22")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-22")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_missing_spec.rb deleted file mode 100644 index 35ef66220..000000000 --- a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_missing_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isoc.org.il/il/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isoc.org.il.rb' - -describe Whois::Record::Parser::WhoisIsocOrgIl, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.isoc.org.il/il/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_allowed_spec.rb b/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_allowed_spec.rb deleted file mode 100644 index b65d5417c..000000000 --- a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_allowed_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_allowed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isoc.org.il.rb' - -describe Whois::Record::Parser::WhoisIsocOrgIl, "property_status_transfer_allowed.expected" do - - subject do - file = fixture("responses", "whois.isoc.org.il/il/property_status_transfer_allowed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_locked_spec.rb b/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_locked_spec.rb deleted file mode 100644 index de5a50754..000000000 --- a/spec/whois/record/parser/responses/whois.isoc.org.il/il/property_status_transfer_locked_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isoc.org.il/il/property_status_transfer_locked.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isoc.org.il.rb' - -describe Whois::Record::Parser::WhoisIsocOrgIl, "property_status_transfer_locked.expected" do - - subject do - file = fixture("responses", "whois.isoc.org.il/il/property_status_transfer_locked.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_available_spec.rb b/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_available_spec.rb deleted file mode 100644 index ffabca509..000000000 --- a/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isoc.org.il/il/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isoc.org.il.rb' - -describe Whois::Record::Parser::WhoisIsocOrgIl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.isoc.org.il/il/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_registered_spec.rb deleted file mode 100644 index 5367bdc84..000000000 --- a/spec/whois/record/parser/responses/whois.isoc.org.il/il/status_registered_spec.rb +++ /dev/null @@ -1,73 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.isoc.org.il/il/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.isoc.org.il.rb' - -describe Whois::Record::Parser::WhoisIsocOrgIl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.isoc.org.il/il/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-16")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns.isoc.org.il") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("grappa.isoc.org.il") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("aristo.tau.ac.il") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("relay.huji.ac.il") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("drns.isoc.org.il") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("sns-pb.isc.org") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_available_spec.rb deleted file mode 100644 index ec7cdce68..000000000 --- a/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ja.net.rb' - -describe Whois::Record::Parser::WhoisJaNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ja.net/ac.uk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_registered_spec.rb deleted file mode 100644 index 51d88cfef..000000000 --- a/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_registered_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ja.net.rb' - -describe Whois::Record::Parser::WhoisJaNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ja.net/ac.uk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-11-07")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-03-20")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-16")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("agate.lut.ac.uk") - expect(subject.nameservers[0].ipv4).to eq("158.125.1.100") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("bgate.lut.ac.uk") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("cgate.lut.ac.uk") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.ja.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_available_spec.rb deleted file mode 100644 index 6f78dcb42..000000000 --- a/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ja.net.rb' - -describe Whois::Record::Parser::WhoisJaNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ja.net/gov.uk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_registered_spec.rb deleted file mode 100644 index 1da12b034..000000000 --- a/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ja.net.rb' - -describe Whois::Record::Parser::WhoisJaNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ja.net/gov.uk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-09-17")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-01-13")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-03-30")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(8) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("eur5.akam.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("eur6.akam.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1-173.akam.net") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1-31.akam.net") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("usc4.akam.net") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("use10.akam.net") - expect(subject.nameservers[6]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[6].name).to eq("usw2.akam.net") - expect(subject.nameservers[7]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[7].name).to eq("usw4.akam.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.je/je/status_available_spec.rb b/spec/whois/record/parser/responses/whois.je/je/status_available_spec.rb deleted file mode 100644 index 6a29791c1..000000000 --- a/spec/whois/record/parser/responses/whois.je/je/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.je/je/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.je.rb' - -describe Whois::Record::Parser::WhoisJe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.je/je/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.je") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.je/je/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.je/je/status_registered_spec.rb deleted file mode 100644 index fc4df5c6a..000000000 --- a/spec/whois/record/parser/responses/whois.je/je/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.je/je/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.je.rb' - -describe Whois::Record::Parser::WhoisJe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.je/je/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.je") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-10-31 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_deleted_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_deleted_spec.rb deleted file mode 100644 index b7ea46bd7..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_deleted_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_deleted.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_state_deleted.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/co.jp/property_state_deleted.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:suspended) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_registered_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_registered_spec.rb deleted file mode 100644 index 4ceb88785..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/co.jp/property_state_registered_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/co.jp/property_state_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_state_registered.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/co.jp/property_state_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_suspended_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_suspended_spec.rb deleted file mode 100644 index 72ddea62e..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_suspended_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/property_status_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_status_suspended.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/property_status_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_to_be_suspended_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_to_be_suspended_spec.rb deleted file mode 100644 index 94d19eafe..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_status_to_be_suspended_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/property_status_to_be_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_status_to_be_suspended.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/property_status_to_be_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range_spec.rb deleted file mode 100644 index 58a1337d9..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_updates_on_error_out-of-range.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/property_updates_on_error_out-of-range.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-10-18 11:30:47 JST")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_available_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_available_spec.rb deleted file mode 100644 index c1e0d9108..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_available.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_registered_spec.rb deleted file mode 100644 index ae04548cf..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-05-30")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-06-01 01:05:07")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-31")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_reserved_spec.rb deleted file mode 100644 index fd2367898..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_reserved_spec.rb +++ /dev/null @@ -1,61 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/jp/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2001-02-21 00:00:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_created_on_missing_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_created_on_missing_spec.rb deleted file mode 100644 index 95c11e5a2..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_created_on_missing_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/ne.jp/property_created_on_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_created_on_missing.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/ne.jp/property_created_on_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_state_reserved_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_state_reserved_spec.rb deleted file mode 100644 index f067eaabb..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/property_state_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/ne.jp/property_state_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "property_state_reserved.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/ne.jp/property_state_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_available_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_available_spec.rb deleted file mode 100644 index b5dfcbb75..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_available.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/ne.jp/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_registered_spec.rb deleted file mode 100644 index 4a9a53e56..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/ne.jp/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-09-11")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-10-23 19:22:08")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-09-30")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_reserved_spec.rb deleted file mode 100644 index 4cad76b51..000000000 --- a/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.jprs.jp/ne.jp/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.jprs.jp.rb' - -describe Whois::Record::Parser::WhoisJprsJp, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.jprs.jp/ne.jp/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_available_spec.rb b/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_available_spec.rb deleted file mode 100644 index aaf5c0a65..000000000 --- a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kenic.or.ke/ke/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kenic.or.ke.rb' - -describe Whois::Record::Parser::WhoisKenicOrKe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.kenic.or.ke/ke/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_invalid_spec.rb deleted file mode 100644 index 4af7ad868..000000000 --- a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_invalid_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kenic.or.ke/ke/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kenic.or.ke.rb' - -describe Whois::Record::Parser::WhoisKenicOrKe, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.kenic.or.ke/ke/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_registered_spec.rb deleted file mode 100644 index 0209aa3d1..000000000 --- a/spec/whois/record/parser/responses/whois.kenic.or.ke/ke/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kenic.or.ke/ke/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kenic.or.ke.rb' - -describe Whois::Record::Parser::WhoisKenicOrKe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.kenic.or.ke/ke/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-18 00:00:00 EAT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-16 12:48:00 EAT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-01 00:00:00 EAT")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kr/kr/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.kr/kr/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 78b9a0571..000000000 --- a/spec/whois/record/parser/responses/whois.kr/kr/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kr/kr/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kr.rb' - -describe Whois::Record::Parser::WhoisKr, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.kr/kr/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("prmns.lg.co.kr") - expect(subject.nameservers[0].ipv4).to eq("165.243.5.15") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("secns.lg.co.kr") - expect(subject.nameservers[1].ipv4).to eq("203.247.133.133") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kr/kr/status_available_spec.rb b/spec/whois/record/parser/responses/whois.kr/kr/status_available_spec.rb deleted file mode 100644 index 77cb1579f..000000000 --- a/spec/whois/record/parser/responses/whois.kr/kr/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kr/kr/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kr.rb' - -describe Whois::Record::Parser::WhoisKr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.kr/kr/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.kr/kr/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.kr/kr/status_registered_spec.rb deleted file mode 100644 index 1256783b9..000000000 --- a/spec/whois/record/parser/responses/whois.kr/kr/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.kr/kr/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.kr.rb' - -describe Whois::Record::Parser::WhoisKr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.kr/kr/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-03-02")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-10-04")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-02")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.markmonitor.com/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.markmonitor.com/response_throttled_spec.rb deleted file mode 100644 index 47a585248..000000000 --- a/spec/whois/record/parser/responses/whois.markmonitor.com/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.markmonitor.com/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.markmonitor.com.rb' - -describe Whois::Record::Parser::WhoisMarkmonitorCom, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.markmonitor.com/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.markmonitor.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.markmonitor.com/status_available_spec.rb deleted file mode 100644 index 16494846f..000000000 --- a/spec/whois/record/parser/responses/whois.markmonitor.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.markmonitor.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.markmonitor.com.rb' - -describe Whois::Record::Parser::WhoisMarkmonitorCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.markmonitor.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.markmonitor.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.markmonitor.com/status_registered_spec.rb deleted file mode 100644 index 207cdc682..000000000 --- a/spec/whois/record/parser/responses/whois.markmonitor.com/status_registered_spec.rb +++ /dev/null @@ -1,158 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.markmonitor.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.markmonitor.com.rb' - -describe Whois::Record::Parser::WhoisMarkmonitorCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.markmonitor.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-10-02 00:00:00 -0700")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-29 11:50:06 -0700")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-09-13 21:00:00 -0700")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq("MarkMonitor, Inc.") - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Dns Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("Please contact contact-admin@google.com, 1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("2400 E. Bayshore Pkwy") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6503300100") - expect(subject.technical_contacts[0].fax).to eq("+1.6506181499") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.monic.mo/mo/status_available_spec.rb b/spec/whois/record/parser/responses/whois.monic.mo/mo/status_available_spec.rb deleted file mode 100644 index 2dbbafdaa..000000000 --- a/spec/whois/record/parser/responses/whois.monic.mo/mo/status_available_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.monic.mo/mo/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.monic.mo.rb' - -describe Whois::Record::Parser::WhoisMonicMo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.monic.mo/mo/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.monic.mo/mo/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.monic.mo/mo/status_registered_spec.rb deleted file mode 100644 index d7d97360d..000000000 --- a/spec/whois/record/parser/responses/whois.monic.mo/mo/status_registered_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.monic.mo/mo/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.monic.mo.rb' - -describe Whois::Record::Parser::WhoisMonicMo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.monic.mo/mo/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("umac.mo") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MONIC") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("umacsn1.umac.mo") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("umacsn2.umac.mo") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.museum/museum/status_available_spec.rb b/spec/whois/record/parser/responses/whois.museum/museum/status_available_spec.rb deleted file mode 100644 index c7724521f..000000000 --- a/spec/whois/record/parser/responses/whois.museum/museum/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.museum/museum/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.museum.rb' - -describe Whois::Record::Parser::WhoisMuseum, "status_available.expected" do - - subject do - file = fixture("responses", "whois.museum/museum/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.museum/museum/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.museum/museum/status_registered_spec.rb deleted file mode 100644 index 28829b696..000000000 --- a/spec/whois/record/parser/responses/whois.museum/museum/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.museum/museum/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.museum.rb' - -describe Whois::Record::Parser::WhoisMuseum, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.museum/museum/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-11-10 15:23:42 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2002-04-04 17:48:43 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2003-07-31 11:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("nic.museum") - expect(subject.nameservers[0].ipv4).to eq("130.242.24.5") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("nic.frd.se") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.mynic.my/my/status_available_spec.rb b/spec/whois/record/parser/responses/whois.mynic.my/my/status_available_spec.rb deleted file mode 100644 index 16154e00f..000000000 --- a/spec/whois/record/parser/responses/whois.mynic.my/my/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.mynic.my/my/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.mynic.my.rb' - -describe Whois::Record::Parser::WhoisMynicMy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.mynic.my/my/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.mynic.my/my/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.mynic.my/my/status_registered_spec.rb deleted file mode 100644 index 0f1bb4dfc..000000000 --- a/spec/whois/record/parser/responses/whois.mynic.my/my/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.mynic.my/my/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.mynic.my.rb' - -describe Whois::Record::Parser::WhoisMynicMy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.mynic.my/my/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-05-13")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-11")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-13")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq("216.239.32.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq("216.239.34.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_available_spec.rb b/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_available_spec.rb deleted file mode 100644 index 48901193b..000000000 --- a/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.na-nic.com.na/na/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.na-nic.com.na.rb' - -describe Whois::Record::Parser::WhoisNaNicComNa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.na-nic.com.na/na/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.na") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_registered_spec.rb deleted file mode 100644 index 8e942884d..000000000 --- a/spec/whois/record/parser/responses/whois.na-nic.com.na/na/status_registered_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.na-nic.com.na/na/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.na-nic.com.na.rb' - -describe Whois::Record::Parser::WhoisNaNicComNa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.na-nic.com.na/na/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.na") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("4100-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-03-27 22:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-22 17:07:58 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-19 23:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_and_address_spec.rb b/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_and_address_spec.rb deleted file mode 100644 index 50a29b5ba..000000000 --- a/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_and_address_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nc/nc/property_contact_without_state_and_address.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nc.rb' - -describe Whois::Record::Parser::WhoisNc, "property_contact_without_state_and_address.expected" do - - subject do - file = fixture("responses", "whois.nc/nc/property_contact_without_state_and_address.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("DTSI") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("BP 15101") - expect(subject.registrant_contacts[0].city).to eq("NOUMEA CEDEX") - expect(subject.registrant_contacts[0].zip).to eq("98804") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_spec.rb b/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_spec.rb deleted file mode 100644 index 2c876b0a1..000000000 --- a/spec/whois/record/parser/responses/whois.nc/nc/property_contact_without_state_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nc/nc/property_contact_without_state.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nc.rb' - -describe Whois::Record::Parser::WhoisNc, "property_contact_without_state.expected" do - - subject do - file = fixture("responses", "whois.nc/nc/property_contact_without_state.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("PLAY NEW CALEDONIA") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("12 BOULEVARD VAUBAN\nBP 2839") - expect(subject.registrant_contacts[0].city).to eq("NOUMEA CEDEX") - expect(subject.registrant_contacts[0].zip).to eq("98846") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nc/nc/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nc/nc/status_available_spec.rb deleted file mode 100644 index 6c5d573c4..000000000 --- a/spec/whois/record/parser/responses/whois.nc/nc/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nc/nc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nc.rb' - -describe Whois::Record::Parser::WhoisNc, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nc/nc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nc/nc/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nc/nc/status_registered_spec.rb deleted file mode 100644 index 92e4dd454..000000000 --- a/spec/whois/record/parser/responses/whois.nc/nc/status_registered_spec.rb +++ /dev/null @@ -1,117 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nc/nc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nc.rb' - -describe Whois::Record::Parser::WhoisNc, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nc/nc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("domaine.nc") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-05-14")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-03")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-05-14")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("CCTLD") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1 RUE MONCHOVET\n7 EME ETAGE\nLE WARUNA 1") - expect(subject.registrant_contacts[0].city).to eq("NOUMEA CEDEX") - expect(subject.registrant_contacts[0].zip).to eq("98841") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("NEW CALEDONIA") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("any-ns1.nc") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.nc") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.nc") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_available_spec.rb deleted file mode 100644 index 2a4fbc9c5..000000000 --- a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.netcom.cm/cm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.netcom.cm.rb' - -describe Whois::Record::Parser::WhoisNetcomCm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.netcom.cm/cm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.cm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_registered_spec.rb deleted file mode 100644 index b2fcfb3cf..000000000 --- a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.netcom.cm/cm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.netcom.cm.rb' - -describe Whois::Record::Parser::WhoisNetcomCm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.netcom.cm/cm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.cm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-10-07 10:02 WAT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-20 17:47 WAT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-07 10:02 WAT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_suspended_spec.rb b/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_suspended_spec.rb deleted file mode 100644 index d1ebeda6e..000000000 --- a/spec/whois/record/parser/responses/whois.netcom.cm/cm/status_suspended_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.netcom.cm/cm/status_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.netcom.cm.rb' - -describe Whois::Record::Parser::WhoisNetcomCm, "status_suspended.expected" do - - subject do - file = fixture("responses", "whois.netcom.cm/cm/status_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("imdb.cm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-08-28 01:00 WAT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-24 09:17 WAT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-08-28 01:00 WAT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Registrar ANTIC") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.refinedhosting.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.refinedhosting.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.networksolutions.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.networksolutions.com/status_available_spec.rb deleted file mode 100644 index 9b409f792..000000000 --- a/spec/whois/record/parser/responses/whois.networksolutions.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.networksolutions.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.networksolutions.com.rb' - -describe Whois::Record::Parser::WhoisNetworksolutionsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.networksolutions.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.networksolutions.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.networksolutions.com/status_registered_spec.rb deleted file mode 100644 index 192e4566e..000000000 --- a/spec/whois/record/parser/responses/whois.networksolutions.com/status_registered_spec.rb +++ /dev/null @@ -1,154 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.networksolutions.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.networksolutions.com.rb' - -describe Whois::Record::Parser::WhoisNetworksolutionsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.networksolutions.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("xif.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-06-10")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-02-13")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-09")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("2") - expect(subject.registrar.name).to eq("NETWORK SOLUTIONS, LLC.") - expect(subject.registrar.organization).to eq("NETWORK SOLUTIONS, LLC.") - expect(subject.registrar.url).to eq("http//www.networksolutions.com/en_US/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("XIF Communications") - expect(subject.registrant_contacts[0].organization).to eq("XIF Communications") - expect(subject.registrant_contacts[0].address).to eq("1200 New Hampshire Avenue NW") - expect(subject.registrant_contacts[0].city).to eq("Washington") - expect(subject.registrant_contacts[0].zip).to eq("20036") - expect(subject.registrant_contacts[0].state).to eq("DC") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("202-463-7200") - expect(subject.registrant_contacts[0].fax).to eq("999-999-9999") - expect(subject.registrant_contacts[0].email).to eq("noc@xif.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Communications, XIF ContactMiddleName") - expect(subject.admin_contacts[0].organization).to eq("XIF Communications") - expect(subject.admin_contacts[0].address).to eq("1200 New Hampshire Avenue NW") - expect(subject.admin_contacts[0].city).to eq("Washington") - expect(subject.admin_contacts[0].zip).to eq("20036") - expect(subject.admin_contacts[0].state).to eq("DC") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("202-463-7200") - expect(subject.admin_contacts[0].fax).to eq("202-318-4003") - expect(subject.admin_contacts[0].email).to eq("noc@xif.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Communications, XIF ContactMiddleName") - expect(subject.technical_contacts[0].organization).to eq("XIF Communications") - expect(subject.technical_contacts[0].address).to eq("1200 New Hampshire Avenue NW") - expect(subject.technical_contacts[0].city).to eq("Washington") - expect(subject.technical_contacts[0].zip).to eq("20036") - expect(subject.technical_contacts[0].state).to eq("DC") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("202-463-7200") - expect(subject.technical_contacts[0].fax).to eq("202-318-4003") - expect(subject.technical_contacts[0].email).to eq("noc@xif.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns01.xif.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-east.cerf.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns-west.cerf.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ac/ac/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ac/ac/status_available_spec.rb deleted file mode 100644 index 94614394c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ac/ac/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ac/ac/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ac.rb' - -describe Whois::Record::Parser::WhoisNicAc, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ac/ac/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ac") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ac/ac/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ac/ac/status_registered_spec.rb deleted file mode 100644 index 2d8820ed6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ac/ac/status_registered_spec.rb +++ /dev/null @@ -1,121 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ac/ac/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ac.rb' - -describe Whois::Record::Parser::WhoisNicAc, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ac/ac/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.ac") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-03")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("US") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.af/af/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.af/af/status_available_spec.rb deleted file mode 100644 index 812e4e0d6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.af/af/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.af/af/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.af.rb' - -describe Whois::Record::Parser::WhoisNicAf, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.af/af/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.af") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.af/af/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.af/af/status_registered_spec.rb deleted file mode 100644 index 4d1498ef2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.af/af/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.af/af/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.af.rb' - -describe Whois::Record::Parser::WhoisNicAf, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.af/af/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.af") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("345679-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-10-05 03:51:17 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-16 06:50:48 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-05 03:51:17 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ag/ag/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ag/ag/status_available_spec.rb deleted file mode 100644 index 4a7a109fb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ag/ag/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ag/ag/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ag.rb' - -describe Whois::Record::Parser::WhoisNicAg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ag/ag/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ag/ag/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ag/ag/status_registered_spec.rb deleted file mode 100644 index d25c1826f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ag/ag/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ag/ag/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ag.rb' - -describe Whois::Record::Parser::WhoisNicAg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ag/ag/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.ag") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D48552-LRCC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-01-05 14:06:59 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-04 10:20:49 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-05 14:06:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R22-LRCC") - expect(subject.registrar.name).to eq("MarkMonitor, Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("AGRS-129819") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("AGRS-129819") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("AGRS-129819") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.as/as/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.as/as/status_available_spec.rb deleted file mode 100644 index 07b5d3ee2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.as/as/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.as/as/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.as.rb' - -describe Whois::Record::Parser::WhoisNicAs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.as/as/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.as/as/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.as/as/status_registered_spec.rb deleted file mode 100644 index 4c50e0407..000000000 --- a/spec/whois/record/parser/responses/whois.nic.as/as/status_registered_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.as/as/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.as.rb' - -describe Whois::Record::Parser::WhoisNicAs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.as/as/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_multiple_spec.rb deleted file mode 100644 index bb48525c3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_multiple_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.asia/asia/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.asia.rb' - -describe Whois::Record::Parser::WhoisNicAsia, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.nic.asia/asia/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_single_spec.rb b/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_single_spec.rb deleted file mode 100644 index be715791f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.asia/asia/property_status_single_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.asia/asia/property_status_single.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.asia.rb' - -describe Whois::Record::Parser::WhoisNicAsia, "property_status_single.expected" do - - subject do - file = fixture("responses", "whois.nic.asia/asia/property_status_single.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.asia/asia/status_available_spec.rb deleted file mode 100644 index 857deaefe..000000000 --- a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_available_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.asia/asia/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.asia.rb' - -describe Whois::Record::Parser::WhoisNicAsia, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.asia/asia/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.asia/asia/status_registered_spec.rb deleted file mode 100644 index bfd30a25f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.asia/asia/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.asia.rb' - -describe Whois::Record::Parser::WhoisNicAsia, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.asia/asia/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered by DotAsia and the access to the records in the DotAsia WHOIS database are provided for information purposes only. It allows persons to check whether a specific domain name is still available or not and to obtain information related to the registration records of existing domain names. DotAsia cannot, under any circumstances, be held liable in case the stored information would prove to be wrong, incomplete, or not accurate in any sense. By submitting a query you agree not to use the information made available to: allow, enable or otherwise support the transmission of unsolicited, commercial advertising or other solicitations whether via email or otherwise; target advertising in any possible way; or to cause nuisance in any possible way to the registrants by sending (whether by automated, electronic processes capable of enabling high volumes or other possible means) messages to them. Without prejudice to the above, it is explicitly forbidden to extract, copy and/or use or re-utilise in any form and by any means (electronically or not) the whole or a quantitatively or qualitatively substantial part of the contents of the WHOIS database without prior and explicit permission by DotAsia, nor in any attempt hereof, or to apply automated, electronic processes to DotAsia (or its systems). You agree that any reproduction and/or transmission of data for commercial purposes will always be considered as the extraction of a substantial part of the content of the WHOIS database. By submitting the query you agree to abide by this policy and accept that DotAsia can take measures to limit the use of its WHOIS services in order to protect the privacy of its registrants or the integrity of the database.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("cj7.asia") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D93126-ASIA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-01-15 11:28:02 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-15 22:20:16 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-15 11:28:02 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("800046") - expect(subject.registrar.name).to eq("dotASIA R4-ASIA") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("FR-132aa75b4bf65") - expect(subject.registrant_contacts[0].name).to eq("RAXCO ASSETS CORP.") - expect(subject.registrant_contacts[0].organization).to eq("RAXCO ASSETS CORP.") - expect(subject.registrant_contacts[0].address).to eq("RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK") - expect(subject.registrant_contacts[0].city).to eq("Hong Kong") - expect(subject.registrant_contacts[0].zip).to eq("") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country_code).to eq("HK") - expect(subject.registrant_contacts[0].phone).to eq("+852.21190333") - expect(subject.registrant_contacts[0].fax).to eq("+852.23045326") - expect(subject.registrant_contacts[0].email).to eq("eddie.yeung@bingogroup.com.hk") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("FR-132aa7afe0967") - expect(subject.admin_contacts[0].name).to eq("Eddie Yeung") - expect(subject.admin_contacts[0].organization).to eq("RAXCO ASSETS CORP.") - expect(subject.admin_contacts[0].address).to eq("RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK") - expect(subject.admin_contacts[0].city).to eq("Hong Kong") - expect(subject.admin_contacts[0].zip).to eq("") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country_code).to eq("HK") - expect(subject.admin_contacts[0].phone).to eq("+852.21190333") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("eddie.yeung@bingogroup.com.hk") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("FR-132aa7afe0967") - expect(subject.technical_contacts[0].name).to eq("Eddie Yeung") - expect(subject.technical_contacts[0].organization).to eq("RAXCO ASSETS CORP.") - expect(subject.technical_contacts[0].address).to eq("RM 1201-1204 12/F\nSEA BIRD HSE\n22-28 WYNDHAM ST CENTRAL HK") - expect(subject.technical_contacts[0].city).to eq("Hong Kong") - expect(subject.technical_contacts[0].zip).to eq("") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("HK") - expect(subject.technical_contacts[0].phone).to eq("+852.21190333") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("eddie.yeung@bingogroup.com.hk") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.dnspod.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.dnspod.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.dnspod.net") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.dnspod.net") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns5.dnspod.net") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns6.dnspod.net") - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.asia/asia/status_reserved_spec.rb deleted file mode 100644 index 9c908ba85..000000000 --- a/spec/whois/record/parser/responses/whois.nic.asia/asia/status_reserved_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.asia/asia/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.asia.rb' - -describe Whois::Record::Parser::WhoisNicAsia, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.asia/asia/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.at/at/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.at/at/status_available_spec.rb deleted file mode 100644 index 7a127af2c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.at/at/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.at/at/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.at.rb' - -describe Whois::Record::Parser::WhoisNicAt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.at/at/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.at/at/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.at/at/status_registered_spec.rb deleted file mode 100644 index d41eb2c9b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.at/at/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.at/at/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.at.rb' - -describe Whois::Record::Parser::WhoisNicAt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.at/at/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-04-26 17:57:27")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.bj/bj/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.bj/bj/status_available_spec.rb deleted file mode 100644 index 60c3df51a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.bj/bj/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.bj/bj/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.bj.rb' - -describe Whois::Record::Parser::WhoisNicBj, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.bj/bj/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.bj/bj/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.bj/bj/status_registered_spec.rb deleted file mode 100644 index 39cf00b5d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.bj/bj/status_registered_spec.rb +++ /dev/null @@ -1,117 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.bj/bj/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.bj.rb' - -describe Whois::Record::Parser::WhoisNicBj, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.bj/bj/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.bj") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-03-25 01:57:22 PDT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-08-10 01:57:22 PDT")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("GOOGLE INC (ED0155)") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.bo/bo/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.bo/bo/status_available_spec.rb deleted file mode 100644 index 7f2286729..000000000 --- a/spec/whois/record/parser/responses/whois.nic.bo/bo/status_available_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.bo/bo/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.bo.rb' - -describe Whois::Record::Parser::WhoisNicBo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.bo/bo/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.bo/bo/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.bo/bo/status_registered_spec.rb deleted file mode 100644 index 59944941e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.bo/bo/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.bo/bo/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.bo.rb' - -describe Whois::Record::Parser::WhoisNicBo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.bo/bo/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.bo") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-08-22")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-22")) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cd/cd/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.cd/cd/status_available_spec.rb deleted file mode 100644 index c5a9c4966..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cd/cd/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cd/cd/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cd.rb' - -describe Whois::Record::Parser::WhoisNicCd, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.cd/cd/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.cd") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cd/cd/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.cd/cd/status_registered_spec.rb deleted file mode 100644 index ba12973a3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cd/cd/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cd/cd/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cd.rb' - -describe Whois::Record::Parser::WhoisNicCd, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.cd/cd/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.cd") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("5758-CD") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MARKMONITOR") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(0) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ch/ch/property_contacts_spec.rb b/spec/whois/record/parser/responses/whois.nic.ch/ch/property_contacts_spec.rb deleted file mode 100644 index eace79113..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ch/ch/property_contacts_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ch/ch/property_contacts.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ch.rb' - -describe Whois::Record::Parser::WhoisNicCh, "property_contacts.expected" do - - subject do - file = fixture("responses", "whois.nic.ch/ch/property_contacts.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].name).to eq("EISD John") - expect(subject.registrant_contacts[0].address).to eq("Room 208, Furong Road, Changsha City\nCN-41000 Changsha\nChina") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].name).to eq("xie huijie") - expect(subject.technical_contacts[0].address).to eq("xie huijie\nNo95.Lane768.Ruili Road.Minhang District\nCN-200240 shanghai\nChina") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ch/ch/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.nic.ch/ch/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 347709069..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ch/ch/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ch/ch/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ch.rb' - -describe Whois::Record::Parser::WhoisNicCh, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.nic.ch/ch/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.citrin.ch") - expect(subject.nameservers[0].ipv4).to eq("193.247.72.8") - expect(subject.nameservers[0].ipv6).to eq("2001:8a8:21:5::11") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.citrin.ch") - expect(subject.nameservers[1].ipv4).to eq("62.12.149.3") - expect(subject.nameservers[1].ipv6).to eq("2001:8a8:21:5::12") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ch/ch/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ch/ch/status_available_spec.rb deleted file mode 100644 index 9c99bc5eb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ch/ch/status_available_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ch/ch/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ch.rb' - -describe Whois::Record::Parser::WhoisNicCh, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ch/ch/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ch/ch/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ch/ch/status_registered_spec.rb deleted file mode 100644 index edadb2f0c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ch/ch/status_registered_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ch/ch/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ch.rb' - -describe Whois::Record::Parser::WhoisNicCh, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ch/ch/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("Administrator Domain\nAmphitheatre Parkway 1600\nUS-94043 Mountain View, CA\nUnited States") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].name).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("DNS Admin\n2400 E. Bayshore Pkwy\nUS-94043 Mountain View\nUnited States") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ci/ci/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ci/ci/status_available_spec.rb deleted file mode 100644 index bb16aa880..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ci/ci/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ci/ci/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ci.rb' - -describe Whois::Record::Parser::WhoisNicCi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ci/ci/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ci/ci/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ci/ci/status_registered_spec.rb deleted file mode 100644 index a8eba292e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ci/ci/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ci/ci/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ci.rb' - -describe Whois::Record::Parser::WhoisNicCi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ci/ci/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-01-27 11:14:47.77")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-02-14 11:14:47.77")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cl/cl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.cl/cl/status_available_spec.rb deleted file mode 100644 index e2322d3af..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cl/cl/status_available_spec.rb +++ /dev/null @@ -1,55 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cl/cl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cl.rb' - -describe Whois::Record::Parser::WhoisNicCl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.cl/cl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cl/cl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.cl/cl/status_registered_spec.rb deleted file mode 100644 index 700d45993..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cl/cl/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cl/cl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cl.rb' - -describe Whois::Record::Parser::WhoisNicCl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.cl/cl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.google.com") - expect(subject.nameservers[0].ipv4).to eq("216.239.36.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[1].ipv4).to eq("216.239.38.10") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[2].ipv4).to eq("216.239.32.10") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - expect(subject.nameservers[3].ipv4).to eq("216.239.34.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.co/co/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.co/co/status_available_spec.rb deleted file mode 100644 index b17703bb4..000000000 --- a/spec/whois/record/parser/responses/whois.nic.co/co/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.co/co/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.co.rb' - -describe Whois::Record::Parser::WhoisNicCo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.co/co/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.co") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.co/co/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.co/co/status_registered_spec.rb deleted file mode 100644 index 081344d25..000000000 --- a/spec/whois/record/parser/responses/whois.nic.co/co/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.co/co/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.co.rb' - -describe Whois::Record::Parser::WhoisNicCo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.co/co/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("t.co") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D740225-CO") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-04-26 07:50:40 GMT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-14 13:03:24 GMT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-04-25 23:59:59 GMT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("299") - expect(subject.registrar.name).to eq("CSC CORPORATE DOMAINS") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("365684910586C791") - expect(subject.registrant_contacts[0].name).to eq("Twitter, Inc.") - expect(subject.registrant_contacts[0].organization).to eq("Twitter, Inc.") - expect(subject.registrant_contacts[0].address).to eq("1355 Market Street\nSuite 900") - expect(subject.registrant_contacts[0].city).to eq("San Francisco") - expect(subject.registrant_contacts[0].zip).to eq("94103") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.4152229670") - expect(subject.registrant_contacts[0].fax).to eq("+1.4152220922") - expect(subject.registrant_contacts[0].email).to eq("domains@twitter.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("868543810568A633") - expect(subject.admin_contacts[0].name).to eq("Domain Admin") - expect(subject.admin_contacts[0].organization).to eq("Twitter, Inc.") - expect(subject.admin_contacts[0].address).to eq("1355 Market Street\nSuite 900") - expect(subject.admin_contacts[0].city).to eq("San Francisco") - expect(subject.admin_contacts[0].zip).to eq("94103") - expect(subject.admin_contacts[0].state).to eq("California") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.4152229670") - expect(subject.admin_contacts[0].fax).to eq("+1.4152220922") - expect(subject.admin_contacts[0].email).to eq("domains@twitter.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("42101611057C7478") - expect(subject.technical_contacts[0].name).to eq("Tech Admin") - expect(subject.technical_contacts[0].organization).to eq("Twitter, Inc.") - expect(subject.technical_contacts[0].address).to eq("1355 Market Street\nSuite 900") - expect(subject.technical_contacts[0].city).to eq("San Francisco") - expect(subject.technical_contacts[0].zip).to eq("94103") - expect(subject.technical_contacts[0].state).to eq("California") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.4152229670") - expect(subject.technical_contacts[0].fax).to eq("+1.4152220922") - expect(subject.technical_contacts[0].email).to eq("domains-tech@twitter.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.p34.dynect.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.p34.dynect.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.p34.dynect.net") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.p34.dynect.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.college/college/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.college/college/status_available_spec.rb deleted file mode 100644 index 60a688946..000000000 --- a/spec/whois/record/parser/responses/whois.nic.college/college/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.college/college/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.college.rb' - -describe Whois::Record::Parser::WhoisNicCollege, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.college/college/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.college/college/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.college/college/status_registered_spec.rb deleted file mode 100644 index b3dda32ae..000000000 --- a/spec/whois/record/parser/responses/whois.nic.college/college/status_registered_spec.rb +++ /dev/null @@ -1,171 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.college/college/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.college.rb' - -describe Whois::Record::Parser::WhoisNicCollege, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.college/college/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("nic.college") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D1465621-CNIC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["serverTransferProhibited", "serverUpdateProhibited", "serverDeleteProhibited", "serverRenewProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2013-09-11 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-09-12 00:15:47 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-09-11 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9999") - expect(subject.registrar.name).to eq("CentralNic Ltd") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H5178905") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("XYZ.COM LLC") - expect(subject.registrant_contacts[0].address).to eq("2121 E Tropicana Ave Suite #2") - expect(subject.registrant_contacts[0].city).to eq("Las Vegas") - expect(subject.registrant_contacts[0].zip).to eq("89119") - expect(subject.registrant_contacts[0].state).to eq("NV") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.8009998422") - expect(subject.registrant_contacts[0].fax).to eq("+1.7023578299") - expect(subject.registrant_contacts[0].email).to eq("icann@xyz.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H5178905") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("XYZ.COM LLC") - expect(subject.admin_contacts[0].address).to eq("2121 E Tropicana Ave Suite #2") - expect(subject.admin_contacts[0].city).to eq("Las Vegas") - expect(subject.admin_contacts[0].zip).to eq("89119") - expect(subject.admin_contacts[0].state).to eq("NV") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.8009998422") - expect(subject.admin_contacts[0].fax).to eq("+1.7023578299") - expect(subject.admin_contacts[0].email).to eq("icann@xyz.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H5178905") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("XYZ.COM LLC") - expect(subject.technical_contacts[0].address).to eq("2121 E Tropicana Ave Suite #2") - expect(subject.technical_contacts[0].city).to eq("Las Vegas") - expect(subject.technical_contacts[0].zip).to eq("89119") - expect(subject.technical_contacts[0].state).to eq("NV") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.8009998422") - expect(subject.technical_contacts[0].fax).to eq("+1.7023578299") - expect(subject.technical_contacts[0].email).to eq("icann@xyz.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns0.centralnic-dns.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.centralnic-dns.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.centralnic-dns.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.centralnic-dns.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns4.centralnic-dns.com") - expect(subject.nameservers[4].ipv4).to eq(nil) - expect(subject.nameservers[4].ipv6).to eq(nil) - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns5.centralnic-dns.com") - expect(subject.nameservers[5].ipv4).to eq(nil) - expect(subject.nameservers[5].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_multiple_spec.rb deleted file mode 100644 index 9212572be..000000000 --- a/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.coop/coop/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.coop.rb' - -describe Whois::Record::Parser::WhoisNicCoop, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.nic.coop/coop/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_single_spec.rb b/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_single_spec.rb deleted file mode 100644 index 08c31162e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.coop/coop/property_status_single_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.coop/coop/property_status_single.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.coop.rb' - -describe Whois::Record::Parser::WhoisNicCoop, "property_status_single.expected" do - - subject do - file = fixture("responses", "whois.nic.coop/coop/property_status_single.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.coop/coop/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.coop/coop/status_available_spec.rb deleted file mode 100644 index de4410fc8..000000000 --- a/spec/whois/record/parser/responses/whois.nic.coop/coop/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.coop/coop/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.coop.rb' - -describe Whois::Record::Parser::WhoisNicCoop, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.coop/coop/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.coop/coop/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.coop/coop/status_registered_spec.rb deleted file mode 100644 index 3e1748f6a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.coop/coop/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.coop/coop/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.coop.rb' - -describe Whois::Record::Parser::WhoisNicCoop, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.coop/coop/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-01-31 22:12:44 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-01-04 18:30:54 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-01-31 22:12:44 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.calgarycoop.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.calgarycoop.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cx/cx/property_updated_on_empty_spec.rb b/spec/whois/record/parser/responses/whois.nic.cx/cx/property_updated_on_empty_spec.rb deleted file mode 100644 index f326bb86c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cx/cx/property_updated_on_empty_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cx/cx/property_updated_on_empty.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cx.rb' - -describe Whois::Record::Parser::WhoisNicCx, "property_updated_on_empty.expected" do - - subject do - file = fixture("responses", "whois.nic.cx/cx/property_updated_on_empty.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cx/cx/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.cx/cx/status_available_spec.rb deleted file mode 100644 index bc1f0da18..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cx/cx/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cx/cx/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cx.rb' - -describe Whois::Record::Parser::WhoisNicCx, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.cx/cx/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.cx") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cx/cx/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.cx/cx/status_registered_spec.rb deleted file mode 100644 index 3fc1662fa..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cx/cx/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cx/cx/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cx.rb' - -describe Whois::Record::Parser::WhoisNicCx, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.cx/cx/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.cx") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("447518-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-07-29 18:15:42 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-06-28 09:18:02 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-07-29 18:15:42 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/case_nset_contact_same_name_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/case_nset_contact_same_name_spec.rb deleted file mode 100644 index 249b08b09..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/case_nset_contact_same_name_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/case_nset_contact_same_name.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "case_nset_contact_same_name.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/case_nset_contact_same_name.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq("WEBAREAL-CZ") - expect(subject.technical_contacts[0].name).to eq("Jaroslav Hansal") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("Rudolfovská tř. 247/85\nČeské Budějovice\n37001\nCZ") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("info@webareal.cz") - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2009-04-10 14:48:02")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_expired_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_expired_spec.rb deleted file mode 100644 index e2570c705..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_expired_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/property_status_expired.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "property_status_expired.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/property_status_expired.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([:expired]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_not_delegated_expired_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_not_delegated_expired_spec.rb deleted file mode 100644 index e2b1dbb98..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_not_delegated_expired_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/property_status_not_delegated_expired.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "property_status_not_delegated_expired.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/property_status_not_delegated_expired.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([:out_of_zone, :expired]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_paid_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_paid_spec.rb deleted file mode 100644 index dc732c019..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_paid_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/property_status_paid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "property_status_paid.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/property_status_paid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([:registered]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_to_be_deleted_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_to_be_deleted_spec.rb deleted file mode 100644 index d7d7e7954..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/property_status_to_be_deleted_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/property_status_to_be_deleted.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "property_status_to_be_deleted.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/property_status_to_be_deleted.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([:delete_candidate]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/response_throttled_spec.rb deleted file mode 100644 index 6c2355edf..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/response_with_keyset_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/response_with_keyset_spec.rb deleted file mode 100644 index ecb6f75ec..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/response_with_keyset_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/response_with_keyset.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "response_with_keyset.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/response_with_keyset.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-01-30 18:55:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-03-06 15:53:04")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-01-30")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/status_available_spec.rb deleted file mode 100644 index b64080b36..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([:available]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.cz/cz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.cz/cz/status_registered_spec.rb deleted file mode 100644 index 257128fa6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.cz/cz/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.cz/cz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.cz.rb' - -describe Whois::Record::Parser::WhoisNicCz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.cz/cz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(" (c) 2006-2017 CZ.NIC, z.s.p.o.\n\nIntended use of supplied data and information\n\nData contained in the domain name register, as well as information\nsupplied through public information services of CZ.NIC association,\nare appointed only for purposes connected with Internet network\nadministration and operation, or for the purpose of legal or other\nsimilar proceedings, in process as regards a matter connected\nparticularly with holding and using a concrete domain name.\n\nFull text available at:\nhttp://www.nic.cz/page/306/intended-use-of-supplied-data-and-information/\n\nSee also a search service at http://www.nic.cz/whois/\n\n") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("nic.cz") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to be_a(Array) - expect(subject.status).to eq([:server_transfer_prohibited]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("30.10.1997 01:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("22.11.2016 15:07:40")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("15.03.2027")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("REG-CZNIC") - expect(subject.registrar.name).to eq("REG-CZNIC") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("CZ-NIC") - expect(subject.registrant_contacts[0].name).to eq("CZ.NIC, z.s.p.o.") - expect(subject.registrant_contacts[0].organization).to eq("CZ.NIC, z.s.p.o.") - expect(subject.registrant_contacts[0].address).to eq("Milesovska 1136/5\nPraha 3\n130 00\nCZ") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("admin@nic.cz") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("17.10.2008 12:08:21")) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("09.01.2015 11:09:33")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(2) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("FEELA") - expect(subject.admin_contacts[0].name).to eq("Ondřej Filip") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("Jeseniova 2852/16\nPraha 3\n13000\nCZ") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq(nil) - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("04.01.2005 13:35:00")) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("17.07.2017 15:35:48")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(2) - expect(subject.technical_contacts[0].id).to eq("JTALIR") - expect(subject.technical_contacts[0].name).to eq("Jaromír Talíř") - expect(subject.technical_contacts[1]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[1].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[1].id).to eq("JAROMIR-TALIR") - expect(subject.technical_contacts[1].name).to eq("Jaromír Talíř") - expect(subject.technical_contacts[1].organization).to eq(nil) - expect(subject.technical_contacts[1].address).to eq("Americká 23\nPraha 2\n120 00\nCZ") - expect(subject.technical_contacts[1].city).to eq(nil) - expect(subject.technical_contacts[1].zip).to eq(nil) - expect(subject.technical_contacts[1].state).to eq(nil) - expect(subject.technical_contacts[1].country_code).to eq(nil) - expect(subject.technical_contacts[1].phone).to eq(nil) - expect(subject.technical_contacts[1].fax).to eq(nil) - expect(subject.technical_contacts[1].email).to eq(nil) - expect(subject.technical_contacts[1].created_on).to eq(Time.parse("01.12.2011 17:35:04")) - expect(subject.technical_contacts[1].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("d.ns.nic.cz") - expect(subject.nameservers[0].ipv4).to eq("193.29.206.1") - expect(subject.nameservers[0].ipv6).to eq("2001:678:1::1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("a.ns.nic.cz") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("b.ns.nic.cz") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.design/design/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.design/design/status_available_spec.rb deleted file mode 100644 index cf7d8c470..000000000 --- a/spec/whois/record/parser/responses/whois.nic.design/design/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.design/design/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.design.rb' - -describe Whois::Record::Parser::WhoisNicDesign, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.design/design/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.design/design/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.design/design/status_registered_spec.rb deleted file mode 100644 index d2a5efff2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.design/design/status_registered_spec.rb +++ /dev/null @@ -1,163 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.design/design/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.design.rb' - -describe Whois::Record::Parser::WhoisNicDesign, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.design/design/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("toplevel.design") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D7069819-CNIC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2015-02-27 16:08:32 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-04-21 17:48:34 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-02-27 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9999") - expect(subject.registrar.name).to eq("Top Level Design, LLC") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H4596017") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("Top Level Design, LLC") - expect(subject.registrant_contacts[0].address).to eq("742 Ocean Club Place") - expect(subject.registrant_contacts[0].city).to eq("Fernandina Beach") - expect(subject.registrant_contacts[0].zip).to eq("32034") - expect(subject.registrant_contacts[0].state).to eq("Florida") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.5038888808") - expect(subject.registrant_contacts[0].fax).to eq("+1.6788841468") - expect(subject.registrant_contacts[0].email).to eq("ray@tldesign.co") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H4596017") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("Top Level Design, LLC") - expect(subject.admin_contacts[0].address).to eq("742 Ocean Club Place") - expect(subject.admin_contacts[0].city).to eq("Fernandina Beach") - expect(subject.admin_contacts[0].zip).to eq("32034") - expect(subject.admin_contacts[0].state).to eq("Florida") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.5038888808") - expect(subject.admin_contacts[0].fax).to eq("+1.6788841468") - expect(subject.admin_contacts[0].email).to eq("ray@tldesign.co") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H4596017") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("Top Level Design, LLC") - expect(subject.technical_contacts[0].address).to eq("742 Ocean Club Place") - expect(subject.technical_contacts[0].city).to eq("Fernandina Beach") - expect(subject.technical_contacts[0].zip).to eq("32034") - expect(subject.technical_contacts[0].state).to eq("Florida") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.5038888808") - expect(subject.technical_contacts[0].fax).to eq("+1.6788841468") - expect(subject.technical_contacts[0].email).to eq("ray@tldesign.co") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns-170.awsdns-21.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-904.awsdns-49.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns-1067.awsdns-05.org") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns-1873.awsdns-42.co.uk") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.dm/dm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.dm/dm/status_available_spec.rb deleted file mode 100644 index bb4fcae95..000000000 --- a/spec/whois/record/parser/responses/whois.nic.dm/dm/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.dm/dm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.dm.rb' - -describe Whois::Record::Parser::WhoisNicDm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.dm/dm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.dm/dm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.dm/dm/status_registered_spec.rb deleted file mode 100644 index dc0205e70..000000000 --- a/spec/whois/record/parser/responses/whois.nic.dm/dm/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.dm/dm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.dm.rb' - -describe Whois::Record::Parser::WhoisNicDm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.dm/dm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This data is provided by DM REGISTRY for information purposes only in accordance with the DM REGISTRY TLD Privacy Policy. It is intended to assist persons to obtain information about or related to domain name registration records. DM REGISTRY does not guarantee its accuracy. By submitting this query, you agree to abide as follows:\nYou agree to use this data only for lawful purposes and that under no circumstances will you permit this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone or fax (spam); nor 2) enable high volume, automated, electronic processes to the systems of DM REGISTRY or Registrars, except as reasonably required to register new domain names or modify existing registrations; nor 3) will you generate a database of registered domain names and registrant data.\nThese terms may be changed without prior notice. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.dm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-08-23 23:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-23 17:50:34")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-23 23:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("P-CQG21") - expect(subject.registrant_contacts[0].name).to eq("Company Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("P-DNA22") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("P-DXA21") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.dz/dz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.dz/dz/status_available_spec.rb deleted file mode 100644 index 8c6113e3a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.dz/dz/status_available_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.dz/dz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.dz.rb' - -describe Whois::Record::Parser::WhoisNicDz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.dz/dz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.dz/dz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.dz/dz/status_registered_spec.rb deleted file mode 100644 index 45380dde6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.dz/dz/status_registered_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.dz/dz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.dz.rb' - -describe Whois::Record::Parser::WhoisNicDz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.dz/dz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ec/ex/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ec/ex/status_available_spec.rb deleted file mode 100644 index 2b8df9a13..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ec/ex/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ec/ex/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ec.rb' - -describe Whois::Record::Parser::WhoisNicEc, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ec/ex/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ec") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ec/ex/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ec/ex/status_registered_spec.rb deleted file mode 100644 index f68995650..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ec/ex/status_registered_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ec/ex/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ec.rb' - -describe Whois::Record::Parser::WhoisNicEc, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ec/ex/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ec") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-10-16 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-17 00:00:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-16 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.es/es/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.es/es/status_available_spec.rb deleted file mode 100644 index 193e20faf..000000000 --- a/spec/whois/record/parser/responses/whois.nic.es/es/status_available_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.es/es/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.es.rb' - -describe Whois::Record::Parser::WhoisNicEs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.es/es/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("ES-NIC") - expect(subject.registrar.organization).to eq("ES-NIC Delegated Internet Registry for Spain") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.es/es/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.es/es/status_registered_spec.rb deleted file mode 100644 index e95e982b6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.es/es/status_registered_spec.rb +++ /dev/null @@ -1,104 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.es/es/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.es.rb' - -describe Whois::Record::Parser::WhoisNicEs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.es/es/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.es") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("16/09/03")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("16/09/14")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("ES-NIC") - expect(subject.registrar.organization).to eq("ES-NIC Delegated Internet Registry for Spain") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("GOOGLE INC.") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fo/fo/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fo/fo/status_available_spec.rb deleted file mode 100644 index dbd1f17a1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fo/fo/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fo/fo/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fo.rb' - -describe Whois::Record::Parser::WhoisNicFo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fo/fo/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fo/fo/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fo/fo/status_registered_spec.rb deleted file mode 100644 index 2b219a4df..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fo/fo/status_registered_spec.rb +++ /dev/null @@ -1,135 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fo/fo/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fo.rb' - -describe Whois::Record::Parser::WhoisNicFo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fo/fo/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("nic.fo") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-06-03 03:34:05")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-07-12 12:52:57")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-03")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("ID005359") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("FO-umsitingin") - expect(subject.registrant_contacts[0].address).to eq("Hoydalsvegur 19, Postboks 1255") - expect(subject.registrant_contacts[0].city).to eq("Torshavn") - expect(subject.registrant_contacts[0].zip).to eq("110") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FO") - expect(subject.registrant_contacts[0].phone).to eq("+298.322400") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2010-07-21 19:11:55")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq("ID005359") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("FO-umsitingin") - expect(subject.technical_contacts[0].address).to eq("Hoydalsvegur 19, Postboks 1255") - expect(subject.technical_contacts[0].city).to eq("Torshavn") - expect(subject.technical_contacts[0].zip).to eq("110") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FO") - expect(subject.technical_contacts[0].phone).to eq("+298.322400") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq(nil) - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2010-07-21 19:11:55")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.gratisdns.dk") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.gratisdns.dk") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.gratisdns.dk") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.gratisdns.dk") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns5.gratisdns.dk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_address_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_address_spec.rb deleted file mode 100644 index e2e710169..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_address_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_contact_without_address.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_contact_without_address.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("ANO00-FRNIC") - expect(subject.registrant_contacts[0].name).to eq("Ano Nymous") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2007-09-03 00:00:00 UTC")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_changed_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_changed_spec.rb deleted file mode 100644 index 7e62ed0f2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_contact_without_changed_spec.rb +++ /dev/null @@ -1,45 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_changed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_contact_without_changed.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_contact_without_changed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("JMR39-FRNIC") - expect(subject.admin_contacts[0].name).to eq("Jean Marc Raimondo") - expect(subject.admin_contacts[0].organization).to eq("1C2") - expect(subject.admin_contacts[0].address).to eq("20-22, rue Louis Armand\n75015 Paris") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 30 62 40 06") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("jmr@1c2.com") - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4_spec.rb deleted file mode 100644 index c7d5094e0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_nameservers_multiple_ipv4.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_nameservers_multiple_ipv4.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.boursedirect.fr") - expect(subject.nameservers[0].ipv4).to eq("212.157.203.190") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.boursedirect.fr") - expect(subject.nameservers[1].ipv4).to eq("212.157.203.189") - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_spec.rb deleted file mode 100644 index b5b4f8251..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_nameservers.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_nameservers.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6_spec.rb deleted file mode 100644 index 45da11c9e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_nameservers_with_ipv4_and_some_ipv6.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.134.4.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3003:2::4:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.ext.nic.fr") - expect(subject.nameservers[3].ipv4).to eq("193.51.208.13") - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns4.ext.nic.fr") - expect(subject.nameservers[4].ipv4).to eq("193.0.9.4") - expect(subject.nameservers[4].ipv6).to eq("2001:67c:e0::4") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns5.ext.nic.fr") - expect(subject.nameservers[5].ipv4).to eq("206.167.244.5") - expect(subject.nameservers[5].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_active_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_active_spec.rb deleted file mode 100644 index 874cc6524..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_active_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_active.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_active.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_active.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_blocked_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_blocked_spec.rb deleted file mode 100644 index 098719a37..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_blocked_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_blocked.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_blocked.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_missing_spec.rb deleted file mode 100644 index 684936220..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_missing_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_not_open_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_not_open_spec.rb deleted file mode 100644 index 36d93a6e0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_not_open_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_not_open.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_not_open.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_not_open.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_redemption_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_redemption_spec.rb deleted file mode 100644 index b3f71fc4e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_redemption_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_redemption.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_redemption.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_redemption.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_registered_spec.rb deleted file mode 100644 index 211fe3174..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_registered_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/property_status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/property_status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/response_throttled_spec.rb deleted file mode 100644 index 2ef880203..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/status_available_spec.rb deleted file mode 100644 index 35c9d2a6e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/fr/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/fr/status_registered_spec.rb deleted file mode 100644 index 7954cf465..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/fr/status_registered_spec.rb +++ /dev/null @@ -1,133 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/fr/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-07-27")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-06-03")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("GI658-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600, Amphitheatre Parkway\n94043 Mountain View Ca") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1 650 253 0000") - expect(subject.registrant_contacts[0].fax).to eq("+1 650 618 8571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2009-07-09 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("TT599-FRNIC") - expect(subject.admin_contacts[0].name).to eq("Tu Tsao") - expect(subject.admin_contacts[0].organization).to eq("Google France") - expect(subject.admin_contacts[0].address).to eq("38, avenue de l'Opera\n75002 Paris") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 6 50 33 00 10") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2009-02-24 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MC239-FRNIC") - expect(subject.technical_contacts[0].name).to eq("MARKMONITOR CCOPS") - expect(subject.technical_contacts[0].organization).to eq("eMarkmonitor Inc. dba MarkMonitor") - expect(subject.technical_contacts[0].address).to eq("PMB 155\n10400 Overland Road\n83709-1433 Boise, Id\nUS") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+01 2083895740") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("ccops@markmonitor.com") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2008-10-10 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6_spec.rb deleted file mode 100644 index 33d84f618..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_nameservers_with_ipv4_and_ipv6.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.93.0.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3005:1::1:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/pm/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/pm/response_throttled_spec.rb deleted file mode 100644 index 9ae567339..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/pm/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/pm/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/pm/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/pm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/pm/status_available_spec.rb deleted file mode 100644 index 55ffebfe5..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/pm/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/pm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/pm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/pm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/pm/status_registered_spec.rb deleted file mode 100644 index ba71e7450..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/pm/status_registered_spec.rb +++ /dev/null @@ -1,125 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/pm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-01-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2004-09-17")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("APEM2-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Afnic (Saint-Pierre et Miquelon - CTOM)") - expect(subject.registrant_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2008-10-09 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.admin_contacts[0].name).to eq("NIC France Contact") - expect(subject.admin_contacts[0].organization).to eq("AFNIC") - expect(subject.admin_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.technical_contacts[0].name).to eq("NIC France Contact") - expect(subject.technical_contacts[0].organization).to eq("AFNIC") - expect(subject.technical_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6_spec.rb deleted file mode 100644 index 80290d6e8..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_nameservers_with_ipv4_and_ipv6.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.93.0.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3005:1::1:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/re/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/re/response_throttled_spec.rb deleted file mode 100644 index cfa70b276..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/re/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/re/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/re/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/re/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/re/status_available_spec.rb deleted file mode 100644 index 0b19f6d74..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/re/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/re/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/re/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/re/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/re/status_registered_spec.rb deleted file mode 100644 index 0cc854696..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/re/status_registered_spec.rb +++ /dev/null @@ -1,125 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/re/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/re/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-01-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-04-26")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("A1967-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("AFNIC") - expect(subject.registrant_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2009-12-02 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.admin_contacts[0].name).to eq("NIC France Contact") - expect(subject.admin_contacts[0].organization).to eq("AFNIC") - expect(subject.admin_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.technical_contacts[0].name).to eq("NIC France Contact") - expect(subject.technical_contacts[0].organization).to eq("AFNIC") - expect(subject.technical_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/tf/property_status_frozen_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/tf/property_status_frozen_spec.rb deleted file mode 100644 index aa5c867ba..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/tf/property_status_frozen_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/tf/property_status_frozen.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "property_status_frozen.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/tf/property_status_frozen.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/tf/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/tf/response_throttled_spec.rb deleted file mode 100644 index 6f3fbbb18..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/tf/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/tf/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/tf/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/tf/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/tf/status_available_spec.rb deleted file mode 100644 index 9d7aafae6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/tf/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/tf/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/tf/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/tf/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/tf/status_registered_spec.rb deleted file mode 100644 index 584eeca47..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/tf/status_registered_spec.rb +++ /dev/null @@ -1,137 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/tf/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-10-26")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2004-10-29")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("AAEA9-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Afnic (Terres Australes et Antarctiques - TOM)") - expect(subject.registrant_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2008-10-09 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.admin_contacts[0].name).to eq("NIC France Contact") - expect(subject.admin_contacts[0].organization).to eq("AFNIC") - expect(subject.admin_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.technical_contacts[0].name).to eq("NIC France Contact") - expect(subject.technical_contacts[0].organization).to eq("AFNIC") - expect(subject.technical_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.134.4.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3003:2::4:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/wf/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/wf/response_throttled_spec.rb deleted file mode 100644 index ec83212dd..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/wf/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/wf/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/wf/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/wf/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/wf/status_available_spec.rb deleted file mode 100644 index 91ac4690e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/wf/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/wf/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/wf/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/wf/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/wf/status_registered_spec.rb deleted file mode 100644 index 4e86d29a1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/wf/status_registered_spec.rb +++ /dev/null @@ -1,137 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/wf/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-01-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2004-09-17")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("AEFT2-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Afnic (Wallis et Futuna - TOM)") - expect(subject.registrant_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2008-10-09 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.admin_contacts[0].name).to eq("NIC France Contact") - expect(subject.admin_contacts[0].organization).to eq("AFNIC") - expect(subject.admin_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.technical_contacts[0].name).to eq("NIC France Contact") - expect(subject.technical_contacts[0].organization).to eq("AFNIC") - expect(subject.technical_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.93.0.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3005:1::1:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/yt/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/yt/response_throttled_spec.rb deleted file mode 100644 index a968f8341..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/yt/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/yt/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/yt/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/yt/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/yt/status_available_spec.rb deleted file mode 100644 index f59fb14a1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/yt/status_available_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/yt/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/yt/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.fr/yt/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.fr/yt/status_registered_spec.rb deleted file mode 100644 index 74325d730..000000000 --- a/spec/whois/record/parser/responses/whois.nic.fr/yt/status_registered_spec.rb +++ /dev/null @@ -1,137 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.fr.rb' - -describe Whois::Record::Parser::WhoisNicFr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.fr/yt/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-01-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2004-09-17")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("AC3598-FRNIC") - expect(subject.registrant_contacts[0].name).to eq(nil) - expect(subject.registrant_contacts[0].organization).to eq("Afnic (Mayotte - CTOM)") - expect(subject.registrant_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("FR") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2008-10-09 00:00:00 UTC")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.admin_contacts[0].name).to eq("NIC France Contact") - expect(subject.admin_contacts[0].organization).to eq("AFNIC") - expect(subject.admin_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("FR") - expect(subject.admin_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("NFC1-FRNIC") - expect(subject.technical_contacts[0].name).to eq("NIC France Contact") - expect(subject.technical_contacts[0].organization).to eq("AFNIC") - expect(subject.technical_contacts[0].address).to eq("immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("FR") - expect(subject.technical_contacts[0].phone).to eq("+33 1 39 30 83 00") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("hostmaster@nic.fr") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2005-08-23 00:00:00 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.nic.fr") - expect(subject.nameservers[0].ipv4).to eq("192.134.4.1") - expect(subject.nameservers[0].ipv6).to eq("2001:660:3003:2::4:1") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.nic.fr") - expect(subject.nameservers[1].ipv4).to eq("192.93.0.4") - expect(subject.nameservers[1].ipv6).to eq("2001:660:3005:1::1:2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.nic.fr") - expect(subject.nameservers[2].ipv4).to eq("192.134.0.49") - expect(subject.nameservers[2].ipv6).to eq("2001:660:3006:1::1:1") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.gd/gd/status_available_spec.rb deleted file mode 100644 index aeec6af7c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gd/gd/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gd.rb' - -describe Whois::Record::Parser::WhoisNicGd, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.gd/gd/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.gd/gd/status_registered_spec.rb deleted file mode 100644 index 6b78b4cdb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gd/gd/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gd.rb' - -describe Whois::Record::Parser::WhoisNicGd, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.gd/gd/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("The data in the WHOIS database of KSregistry GmbH is provided by KSregistry GmbH for information purposes, and to assist persons in obtaining information about or related to domain name registration records. KSregistry GmbH does not guarantee its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances, you will use this data to 1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via E-mail (spam); or 2) enable high volume, automated, electronic processes that apply to KSregistry GmbH or its systems. KSregistry GmbH reserves the right to modify these terms. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.gd") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-12-11 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-12 16:07:05")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-12-11 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("P-GXI35") - expect(subject.registrant_contacts[0].name).to eq("Google, Inc.") - expect(subject.registrant_contacts[0].organization).to eq("Google, Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6503300100") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506181499") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("P-GXI35") - expect(subject.admin_contacts[0].name).to eq("Google, Inc.") - expect(subject.admin_contacts[0].organization).to eq("Google, Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6503300100") - expect(subject.admin_contacts[0].fax).to eq("+1.6506181499") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("P-GXI35") - expect(subject.technical_contacts[0].name).to eq("Google, Inc.") - expect(subject.technical_contacts[0].organization).to eq("Google, Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6503300100") - expect(subject.technical_contacts[0].fax).to eq("+1.6506181499") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.gd/gd/status_reserved_spec.rb deleted file mode 100644 index 03cf6718e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gd/gd/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gd/gd/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gd.rb' - -describe Whois::Record::Parser::WhoisNicGd, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.gd/gd/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gl/gl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.gl/gl/status_available_spec.rb deleted file mode 100644 index 88ca0e902..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gl/gl/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gl/gl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gl.rb' - -describe Whois::Record::Parser::WhoisNicGl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.gl/gl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.gl") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gl/gl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.gl/gl/status_registered_spec.rb deleted file mode 100644 index 174f17fcd..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gl/gl/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gl/gl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gl.rb' - -describe Whois::Record::Parser::WhoisNicGl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.gl/gl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.gl") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("Imp669-GL") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-03-11 03:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-02 19:11:52 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-01 03:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_available_spec.rb deleted file mode 100644 index e7cd8ba3a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gs/gs/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gs.rb' - -describe Whois::Record::Parser::WhoisNicGs, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.gs/gs/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_ok_spec.rb deleted file mode 100644 index 0ec1c63f1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gs/gs/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gs/gs/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gs.rb' - -describe Whois::Record::Parser::WhoisNicGs, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.nic.gs/gs/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gs/gs/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.gs/gs/status_available_spec.rb deleted file mode 100644 index 5104a3da1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gs/gs/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gs/gs/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gs.rb' - -describe Whois::Record::Parser::WhoisNicGs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.gs/gs/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.gs") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.gs/gs/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.gs/gs/status_registered_spec.rb deleted file mode 100644 index 4be7f0b22..000000000 --- a/spec/whois/record/parser/responses/whois.nic.gs/gs/status_registered_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.gs/gs/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.gs.rb' - -describe Whois::Record::Parser::WhoisNicGs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.gs/gs/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.gs") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("4258-CoCCA.gs") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-07-08 12:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-06 07:35:24 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-08 12:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.hn/hn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.hn/hn/status_available_spec.rb deleted file mode 100644 index a3842cd6d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.hn/hn/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.hn/hn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.hn.rb' - -describe Whois::Record::Parser::WhoisNicHn, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.hn/hn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.hn") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.hn/hn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.hn/hn/status_registered_spec.rb deleted file mode 100644 index 5f559b08a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.hn/hn/status_registered_spec.rb +++ /dev/null @@ -1,85 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.hn/hn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.hn.rb' - -describe Whois::Record::Parser::WhoisNicHn, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.hn/hn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.hn") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("801220-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-03-07 05:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-03 10:22:23 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-07 05:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ht/ht/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ht/ht/status_available_spec.rb deleted file mode 100644 index ed627c8a3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ht/ht/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ht/ht/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ht.rb' - -describe Whois::Record::Parser::WhoisNicHt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ht/ht/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ht") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ht/ht/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ht/ht/status_registered_spec.rb deleted file mode 100644 index f9c508a74..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ht/ht/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ht/ht/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ht.rb' - -describe Whois::Record::Parser::WhoisNicHt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ht/ht/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ht") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("112029-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-06-17 23:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-05-16 09:18:24 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-17 23:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.hu/hu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.hu/hu/status_available_spec.rb deleted file mode 100644 index 2b28aab9c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.hu/hu/status_available_spec.rb +++ /dev/null @@ -1,94 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.hu/hu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.hu.rb' - -describe Whois::Record::Parser::WhoisNicHu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.hu/hu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.hu/hu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.hu/hu/status_registered_spec.rb deleted file mode 100644 index 9bf7c3447..000000000 --- a/spec/whois/record/parser/responses/whois.nic.hu/hu/status_registered_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.hu/hu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.hu.rb' - -describe Whois::Record::Parser::WhoisNicHu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.hu/hu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.hu") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-03-25 23:20:39")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.im/im/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.im/im/status_available_spec.rb deleted file mode 100644 index 283fe7299..000000000 --- a/spec/whois/record/parser/responses/whois.nic.im/im/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.im/im/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.im.rb' - -describe Whois::Record::Parser::WhoisNicIm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.im/im/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.im/im/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.im/im/status_registered_spec.rb deleted file mode 100644 index 01540dab4..000000000 --- a/spec/whois/record/parser/responses/whois.nic.im/im/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.im/im/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.im.rb' - -describe Whois::Record::Parser::WhoisNicIm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.im/im/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-03 23:59:52")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.io/io/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.io/io/status_available_spec.rb deleted file mode 100644 index 8e3890e1b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.io/io/status_available_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.io/io/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.io.rb' - -describe Whois::Record::Parser::WhoisNicIo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.io/io/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.io") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.io/io/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.io/io/status_registered_spec.rb deleted file mode 100644 index 7bd6cd240..000000000 --- a/spec/whois/record/parser/responses/whois.nic.io/io/status_registered_spec.rb +++ /dev/null @@ -1,126 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.io/io/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.io.rb' - -describe Whois::Record::Parser::WhoisNicIo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.io/io/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("redis.io") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-28")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Salvatore Sanfilippo") - expect(subject.registrant_contacts[0].organization).to eq("Salvatore Sanfilippo") - expect(subject.registrant_contacts[0].address).to eq("Via F.Alaimo, 2") - expect(subject.registrant_contacts[0].city).to eq("Campobello di Licata (AG") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(".") - expect(subject.registrant_contacts[0].country).to eq("IT") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.iwantmyname.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.iwantmyname.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.iwantmyname.net") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.iwantmyname.net") - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.io/io/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.io/io/status_reserved_spec.rb deleted file mode 100644 index e646dddc1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.io/io/status_reserved_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.io/io/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.io.rb' - -describe Whois::Record::Parser::WhoisNicIo, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.io/io/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ir/ir/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ir/ir/status_available_spec.rb deleted file mode 100644 index 436ffd189..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ir/ir/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ir/ir/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ir.rb' - -describe Whois::Record::Parser::WhoisNicIr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ir/ir/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ir/ir/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ir/ir/status_registered_spec.rb deleted file mode 100644 index b4fc6bd3a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ir/ir/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ir/ir/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ir.rb' - -describe Whois::Record::Parser::WhoisNicIr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ir/ir/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-17")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns1.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_province_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_province_spec.rb deleted file mode 100644 index b0cf09a8b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_province_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_contact_province.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_contact_province.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_contact_province.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("HTML1-ITNIC") - expect(subject.registrant_contacts[0].name).to eq("HTML.it srl") - expect(subject.registrant_contacts[0].organization).to eq("HTML.it srl") - expect(subject.registrant_contacts[0].address).to eq("Viale Alessandrino, 595") - expect(subject.registrant_contacts[0].city).to eq("Roma") - expect(subject.registrant_contacts[0].zip).to eq("00172") - expect(subject.registrant_contacts[0].state).to eq("RM") - expect(subject.registrant_contacts[0].country_code).to eq("IT") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2007-03-01 10:28:08")) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2007-03-01 10:28:08")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_company_in_address_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_company_in_address_spec.rb deleted file mode 100644 index e1995ac9a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_company_in_address_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_contact_with_company_in_address.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_contact_with_company_in_address.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_contact_with_company_in_address.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("AARS1-ITNIC") - expect(subject.technical_contacts[0].name).to eq("Andrea Antonio Renato Stratta") - expect(subject.technical_contacts[0].organization).to eq("UCI Italia Srl") - expect(subject.technical_contacts[0].address).to eq("Via E. Fermi, 161") - expect(subject.technical_contacts[0].city).to eq("Roma") - expect(subject.technical_contacts[0].zip).to eq("00146") - expect(subject.technical_contacts[0].state).to eq("RM") - expect(subject.technical_contacts[0].country_code).to eq("IT") - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2006-08-16 00:00:00")) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2007-03-01 07:48:42")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_organization_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_organization_spec.rb deleted file mode 100644 index 1d0c12bc6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_contact_with_organization_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_contact_with_organization.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_contact_with_organization.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_contact_with_organization.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("TT4277-ITNIC") - expect(subject.admin_contacts[0].name).to eq("Tsao Tu") - expect(subject.admin_contacts[0].organization).to eq("Tu Tsao") - expect(subject.admin_contacts[0].address).to eq("30 Herbert Street") - expect(subject.admin_contacts[0].city).to eq("Dublin") - expect(subject.admin_contacts[0].zip).to eq("2") - expect(subject.admin_contacts[0].state).to eq("IE") - expect(subject.admin_contacts[0].country_code).to eq("IE") - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2008-11-27 16:47:22")) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2008-11-27 16:47:22")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_available_spec.rb deleted file mode 100644 index bac88499e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_client_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_client_spec.rb deleted file mode 100644 index f13da159c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_client_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_client.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_client.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_client.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_graceperiod_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_graceperiod_spec.rb deleted file mode 100644 index cdc065b8f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_graceperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_graceperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_graceperiod.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_graceperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_inactive_noregistrar_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_inactive_noregistrar_spec.rb deleted file mode 100644 index 0d1bb0156..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_inactive_noregistrar_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_inactive_noregistrar.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_inactive_noregistrar.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_inactive_noregistrar.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_no_provider_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_no_provider_spec.rb deleted file mode 100644 index 8fb6f9aef..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_no_provider_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_no_provider.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_no_provider.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_no_provider.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_autorenew_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_autorenew_spec.rb deleted file mode 100644 index cde3b5e5c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_autorenew_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_ok_autorenew.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_ok_autorenew.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_ok_autorenew.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_spec.rb deleted file mode 100644 index c869f6de0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pending-delete_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pending-delete_spec.rb deleted file mode 100644 index cdf2a7550..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pending-delete_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pending-delete.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pending-delete.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pending-delete.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete_spec.rb deleted file mode 100644 index eec8e82b1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_pendingdelete.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingdelete_pendingdelete.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingdelete_pendingdelete.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod_spec.rb deleted file mode 100644 index 6efb9acc7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingdelete_redemptionperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingdelete_redemptionperiod.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingdelete_redemptionperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod_spec.rb deleted file mode 100644 index ff9c1fadb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingtransfer_autorenewperiod.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingtransfer_autorenewperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_spec.rb deleted file mode 100644 index d734d38d7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingtransfer_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingtransfer.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingtransfer.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingtransfer.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod_spec.rb deleted file mode 100644 index 164e8b391..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate_autorenewperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingupdate_autorenewperiod.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingupdate_autorenewperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_spec.rb deleted file mode 100644 index 058fd96c1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_pendingupdate_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_pendingupdate.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_pendingupdate.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_pendingupdate.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_redemption_no_provider_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_redemption_no_provider_spec.rb deleted file mode 100644 index 8da259e2f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_redemption_no_provider_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_redemption_no_provider.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_redemption_no_provider.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_redemption_no_provider.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_reserved_spec.rb deleted file mode 100644 index 4b1b9c8bb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_reserved_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_unassignable_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_status_unassignable_spec.rb deleted file mode 100644 index c0d405a20..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_status_unassignable_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_status_unassignable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_status_unassignable.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_status_unassignable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:unavailable) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/property_technical_contact_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/property_technical_contact_spec.rb deleted file mode 100644 index 333fecbf7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/property_technical_contact_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/property_technical_contact.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "property_technical_contact.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/property_technical_contact.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("TS7016-ITNIC") - expect(subject.technical_contacts[0].name).to eq("Technical Services") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/response_unavailable_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/response_unavailable_spec.rb deleted file mode 100644 index 00620d7a8..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/response_unavailable_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/response_unavailable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "response_unavailable.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/response_unavailable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/status_available_spec.rb deleted file mode 100644 index 7e444e2e0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/status_available_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.it") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/status_registered_spec.rb deleted file mode 100644 index 266caa741..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/status_registered_spec.rb +++ /dev/null @@ -1,162 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Please note that the following result could be a subgroup of the data contained in the database. Additional information can be visualized at: http://www.nic.it/cgi-bin/Whois/whois.cgi") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.it") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-12-10 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-21 01:05:35")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-21 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("MARKMONITOR-REG") - expect(subject.registrar.name).to eq("MARKMONITOR-REG") - expect(subject.registrar.organization).to eq("MarkMonitor International Limited") - expect(subject.registrar.url).to eq("https://www.markmonitor.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("DUP430692088") - expect(subject.registrant_contacts[0].name).to eq("Google Ireland Holdings") - expect(subject.registrant_contacts[0].organization).to eq("Google Ireland Holdings") - expect(subject.registrant_contacts[0].address).to eq("70 Sir John Rogersons Quay") - expect(subject.registrant_contacts[0].city).to eq("Dublin") - expect(subject.registrant_contacts[0].zip).to eq("2") - expect(subject.registrant_contacts[0].state).to eq("IE") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("IE") - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2013-04-21 01:05:35")) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2013-04-21 01:05:35")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("DUP142437129") - expect(subject.admin_contacts[0].name).to eq("Tsao Tu") - expect(subject.admin_contacts[0].organization).to eq("Tu Tsao") - expect(subject.admin_contacts[0].address).to eq("70 Sir John Rogersons Quay") - expect(subject.admin_contacts[0].city).to eq("Dublin") - expect(subject.admin_contacts[0].zip).to eq("2") - expect(subject.admin_contacts[0].state).to eq("IE") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("IE") - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq(nil) - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2013-04-21 01:05:35")) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2013-04-21 01:05:35")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts[0].id).to eq("DUP430692088") - expect(subject.technical_contacts[0].name).to eq("Google Ireland Holdings") - expect(subject.technical_contacts[0].organization).to eq("Google Ireland Holdings") - expect(subject.technical_contacts[0].address).to eq("70 Sir John Rogersons Quay") - expect(subject.technical_contacts[0].city).to eq("Dublin") - expect(subject.technical_contacts[0].zip).to eq("2") - expect(subject.technical_contacts[0].state).to eq("IE") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("IE") - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq(nil) - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2013-04-21 01:05:35")) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2013-04-21 01:05:35")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.it/it/status_unavailable_spec.rb b/spec/whois/record/parser/responses/whois.nic.it/it/status_unavailable_spec.rb deleted file mode 100644 index 26dc9e801..000000000 --- a/spec/whois/record/parser/responses/whois.nic.it/it/status_unavailable_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.it/it/status_unavailable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.it.rb' - -describe Whois::Record::Parser::WhoisNicIt, "status_unavailable.expected" do - - subject do - file = fixture("responses", "whois.nic.it/it/status_unavailable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:unavailable) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ki/ki/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ki/ki/status_available_spec.rb deleted file mode 100644 index 91ee18f44..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ki/ki/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ki/ki/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ki.rb' - -describe Whois::Record::Parser::WhoisNicKi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ki/ki/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ki") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ki/ki/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ki/ki/status_registered_spec.rb deleted file mode 100644 index 9bd84ad80..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ki/ki/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ki/ki/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ki.rb' - -describe Whois::Record::Parser::WhoisNicKi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ki/ki/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ki") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("18030-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-05-15 12:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-06 07:34:23 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-27 11:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_missing_spec.rb deleted file mode 100644 index e66cc1eb3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_missing_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_multiple_spec.rb deleted file mode 100644 index 343d564b0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_multiple_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientRenewProhibited", "clientTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_ok_spec.rb deleted file mode 100644 index 5663c5556..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_updated_on_blank_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/property_updated_on_blank_spec.rb deleted file mode 100644 index 07e69e782..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/property_updated_on_blank_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/property_updated_on_blank.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "property_updated_on_blank.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/property_updated_on_blank.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/status_available_spec.rb deleted file mode 100644 index e082e490b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.kz/kz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.kz/kz/status_registered_spec.rb deleted file mode 100644 index b9d5caafb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.kz/kz/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.kz/kz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.kz.rb' - -describe Whois::Record::Parser::WhoisNicKz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.kz/kz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-07 13:01:43")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-11-28 03:16:59")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.la/la/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.nic.la/la/property_status_multiple_spec.rb deleted file mode 100644 index d6958516a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.la/la/property_status_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.la/la/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.la.rb' - -describe Whois::Record::Parser::WhoisNicLa, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.nic.la/la/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["TRANSFER PROHIBITED", "RENEW PERIOD"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.la/la/property_status_single_spec.rb b/spec/whois/record/parser/responses/whois.nic.la/la/property_status_single_spec.rb deleted file mode 100644 index c3d7a2303..000000000 --- a/spec/whois/record/parser/responses/whois.nic.la/la/property_status_single_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.la/la/property_status_single.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.la.rb' - -describe Whois::Record::Parser::WhoisNicLa, "property_status_single.expected" do - - subject do - file = fixture("responses", "whois.nic.la/la/property_status_single.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.la/la/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.la/la/status_available_spec.rb deleted file mode 100644 index 465f44fdf..000000000 --- a/spec/whois/record/parser/responses/whois.nic.la/la/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.la/la/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.la.rb' - -describe Whois::Record::Parser::WhoisNicLa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.la/la/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.la/la/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.la/la/status_registered_spec.rb deleted file mode 100644 index 0a4f855f0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.la/la/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.la/la/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.la.rb' - -describe Whois::Record::Parser::WhoisNicLa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.la/la/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.la") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO471480") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-07-18 01:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-01 15:09:21 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-07-18 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("H2948863") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("TLD Registrar Solutions Ltd") - expect(subject.registrar.url).to eq("www.tldregistrarsolutions.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("ndn-96955") - expect(subject.registrant_contacts[0].name).to eq("Google Inc") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("Ca") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.65067188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("ndn-96955") - expect(subject.admin_contacts[0].name).to eq("Google Inc") - expect(subject.admin_contacts[0].organization).to eq("Google Inc") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("Ca") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.65067188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("ndn-96955") - expect(subject.technical_contacts[0].name).to eq("Google Inc") - expect(subject.technical_contacts[0].organization).to eq("Google Inc") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("Ca") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.65067188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.li/li/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.li/li/status_available_spec.rb deleted file mode 100644 index 4c326b21f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.li/li/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.li/li/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.li.rb' - -describe Whois::Record::Parser::WhoisNicLi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.li/li/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.li/li/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.li/li/status_registered_spec.rb deleted file mode 100644 index 4f1c6b661..000000000 --- a/spec/whois/record/parser/responses/whois.nic.li/li/status_registered_spec.rb +++ /dev/null @@ -1,68 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.li/li/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.li.rb' - -describe Whois::Record::Parser::WhoisNicLi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.li/li/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lk/lk/property_created_on_null_spec.rb b/spec/whois/record/parser/responses/whois.nic.lk/lk/property_created_on_null_spec.rb deleted file mode 100644 index b38c8a0ef..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lk/lk/property_created_on_null_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lk/lk/property_created_on_null.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lk.rb' - -describe Whois::Record::Parser::WhoisNicLk, "property_created_on_null.expected" do - - subject do - file = fixture("responses", "whois.nic.lk/lk/property_created_on_null.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lk/lk/property_updated_on_null_spec.rb b/spec/whois/record/parser/responses/whois.nic.lk/lk/property_updated_on_null_spec.rb deleted file mode 100644 index db789df6c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lk/lk/property_updated_on_null_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lk/lk/property_updated_on_null.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lk.rb' - -describe Whois::Record::Parser::WhoisNicLk, "property_updated_on_null.expected" do - - subject do - file = fixture("responses", "whois.nic.lk/lk/property_updated_on_null.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lk/lk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.lk/lk/status_available_spec.rb deleted file mode 100644 index c92df0d61..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lk/lk/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lk/lk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lk.rb' - -describe Whois::Record::Parser::WhoisNicLk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.lk/lk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lk/lk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.lk/lk/status_registered_spec.rb deleted file mode 100644 index 9d07836b1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lk/lk/status_registered_spec.rb +++ /dev/null @@ -1,111 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lk.rb' - -describe Whois::Record::Parser::WhoisNicLk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.lk/lk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.lk") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-03-09")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-01")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lv/lv/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.lv/lv/status_available_spec.rb deleted file mode 100644 index 6ab72db30..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lv/lv/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lv/lv/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lv.rb' - -describe Whois::Record::Parser::WhoisNicLv, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.lv/lv/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.lv/lv/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.lv/lv/status_registered_spec.rb deleted file mode 100644 index 4445e3f8b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.lv/lv/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.lv/lv/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.lv.rb' - -describe Whois::Record::Parser::WhoisNicLv, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.lv/lv/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-08T19:35:53.187695+03:00")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ly/ly/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ly/ly/status_available_spec.rb deleted file mode 100644 index 9aab8bf43..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ly/ly/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ly/ly/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ly.rb' - -describe Whois::Record::Parser::WhoisNicLy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ly/ly/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ly/ly/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ly/ly/status_registered_spec.rb deleted file mode 100644 index 621ea807a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ly/ly/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ly/ly/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ly.rb' - -describe Whois::Record::Parser::WhoisNicLy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ly/ly/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2007-10-03 13:36:48")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-08-07 22:52:02")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-10-03 13:36:48")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.md/md/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.md/md/status_available_spec.rb deleted file mode 100644 index 218bd6f42..000000000 --- a/spec/whois/record/parser/responses/whois.nic.md/md/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.md/md/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.md.rb' - -describe Whois::Record::Parser::WhoisNicMd, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.md/md/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.md/md/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.md/md/status_registered_spec.rb deleted file mode 100644 index 568221484..000000000 --- a/spec/whois/record/parser/responses/whois.nic.md/md/status_registered_spec.rb +++ /dev/null @@ -1,108 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.md/md/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.md.rb' - -describe Whois::Record::Parser::WhoisNicMd, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.md/md/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.md") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-05-02")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-02")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq("216.239.32.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq("216.239.34.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.me/me/property_nameservers_is_blank_spec.rb b/spec/whois/record/parser/responses/whois.nic.me/me/property_nameservers_is_blank_spec.rb deleted file mode 100644 index 65a36e43c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.me/me/property_nameservers_is_blank_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.me/me/property_nameservers_is_blank.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.me.rb' - -describe Whois::Record::Parser::WhoisNicMe, "property_nameservers_is_blank.expected" do - - subject do - file = fixture("responses", "whois.nic.me/me/property_nameservers_is_blank.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.me/me/property_updated_on_is_blank_spec.rb b/spec/whois/record/parser/responses/whois.nic.me/me/property_updated_on_is_blank_spec.rb deleted file mode 100644 index b890dc2ac..000000000 --- a/spec/whois/record/parser/responses/whois.nic.me/me/property_updated_on_is_blank_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.me/me/property_updated_on_is_blank.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.me.rb' - -describe Whois::Record::Parser::WhoisNicMe, "property_updated_on_is_blank.expected" do - - subject do - file = fixture("responses", "whois.nic.me/me/property_updated_on_is_blank.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to be_nil - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.me/me/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.me/me/status_available_spec.rb deleted file mode 100644 index 56b442ce3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.me/me/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.me/me/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.me.rb' - -describe Whois::Record::Parser::WhoisNicMe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.me/me/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.me/me/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.me/me/status_registered_spec.rb deleted file mode 100644 index d4d509dcd..000000000 --- a/spec/whois/record/parser/responses/whois.nic.me/me/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.me/me/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.me.rb' - -describe Whois::Record::Parser::WhoisNicMe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.me/me/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .ME registry database. The data in this record is provided by .ME Registry for informational purposes only, and .ME Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, facsimile, or other electronic processes of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .ME Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.me") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D11599-ME") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED", "DELETE PROHIBITED", "TRANSFER PROHIBITED", "UPDATE PROHIBITED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-06-13 17:17:40 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-05-12 09:21:14 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-13 17:17:40 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R45-ME") - expect(subject.registrar.name).to eq("MarkMonitor Inc") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-32097") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6506234000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dotme@markmonitor.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-32097") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dotme@markmonitor.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-32097") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6506234000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dotme@markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mg/mg/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.mg/mg/status_available_spec.rb deleted file mode 100644 index 6c174ab6b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mg/mg/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mg/mg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mg.rb' - -describe Whois::Record::Parser::WhoisNicMg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.mg/mg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.mg") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mg/mg/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.mg/mg/status_registered_spec.rb deleted file mode 100644 index 2723ac4ff..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mg/mg/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mg/mg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mg.rb' - -describe Whois::Record::Parser::WhoisNicMg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.mg/mg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.mg") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("1915-nicmg") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-06-18 08:38:20 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-29 15:13:49 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-26 21:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ms/ms/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ms/ms/status_available_spec.rb deleted file mode 100644 index e6166696a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ms/ms/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ms/ms/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ms.rb' - -describe Whois::Record::Parser::WhoisNicMs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ms/ms/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ms") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ms/ms/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ms/ms/status_registered_spec.rb deleted file mode 100644 index 2000bf8cf..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ms/ms/status_registered_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ms/ms/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ms.rb' - -describe Whois::Record::Parser::WhoisNicMs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ms/ms/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ms") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("23725-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-06-04 12:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-06 08:14:24 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-04 12:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mu/mu/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.mu/mu/status_available_spec.rb deleted file mode 100644 index f6f671f94..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mu/mu/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mu/mu/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mu.rb' - -describe Whois::Record::Parser::WhoisNicMu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.mu/mu/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.mu") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mu/mu/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.mu/mu/status_registered_spec.rb deleted file mode 100644 index aad216993..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mu/mu/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mu/mu/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mu.rb' - -describe Whois::Record::Parser::WhoisNicMu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.mu/mu/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.mu") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("70557-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-12-20 13:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-17 10:20:08 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-12-19 13:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mx/mx/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.nic.mx/mx/property_nameservers_with_ip_spec.rb deleted file mode 100644 index c8a17d4e8..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mx/mx/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mx/mx/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mx.rb' - -describe Whois::Record::Parser::WhoisNicMx, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.nic.mx/mx/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.mpsnet.net.mx") - expect(subject.nameservers[0].ipv4).to eq("200.4.48.15") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.mpsnet.net.mx") - expect(subject.nameservers[1].ipv4).to eq("200.4.48.16") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mx/mx/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.mx/mx/status_available_spec.rb deleted file mode 100644 index 87899fa8d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mx/mx/status_available_spec.rb +++ /dev/null @@ -1,55 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mx/mx/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mx.rb' - -describe Whois::Record::Parser::WhoisNicMx, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.mx/mx/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.mx/mx/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.mx/mx/status_registered_spec.rb deleted file mode 100644 index 4d4045ad1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.mx/mx/status_registered_spec.rb +++ /dev/null @@ -1,73 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.mx/mx/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.mx.rb' - -describe Whois::Record::Parser::WhoisNicMx, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.mx/mx/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-05-12")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-05-11")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.name/name/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.name/name/status_available_spec.rb deleted file mode 100644 index 22307c101..000000000 --- a/spec/whois/record/parser/responses/whois.nic.name/name/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.name/name/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.name.rb' - -describe Whois::Record::Parser::WhoisNicName, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.name/name/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.name/name/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.name/name/status_registered_spec.rb deleted file mode 100644 index f99c458e3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.name/name/status_registered_spec.rb +++ /dev/null @@ -1,79 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.name/name/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.name.rb' - -describe Whois::Record::Parser::WhoisNicName, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.name/name/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-04-19 12:22:08 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-30 18:51:55 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-19 12:22:08 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.dnsimple.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.dnsimple.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.dnsimple.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.dnsimple.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_available_spec.rb deleted file mode 100644 index e25396fce..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.ng/ng/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.ng.rb' - -describe Whois::Record::Parser::WhoisNicNetNg, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.net.ng/ng/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_ok_spec.rb deleted file mode 100644 index 989be0b6f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.ng/ng/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.ng.rb' - -describe Whois::Record::Parser::WhoisNicNetNg, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.nic.net.ng/ng/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_available_spec.rb deleted file mode 100644 index 36c81954b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.ng/ng/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.ng.rb' - -describe Whois::Record::Parser::WhoisNicNetNg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.net.ng/ng/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ng") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_registered_spec.rb deleted file mode 100644 index 68945ac0f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.ng/ng/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.ng/ng/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.ng.rb' - -describe Whois::Record::Parser::WhoisNicNetNg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.net.ng/ng/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("nic.net.ng") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("6808-NIRA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-05-13 14:27:27 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-08-24 13:46:14 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-07-30 23:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("nira") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("rns1.nic.net.ng") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("rns2.nic.net.ng") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("rns3.nic.net.ng") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("rns4.nic.net.ng") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_available_spec.rb deleted file mode 100644 index 2a9bc3799..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sa/sa/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sa.rb' - -describe Whois::Record::Parser::WhoisNicNetSa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sa/sa/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_registered_spec.rb deleted file mode 100644 index d6cff3baf..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sa/sa/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sa/sa/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sa.rb' - -describe Whois::Record::Parser::WhoisNicNetSa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sa/sa/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-09-11")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2000-09-11")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.peer1.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.peer1.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_available_spec.rb deleted file mode 100644 index 90fafb670..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_available_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sb/sb/property_status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sb.rb' - -describe Whois::Record::Parser::WhoisNicNetSb, "property_status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sb/sb/property_status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_ok_spec.rb deleted file mode 100644 index 9455c79e2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sb/sb/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sb.rb' - -describe Whois::Record::Parser::WhoisNicNetSb, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sb/sb/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_available_spec.rb deleted file mode 100644 index 4f9ce0453..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sb/sb/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sb.rb' - -describe Whois::Record::Parser::WhoisNicNetSb, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sb/sb/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.sb") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_registered_spec.rb deleted file mode 100644 index a748a00f5..000000000 --- a/spec/whois/record/parser/responses/whois.nic.net.sb/sb/status_registered_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.net.sb/sb/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.net.sb.rb' - -describe Whois::Record::Parser::WhoisNicNetSb, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.net.sb/sb/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("baidu.com.sb") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("404765-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-03-27 04:29:19 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-02-26 05:08:41 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-03-27 04:29:19 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Key-Systems") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.key-systems.net") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("f1g1ns1.dnspod.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("f1g1ns2.dnspod.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.nf/nf/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.nf/nf/status_available_spec.rb deleted file mode 100644 index 00ed66bce..000000000 --- a/spec/whois/record/parser/responses/whois.nic.nf/nf/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.nf/nf/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.nf.rb' - -describe Whois::Record::Parser::WhoisNicNf, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.nf/nf/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.nf") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.nf/nf/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.nf/nf/status_registered_spec.rb deleted file mode 100644 index 692a9463b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.nf/nf/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.nf/nf/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.nf.rb' - -describe Whois::Record::Parser::WhoisNicNf, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.nf/nf/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.nf") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("26552-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-11-27 11:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-06 07:35:49 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-27 11:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/property_updated_on_empty_spec.rb b/spec/whois/record/parser/responses/whois.nic.org.uy/uy/property_updated_on_empty_spec.rb deleted file mode 100644 index de6a0f4a2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/property_updated_on_empty_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.org.uy/uy/property_updated_on_empty.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.org.uy.rb' - -describe Whois::Record::Parser::WhoisNicOrgUy, "property_updated_on_empty.expected" do - - subject do - file = fixture("responses", "whois.nic.org.uy/uy/property_updated_on_empty.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_available_spec.rb deleted file mode 100644 index 94e791a63..000000000 --- a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.org.uy/uy/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.org.uy.rb' - -describe Whois::Record::Parser::WhoisNicOrgUy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.org.uy/uy/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_registered_spec.rb deleted file mode 100644 index 3b7dab872..000000000 --- a/spec/whois/record/parser/responses/whois.nic.org.uy/uy/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.org.uy/uy/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.org.uy.rb' - -describe Whois::Record::Parser::WhoisNicOrgUy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.org.uy/uy/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-07-03 20:58:58")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-09-12 02:32:59")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.markmonitor.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.markmonitor.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.pr/pr/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.pr/pr/status_available_spec.rb deleted file mode 100644 index 8deed242a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.pr/pr/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.pr/pr/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.pr.rb' - -describe Whois::Record::Parser::WhoisNicPr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.pr/pr/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.pr") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.pr/pr/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.pr/pr/status_registered_spec.rb deleted file mode 100644 index 43de725e7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.pr/pr/status_registered_spec.rb +++ /dev/null @@ -1,100 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.pr/pr/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.pr.rb' - -describe Whois::Record::Parser::WhoisNicPr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.pr/pr/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.pr") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-09-15")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-15")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_available_spec.rb deleted file mode 100644 index 3a78b3148..000000000 --- a/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_available_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.priv.at/at/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.priv.at.rb' - -describe Whois::Record::Parser::WhoisNicPrivAt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.priv.at/at/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_registered_spec.rb deleted file mode 100644 index 7489d6493..000000000 --- a/spec/whois/record/parser/responses/whois.nic.priv.at/at/status_registered_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.priv.at/at/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.priv.at.rb' - -describe Whois::Record::Parser::WhoisNicPrivAt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.priv.at/at/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2002-10-13")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.pw/pw/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.pw/pw/status_available_spec.rb deleted file mode 100644 index 984e1a15f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.pw/pw/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.pw/pw/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.pw.rb' - -describe Whois::Record::Parser::WhoisNicPw, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.pw/pw/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.pw/pw/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.pw/pw/status_registered_spec.rb deleted file mode 100644 index 6cf15ff73..000000000 --- a/spec/whois/record/parser/responses/whois.nic.pw/pw/status_registered_spec.rb +++ /dev/null @@ -1,175 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.pw/pw/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.pw.rb' - -describe Whois::Record::Parser::WhoisNicPw, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.pw/pw/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.pw") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("CNIC-DO949924") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "clientUpdateProhibited", "clientDeleteProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2012-10-12 10:19:46 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-18 00:13:36 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-02-10 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("7061-EM") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("MarkMonitor, Inc.") - expect(subject.registrar.url).to eq("http://www.markmonitor.com/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("H2396041") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin - Google Inc") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("H2396041") - expect(subject.admin_contacts[0].name).to eq("DNS Admin - Google Inc") - expect(subject.admin_contacts[0].organization).to eq("Google Inc") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("H2396041") - expect(subject.technical_contacts[0].name).to eq("DNS Admin - Google Inc") - expect(subject.technical_contacts[0].organization).to eq("Google Inc") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(7) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.markmonitor.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.markmonitor.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.markmonitor.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.markmonitor.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns5.markmonitor.com") - expect(subject.nameservers[4].ipv4).to eq(nil) - expect(subject.nameservers[4].ipv6).to eq(nil) - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns6.markmonitor.com") - expect(subject.nameservers[5].ipv4).to eq(nil) - expect(subject.nameservers[5].ipv6).to eq(nil) - expect(subject.nameservers[6]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[6].name).to eq("ns7.markmonitor.com") - expect(subject.nameservers[6].ipv4).to eq(nil) - expect(subject.nameservers[6].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sh/sh/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.sh/sh/status_available_spec.rb deleted file mode 100644 index f62030617..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sh/sh/status_available_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sh/sh/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sh.rb' - -describe Whois::Record::Parser::WhoisNicSh, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.sh/sh/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.sh") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sh/sh/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.sh/sh/status_registered_spec.rb deleted file mode 100644 index 2afa5eb31..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sh/sh/status_registered_spec.rb +++ /dev/null @@ -1,117 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sh/sh/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sh.rb' - -describe Whois::Record::Parser::WhoisNicSh, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.sh/sh/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.sh") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-06")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("US") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sl/sl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.sl/sl/status_available_spec.rb deleted file mode 100644 index 29c29f313..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sl/sl/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sl/sl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sl.rb' - -describe Whois::Record::Parser::WhoisNicSl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.sl/sl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sl/sl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.sl/sl/status_registered_spec.rb deleted file mode 100644 index 6e30977d0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sl/sl/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sl/sl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sl.rb' - -describe Whois::Record::Parser::WhoisNicSl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.sl/sl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-05-18")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-05-18")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sm/sm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.sm/sm/status_available_spec.rb deleted file mode 100644 index 8108a3eda..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sm/sm/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sm/sm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sm.rb' - -describe Whois::Record::Parser::WhoisNicSm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.sm/sm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sm/sm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.sm/sm/status_registered_spec.rb deleted file mode 100644 index bc793f254..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sm/sm/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sm/sm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sm.rb' - -describe Whois::Record::Parser::WhoisNicSm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.sm/sm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-03 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2008-08-01 00:00:00 UTC")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sn/sn/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.sn/sn/status_available_spec.rb deleted file mode 100644 index c3573f65f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sn/sn/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sn/sn/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sn.rb' - -describe Whois::Record::Parser::WhoisNicSn, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.sn/sn/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.sn") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.sn/sn/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.sn/sn/status_registered_spec.rb deleted file mode 100644 index 3ef28939a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.sn/sn/status_registered_spec.rb +++ /dev/null @@ -1,121 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.sn/sn/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.sn.rb' - -describe Whois::Record::Parser::WhoisNicSn, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.sn/sn/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.sn") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-05-08 17:59:38.43")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("registry") - expect(subject.registrar.name).to eq("registry") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("C4-SN") - expect(subject.registrant_contacts[0].name).to eq("C4-SN") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("C5-SN") - expect(subject.admin_contacts[0].name).to eq("C5-SN") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C6-SN") - expect(subject.technical_contacts[0].name).to eq("C6-SN") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.so/so/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.so/so/status_available_spec.rb deleted file mode 100644 index 6b8e52bb2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.so/so/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.so/so/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.so.rb' - -describe Whois::Record::Parser::WhoisNicSo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.so/so/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.so/so/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.so/so/status_registered_spec.rb deleted file mode 100644 index 3412eccf1..000000000 --- a/spec/whois/record/parser/responses/whois.nic.so/so/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.so/so/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.so.rb' - -describe Whois::Record::Parser::WhoisNicSo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.so/so/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["serverDeleteProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2011-01-24 02:22:24 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-01-25 04:20:26 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-01-24 02:22:24 UTC")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.space/space/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.space/space/status_available_spec.rb deleted file mode 100644 index 7d68780f2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.space/space/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.space/space/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.space.rb' - -describe Whois::Record::Parser::WhoisNicSpace, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.space/space/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.space/space/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.space/space/status_registered_spec.rb deleted file mode 100644 index b32ef34c3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.space/space/status_registered_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.space/space/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.space.rb' - -describe Whois::Record::Parser::WhoisNicSpace, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.space/space/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("nic.space") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D2361836-CNIC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok https://icann.org/epp#ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-04-10T09:14:07.0Z")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-04-04T00:14:21.0Z")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2016-04-10T23:59:59.0Z")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9999") - expect(subject.registrar.name).to eq("CentralNic Ltd") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("C11480") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.registrant_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.registrant_contacts[0].city).to eq("London") - expect(subject.registrant_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.2033880600") - expect(subject.registrant_contacts[0].fax).to eq("+44.2033880601") - expect(subject.registrant_contacts[0].email).to eq("domains@centralnic.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("C11480") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.admin_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.admin_contacts[0].city).to eq("London") - expect(subject.admin_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.2033880600") - expect(subject.admin_contacts[0].fax).to eq("+44.2033880601") - expect(subject.admin_contacts[0].email).to eq("domains@centralnic.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].id).to eq("C11480") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("CentralNic Ltd") - expect(subject.technical_contacts[0].address).to eq("35-39 Moorgate") - expect(subject.technical_contacts[0].city).to eq("London") - expect(subject.technical_contacts[0].zip).to eq("EC2R 6AR") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.2033880600") - expect(subject.technical_contacts[0].fax).to eq("+44.2033880601") - expect(subject.technical_contacts[0].email).to eq("domains@centralnic.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns0.centralnic-dns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.centralnic-dns.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.centralnic-dns.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns3.centralnic-dns.com") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns4.centralnic-dns.com") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns5.centralnic-dns.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.st/st/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.st/st/status_available_spec.rb deleted file mode 100644 index af5d92bbc..000000000 --- a/spec/whois/record/parser/responses/whois.nic.st/st/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.st/st/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.st.rb' - -describe Whois::Record::Parser::WhoisNicSt, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.st/st/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.st/st/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.st/st/status_registered_spec.rb deleted file mode 100644 index 4911452f8..000000000 --- a/spec/whois/record/parser/responses/whois.nic.st/st/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.st/st/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.st.rb' - -describe Whois::Record::Parser::WhoisNicSt, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.st/st/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-06-15")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-05-18")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tc/tc/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tc/tc/status_available_spec.rb deleted file mode 100644 index bf1ab58bd..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tc/tc/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tc/tc/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tc.rb' - -describe Whois::Record::Parser::WhoisNicTc, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tc/tc/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.tc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tc/tc/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tc/tc/status_registered_spec.rb deleted file mode 100644 index aed74f71d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tc/tc/status_registered_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tc/tc/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tc.rb' - -describe Whois::Record::Parser::WhoisNicTc, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tc/tc/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.tc") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-10-11 21:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-12 21:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tech/tech/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tech/tech/status_available_spec.rb deleted file mode 100644 index 6845141b6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tech/tech/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tech/tech/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tech.rb' - -describe Whois::Record::Parser::WhoisNicTech, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tech/tech/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tech/tech/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tech/tech/status_registered_spec.rb deleted file mode 100644 index a8f282196..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tech/tech/status_registered_spec.rb +++ /dev/null @@ -1,163 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tech/tech/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tech.rb' - -describe Whois::Record::Parser::WhoisNicTech, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tech/tech/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.tech") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D9157622-CNIC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["serverTransferProhibited https://icann.org/epp#serverTransferProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2015-07-29 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-08-04 09:00:43 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-07-29 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor, Inc (TLDs)") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-87489") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-87489") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-87489") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tel/tel/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tel/tel/status_available_spec.rb deleted file mode 100644 index 8dc52a450..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tel/tel/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tel/tel/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tel.rb' - -describe Whois::Record::Parser::WhoisNicTel, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tel/tel/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.tel") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tel/tel/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tel/tel/status_registered_spec.rb deleted file mode 100644 index d9e02f50d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tel/tel/status_registered_spec.rb +++ /dev/null @@ -1,150 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tel/tel/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tel.rb' - -describe Whois::Record::Parser::WhoisNicTel, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tel/tel/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.tel") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D587349-TEL") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-03-23 23:59:59 GMT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-02-19 10:23:33 GMT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-03-22 23:59:59 GMT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MARKMONITOR, INC.") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MMR-2383") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MMR-2383") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MMR-2383") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(5) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a0.cth.dns.nic.tel") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("d0.cth.dns.nic.tel") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("n0.cth.dns.nic.tel") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("s0.cth.dns.nic.tel") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("t0.cth.dns.nic.tel") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tl/tl/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tl/tl/status_available_spec.rb deleted file mode 100644 index 5916ba30f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tl/tl/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tl/tl/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tl.rb' - -describe Whois::Record::Parser::WhoisNicTl, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tl/tl/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.tl") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tl/tl/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tl/tl/status_registered_spec.rb deleted file mode 100644 index f4345bf66..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tl/tl/status_registered_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tl/tl/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tl.rb' - -describe Whois::Record::Parser::WhoisNicTl, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tl/tl/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.tl") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("19785-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-05-23 12:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-06 07:41:57 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-23 12:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tm/tm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tm/tm/status_available_spec.rb deleted file mode 100644 index b69347de7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tm/tm/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tm/tm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tm.rb' - -describe Whois::Record::Parser::WhoisNicTm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tm/tm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.tm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tm/tm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tm/tm/status_registered_spec.rb deleted file mode 100644 index 62336b99f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tm/tm/status_registered_spec.rb +++ /dev/null @@ -1,111 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tm/tm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tm.rb' - -describe Whois::Record::Parser::WhoisNicTm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tm/tm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.tm") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("US") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_ip_spec.rb deleted file mode 100644 index a57f8c653..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("titan.radore.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("janus.radore.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("mimas.rh.com.tr") - expect(subject.nameservers[2].ipv4).to eq("77.75.34.2") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space_spec.rb deleted file mode 100644 index 80cc0c936..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/property_nameservers_with_trailing_space.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "property_nameservers_with_trailing_space.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/property_nameservers_with_trailing_space.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.phpsunucu.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.phpsunucu.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline_spec.rb deleted file mode 100644 index 7d045ed31..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "property_registrant_contact_outside_cityinoneline.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/property_registrant_contact_outside_cityinoneline.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Yahoo Ýnc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("701 First Avenue Sunnyvale Ca 94089") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("United States of America") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+ 901-408-3493300-") - expect(subject.registrant_contacts[0].fax).to eq("+ 901-408-3493301") - expect(subject.registrant_contacts[0].email).to eq("domainadmin@yahoo-inc.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline_spec.rb deleted file mode 100644 index f873547f0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_outside_citynextline.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "property_registrant_contact_outside_citynextline.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/property_registrant_contact_outside_citynextline.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway\nMountain View CA") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("United States of America") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+ 1-650-2530000-") - expect(subject.registrant_contacts[0].fax).to eq("+ 1-650-2530001-") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_turkey_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_turkey_spec.rb deleted file mode 100644 index fe3e69b19..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/property_registrant_contact_turkey_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/property_registrant_contact_turkey.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "property_registrant_contact_turkey.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/property_registrant_contact_turkey.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Hotel Bilgisayar Hizmetleri San. Tic. Turizm Ltd. Þti.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Cumhuriyet Cd. No:61 Bingül Han Asma Kat\nElmadað") - expect(subject.registrant_contacts[0].city).to eq("Ýstanbul") - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("Türkiye") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+ 90-212-2473997-") - expect(subject.registrant_contacts[0].fax).to eq("+ 90-212-2473995") - expect(subject.registrant_contacts[0].email).to eq("romeo6860@yahoo.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/response_error_invalid_input_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/response_error_invalid_input_spec.rb deleted file mode 100644 index 72839396a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/response_error_invalid_input_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/response_error_invalid_input.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "response_error_invalid_input.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/response_error_invalid_input.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/status_available_spec.rb deleted file mode 100644 index 0e818e4e6..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect { subject.domain }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/status_invalid_spec.rb deleted file mode 100644 index 2f749171e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_invalid_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect { subject.domain }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tr/tr/status_registered_spec.rb deleted file mode 100644 index b97c62725..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tr/tr/status_registered_spec.rb +++ /dev/null @@ -1,150 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tr/tr/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tr.rb' - -describe Whois::Record::Parser::WhoisNicTr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tr/tr/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect { subject.domain }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-08-23 00:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-22 00:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway\nMountain View CA") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("United States of America") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+ 1-650-2530000-") - expect(subject.registrant_contacts[0].fax).to eq("+ 1-650-2530001-") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mi154-metu") - expect(subject.admin_contacts[0].name).to eq(nil) - expect(subject.admin_contacts[0].organization).to eq("MarkMonitor, Inc") - expect(subject.admin_contacts[0].address).to eq("Hidden upon user request") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("Hidden upon user request") - expect(subject.admin_contacts[0].fax).to eq("Hidden upon user request") - expect(subject.admin_contacts[0].email).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("btl1-metu") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("BERÝL TEKNOLOJÝ LTD. ÞTÝ.") - expect(subject.technical_contacts[0].address).to eq("Ceyhun Atuf Kansu Cad. Bayraktar Ýþ Merkezi\nNo:114 G-4 Balgat\nAnkara,06520\nTürkiye") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+ 90-312-4733035-") - expect(subject.technical_contacts[0].fax).to eq("+ 90-312-4733039-") - expect(subject.technical_contacts[0].email).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_multiple_spec.rb b/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_multiple_spec.rb deleted file mode 100644 index 977f88d32..000000000 --- a/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_multiple_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.travel/travel/property_status_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.travel.rb' - -describe Whois::Record::Parser::WhoisNicTravel, "property_status_multiple.expected" do - - subject do - file = fixture("responses", "whois.nic.travel/travel/property_status_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_single_spec.rb b/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_single_spec.rb deleted file mode 100644 index a8789c4fd..000000000 --- a/spec/whois/record/parser/responses/whois.nic.travel/travel/property_status_single_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.travel/travel/property_status_single.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.travel.rb' - -describe Whois::Record::Parser::WhoisNicTravel, "property_status_single.expected" do - - subject do - file = fixture("responses", "whois.nic.travel/travel/property_status_single.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.travel/travel/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.travel/travel/status_available_spec.rb deleted file mode 100644 index 1c7adb4c0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.travel/travel/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.travel/travel/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.travel.rb' - -describe Whois::Record::Parser::WhoisNicTravel, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.travel/travel/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.travel") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.travel/travel/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.travel/travel/status_registered_spec.rb deleted file mode 100644 index 9fd62051a..000000000 --- a/spec/whois/record/parser/responses/whois.nic.travel/travel/status_registered_spec.rb +++ /dev/null @@ -1,144 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.travel/travel/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.travel.rb' - -describe Whois::Record::Parser::WhoisNicTravel, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.travel/travel/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("travel.travel") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D24096-TRAVEL") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-10-04 21:44:27 GMT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-18 15:13:32 GMT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2021-10-03 23:59:59 GMT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("NEUSTAR GATEWAY") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("TRALLIANCE") - expect(subject.registrant_contacts[0].name).to eq("Tralliance Corporation") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("110 East Broward Blvd, 14th floor") - expect(subject.registrant_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.registrant_contacts[0].zip).to eq("33301") - expect(subject.registrant_contacts[0].state).to eq("FL") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.9547695999") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("info@tralliance.travel") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("TRALLIANCE") - expect(subject.admin_contacts[0].name).to eq("Tralliance Corporation") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("110 East Broward Blvd, 14th floor") - expect(subject.admin_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.admin_contacts[0].zip).to eq("33301") - expect(subject.admin_contacts[0].state).to eq("FL") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.9547695999") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("info@tralliance.travel") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("TRALLIANCE") - expect(subject.technical_contacts[0].name).to eq("Tralliance Corporation") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("110 East Broward Blvd, 14th floor") - expect(subject.technical_contacts[0].city).to eq("Fort Lauderdale") - expect(subject.technical_contacts[0].zip).to eq("33301") - expect(subject.technical_contacts[0].state).to eq("FL") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.9547695999") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("info@tralliance.travel") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns01-mia.theglobe.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("netsys.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tv/tv/property_nameserver_no_nameserver_spec.rb b/spec/whois/record/parser/responses/whois.nic.tv/tv/property_nameserver_no_nameserver_spec.rb deleted file mode 100644 index 785470e7b..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tv/tv/property_nameserver_no_nameserver_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tv/tv/property_nameserver_no_nameserver.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tv.rb' - -describe Whois::Record::Parser::WhoisNicTv, "property_nameserver_no_nameserver.expected" do - - subject do - file = fixture("responses", "whois.nic.tv/tv/property_nameserver_no_nameserver.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tv/tv/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.tv/tv/status_available_spec.rb deleted file mode 100644 index f2fe9df07..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tv/tv/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tv/tv/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tv.rb' - -describe Whois::Record::Parser::WhoisNicTv, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.tv/tv/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.tv") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(nil) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.tv/tv/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.tv/tv/status_registered_spec.rb deleted file mode 100644 index 067a4f1cc..000000000 --- a/spec/whois/record/parser/responses/whois.nic.tv/tv/status_registered_spec.rb +++ /dev/null @@ -1,109 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.tv/tv/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.tv.rb' - -describe Whois::Record::Parser::WhoisNicTv, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.tv/tv/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.tv") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("87196881") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-08-02 12:43:36 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-07-09 17:03:47 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-08-02 12:43:36 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("48") - expect(subject.registrar.name).to eq("ENOM, INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.enom.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq("whois.enom.com") - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq("http://www.enom.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_nameservers_with_ip_spec.rb deleted file mode 100644 index c3546cba3..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns0.netbenefit.co.uk") - expect(subject.nameservers[0].ipv4).to eq("212.53.64.30") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.netbenefit.co.uk") - expect(subject.nameservers[1].ipv4).to eq("212.53.77.30") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_godaddy_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_godaddy_spec.rb deleted file mode 100644 index a37910aab..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_godaddy_spec.rb +++ /dev/null @@ -1,33 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_registrar_godaddy.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_registrar_godaddy.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_registrar_godaddy.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("GODADDY") - expect(subject.registrar.name).to eq("GoDaddy.com, LLP.") - expect(subject.registrar.name).to eq("GoDaddy.com, LLP.") - expect(subject.registrar.url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_without_trading_name_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_without_trading_name_spec.rb deleted file mode 100644 index b731bcd2c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_registrar_without_trading_name_spec.rb +++ /dev/null @@ -1,33 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_registrar_without_trading_name.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_registrar_without_trading_name.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_registrar_without_trading_name.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("NETNAMES") - expect(subject.registrar.name).to eq("NetNames Limited") - expect(subject.registrar.name).to eq("NetNames Limited") - expect(subject.registrar.url).to eq("http://www.netnames.co.uk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_missing_spec.rb deleted file mode 100644 index cace90f17..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_missing_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_longer_required_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_longer_required_spec.rb deleted file mode 100644 index e1a58df6d..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_longer_required_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_no_longer_required.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_no_longer_required.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_no_longer_required.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_status_listed_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_status_listed_spec.rb deleted file mode 100644 index b2bda90ba..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_no_status_listed_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_no_status_listed.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_no_status_listed.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_no_status_listed.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_registration_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_registration_spec.rb deleted file mode 100644 index 6b5bb6d38..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_registration_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_registration.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_processing_registration.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_processing_registration.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_renewal_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_renewal_spec.rb deleted file mode 100644 index 06bd82cd5..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_processing_renewal_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_processing_renewal.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_processing_renewal.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_processing_renewal.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date_spec.rb deleted file mode 100644 index bf0ee5bbb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_registered_until_expiry_date.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_registered_until_expiry_date.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_registered_until_expiry_date.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_suspended_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_suspended_spec.rb deleted file mode 100644 index 84354e019..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/property_status_suspended_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/property_status_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "property_status_suspended.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/property_status_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/response_throttled_spec.rb deleted file mode 100644 index f3ca60bd2..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/status_available_spec.rb deleted file mode 100644 index 826dad346..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_available_spec.rb +++ /dev/null @@ -1,80 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(true) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/status_invalid_spec.rb deleted file mode 100644 index cb9f17904..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_invalid_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/status_registered_spec.rb deleted file mode 100644 index ff9963b2f..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_registered_spec.rb +++ /dev/null @@ -1,111 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-02-14")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-13")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-02-14")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("MARKMONITOR") - expect(subject.registrar.name).to eq("Markmonitor") - expect(subject.registrar.organization).to eq("Markmonitor Inc.") - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("United States") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(true) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/status_reserved_spec.rb deleted file mode 100644 index 020ca2190..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_reserved_spec.rb +++ /dev/null @@ -1,114 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1996-08-01")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-03-23")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Nominet") - expect(subject.registrar.organization).to eq("Nominet UK") - expect(subject.registrar.url).to eq("http://www.nic.uk/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Nominet UK") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("Minerva House, Edmund Halley Road\nOxford Science Park") - expect(subject.registrant_contacts[0].city).to eq("Oxford") - expect(subject.registrant_contacts[0].zip).to eq("OX4 4DQ") - expect(subject.registrant_contacts[0].state).to eq("Oxon") - expect(subject.registrant_contacts[0].country).to eq("United Kingdom") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("nom-ns1.nominet.org.uk") - expect(subject.nameservers[0].ipv4).to eq("213.248.199.16") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("nom-ns2.nominet.org.uk") - expect(subject.nameservers[1].ipv4).to eq("195.66.240.250") - expect(subject.nameservers[1].ipv6).to eq("2a01:40:1001:37::2") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("nom-ns3.nominet.org.uk") - expect(subject.nameservers[2].ipv4).to eq("213.219.13.194") - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(true) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_suspended_spec.rb b/spec/whois/record/parser/responses/whois.nic.uk/uk/status_suspended_spec.rb deleted file mode 100644 index c8474a085..000000000 --- a/spec/whois/record/parser/responses/whois.nic.uk/uk/status_suspended_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.uk/uk/status_suspended.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.uk.rb' - -describe Whois::Record::Parser::WhoisNicUk, "status_suspended.expected" do - - subject do - file = fixture("responses", "whois.nic.uk/uk/status_suspended.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-08-30")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-02-09")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-08-30")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("KEY-SYSTEMS-DE") - expect(subject.registrar.name).to eq("Key-Systems GmbH") - expect(subject.registrar.name).to eq("Key-Systems GmbH") - expect(subject.registrar.url).to eq("http://www.Key-Systems.net") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.us/us/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.us/us/status_available_spec.rb deleted file mode 100644 index b22da924c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.us/us/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.us/us/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.us.rb' - -describe Whois::Record::Parser::WhoisNicUs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.us/us/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.us") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(nil) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.us/us/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.us/us/status_registered_spec.rb deleted file mode 100644 index 0c6740f5e..000000000 --- a/spec/whois/record/parser/responses/whois.nic.us/us/status_registered_spec.rb +++ /dev/null @@ -1,148 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.us/us/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.us.rb' - -describe Whois::Record::Parser::WhoisNicUs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.us/us/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.us") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D775573-US") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-04-19 23:15:57 GMT")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-03-17 09:44:30 GMT")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-18 23:59:59 GMT")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MARKMONITOR, INC.") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MMR-135878") - expect(subject.registrant_contacts[0].name).to eq("Google Inc") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("United States") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MMR-136042") - expect(subject.admin_contacts[0].name).to eq("Christina Chiou") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq("United States") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MMR-136042") - expect(subject.technical_contacts[0].name).to eq("Christina Chiou") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("United States") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_expires_on_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_expires_on_missing_spec.rb deleted file mode 100644 index b08a32ae7..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_expires_on_missing_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_expires_on_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_expires_on_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_expires_on_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_missing_spec.rb deleted file mode 100644 index 3cf9f345c..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_missing_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_nameservers_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_nameservers_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_nameservers_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_spec.rb deleted file mode 100644 index 562fb29b4..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_nameservers_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_nameservers.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_nameservers.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_nameservers.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("avalon.ula.ve") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("azmodan.ula.ve") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_activo_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_activo_spec.rb deleted file mode 100644 index f20f51d57..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_activo_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_status_activo.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_status_activo.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_status_activo.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_missing_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_missing_spec.rb deleted file mode 100644 index 2d81a7fa0..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_missing_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_status_missing.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_status_missing.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_status_missing.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_suspendido_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_suspendido_spec.rb deleted file mode 100644 index 78e6066d4..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_status_suspendido_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_status_suspendido.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_status_suspendido.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_status_suspendido.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_blank_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_blank_spec.rb deleted file mode 100644 index a4080c680..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_blank_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_updated_on_blank.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_updated_on_blank.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_updated_on_blank.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_spec.rb deleted file mode 100644 index d774a27fe..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/property_updated_on_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/property_updated_on.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "property_updated_on.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/property_updated_on.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2005-11-17 21:16:31")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/status_available_spec.rb deleted file mode 100644 index a4fbfafb4..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_inactive_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/status_inactive_spec.rb deleted file mode 100644 index a793c5757..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_inactive_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/status_inactive.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "status_inactive.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/status_inactive.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:inactive) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-11-21 15:21:32")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2006-06-08 21:54:41")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-11-21 15:21:32")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns10.tepuyserver.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns9.tepuyserver.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.ve/ve/status_registered_spec.rb deleted file mode 100644 index bff001e08..000000000 --- a/spec/whois/record/parser/responses/whois.nic.ve/ve/status_registered_spec.rb +++ /dev/null @@ -1,62 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.ve/ve/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.ve.rb' - -describe Whois::Record::Parser::WhoisNicVe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.ve/ve/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-10-27 12:23:43")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-10-27 12:23:43")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_available_spec.rb deleted file mode 100644 index 5e9ff5426..000000000 --- a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_available_spec.rb +++ /dev/null @@ -1,103 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.xxx/xxx/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.xxx.rb' - -describe Whois::Record::Parser::WhoisNicXxx, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.xxx/xxx/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_registered_spec.rb deleted file mode 100644 index bcd1a6065..000000000 --- a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_registered_spec.rb +++ /dev/null @@ -1,156 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.xxx/xxx/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.xxx.rb' - -describe Whois::Record::Parser::WhoisNicXxx, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.xxx/xxx/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to .XXX ICM REGISTRY WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the ICM registry database. The data in this record is provided by ICM Registry for informational purposes only, and ICM does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. ICM reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("masala.xxx") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D130773-XXX") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2011-12-01 01:37:55 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-02 22:20:04 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-12-01 01:37:55 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R3228-XXX") - expect(subject.registrar.name).to eq("Mesh Digital Limited") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MNT5BB23000590") - expect(subject.registrant_contacts[0].name).to eq("Domainmonster.com Privacy Service") - expect(subject.registrant_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.registrant_contacts[0].address).to eq("PO Box 795") - expect(subject.registrant_contacts[0].city).to eq("Godalming") - expect(subject.registrant_contacts[0].zip).to eq("GU7 9GA") - expect(subject.registrant_contacts[0].state).to eq("Surrey") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("GB") - expect(subject.registrant_contacts[0].phone).to eq("+44.1483307527") - expect(subject.registrant_contacts[0].fax).to eq("+44.1483304031") - expect(subject.registrant_contacts[0].email).to eq("masala.xxx@privatemonster.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("MNT5BB23000590") - expect(subject.admin_contacts[0].name).to eq("Domainmonster.com Privacy Service") - expect(subject.admin_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.admin_contacts[0].address).to eq("PO Box 795") - expect(subject.admin_contacts[0].city).to eq("Godalming") - expect(subject.admin_contacts[0].zip).to eq("GU7 9GA") - expect(subject.admin_contacts[0].state).to eq("Surrey") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("GB") - expect(subject.admin_contacts[0].phone).to eq("+44.1483307527") - expect(subject.admin_contacts[0].fax).to eq("+44.1483304031") - expect(subject.admin_contacts[0].email).to eq("masala.xxx@privatemonster.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("MNT5BB23000590") - expect(subject.technical_contacts[0].name).to eq("Domainmonster.com Privacy Service") - expect(subject.technical_contacts[0].organization).to eq("Identity Protect Limited") - expect(subject.technical_contacts[0].address).to eq("PO Box 795") - expect(subject.technical_contacts[0].city).to eq("Godalming") - expect(subject.technical_contacts[0].zip).to eq("GU7 9GA") - expect(subject.technical_contacts[0].state).to eq("Surrey") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("GB") - expect(subject.technical_contacts[0].phone).to eq("+44.1483307527") - expect(subject.technical_contacts[0].fax).to eq("+44.1483304031") - expect(subject.technical_contacts[0].email).to eq("masala.xxx@privatemonster.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns39.domaincontrol.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns40.domaincontrol.com") - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_reserved_spec.rb deleted file mode 100644 index 92d1611fb..000000000 --- a/spec/whois/record/parser/responses/whois.nic.xxx/xxx/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.xxx/xxx/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.xxx.rb' - -describe Whois::Record::Parser::WhoisNicXxx, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.nic.xxx/xxx/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_available_spec.rb deleted file mode 100644 index 692504336..000000000 --- a/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.xyz/xyz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.xyz.rb' - -describe Whois::Record::Parser::WhoisNicXyz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.nic.xyz/xyz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_registered_spec.rb deleted file mode 100644 index e2009b229..000000000 --- a/spec/whois/record/parser/responses/whois.nic.xyz/xyz/status_registered_spec.rb +++ /dev/null @@ -1,172 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.nic.xyz/xyz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.nic.xyz.rb' - -describe Whois::Record::Parser::WhoisNicXyz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.nic.xyz/xyz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to the whois service is rate limited. For more information, please see https://registrar-console.centralnic.com/pub/whois_guidance.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("abc.xyz") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D2192285-CNIC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-03-20 12:59:17 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-08-18 15:09:36 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2025-03-20 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor, Inc (TLDs)") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-87489") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6502530001") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].url).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-87489") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6502530000") - expect(subject.admin_contacts[0].fax).to eq("+1.6502530001") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].url).to eq(nil) - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-87489") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6502530000") - expect(subject.technical_contacts[0].fax).to eq("+1.6502530001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].url).to eq(nil) - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns4.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns1.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.norid.no/no/status_available_spec.rb b/spec/whois/record/parser/responses/whois.norid.no/no/status_available_spec.rb deleted file mode 100644 index f80b86e90..000000000 --- a/spec/whois/record/parser/responses/whois.norid.no/no/status_available_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.norid.no/no/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.norid.no.rb' - -describe Whois::Record::Parser::WhoisNoridNo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.norid.no/no/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.norid.no/no/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.norid.no/no/status_registered_spec.rb deleted file mode 100644 index c5dabc7b1..000000000 --- a/spec/whois/record/parser/responses/whois.norid.no/no/status_registered_spec.rb +++ /dev/null @@ -1,56 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.norid.no/no/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.norid.no.rb' - -describe Whois::Record::Parser::WhoisNoridNo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.norid.no/no/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-02-26")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2015-01-27")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pairnic.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.pairnic.com/status_available_spec.rb deleted file mode 100644 index cada8d449..000000000 --- a/spec/whois/record/parser/responses/whois.pairnic.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pairnic.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pairnic.com.rb' - -describe Whois::Record::Parser::WhoisPairnicCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.pairnic.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pairnic.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.pairnic.com/status_registered_spec.rb deleted file mode 100644 index 6592ae5da..000000000 --- a/spec/whois/record/parser/responses/whois.pairnic.com/status_registered_spec.rb +++ /dev/null @@ -1,143 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pairnic.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pairnic.com.rb' - -describe Whois::Record::Parser::WhoisPairnicCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.pairnic.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("pairnic.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("2806983_DOMAIN_COM-VRSN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1998-12-19T05:00:00.0000Z")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-09-04T13:55:30.0000Z")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-12-18T19:00:-0500Z")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("99") - expect(subject.registrar.name).to eq("pairNIC INC") - expect(subject.registrar.organization).to eq("pairNIC INC") - expect(subject.registrar.url).to eq("https://www.pairnic.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("753531") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("pair Networks, Inc.") - expect(subject.registrant_contacts[0].address).to eq("2403 Sidney Street Suite 210") - expect(subject.registrant_contacts[0].city).to eq("Pittsburgh") - expect(subject.registrant_contacts[0].zip).to eq("15203") - expect(subject.registrant_contacts[0].state).to eq("PA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("753250") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("pair Networks, Inc.") - expect(subject.admin_contacts[0].address).to eq("2403 Sidney Street Suite 210") - expect(subject.admin_contacts[0].city).to eq("Pittsburgh") - expect(subject.admin_contacts[0].zip).to eq("15203") - expect(subject.admin_contacts[0].state).to eq("PA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.4123817247") - expect(subject.admin_contacts[0].fax).to eq("+1.4123819997") - expect(subject.admin_contacts[0].email).to eq("domain@pair.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("753250") - expect(subject.technical_contacts[0].name).to eq("Domain Administrator") - expect(subject.technical_contacts[0].organization).to eq("pair Networks, Inc.") - expect(subject.technical_contacts[0].address).to eq("2403 Sidney Street Suite 210") - expect(subject.technical_contacts[0].city).to eq("Pittsburgh") - expect(subject.technical_contacts[0].zip).to eq("15203") - expect(subject.technical_contacts[0].state).to eq("PA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.4123817247") - expect(subject.technical_contacts[0].fax).to eq("+1.4123819997") - expect(subject.technical_contacts[0].email).to eq("domain@pair.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns0.ns0.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns00.ns0.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_available_spec.rb b/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_available_spec.rb deleted file mode 100644 index 27afab950..000000000 --- a/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pandi.or.id/id/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pandi.or.id.rb' - -describe Whois::Record::Parser::WhoisPandiOrId, "status_available.expected" do - - subject do - file = fixture("responses", "whois.pandi.or.id/id/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_registered_spec.rb deleted file mode 100644 index 620337cd7..000000000 --- a/spec/whois/record/parser/responses/whois.pandi.or.id/id/status_registered_spec.rb +++ /dev/null @@ -1,163 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pandi.or.id/id/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pandi.or.id.rb' - -describe Whois::Record::Parser::WhoisPandiOrId, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.pandi.or.id/id/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.co.id") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("PANDI-DO246796") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientTransferProhibited", "serverTransferProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-12-18 13:33:21 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-20 23:24:51 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-01 23:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("digitalreg") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq("Digital Registra") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("0123459P2ZC") - expect(subject.registrant_contacts[0].name).to eq("Domain Administrator") - expect(subject.registrant_contacts[0].organization).to eq("PT Google Indonesia") - expect(subject.registrant_contacts[0].address).to eq("Menara BCA Grand Indonesia\nRegus Grand Indonesia") - expect(subject.registrant_contacts[0].city).to eq("Jakarta") - expect(subject.registrant_contacts[0].zip).to eq("10310") - expect(subject.registrant_contacts[0].state).to eq("Jakarta") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("ID") - expect(subject.registrant_contacts[0].phone).to eq("+62.2123584400") - expect(subject.registrant_contacts[0].fax).to eq("+62.2123584400") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("0123459P2ZC") - expect(subject.admin_contacts[0].name).to eq("Domain Administrator") - expect(subject.admin_contacts[0].organization).to eq("PT Google Indonesia") - expect(subject.admin_contacts[0].address).to eq("Menara BCA Grand Indonesia\nRegus Grand Indonesia") - expect(subject.admin_contacts[0].city).to eq("Jakarta") - expect(subject.admin_contacts[0].zip).to eq("10310") - expect(subject.admin_contacts[0].state).to eq("Jakarta") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("ID") - expect(subject.admin_contacts[0].phone).to eq("+62.2123584400") - expect(subject.admin_contacts[0].fax).to eq("+62.2123584400") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("01234616RFG") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.65030000") - expect(subject.technical_contacts[0].fax).to eq("+1.65030001") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pir.org/org/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.pir.org/org/response_throttled_spec.rb deleted file mode 100644 index fde25582c..000000000 --- a/spec/whois/record/parser/responses/whois.pir.org/org/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pir.org/org/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pir.org.rb' - -describe Whois::Record::Parser::WhoisPirOrg, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.pir.org/org/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pir.org/org/status_available_spec.rb b/spec/whois/record/parser/responses/whois.pir.org/org/status_available_spec.rb deleted file mode 100644 index b1416b382..000000000 --- a/spec/whois/record/parser/responses/whois.pir.org/org/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pir.org/org/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pir.org.rb' - -describe Whois::Record::Parser::WhoisPirOrg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.pir.org/org/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pir.org/org/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.pir.org/org/status_registered_spec.rb deleted file mode 100644 index ffa945007..000000000 --- a/spec/whois/record/parser/responses/whois.pir.org/org/status_registered_spec.rb +++ /dev/null @@ -1,157 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pir.org/org/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pir.org.rb' - -describe Whois::Record::Parser::WhoisPirOrg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.pir.org/org/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Access to Public Interest Registry WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Public Interest Registry registry database. The data in this record is provided by Public Interest Registry for informational purposes only, and Public Interest Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to(a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Public Interest Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.org") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("D2244233-LROR") - end - end - describe "#status" do - it do - expect(subject.status).to eq(["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1998-10-21 04:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-09-18 09:17:35 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-20 04:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("292") - expect(subject.registrar.name).to eq("MarkMonitor Inc. (R37-LROR)") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("mmr-32097") - expect(subject.registrant_contacts[0].name).to eq("DNS Admin") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.6506234000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("mmr-32097") - expect(subject.admin_contacts[0].name).to eq("DNS Admin") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.6506234000") - expect(subject.admin_contacts[0].fax).to eq("+1.6506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("mmr-32097") - expect(subject.technical_contacts[0].name).to eq("DNS Admin") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.6506234000") - expect(subject.technical_contacts[0].fax).to eq("+1.6506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_available_spec.rb b/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_available_spec.rb deleted file mode 100644 index b3351498a..000000000 --- a/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pnina.ps/ps/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pnina.ps.rb' - -describe Whois::Record::Parser::WhoisPninaPs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.pnina.ps/ps/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.ps") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_registered_spec.rb deleted file mode 100644 index 5be92b2b4..000000000 --- a/spec/whois/record/parser/responses/whois.pnina.ps/ps/status_registered_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.pnina.ps/ps/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.pnina.ps.rb' - -describe Whois::Record::Parser::WhoisPninaPs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.pnina.ps/ps/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ps") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("21665-PS") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-05-18 22:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-05-18 22:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor Inc.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.bg/bg/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.register.bg/bg/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 094d89bd7..000000000 --- a/spec/whois/record/parser/responses/whois.register.bg/bg/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.bg/bg/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.bg.rb' - -describe Whois::Record::Parser::WhoisRegisterBg, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.register.bg/bg/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("chicken.orbitel.bg") - expect(subject.nameservers[0].ipv4).to eq("195.24.32.5") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns.orbitel.bg") - expect(subject.nameservers[1].ipv4).to eq("195.24.32.2") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.bg/bg/status_available_spec.rb b/spec/whois/record/parser/responses/whois.register.bg/bg/status_available_spec.rb deleted file mode 100644 index 3302f3b55..000000000 --- a/spec/whois/record/parser/responses/whois.register.bg/bg/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.bg/bg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.bg.rb' - -describe Whois::Record::Parser::WhoisRegisterBg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.register.bg/bg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.bg/bg/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.register.bg/bg/status_registered_spec.rb deleted file mode 100644 index d96a8013f..000000000 --- a/spec/whois/record/parser/responses/whois.register.bg/bg/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.bg/bg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.bg.rb' - -describe Whois::Record::Parser::WhoisRegisterBg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.register.bg/bg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-06-30 00:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-06-30 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.com/registered_without_updated_on_spec.rb b/spec/whois/record/parser/responses/whois.register.com/registered_without_updated_on_spec.rb deleted file mode 100644 index 8a192c0db..000000000 --- a/spec/whois/record/parser/responses/whois.register.com/registered_without_updated_on_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.com/registered_without_updated_on.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.com.rb' - -describe Whois::Record::Parser::WhoisRegisterCom, "registered_without_updated_on.expected" do - - subject do - file = fixture("responses", "whois.register.com/registered_without_updated_on.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.register.com/status_registered_spec.rb deleted file mode 100644 index 7875b492d..000000000 --- a/spec/whois/record/parser/responses/whois.register.com/status_registered_spec.rb +++ /dev/null @@ -1,147 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.com.rb' - -describe Whois::Record::Parser::WhoisRegisterCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.register.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("register.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1994-11-01T00:00:00-0500")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-08-26T00:00:00-0400")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2019-08-04T00:00:00-0400")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9") - expect(subject.registrar.name).to eq("Register.com") - expect(subject.registrar.url).to eq("http://www.register.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Domain Registrar") - expect(subject.registrant_contacts[0].organization).to eq("Register.Com, Inc.") - expect(subject.registrant_contacts[0].address).to eq("575 8th Avenue") - expect(subject.registrant_contacts[0].city).to eq("New York") - expect(subject.registrant_contacts[0].zip).to eq("10018") - expect(subject.registrant_contacts[0].state).to eq("NY") - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.9027492701") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("domainregistrar@register.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("Domain Registrar") - expect(subject.admin_contacts[0].organization).to eq("Register.Com, Inc.") - expect(subject.admin_contacts[0].address).to eq("575 8th Avenue") - expect(subject.admin_contacts[0].city).to eq("New York") - expect(subject.admin_contacts[0].zip).to eq("10018") - expect(subject.admin_contacts[0].state).to eq("NY") - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.9027492701") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("domainregistrar@register.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("Domain Registrar") - expect(subject.technical_contacts[0].organization).to eq("Register.Com, Inc.") - expect(subject.technical_contacts[0].address).to eq("575 8th Avenue") - expect(subject.technical_contacts[0].city).to eq("New York") - expect(subject.technical_contacts[0].zip).to eq("10018") - expect(subject.technical_contacts[0].state).to eq("NY") - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.9027492701") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("domainregistrar@register.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(6) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.register.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.register.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.register.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns5.register.com") - expect(subject.nameservers[4]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[4].name).to eq("ns6.register.com") - expect(subject.nameservers[5]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[5].name).to eq("ns1.register.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.si/si/status_available_spec.rb b/spec/whois/record/parser/responses/whois.register.si/si/status_available_spec.rb deleted file mode 100644 index 60ebfcdd8..000000000 --- a/spec/whois/record/parser/responses/whois.register.si/si/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.si/si/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.si.rb' - -describe Whois::Record::Parser::WhoisRegisterSi, "status_available.expected" do - - subject do - file = fixture("responses", "whois.register.si/si/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.register.si/si/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.register.si/si/status_registered_spec.rb deleted file mode 100644 index 842df621b..000000000 --- a/spec/whois/record/parser/responses/whois.register.si/si/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.register.si/si/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.register.si.rb' - -describe Whois::Record::Parser::WhoisRegisterSi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.register.si/si/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-04-04")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-07-19")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registre.ma/ma/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registre.ma/ma/status_available_spec.rb deleted file mode 100644 index da22fd915..000000000 --- a/spec/whois/record/parser/responses/whois.registre.ma/ma/status_available_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registre.ma/ma/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registre.ma.rb' - -describe Whois::Record::Parser::WhoisRegistreMa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registre.ma/ma/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registre.ma/ma/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registre.ma/ma/status_registered_spec.rb deleted file mode 100644 index aaee9bc1a..000000000 --- a/spec/whois/record/parser/responses/whois.registre.ma/ma/status_registered_spec.rb +++ /dev/null @@ -1,56 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registre.ma/ma/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registre.ma.rb' - -describe Whois::Record::Parser::WhoisRegistreMa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registre.ma/ma/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-03-24")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2009-03-24")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registro.br/br/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.registro.br/br/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 092b64fb9..000000000 --- a/spec/whois/record/parser/responses/whois.registro.br/br/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registro.br/br/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registro.br.rb' - -describe Whois::Record::Parser::WhoisRegistroBr, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.registro.br/br/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.hostgator.com.br") - expect(subject.nameservers[0].ipv4).to eq("74.53.28.178") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.hostgator.com.br") - expect(subject.nameservers[1].ipv4).to eq("74.53.28.179") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.hostgator.com.br") - expect(subject.nameservers[2].ipv4).to eq("174.133.202.50") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.hostgator.com.br") - expect(subject.nameservers[3].ipv4).to eq("174.133.202.51") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registro.br/br/status_available_limited_spec.rb b/spec/whois/record/parser/responses/whois.registro.br/br/status_available_limited_spec.rb deleted file mode 100644 index f4782bd23..000000000 --- a/spec/whois/record/parser/responses/whois.registro.br/br/status_available_limited_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registro.br/br/status_available_limited.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registro.br.rb' - -describe Whois::Record::Parser::WhoisRegistroBr, "status_available_limited.expected" do - - subject do - file = fixture("responses", "whois.registro.br/br/status_available_limited.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registro.br/br/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registro.br/br/status_available_spec.rb deleted file mode 100644 index c73fa6ec6..000000000 --- a/spec/whois/record/parser/responses/whois.registro.br/br/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registro.br/br/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registro.br.rb' - -describe Whois::Record::Parser::WhoisRegistroBr, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registro.br/br/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_limited_spec.rb b/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_limited_spec.rb deleted file mode 100644 index 901ca8db2..000000000 --- a/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_limited_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registro.br/br/status_registered_limited.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registro.br.rb' - -describe Whois::Record::Parser::WhoisRegistroBr, "status_registered_limited.expected" do - - subject do - file = fixture("responses", "whois.registro.br/br/status_registered_limited.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_spec.rb deleted file mode 100644 index 9e4c9ba0a..000000000 --- a/spec/whois/record/parser/responses/whois.registro.br/br/status_registered_spec.rb +++ /dev/null @@ -1,67 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registro.br/br/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registro.br.rb' - -describe Whois::Record::Parser::WhoisRegistroBr, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registro.br/br/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("20110630")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("20110630")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("20120630")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a.sec.dns.br") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("b.sec.dns.br") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.gy/gy/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registry.gy/gy/status_available_spec.rb deleted file mode 100644 index f66ce57a2..000000000 --- a/spec/whois/record/parser/responses/whois.registry.gy/gy/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.gy/gy/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.gy.rb' - -describe Whois::Record::Parser::WhoisRegistryGy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registry.gy/gy/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.gy") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.gy/gy/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registry.gy/gy/status_registered_spec.rb deleted file mode 100644 index abc30d545..000000000 --- a/spec/whois/record/parser/responses/whois.registry.gy/gy/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.gy/gy/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.gy.rb' - -describe Whois::Record::Parser::WhoisRegistryGy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registry.gy/gy/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.gy") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("573328-CoCCA") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-05-12 17:56:23 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-16 06:53:13 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-04 23:30:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.hm/hm/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registry.hm/hm/status_available_spec.rb deleted file mode 100644 index 87300c525..000000000 --- a/spec/whois/record/parser/responses/whois.registry.hm/hm/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.hm/hm/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.hm.rb' - -describe Whois::Record::Parser::WhoisRegistryHm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registry.hm/hm/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.hm/hm/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registry.hm/hm/status_registered_spec.rb deleted file mode 100644 index c58f6ae92..000000000 --- a/spec/whois/record/parser/responses/whois.registry.hm/hm/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.hm/hm/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.hm.rb' - -describe Whois::Record::Parser::WhoisRegistryHm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registry.hm/hm/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-04-28")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-04-28")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.everydns.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.everydns.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.net.za/za/property_contact_fax_empty_spec.rb b/spec/whois/record/parser/responses/whois.registry.net.za/za/property_contact_fax_empty_spec.rb deleted file mode 100644 index f252cdf7a..000000000 --- a/spec/whois/record/parser/responses/whois.registry.net.za/za/property_contact_fax_empty_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.net.za/za/property_contact_fax_empty.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.net.za.rb' - -describe Whois::Record::Parser::WhoisRegistryNetZa, "property_contact_fax_empty.expected" do - - subject do - file = fixture("responses", "whois.registry.net.za/za/property_contact_fax_empty.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("FirstRand Bank Limited") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("2nd floor 4 Merchant Place\nCnr Rivonia and Sandton Drive\nSandton\nGauteng\nZA\n2196") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+27.112828000") - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("domreg.admins@firstrand.co.za") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.net.za/za/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.registry.net.za/za/response_throttled_spec.rb deleted file mode 100644 index 5144359ad..000000000 --- a/spec/whois/record/parser/responses/whois.registry.net.za/za/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.net.za/za/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.net.za.rb' - -describe Whois::Record::Parser::WhoisRegistryNetZa, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.registry.net.za/za/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.net.za/za/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registry.net.za/za/status_available_spec.rb deleted file mode 100644 index 8bc723f06..000000000 --- a/spec/whois/record/parser/responses/whois.registry.net.za/za/status_available_spec.rb +++ /dev/null @@ -1,94 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.net.za/za/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.net.za.rb' - -describe Whois::Record::Parser::WhoisRegistryNetZa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registry.net.za/za/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq(nil) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error Whois::AttributeNotSupported - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error Whois::AttributeNotSupported - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error Whois::AttributeNotSupported - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error Whois::AttributeNotSupported - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.net.za/za/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registry.net.za/za/status_registered_spec.rb deleted file mode 100644 index 500e1ad27..000000000 --- a/spec/whois/record/parser/responses/whois.registry.net.za/za/status_registered_spec.rb +++ /dev/null @@ -1,130 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.net.za/za/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.net.za.rb' - -describe Whois::Record::Parser::WhoisRegistryNetZa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registry.net.za/za/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("The use of this Whois facility is subject to the following terms and\nconditions. https://registry.net.za/whois_terms\nCopyright (c) UniForum SA 1995-2014\n") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.co.za") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error Whois::AttributeNotSupported - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(Time.parse("2001-06-25")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error Whois::AttributeNotSupported - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(Time.parse("2014-06-25")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway\nMountain View\nCA\nUS\n94043") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+1.6502530000") - expect(subject.registrant_contacts[0].fax).to eq("+1.6506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error Whois::AttributeNotSupported - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error Whois::AttributeNotSupported - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.om/om/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registry.om/om/status_available_spec.rb deleted file mode 100644 index b5c8d2bd0..000000000 --- a/spec/whois/record/parser/responses/whois.registry.om/om/status_available_spec.rb +++ /dev/null @@ -1,97 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.om/om/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.om.rb' - -describe Whois::Record::Parser::WhoisRegistryOm, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registry.om/om/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.om/om/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registry.om/om/status_registered_spec.rb deleted file mode 100644 index 11941275e..000000000 --- a/spec/whois/record/parser/responses/whois.registry.om/om/status_registered_spec.rb +++ /dev/null @@ -1,142 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.om/om/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.om.rb' - -describe Whois::Record::Parser::WhoisRegistryOm, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registry.om/om/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("rop.gov.om") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-06 18:20:12 UTC")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("Oman Telecommunication Company") - expect(subject.registrar.organization).to eq("Oman Telecommunication Company") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("10084244") - expect(subject.registrant_contacts[0].name).to eq("Nasser Said Al Daree") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Visit portal.registry.om/whois for Web based WhoIs") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("10084244") - expect(subject.technical_contacts[0].name).to eq("Nasser Said Al Daree") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Visit portal.registry.om/whois for Web based WhoIs") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.omantel.net.om") - expect(subject.nameservers[0].ipv4).to eq("62.231.247.70") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.omantel.net.om") - expect(subject.nameservers[1].ipv4).to eq("82.178.72.21") - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.omantel.net.om") - expect(subject.nameservers[2].ipv4).to eq("212.72.4.147") - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.om/om/status_reserved_spec.rb b/spec/whois/record/parser/responses/whois.registry.om/om/status_reserved_spec.rb deleted file mode 100644 index ea6d32444..000000000 --- a/spec/whois/record/parser/responses/whois.registry.om/om/status_reserved_spec.rb +++ /dev/null @@ -1,44 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.om/om/status_reserved.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.om.rb' - -describe Whois::Record::Parser::WhoisRegistryOm, "status_reserved.expected" do - - subject do - file = fixture("responses", "whois.registry.om/om/status_reserved.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:reserved) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#reserved?" do - it do - expect(subject.reserved?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.qa/qa/property_nameservers_without_ips_spec.rb b/spec/whois/record/parser/responses/whois.registry.qa/qa/property_nameservers_without_ips_spec.rb deleted file mode 100644 index e998eed9c..000000000 --- a/spec/whois/record/parser/responses/whois.registry.qa/qa/property_nameservers_without_ips_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.qa/qa/property_nameservers_without_ips.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.qa.rb' - -describe Whois::Record::Parser::WhoisRegistryQa, "property_nameservers_without_ips.expected" do - - subject do - file = fixture("responses", "whois.registry.qa/qa/property_nameservers_without_ips.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.qatarbank.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.qatarbank.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.qatarbank.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.qa/qa/status_available_spec.rb b/spec/whois/record/parser/responses/whois.registry.qa/qa/status_available_spec.rb deleted file mode 100644 index d3c6907b4..000000000 --- a/spec/whois/record/parser/responses/whois.registry.qa/qa/status_available_spec.rb +++ /dev/null @@ -1,97 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.qa/qa/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.qa.rb' - -describe Whois::Record::Parser::WhoisRegistryQa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.registry.qa/qa/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.registry.qa/qa/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.registry.qa/qa/status_registered_spec.rb deleted file mode 100644 index 0cbacfe33..000000000 --- a/spec/whois/record/parser/responses/whois.registry.qa/qa/status_registered_spec.rb +++ /dev/null @@ -1,132 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.registry.qa.rb' - -describe Whois::Record::Parser::WhoisRegistryQa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.registry.qa/qa/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("qtel.com.qa") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["ok"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("QatarTelecom") - expect(subject.registrar.name).to eq("Qatar Telecom (Qtel) Q. S. C") - expect(subject.registrar.organization).to eq("Qatar Telecom (Qtel) Q. S. C") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("QT11734") - expect(subject.registrant_contacts[0].name).to eq("DNS Administrator - Qtel Internet Services") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Visit www.domains.qa") - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("QT11734") - expect(subject.technical_contacts[0].name).to eq("DNS Administrator - Qtel Internet Services") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Visit www.domains.qa") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.qtel.com.qa") - expect(subject.nameservers[0].ipv4).to eq("212.77.203.185") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.qtel.com.qa") - expect(subject.nameservers[1].ipv4).to eq("213.130.113.101") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/case_token_whois_privacy_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/case_token_whois_privacy_spec.rb deleted file mode 100644 index 58f447f88..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/case_token_whois_privacy_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/case_token_whois_privacy.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "case_token_whois_privacy.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/case_token_whois_privacy.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_nameservers_hyphenated_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_nameservers_hyphenated_spec.rb deleted file mode 100644 index afbf087d3..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_nameservers_hyphenated_spec.rb +++ /dev/null @@ -1,36 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/property_nameservers_hyphenated.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "property_nameservers_hyphenated.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/property_nameservers_hyphenated.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("bits-hq.bitsyu.net") - expect(subject.nameservers[0].ipv4).to eq("217.24.17.10") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("largo.bitsyu.net") - expect(subject.nameservers[1].ipv4).to eq("217.24.17.80") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_expired_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_expired_spec.rb deleted file mode 100644 index b17831009..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_expired_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/property_status_expired.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "property_status_expired.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/property_status_expired.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_in_transfer_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_in_transfer_spec.rb deleted file mode 100644 index fb463639c..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_in_transfer_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/property_status_in_transfer.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "property_status_in_transfer.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/property_status_in_transfer.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_locked_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_locked_spec.rb deleted file mode 100644 index eadb11206..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/property_status_locked_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/property_status_locked.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "property_status_locked.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/property_status_locked.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_available_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_available_spec.rb deleted file mode 100644 index 0b44665ba..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_registered_spec.rb deleted file mode 100644 index aae66c97f..000000000 --- a/spec/whois/record/parser/responses/whois.rnids.rs/rs/status_registered_spec.rb +++ /dev/null @@ -1,135 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rnids.rs/rs/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rnids.rs.rb' - -describe Whois::Record::Parser::WhoisRnidsRs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.rnids.rs/rs/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.rs") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2008-03-10 12:31:19")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-11 19:49:38")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-10 12:31:19")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("NINET Company d.o.o.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway, Mountain View, United States of America") - expect(subject.registrant_contacts[0].email).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Domain Administrator, Drustvo za marketing Google DOO") - expect(subject.admin_contacts[0].address).to eq("Marsala Birjuzova 47/18, Beograd, Serbia") - expect(subject.admin_contacts[0].email).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Domain Administrator, MarkMonitor, Inc.") - expect(subject.technical_contacts[0].address).to eq("391 N Ancestor Place, Boise, ID, United States of America") - expect(subject.technical_contacts[0].email).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq("216.239.36.10") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq("216.239.38.10") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rotld.ro/ro/property_status_updateprohibited_spec.rb b/spec/whois/record/parser/responses/whois.rotld.ro/ro/property_status_updateprohibited_spec.rb deleted file mode 100644 index a082d9191..000000000 --- a/spec/whois/record/parser/responses/whois.rotld.ro/ro/property_status_updateprohibited_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rotld.ro/ro/property_status_updateprohibited.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rotld.ro.rb' - -describe Whois::Record::Parser::WhoisRotldRo, "property_status_updateprohibited.expected" do - - subject do - file = fixture("responses", "whois.rotld.ro/ro/property_status_updateprohibited.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_available_spec.rb b/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_available_spec.rb deleted file mode 100644 index 1e9f523ad..000000000 --- a/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rotld.ro/ro/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rotld.ro.rb' - -describe Whois::Record::Parser::WhoisRotldRo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.rotld.ro/ro/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_registered_spec.rb deleted file mode 100644 index bd38a0048..000000000 --- a/spec/whois/record/parser/responses/whois.rotld.ro/ro/status_registered_spec.rb +++ /dev/null @@ -1,76 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rotld.ro/ro/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rotld.ro.rb' - -describe Whois::Record::Parser::WhoisRotldRo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.rotld.ro/ro/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rrpproxy.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.rrpproxy.net/status_available_spec.rb deleted file mode 100644 index ffa58a24e..000000000 --- a/spec/whois/record/parser/responses/whois.rrpproxy.net/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rrpproxy.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rrpproxy.net.rb' - -describe Whois::Record::Parser::WhoisRrpproxyNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.rrpproxy.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.rrpproxy.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.rrpproxy.net/status_registered_spec.rb deleted file mode 100644 index 3127e1213..000000000 --- a/spec/whois/record/parser/responses/whois.rrpproxy.net/status_registered_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.rrpproxy.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.rrpproxy.net.rb' - -describe Whois::Record::Parser::WhoisRrpproxyNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.rrpproxy.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("multisafepay.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("334322677_DOMAIN_COM-VRSN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2006-02-03 19:44:56 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-04 08:34:14 UTC")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("269") - expect(subject.registrar.name).to eq("Key-Systems GmbH") - expect(subject.registrar.organization).to eq("Key-Systems GmbH") - expect(subject.registrar.url).to eq("http://www.reasonnet.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("P-DQJ547") - expect(subject.registrant_contacts[0].name).to eq("David Jacobs") - expect(subject.registrant_contacts[0].organization).to eq("ReasonNet B.V.") - expect(subject.registrant_contacts[0].address).to eq("Gyroscoopweg 134") - expect(subject.registrant_contacts[0].city).to eq("Amsterdam") - expect(subject.registrant_contacts[0].zip).to eq("1042 AZ") - expect(subject.registrant_contacts[0].state).to eq("NH") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("NL") - expect(subject.registrant_contacts[0].phone).to eq("+31.205060035") - expect(subject.registrant_contacts[0].fax).to eq("+31.205060038") - expect(subject.registrant_contacts[0].email).to eq("domains@reasonnet.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("P-OEG220") - expect(subject.admin_contacts[0].name).to eq("Olaf Geurs") - expect(subject.admin_contacts[0].organization).to eq("ION") - expect(subject.admin_contacts[0].address).to eq("Vlierweg 12") - expect(subject.admin_contacts[0].city).to eq("Amsterdam") - expect(subject.admin_contacts[0].zip).to eq("1032 LG") - expect(subject.admin_contacts[0].state).to eq("NH") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("NL") - expect(subject.admin_contacts[0].phone).to eq("+31.204949100") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("domains@reasonnet.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("P-OEG220") - expect(subject.technical_contacts[0].name).to eq("Olaf Geurs") - expect(subject.technical_contacts[0].organization).to eq("ION") - expect(subject.technical_contacts[0].address).to eq("Vlierweg 12") - expect(subject.technical_contacts[0].city).to eq("Amsterdam") - expect(subject.technical_contacts[0].zip).to eq("1032 LG") - expect(subject.technical_contacts[0].state).to eq("NH") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("NL") - expect(subject.technical_contacts[0].phone).to eq("+31.204949100") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("domains@reasonnet.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns.teletik.nl") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.teletik.nl") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.safenames.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.safenames.net/status_registered_spec.rb deleted file mode 100644 index b14bf905a..000000000 --- a/spec/whois/record/parser/responses/whois.safenames.net/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.safenames.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.safenames.net.rb' - -describe Whois::Record::Parser::WhoisSafenamesNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.safenames.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("stripe.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-09-12T04:00:00Z")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-10-02T15:33:46Z")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2024-09-11T04:00:00Z")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("447") - expect(subject.registrar.name).to eq("Safenames Ltd") - expect(subject.registrar.organization).to eq("Safenames Ltd") - expect(subject.registrar.url).to eq("http://www.safenames.net") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Domain Admin") - expect(subject.registrant_contacts[0].organization).to eq("Stripe") - expect(subject.registrant_contacts[0].address).to eq("3180 18th St") - expect(subject.registrant_contacts[0].city).to eq("San Francisco") - expect(subject.registrant_contacts[0].zip).to eq("94110") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("US") - expect(subject.registrant_contacts[0].phone).to eq("+1.8772544179") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("dns@stripe.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Domain Admin") - expect(subject.admin_contacts[0].organization).to eq("Stripe") - expect(subject.admin_contacts[0].address).to eq("3180 18th St") - expect(subject.admin_contacts[0].city).to eq("San Francisco") - expect(subject.admin_contacts[0].zip).to eq("94110") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("US") - expect(subject.admin_contacts[0].phone).to eq("+1.8772544179") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("dns@stripe.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Domain Admin") - expect(subject.technical_contacts[0].organization).to eq("Stripe") - expect(subject.technical_contacts[0].address).to eq("3180 18th St") - expect(subject.technical_contacts[0].city).to eq("San Francisco") - expect(subject.technical_contacts[0].zip).to eq("94110") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("US") - expect(subject.technical_contacts[0].phone).to eq("+1.8772544179") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("dns@stripe.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dns1.idp365.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dns2.idp365.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.schlund.info/registered_without_update_on_spec.rb b/spec/whois/record/parser/responses/whois.schlund.info/registered_without_update_on_spec.rb deleted file mode 100644 index 39ab2a8d0..000000000 --- a/spec/whois/record/parser/responses/whois.schlund.info/registered_without_update_on_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.schlund.info/registered_without_update_on.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.schlund.info.rb' - -describe Whois::Record::Parser::WhoisSchlundInfo, "registered_without_update_on.expected" do - - subject do - file = fixture("responses", "whois.schlund.info/registered_without_update_on.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.schlund.info/status_available_spec.rb b/spec/whois/record/parser/responses/whois.schlund.info/status_available_spec.rb deleted file mode 100644 index a7d12fd64..000000000 --- a/spec/whois/record/parser/responses/whois.schlund.info/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.schlund.info/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.schlund.info.rb' - -describe Whois::Record::Parser::WhoisSchlundInfo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.schlund.info/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.schlund.info/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.schlund.info/status_registered_spec.rb deleted file mode 100644 index 530498fa5..000000000 --- a/spec/whois/record/parser/responses/whois.schlund.info/status_registered_spec.rb +++ /dev/null @@ -1,147 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.schlund.info/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.schlund.info.rb' - -describe Whois::Record::Parser::WhoisSchlundInfo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.schlund.info/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("schlund.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1996-10-10 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-10-09 00:00:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-10-09 00:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("83") - expect(subject.registrar.name).to eq("1&1 Internet AG") - expect(subject.registrar.organization).to eq("1&1 Internet AG") - expect(subject.registrar.url).to eq("http://1and1.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Markus Huhn") - expect(subject.registrant_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.registrant_contacts[0].address).to eq("Elgendorfer Str. 57") - expect(subject.registrant_contacts[0].city).to eq("Montabaur") - expect(subject.registrant_contacts[0].zip).to eq("56410") - expect(subject.registrant_contacts[0].state).to eq("") - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.2602960") - expect(subject.registrant_contacts[0].fax).to eq("+49.72191374215") - expect(subject.registrant_contacts[0].email).to eq("hostmaster@1und1.de") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Markus Huhn") - expect(subject.admin_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.admin_contacts[0].address).to eq("Elgendorfer Str. 57") - expect(subject.admin_contacts[0].city).to eq("Montabaur") - expect(subject.admin_contacts[0].zip).to eq("56410") - expect(subject.admin_contacts[0].state).to eq("") - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.2602960") - expect(subject.admin_contacts[0].fax).to eq("+49.72191374215") - expect(subject.admin_contacts[0].email).to eq("hostmaster@1und1.de") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Hostmaster EINSUNDEINS") - expect(subject.technical_contacts[0].organization).to eq("1&1 Internet AG") - expect(subject.technical_contacts[0].address).to eq("Brauerstr. 48") - expect(subject.technical_contacts[0].city).to eq("Karlsruhe") - expect(subject.technical_contacts[0].zip).to eq("76135") - expect(subject.technical_contacts[0].state).to eq("") - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.7219600") - expect(subject.technical_contacts[0].fax).to eq("+49.72191374248") - expect(subject.technical_contacts[0].email).to eq("hostmaster@1und1.de") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns-1and1.ui-dns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns-1and1.ui-dns.org") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns-1and1.ui-dns.de") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns-1and1.ui-dns.biz") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_spec.rb b/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_spec.rb deleted file mode 100644 index 3cbf38261..000000000 --- a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sgnic.sg.rb' - -describe Whois::Record::Parser::WhoisSgnicSg, "property_nameservers_schema_1.expected" do - - subject do - file = fixture("responses", "whois.sgnic.sg/sg/property_nameservers_schema_1.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip_spec.rb deleted file mode 100644 index 6ef823ebe..000000000 --- a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sgnic.sg.rb' - -describe Whois::Record::Parser::WhoisSgnicSg, "property_nameservers_schema_1_with_ip.expected" do - - subject do - file = fixture("responses", "whois.sgnic.sg/sg/property_nameservers_schema_1_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("dnssec1.singnet.com.sg") - expect(subject.nameservers[0].ipv4).to eq("165.21.83.11") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("dnssec2.singnet.com.sg") - expect(subject.nameservers[1].ipv4).to eq("195.13.10.226") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("dnssec3.singnet.com.sg") - expect(subject.nameservers[2].ipv4).to eq("165.21.100.11") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_2_spec.rb b/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_2_spec.rb deleted file mode 100644 index 8d11b4511..000000000 --- a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/property_nameservers_schema_2_spec.rb +++ /dev/null @@ -1,38 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sgnic.sg/sg/property_nameservers_schema_2.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sgnic.sg.rb' - -describe Whois::Record::Parser::WhoisSgnicSg, "property_nameservers_schema_2.expected" do - - subject do - file = fixture("responses", "whois.sgnic.sg/sg/property_nameservers_schema_2.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_available_spec.rb b/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_available_spec.rb deleted file mode 100644 index 5801facb9..000000000 --- a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sgnic.sg/sg/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sgnic.sg.rb' - -describe Whois::Record::Parser::WhoisSgnicSg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.sgnic.sg/sg/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_registered_spec.rb deleted file mode 100644 index 0045b1896..000000000 --- a/spec/whois/record/parser/responses/whois.sgnic.sg/sg/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sgnic.sg/sg/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sgnic.sg.rb' - -describe Whois::Record::Parser::WhoisSgnicSg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.sgnic.sg/sg/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(["OK", "CLIENT UPDATE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT DELETE PROHIBITED", "VerifiedID@SG-Not Required"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-01-03 12:00:00")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-01-03 00:00:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_available_spec.rb b/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_available_spec.rb deleted file mode 100644 index 175e5f907..000000000 --- a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sk-nic.sk/sk/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sk-nic.sk.rb' - -describe Whois::Record::Parser::WhoisSkNicSk, "status_available.expected" do - - subject do - file = fixture("responses", "whois.sk-nic.sk/sk/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_blocked_spec.rb b/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_blocked_spec.rb deleted file mode 100644 index c51c24aef..000000000 --- a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_blocked_spec.rb +++ /dev/null @@ -1,49 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sk-nic.sk/sk/status_blocked.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sk-nic.sk.rb' - -describe Whois::Record::Parser::WhoisSkNicSk, "status_blocked.expected" do - - subject do - file = fixture("responses", "whois.sk-nic.sk/sk/status_blocked.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("3dmodely.sk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_registered_spec.rb deleted file mode 100644 index 27d24cb55..000000000 --- a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sk-nic.sk/sk/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sk-nic.sk.rb' - -describe Whois::Record::Parser::WhoisSkNicSk, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.sk-nic.sk/sk/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("face.sk") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2016-02-11")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2017-09-07")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2018-02-11")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.parkingcrew.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.parkingcrew.net") - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Contact) - expect(subject.registrar.type).to eq(Whois::Record::Contact::TYPE_REGISTRAR) - expect(subject.registrar.id).to eq("ELBI-0002") - expect(subject.registrar.organization).to eq("ELBIA, s. r. o.") - expect(subject.registrar.email).to eq("sknic@elbiahosting.sk") - expect(subject.registrar.phone).to eq("+421.904684143") - expect(subject.registrar.address).to eq("Stoličková 870/4") - expect(subject.registrar.city).to eq("Banská Bystrica") - expect(subject.registrar.zip).to eq("97401") - expect(subject.registrar.country_code).to eq("SK") - expect(subject.registrar.created_on).to eq(Time.parse('2017-09-01')) - expect(subject.registrar.updated_on).to eq(Time.parse('2017-09-08')) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("MILA-1427-1465") - expect(subject.registrant_contacts[0].name).to eq("Milan Terem") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq(nil) - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse('2017-09-01')) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse('2017-09-01')) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("SK-NIC") - expect(subject.admin_contacts[0].name).to eq(nil) - expect(subject.admin_contacts[0].organization).to eq("SK-NIC, a.s.") - expect(subject.admin_contacts[0].address).to eq("Borská 6") - expect(subject.admin_contacts[0].city).to eq("Bratislava") - expect(subject.admin_contacts[0].zip).to eq("84104") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("SK") - expect(subject.admin_contacts[0].phone).to eq("+421.235035030") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("hostmaster@sk-nic.sk") - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2017-09-01")) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2017-09-08")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("ELBIA") - expect(subject.technical_contacts[0].name).to eq("Jozef Sudolský") - expect(subject.technical_contacts[0].organization).to eq("ELBIA, s. r. o.") - expect(subject.technical_contacts[0].address).to eq("Stoličková 4") - expect(subject.technical_contacts[0].city).to eq("Banská Bystrica") - expect(subject.technical_contacts[0].zip).to eq("97401") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("SK") - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq(nil) - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2017-09-02")) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2017-09-03")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_transfer_prohibited_spec.rb b/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_transfer_prohibited_spec.rb deleted file mode 100644 index 462a6b1e7..000000000 --- a/spec/whois/record/parser/responses/whois.sk-nic.sk/sk/status_transfer_prohibited_spec.rb +++ /dev/null @@ -1,49 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sk-nic.sk/sk/status_transfer_prohibited.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sk-nic.sk.rb' - -describe Whois::Record::Parser::WhoisSkNicSk, "status_transfer_prohibited.expected" do - - subject do - file = fixture("responses", "whois.sk-nic.sk/sk/status_transfer_prohibited.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("3mtech.sk") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.smallregistry.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.smallregistry.net/status_available_spec.rb deleted file mode 100644 index 190476d1b..000000000 --- a/spec/whois/record/parser/responses/whois.smallregistry.net/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.smallregistry.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.smallregistry.net.rb' - -describe Whois::Record::Parser::WhoisSmallregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.smallregistry.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to supply you with information purpose only, PROMOPIXEL is not responsible for its accuracy. Copy of whole or part of the data without permission from PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity described in the relevant \"registrant:\" record. Domain or subdomain ownership disputes should be settled by contacting SMALLREGISTRY registry: https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com\nBienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs exactitudes. La copie de tout ou partie de la base de données est interdite sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine ou d'un sous-domaine est l'entité décrite dans l’enregistrement \"registrant:\" correspondant. Un différent sur la propriété d'un nom de domaine ou de sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.smallregistry.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.smallregistry.net/status_registered_spec.rb deleted file mode 100644 index bb3938c41..000000000 --- a/spec/whois/record/parser/responses/whois.smallregistry.net/status_registered_spec.rb +++ /dev/null @@ -1,139 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.smallregistry.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.smallregistry.net.rb' - -describe Whois::Record::Parser::WhoisSmallregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.smallregistry.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Welcome to the SMALLREGISTRY WHOIS Server. Datas are available in order to supply you with information purpose only, PROMOPIXEL is not responsible for its accuracy. Copy of whole or part of the data without permission from PROMOPIXEL is strictly forbidden. The sole owner of a domain is the entity described in the relevant \"registrant:\" record. Domain or subdomain ownership disputes should be settled by contacting SMALLREGISTRY registry: https://www.smallregistry.net, or PROMOPIXEL: http://www.promopixel.com\nBienvenue sur le serveur WHOIS de SMALLREGISTRY. Les données fournies sont disponibles à titre informatif uniquement, PROMOPIXEL ne garantit pas leurs exactitudes. La copie de tout ou partie de la base de données est interdite sans l'autorisation expresse de PROMOPIXEL. Le seul propriétaire d'un domaine ou d'un sous-domaine est l'entité décrite dans l’enregistrement \"registrant:\" correspondant. Un différent sur la propriété d'un nom de domaine ou de sous-domaine peut être réglé en contactant le registre SMALLREGISTRY: https://www.smallregistry.net, ou PROMOPIXEL: http://www.promopixel.com") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("dr-foo-bar-baz.chirurgiens-dentistes.fr") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2011-01-13 15:45:18 +01:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-01-13 15:45:18 +01:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-01-13 16:00:09 +01:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("GOOGLE") - expect(subject.registrar.organization).to eq("GOOGLE") - expect(subject.registrar.url).to eq("http://www.google.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("FBB1-SMALL") - expect(subject.registrant_contacts[0].name).to eq("FOO BAR BAZ") - expect(subject.registrant_contacts[0].organization).to eq("FOO BAR BAZ INC") - expect(subject.registrant_contacts[0].address).to eq("116 RUE DE LA PAIX\n75001 PARIS\nFRANCE") - expect(subject.registrant_contacts[0].phone).to eq("+33.123456651") - expect(subject.registrant_contacts[0].fax).to eq("+33.123456660") - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2011-01-13 15:45:18 +01:00")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("QR1-SMALL") - expect(subject.admin_contacts[0].name).to eq(nil) - expect(subject.admin_contacts[0].organization).to eq("QWE RTY") - expect(subject.admin_contacts[0].address).to eq("13 RUE DE LA PAIX\n75003 PARIS\nFRANCE") - expect(subject.admin_contacts[0].phone).to eq("+33.144887967") - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2010-08-02 14:48:21 +02:00")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("GOOG-SMALL") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("GOOGLE DNS MASTER") - expect(subject.technical_contacts[0].address).to eq("GOOGLE\n22, RUE DE LA PAIX\n75008 PARIS\nFRANCE") - expect(subject.technical_contacts[0].phone).to eq("+33.821845353") - expect(subject.technical_contacts[0].fax).to eq("+33.821845354") - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2011-05-18 09:35:37 +02:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/property_status_pendingrelease_spec.rb b/spec/whois/record/parser/responses/whois.srs.net.nz/nz/property_status_pendingrelease_spec.rb deleted file mode 100644 index 44fce2f93..000000000 --- a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/property_status_pendingrelease_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.srs.net.nz/nz/property_status_pendingrelease.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.srs.net.nz.rb' - -describe Whois::Record::Parser::WhoisSrsNetNz, "property_status_pendingrelease.expected" do - - subject do - file = fixture("responses", "whois.srs.net.nz/nz/property_status_pendingrelease.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/response_throttled_spec.rb b/spec/whois/record/parser/responses/whois.srs.net.nz/nz/response_throttled_spec.rb deleted file mode 100644 index cdb6f9383..000000000 --- a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/response_throttled_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.srs.net.nz/nz/response_throttled.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.srs.net.nz.rb' - -describe Whois::Record::Parser::WhoisSrsNetNz, "response_throttled.expected" do - - subject do - file = fixture("responses", "whois.srs.net.nz/nz/response_throttled.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_available_spec.rb deleted file mode 100644 index 891473c3e..000000000 --- a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.srs.net.nz/nz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.srs.net.nz.rb' - -describe Whois::Record::Parser::WhoisSrsNetNz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.srs.net.nz/nz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.co.nz") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_invalid_spec.rb b/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_invalid_spec.rb deleted file mode 100644 index 0ac394491..000000000 --- a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_invalid_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.srs.net.nz/nz/status_invalid.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.srs.net.nz.rb' - -describe Whois::Record::Parser::WhoisSrsNetNz, "status_invalid.expected" do - - subject do - file = fixture("responses", "whois.srs.net.nz/nz/status_invalid.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:invalid) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#valid?" do - it do - expect(subject.valid?).to eq(false) - end - end - describe "#invalid?" do - it do - expect(subject.invalid?).to eq(true) - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_registered_spec.rb deleted file mode 100644 index 0c252ee9a..000000000 --- a/spec/whois/record/parser/responses/whois.srs.net.nz/nz/status_registered_spec.rb +++ /dev/null @@ -1,161 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.srs.net.nz/nz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.srs.net.nz.rb' - -describe Whois::Record::Parser::WhoisSrsNetNz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.srs.net.nz/nz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.co.nz") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-02-17 00:00:00 +13:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-01-16 23:20:24 +13:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-02-17 00:00:00 +13:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonitor") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Google Inc") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.registrant_contacts[0].city).to eq("Mountain View") - expect(subject.registrant_contacts[0].zip).to eq("94043") - expect(subject.registrant_contacts[0].state).to eq("CA") - expect(subject.registrant_contacts[0].country).to eq("US (UNITED STATES)") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+1 650 +1 650 3300100") - expect(subject.registrant_contacts[0].fax).to eq("+1 650 +1 650 6181434") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Google Inc") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.admin_contacts[0].city).to eq("Mountain View") - expect(subject.admin_contacts[0].zip).to eq("94043") - expect(subject.admin_contacts[0].state).to eq("CA") - expect(subject.admin_contacts[0].country).to eq("US (UNITED STATES)") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+1 650 +1 650 3300100") - expect(subject.admin_contacts[0].fax).to eq("+1 650 +1 650 6181434") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Google Inc") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway") - expect(subject.technical_contacts[0].city).to eq("Mountain View") - expect(subject.technical_contacts[0].zip).to eq("94043") - expect(subject.technical_contacts[0].state).to eq("CA") - expect(subject.technical_contacts[0].country).to eq("US (UNITED STATES)") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+1 650 +1 650 3300100") - expect(subject.technical_contacts[0].fax).to eq("+ +1 650 6181434") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end - describe "#response_throttled?" do - it do - expect(subject.response_throttled?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sx/sx/property_status_premium_name_spec.rb b/spec/whois/record/parser/responses/whois.sx/sx/property_status_premium_name_spec.rb deleted file mode 100644 index c313daace..000000000 --- a/spec/whois/record/parser/responses/whois.sx/sx/property_status_premium_name_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sx/sx/property_status_premium_name.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sx.rb' - -describe Whois::Record::Parser::WhoisSx, "property_status_premium_name.expected" do - - subject do - file = fixture("responses", "whois.sx/sx/property_status_premium_name.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:unavailable) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sx/sx/status_available_spec.rb b/spec/whois/record/parser/responses/whois.sx/sx/status_available_spec.rb deleted file mode 100644 index 397d98d18..000000000 --- a/spec/whois/record/parser/responses/whois.sx/sx/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sx/sx/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sx.rb' - -describe Whois::Record::Parser::WhoisSx, "status_available.expected" do - - subject do - file = fixture("responses", "whois.sx/sx/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS\nThe WHOIS service offered by OpenRegistry and the access to the\nrecords in the OpenRegistry WHOIS database are provided for information\npurposes only. It allows persons to check whether a specific domain name\nis still available or not and to obtain information related to the\nregistration records of existing domain names. You are not authorized to\naccess or query our WHOIS database through the use of electronic\nprocesses that are high-volume and automated except as reasonably\nnecessary to register domain names or modify existing registrations.\n\nOpenRegistry cannot, under any circumstances, be held liable should the\nstored information prove to be wrong, incomplete or inaccurate in any sense.\n\nBy submitting a WHOIS query you agree not to use the information made\navailable to:\n- Allow, enable or otherwise support the transmission of unsolicited,\ncommercial advertising or other solicitations whether via email, telephone\nor otherwise;\n- Target advertising in any possible way;\n- Cause nuisance in any possible way to the registrants by sending (whether\nby automated, electronic processes capable of enabling high volumes or\nother possible means) messages to them.\n\nWithout prejudice to the above, it is explicitly forbidden to extract, copy\nand/or use or re-utilise in any form and by any means (electronically or\nnot) the whole or a quantitatively or qualitatively substantial part of the\ncontents of the WHOIS database without prior and explicit permission by\nOpenRegistry, nor in any attempt hereof, to apply automated, electronic\nprocesses to OpenRegistry (or its systems).\n\nBy submitting the query you agree that any reproduction and/or transmission\nof data for commercial purposes will always be considered as the extraction\nof a substantial part of the content of the WHOIS database. You also agree\nto abide by this policy and accept that OpenRegistry can take measures to\nlimit the use of its WHOIS services in order to protect the privacy of its\nregistrants and/or the integrity of the database. OpenRegistry reserves the\nright to restrict your access to the WHOIS database in its sole discretion\nto ensure operational stability. OpenRegistry may restrict or terminate your\naccess to the WHOIS database for failure to abide by these terms of use.\n\nOpenRegistry reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.sx") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sx/sx/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.sx/sx/status_registered_spec.rb deleted file mode 100644 index b62c263e8..000000000 --- a/spec/whois/record/parser/responses/whois.sx/sx/status_registered_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sx/sx/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sx.rb' - -describe Whois::Record::Parser::WhoisSx, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.sx/sx/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS\nThe WHOIS service offered by OpenRegistry and the access to the\nrecords in the OpenRegistry WHOIS database are provided for information\npurposes only. It allows persons to check whether a specific domain name\nis still available or not and to obtain information related to the\nregistration records of existing domain names. You are not authorized to\naccess or query our WHOIS database through the use of electronic\nprocesses that are high-volume and automated except as reasonably\nnecessary to register domain names or modify existing registrations.\n\nOpenRegistry cannot, under any circumstances, be held liable should the\nstored information prove to be wrong, incomplete or inaccurate in any sense.\n\nBy submitting a WHOIS query you agree not to use the information made\navailable to:\n- Allow, enable or otherwise support the transmission of unsolicited,\ncommercial advertising or other solicitations whether via email, telephone\nor otherwise;\n- Target advertising in any possible way;\n- Cause nuisance in any possible way to the registrants by sending (whether\nby automated, electronic processes capable of enabling high volumes or\nother possible means) messages to them.\n\nWithout prejudice to the above, it is explicitly forbidden to extract, copy\nand/or use or re-utilise in any form and by any means (electronically or\nnot) the whole or a quantitatively or qualitatively substantial part of the\ncontents of the WHOIS database without prior and explicit permission by\nOpenRegistry, nor in any attempt hereof, to apply automated, electronic\nprocesses to OpenRegistry (or its systems).\n\nBy submitting the query you agree that any reproduction and/or transmission\nof data for commercial purposes will always be considered as the extraction\nof a substantial part of the content of the WHOIS database. You also agree\nto abide by this policy and accept that OpenRegistry can take measures to\nlimit the use of its WHOIS services in order to protect the privacy of its\nregistrants and/or the integrity of the database. OpenRegistry reserves the\nright to restrict your access to the WHOIS database in its sole discretion\nto ensure operational stability. OpenRegistry may restrict or terminate your\naccess to the WHOIS database for failure to abide by these terms of use.\n\nOpenRegistry reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("whois.sx") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("d5-sx") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2011-12-09 14:07:22 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-02-25 16:50:39 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2022-12-09 14:07:22 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("SX Registry O") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("C65") - expect(subject.registrant_contacts[0].name).to eq("SX Registry SA administrator") - expect(subject.registrant_contacts[0].organization).to eq("SX Registry SA") - expect(subject.registrant_contacts[0].address).to eq("2, rue Léon Laval") - expect(subject.registrant_contacts[0].city).to eq("Leudelange") - expect(subject.registrant_contacts[0].zip).to eq("L3372") - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("LUXEMBOURG") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("registry@registry.sx") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("C65") - expect(subject.admin_contacts[0].name).to eq("SX Registry SA administrator") - expect(subject.admin_contacts[0].organization).to eq("SX Registry SA") - expect(subject.admin_contacts[0].address).to eq("2, rue Léon Laval") - expect(subject.admin_contacts[0].city).to eq("Leudelange") - expect(subject.admin_contacts[0].zip).to eq("L3372") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq("LUXEMBOURG") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("registry@registry.sx") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("C65") - expect(subject.technical_contacts[0].name).to eq("SX Registry SA administrator") - expect(subject.technical_contacts[0].organization).to eq("SX Registry SA") - expect(subject.technical_contacts[0].address).to eq("2, rue Léon Laval") - expect(subject.technical_contacts[0].city).to eq("Leudelange") - expect(subject.technical_contacts[0].zip).to eq("L3372") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq("LUXEMBOURG") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("registry@registry.sx") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a.ns.sx") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("b.ns.sx") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("c.ns.sx") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.sx/sx/status_unavailable_spec.rb b/spec/whois/record/parser/responses/whois.sx/sx/status_unavailable_spec.rb deleted file mode 100644 index d7e5adec8..000000000 --- a/spec/whois/record/parser/responses/whois.sx/sx/status_unavailable_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.sx/sx/status_unavailable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.sx.rb' - -describe Whois::Record::Parser::WhoisSx, "status_unavailable.expected" do - - subject do - file = fixture("responses", "whois.sx/sx/status_unavailable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:unavailable) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/property_nameservers_with_ip_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/ru/property_nameservers_with_ip_spec.rb deleted file mode 100644 index 928e7b10d..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/property_nameservers_with_ip_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "property_nameservers_with_ip.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/ru/property_nameservers_with_ip.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns.masterhost.ru") - expect(subject.nameservers[0].ipv4).to eq("217.16.20.30") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.masterhost.ru") - expect(subject.nameservers[1].ipv4).to eq("217.16.16.30") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.masterhost.ru") - expect(subject.nameservers[2].ipv4).to eq("217.16.22.30") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_available_spec.rb deleted file mode 100644 index 58f96ab30..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_available_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/ru/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_registered_spec.rb deleted file mode 100644 index 2b42be717..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_registered_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/ru/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.ru") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["REGISTERED", "DELEGATED", "VERIFIED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-03-04")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-05")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("RU-CENTER-REG-RIPN") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].url).to eq("https://www.nic.ru/whois") - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_available_spec.rb deleted file mode 100644 index d5d901ec8..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_available_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/su/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_registered_spec.rb deleted file mode 100644 index 03f82361c..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_registered_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/su/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.su") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["REGISTERED", "DELEGATED", "UNVERIFIED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2005-10-16")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-10-16")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("RUCENTER-REG-FID") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Private Person") - expect(subject.admin_contacts[0].phone).to eq("+7 495 9681807") - expect(subject.admin_contacts[0].fax).to eq("+7 495 9681807") - expect(subject.admin_contacts[0].email).to eq("cis@cis.su") - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1073.hostgator.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1074.hostgator.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_available_spec.rb deleted file mode 100644 index e6e48b6c6..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_available_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/xn--p1ai/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_registered_spec.rb deleted file mode 100644 index 355698f02..000000000 --- a/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_registered_spec.rb +++ /dev/null @@ -1,110 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tcinet.ru.rb' - -describe Whois::Record::Parser::WhoisTcinetRu, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tcinet.ru/xn--p1ai/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("xn----8sbc3ahklcs4adf.xn--p1ai") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["REGISTERED", "DELEGATED", "VERIFIED"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-11-12")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-11-12")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("R01-REG-RF") - expect(subject.registrar.name).to eq(nil) - expect(subject.registrar.organization).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("R01 Personal Data Operator protected") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+7 800 3020800") - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("liderkubani@gmail.com") - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.redsoft.ru") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.redsoft.ru") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.r01.ru") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_available_spec.rb b/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_available_spec.rb deleted file mode 100644 index d09c01d61..000000000 --- a/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.thnic.co.th/th/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.thnic.co.th.rb' - -describe Whois::Record::Parser::WhoisThnicCoTh, "status_available.expected" do - - subject do - file = fixture("responses", "whois.thnic.co.th/th/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_registered_spec.rb deleted file mode 100644 index c001802a8..000000000 --- a/spec/whois/record/parser/responses/whois.thnic.co.th/th/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.thnic.co.th/th/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.thnic.co.th.rb' - -describe Whois::Record::Parser::WhoisThnicCoTh, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.thnic.co.th/th/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2004-10-08")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-09-07")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-10-07")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.ee/ee/property_status_serverhold_spec.rb b/spec/whois/record/parser/responses/whois.tld.ee/ee/property_status_serverhold_spec.rb deleted file mode 100644 index c3d1c2abc..000000000 --- a/spec/whois/record/parser/responses/whois.tld.ee/ee/property_status_serverhold_spec.rb +++ /dev/null @@ -1,176 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.ee/ee/property_status_serverhold.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.ee.rb' - -describe Whois::Record::Parser::WhoisTldEe, "property_status_serverhold.expected" do - - subject do - file = fixture("responses", "whois.tld.ee/ee/property_status_serverhold.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("samanacrafts.ee") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2014-11-01 20:38:55 +02:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-11-01 20:38:55 +02:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-11-01")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("Edicy OÜ") - expect(subject.registrar.organization).to eq("Edicy OÜ") - expect(subject.registrar.url).to eq("http://www.edicy.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Anastassia Hisamova") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2014-11-01 20:38:55 +02:00")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(2) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Anastassia Hisamova") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq(nil) - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2014-11-01 20:38:55 +02:00")) - expect(subject.admin_contacts[1]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[1].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[1].id).to eq(nil) - expect(subject.admin_contacts[1].name).to eq("Anastassia Hisamova") - expect(subject.admin_contacts[1].organization).to eq(nil) - expect(subject.admin_contacts[1].address).to eq(nil) - expect(subject.admin_contacts[1].city).to eq(nil) - expect(subject.admin_contacts[1].zip).to eq(nil) - expect(subject.admin_contacts[1].state).to eq(nil) - expect(subject.admin_contacts[1].country).to eq(nil) - expect(subject.admin_contacts[1].country_code).to eq(nil) - expect(subject.admin_contacts[1].phone).to eq(nil) - expect(subject.admin_contacts[1].fax).to eq(nil) - expect(subject.admin_contacts[1].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.admin_contacts[1].created_on).to eq(nil) - expect(subject.admin_contacts[1].updated_on).to eq(Time.parse("2014-11-01 20:38:55 +02:00")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Priit Haamer") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2010-12-09 16:08:33 +02:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.edicy.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.edicy.net") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tld.ee/ee/status_available_spec.rb deleted file mode 100644 index cf0585a21..000000000 --- a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_available_spec.rb +++ /dev/null @@ -1,98 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.ee/ee/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.ee.rb' - -describe Whois::Record::Parser::WhoisTldEe, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tld.ee/ee/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_expired_spec.rb b/spec/whois/record/parser/responses/whois.tld.ee/ee/status_expired_spec.rb deleted file mode 100644 index e6dc2955c..000000000 --- a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_expired_spec.rb +++ /dev/null @@ -1,159 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.ee/ee/status_expired.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.ee.rb' - -describe Whois::Record::Parser::WhoisTldEe, "status_expired.expected" do - - subject do - file = fixture("responses", "whois.tld.ee/ee/status_expired.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("eestiinternet.ee") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-07-04 07:52:56 +03:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-11-29 13:32:16 +02:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-11-29")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("Elisa Eesti AS") - expect(subject.registrar.organization).to eq("Elisa Eesti AS") - expect(subject.registrar.url).to eq("http://www.elisa.ee") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Eesti Interneti Sihtasutus") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2010-11-29 13:32:16 +02:00")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Jaana Järve") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq(nil) - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2015-10-30 08:31:21 +02:00")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Jaana Järve") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2015-10-30 08:31:21 +02:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("c.tld.ee") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("d.tld.ee") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("b.tld.ee") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tld.ee/ee/status_registered_spec.rb deleted file mode 100644 index 59a63e6c3..000000000 --- a/spec/whois/record/parser/responses/whois.tld.ee/ee/status_registered_spec.rb +++ /dev/null @@ -1,168 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.ee/ee/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.ee.rb' - -describe Whois::Record::Parser::WhoisTldEe, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tld.ee/ee/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("Estonia .ee Top Level Domain WHOIS server\nMore information at http://internet.ee") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("internet.ee") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-08-10 16:43:38 +03:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-11-29 13:32:16 +02:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-02-04")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.name).to eq("Elisa Eesti AS") - expect(subject.registrar.organization).to eq("Elisa Eesti AS") - expect(subject.registrar.url).to eq("http://www.elisa.ee") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Eesti Interneti Sihtasutus") - expect(subject.registrant_contacts[0].organization).to eq(nil) - expect(subject.registrant_contacts[0].address).to eq(nil) - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(Time.parse("2010-11-29 13:32:16 +02:00")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Jaana Järve") - expect(subject.admin_contacts[0].organization).to eq(nil) - expect(subject.admin_contacts[0].address).to eq(nil) - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2015-10-30 08:31:21 +02:00")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Jaana Järve") - expect(subject.technical_contacts[0].organization).to eq(nil) - expect(subject.technical_contacts[0].address).to eq(nil) - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq(nil) - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("Not Disclosed - Visit www.internet.ee for webbased WHOIS") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2015-10-30 08:31:21 +02:00")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("c.tld.ee") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("d.tld.ee") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("b.tld.ee") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("e.tld.ee") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.sy/sy/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tld.sy/sy/status_available_spec.rb deleted file mode 100644 index cdf65fce3..000000000 --- a/spec/whois/record/parser/responses/whois.tld.sy/sy/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.sy/sy/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.sy.rb' - -describe Whois::Record::Parser::WhoisTldSy, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tld.sy/sy/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.sy") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tld.sy/sy/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tld.sy/sy/status_registered_spec.rb deleted file mode 100644 index 8eb27acdc..000000000 --- a/spec/whois/record/parser/responses/whois.tld.sy/sy/status_registered_spec.rb +++ /dev/null @@ -1,85 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tld.sy/sy/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tld.sy.rb' - -describe Whois::Record::Parser::WhoisTldSy, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tld.sy/sy/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("tld.sy") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("7-sy") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2010-12-02 16:01:27 UTC")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2017-12-01 22:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("nans") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns4.tld.sy") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns3.tld.sy") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tonic.to/to/response_incomplete_spec.rb b/spec/whois/record/parser/responses/whois.tonic.to/to/response_incomplete_spec.rb deleted file mode 100644 index 015ece5c2..000000000 --- a/spec/whois/record/parser/responses/whois.tonic.to/to/response_incomplete_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tonic.to/to/response_incomplete.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tonic.to.rb' - -describe Whois::Record::Parser::WhoisTonicTo, "response_incomplete.expected" do - - subject do - file = fixture("responses", "whois.tonic.to/to/response_incomplete.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:incomplete) - end - end - describe "#response_incomplete?" do - it do - expect(subject.response_incomplete?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tonic.to/to/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tonic.to/to/status_available_spec.rb deleted file mode 100644 index aeffaca64..000000000 --- a/spec/whois/record/parser/responses/whois.tonic.to/to/status_available_spec.rb +++ /dev/null @@ -1,99 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tonic.to/to/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tonic.to.rb' - -describe Whois::Record::Parser::WhoisTonicTo, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tonic.to/to/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect { subject.domain }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#response_incomplete?" do - it do - expect(subject.response_incomplete?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tonic.to/to/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tonic.to/to/status_registered_spec.rb deleted file mode 100644 index ff459d9e5..000000000 --- a/spec/whois/record/parser/responses/whois.tonic.to/to/status_registered_spec.rb +++ /dev/null @@ -1,99 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tonic.to/to/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tonic.to.rb' - -describe Whois::Record::Parser::WhoisTonicTo, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tonic.to/to/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect { subject.disclaimer }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain" do - it do - expect { subject.domain }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect { subject.registrant_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#admin_contacts" do - it do - expect { subject.admin_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#technical_contacts" do - it do - expect { subject.technical_contacts }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect { subject.nameservers }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#response_incomplete?" do - it do - expect(subject.response_incomplete?).to eq(false) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tucows.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tucows.com/status_available_spec.rb deleted file mode 100644 index 73fe04d70..000000000 --- a/spec/whois/record/parser/responses/whois.tucows.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tucows.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tucows.com.rb' - -describe Whois::Record::Parser::WhoisTucowsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tucows.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tucows.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tucows.com/status_registered_spec.rb deleted file mode 100644 index 7f30bb4e5..000000000 --- a/spec/whois/record/parser/responses/whois.tucows.com/status_registered_spec.rb +++ /dev/null @@ -1,145 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tucows.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tucows.com.rb' - -describe Whois::Record::Parser::WhoisTucowsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tucows.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("tucows.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1995-09-07 04:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-08-07 23:52:35")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-06 04:00:00")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("69") - expect(subject.registrar.name).to eq("TUCOWS, INC.") - expect(subject.registrar.organization).to eq("TUCOWS, INC.") - expect(subject.registrar.url).to eq("http://tucowsdomains.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].name).to eq("DNS Administrator") - expect(subject.registrant_contacts[0].organization).to eq("Tucows.com Co") - expect(subject.registrant_contacts[0].address).to eq("96 Mowat Avenue") - expect(subject.registrant_contacts[0].city).to eq("Toronto") - expect(subject.registrant_contacts[0].zip).to eq("M6K3M1") - expect(subject.registrant_contacts[0].state).to eq("Ontario") - expect(subject.registrant_contacts[0].country_code).to eq("CA") - expect(subject.registrant_contacts[0].phone).to eq("+1.4165350123 ext: 0000") - expect(subject.registrant_contacts[0].fax).to eq("") - expect(subject.registrant_contacts[0].email).to eq("dnsadmin@tucows.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].name).to eq("DNS Administrator") - expect(subject.admin_contacts[0].organization).to eq("Tucows ( Delaware ) Inc.") - expect(subject.admin_contacts[0].address).to eq("96 Mowat Avenue") - expect(subject.admin_contacts[0].city).to eq("Toronto") - expect(subject.admin_contacts[0].zip).to eq("M6K3M1") - expect(subject.admin_contacts[0].state).to eq("Ontario") - expect(subject.admin_contacts[0].country_code).to eq("CA") - expect(subject.admin_contacts[0].phone).to eq("+1.4165350123 ext: 0000") - expect(subject.admin_contacts[0].fax).to eq("") - expect(subject.admin_contacts[0].email).to eq("dnsadmin@tucows.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].name).to eq("DNS Administrator") - expect(subject.technical_contacts[0].organization).to eq("Tucows ( Delaware ) Inc.") - expect(subject.technical_contacts[0].address).to eq("96 Mowat Avenue") - expect(subject.technical_contacts[0].city).to eq("Toronto") - expect(subject.technical_contacts[0].zip).to eq("M6K3M1") - expect(subject.technical_contacts[0].state).to eq("Ontario") - expect(subject.technical_contacts[0].country_code).to eq("CA") - expect(subject.technical_contacts[0].phone).to eq("+1.4165350123 ext: 0000") - expect(subject.technical_contacts[0].fax).to eq("") - expect(subject.technical_contacts[0].email).to eq("dnsadmin@tucows.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.tucows.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.tucows.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.tucows.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_available_spec.rb b/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_available_spec.rb deleted file mode 100644 index f29b00d54..000000000 --- a/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.twnic.net.tw/tw/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.twnic.net.tw.rb' - -describe Whois::Record::Parser::WhoisTwnicNetTw, "status_available.expected" do - - subject do - file = fixture("responses", "whois.twnic.net.tw/tw/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_registered_spec.rb deleted file mode 100644 index fd0eb53af..000000000 --- a/spec/whois/record/parser/responses/whois.twnic.net.tw/tw/status_registered_spec.rb +++ /dev/null @@ -1,70 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.twnic.net.tw/tw/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.twnic.net.tw.rb' - -describe Whois::Record::Parser::WhoisTwnicNetTw, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.twnic.net.tw/tw/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-08-29")) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2011-11-09")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/property_status_expired_spec.rb b/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/property_status_expired_spec.rb deleted file mode 100644 index f64a5bf97..000000000 --- a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/property_status_expired_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tznic.or.tz/tz/property_status_expired.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tznic.or.tz.rb' - -describe Whois::Record::Parser::WhoisTznicOrTz, "property_status_expired.expected" do - - subject do - file = fixture("responses", "whois.tznic.or.tz/tz/property_status_expired.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:expired) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_available_spec.rb b/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_available_spec.rb deleted file mode 100644 index ce96230cb..000000000 --- a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tznic.or.tz/tz/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tznic.or.tz.rb' - -describe Whois::Record::Parser::WhoisTznicOrTz, "status_available.expected" do - - subject do - file = fixture("responses", "whois.tznic.or.tz/tz/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_registered_spec.rb deleted file mode 100644 index 7a8f9c555..000000000 --- a/spec/whois/record/parser/responses/whois.tznic.or.tz/tz/status_registered_spec.rb +++ /dev/null @@ -1,149 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.tznic.or.tz/tz/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.tznic.or.tz.rb' - -describe Whois::Record::Parser::WhoisTznicOrTz, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.tznic.or.tz/tz/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("dailynews.co.tz") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2009-07-27 11:01:10")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2010-08-30 15:47:56")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2012-07-27")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("REG-TZNIC") - expect(subject.registrar.name).to eq("REG-TZNIC") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("CM7-TZNIC") - expect(subject.registrant_contacts[0].name).to eq("Collins Mtita") - expect(subject.registrant_contacts[0].organization).to eq("TSN") - expect(subject.registrant_contacts[0].address).to eq("Dar_es_salaam\nDar_es_salaam\nP.O.BOX 9033\nTZ") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq(nil) - expect(subject.registrant_contacts[0].fax).to eq(nil) - expect(subject.registrant_contacts[0].email).to eq("mcollins@dailynews.co.tz") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2010-08-30 15:46:35")) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("CM7-TZNIC") - expect(subject.admin_contacts[0].name).to eq("Collins Mtita") - expect(subject.admin_contacts[0].organization).to eq("TSN") - expect(subject.admin_contacts[0].address).to eq("Dar_es_salaam\nDar_es_salaam\nP.O.BOX 9033\nTZ") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq(nil) - expect(subject.admin_contacts[0].fax).to eq(nil) - expect(subject.admin_contacts[0].email).to eq("mcollins@dailynews.co.tz") - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2010-08-30 15:46:35")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("JN1-TZNIC") - expect(subject.technical_contacts[0].name).to eq("Jacob Noel") - expect(subject.technical_contacts[0].organization).to eq("Twiga Hosting") - expect(subject.technical_contacts[0].address).to eq("Dar es Salaam\nDar es Salaam\nP.O.Box\nTZ") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+255.755763951") - expect(subject.technical_contacts[0].fax).to eq(nil) - expect(subject.technical_contacts[0].email).to eq("jacobn@twigaonline.com") - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2009-08-24 06:21:51")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.twigaservers.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.twigaservers.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienthold_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienthold_spec.rb deleted file mode 100644 index a79ae4348..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienthold_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienthold.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_clienthold.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_clienthold.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited_spec.rb deleted file mode 100644 index 7b48669d1..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_clienttransferprohibited.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_clienttransferprohibited.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_clienttransferprohibited.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_graceperiod_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_graceperiod_spec.rb deleted file mode 100644 index b0c740a10..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_graceperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_graceperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_graceperiod.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_graceperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_ok_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_ok_spec.rb deleted file mode 100644 index d35c53695..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_ok_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_ok.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_ok.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_ok.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_pendingdelete_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_pendingdelete_spec.rb deleted file mode 100644 index 264ae4855..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_pendingdelete_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_pendingdelete.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_pendingdelete.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_pendingdelete.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_redemptionperiod_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_redemptionperiod_spec.rb deleted file mode 100644 index 445783af3..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/property_status_redemptionperiod_spec.rb +++ /dev/null @@ -1,39 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/property_status_redemptionperiod.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_status_redemptionperiod.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/property_status_redemptionperiod.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:redemption) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_available_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_available_spec.rb deleted file mode 100644 index e1efe6b5c..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "status_available.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_registered_spec.rb deleted file mode 100644 index 117f723d7..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uaepp/status_registered_spec.rb +++ /dev/null @@ -1,152 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uaepp/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uaepp/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.com.ua") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-12-04 00:00:00 +02:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-04-15 20:00:10 +03:00")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2013-12-04 00:00:00 +02:00")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.registrant_contacts[0].id).to eq("com-gi8-1") - expect(subject.registrant_contacts[0].name).to eq("Google Inc.") - expect(subject.registrant_contacts[0].organization).to eq("Google Inc.") - expect(subject.registrant_contacts[0].address).to eq("1600 Amphitheatre Parkway Mountain View CA 94043 US") - expect(subject.registrant_contacts[0].city).to eq(nil) - expect(subject.registrant_contacts[0].zip).to eq(nil) - expect(subject.registrant_contacts[0].state).to eq(nil) - expect(subject.registrant_contacts[0].country).to eq("UA") - expect(subject.registrant_contacts[0].country_code).to eq(nil) - expect(subject.registrant_contacts[0].phone).to eq("+16503300100") - expect(subject.registrant_contacts[0].fax).to eq("+16506188571") - expect(subject.registrant_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.registrant_contacts[0].created_on).to eq(Time.parse("2013-03-31 19:13:45 +03:00")) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("com-gi8-1") - expect(subject.admin_contacts[0].name).to eq("Google Inc.") - expect(subject.admin_contacts[0].organization).to eq("Google Inc.") - expect(subject.admin_contacts[0].address).to eq("1600 Amphitheatre Parkway Mountain View CA 94043 US") - expect(subject.admin_contacts[0].city).to eq(nil) - expect(subject.admin_contacts[0].zip).to eq(nil) - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq("UA") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+16503300100") - expect(subject.admin_contacts[0].fax).to eq("+16506188571") - expect(subject.admin_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.admin_contacts[0].created_on).to eq(Time.parse("2013-03-31 19:13:45 +03:00")) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("com-gi8-1") - expect(subject.technical_contacts[0].name).to eq("Google Inc.") - expect(subject.technical_contacts[0].organization).to eq("Google Inc.") - expect(subject.technical_contacts[0].address).to eq("1600 Amphitheatre Parkway Mountain View CA 94043 US") - expect(subject.technical_contacts[0].city).to eq(nil) - expect(subject.technical_contacts[0].zip).to eq(nil) - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq("UA") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+16503300100") - expect(subject.technical_contacts[0].fax).to eq("+16506188571") - expect(subject.technical_contacts[0].email).to eq("dns-admin@google.com") - expect(subject.technical_contacts[0].created_on).to eq(Time.parse("2013-03-31 19:13:45 +03:00")) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns1.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns4.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns2.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uanic/property_contacts_multiple_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uanic/property_contacts_multiple_spec.rb deleted file mode 100644 index 50439a221..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uanic/property_contacts_multiple_spec.rb +++ /dev/null @@ -1,62 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uanic/property_contacts_multiple.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "property_contacts_multiple.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uanic/property_contacts_multiple.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(2) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("KG780-UANIC") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("Kyivstar GSM") - expect(subject.technical_contacts[0].address).to eq("Chervonozoryanyi Av., 51") - expect(subject.technical_contacts[0].city).to eq("KYIV") - expect(subject.technical_contacts[0].zip).to eq("03110") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq("UA") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+380 (67) 2372213") - expect(subject.technical_contacts[0].fax).to eq("+380 (44) 2473954") - expect(subject.technical_contacts[0].email).to eq("dnsmaster@kyivstar.net") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2008-09-02 12:52:47")) - expect(subject.technical_contacts[1]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[1].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[1].id).to eq("EIC-UANIC") - expect(subject.technical_contacts[1].name).to eq(nil) - expect(subject.technical_contacts[1].organization).to eq("\"ElVisti Information Center\", LLC\nООО \"Информационный центр \"Электронные вести\"\nТОВ \"ІЦ ЕЛВІСТІ\"") - expect(subject.technical_contacts[1].address).to eq("а/с, 151") - expect(subject.technical_contacts[1].city).to eq("КИЇВ") - expect(subject.technical_contacts[1].zip).to eq("03037") - expect(subject.technical_contacts[1].state).to eq(nil) - expect(subject.technical_contacts[1].country).to eq("UA") - expect(subject.technical_contacts[1].country_code).to eq(nil) - expect(subject.technical_contacts[1].phone).to eq("+38044 239-90-91") - expect(subject.technical_contacts[1].fax).to eq(nil) - expect(subject.technical_contacts[1].email).to eq("hostmaster@visti.net") - expect(subject.technical_contacts[1].created_on).to eq(nil) - expect(subject.technical_contacts[1].updated_on).to eq(Time.parse("2011-12-15 11:33:14")) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.ua/ua/uanic/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.ua/ua/uanic/status_registered_spec.rb deleted file mode 100644 index e3c076e29..000000000 --- a/spec/whois/record/parser/responses/whois.ua/ua/uanic/status_registered_spec.rb +++ /dev/null @@ -1,132 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.ua/ua/uanic/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.ua.rb' - -describe Whois::Record::Parser::WhoisUa, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.ua/ua/uanic/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("kyivstar.ua") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-09-03 00:00:00")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2012-07-30 16:42:30")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-03 12:18:52")) - end - end - describe "#registrar" do - it do - expect { subject.registrar }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(0) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("KG780-UANIC") - expect(subject.admin_contacts[0].name).to eq(nil) - expect(subject.admin_contacts[0].organization).to eq("Kyivstar GSM") - expect(subject.admin_contacts[0].address).to eq("Chervonozoryanyi Av., 51") - expect(subject.admin_contacts[0].city).to eq("KYIV") - expect(subject.admin_contacts[0].zip).to eq("03110") - expect(subject.admin_contacts[0].state).to eq(nil) - expect(subject.admin_contacts[0].country).to eq("UA") - expect(subject.admin_contacts[0].country_code).to eq(nil) - expect(subject.admin_contacts[0].phone).to eq("+380 (67) 2372213") - expect(subject.admin_contacts[0].fax).to eq("+380 (44) 2473954") - expect(subject.admin_contacts[0].email).to eq("dnsmaster@kyivstar.net") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(Time.parse("2008-09-02 12:52:47")) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(2) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("KG780-UANIC") - expect(subject.technical_contacts[0].name).to eq(nil) - expect(subject.technical_contacts[0].organization).to eq("Kyivstar GSM") - expect(subject.technical_contacts[0].address).to eq("Chervonozoryanyi Av., 51") - expect(subject.technical_contacts[0].city).to eq("KYIV") - expect(subject.technical_contacts[0].zip).to eq("03110") - expect(subject.technical_contacts[0].state).to eq(nil) - expect(subject.technical_contacts[0].country).to eq("UA") - expect(subject.technical_contacts[0].country_code).to eq(nil) - expect(subject.technical_contacts[0].phone).to eq("+380 (67) 2372213") - expect(subject.technical_contacts[0].fax).to eq("+380 (44) 2473954") - expect(subject.technical_contacts[0].email).to eq("dnsmaster@kyivstar.net") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(Time.parse("2008-09-02 12:52:47")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns2.elvisti.kiev.ua") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns.kyivstar.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.udag.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.udag.net/status_available_spec.rb deleted file mode 100644 index 05faa9b57..000000000 --- a/spec/whois/record/parser/responses/whois.udag.net/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.udag.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.udag.net.rb' - -describe Whois::Record::Parser::WhoisUdagNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.udag.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.udag.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.udag.net/status_registered_spec.rb deleted file mode 100644 index f014fa4e9..000000000 --- a/spec/whois/record/parser/responses/whois.udag.net/status_registered_spec.rb +++ /dev/null @@ -1,154 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.udag.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.udag.net.rb' - -describe Whois::Record::Parser::WhoisUdagNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.udag.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("udag.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("59973274_DOMAIN_NET-VRSN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2001-02-11T20:15:57Z")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-02-12T08:40:19Z")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-02-11T20:15:57Z")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("1408") - expect(subject.registrar.name).to eq("united domains AG") - expect(subject.registrar.organization).to eq("united domains AG") - expect(subject.registrar.url).to eq("http://www.united-domains.de/") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Host Master") - expect(subject.registrant_contacts[0].organization).to eq("united-domains AG") - expect(subject.registrant_contacts[0].address).to eq("Gautinger Str. 10") - expect(subject.registrant_contacts[0].city).to eq("Starnberg") - expect(subject.registrant_contacts[0].zip).to eq("82319") - expect(subject.registrant_contacts[0].state).to eq("Bayern") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("DE") - expect(subject.registrant_contacts[0].phone).to eq("+49.8151368670") - expect(subject.registrant_contacts[0].fax).to eq("+49.81513686777") - expect(subject.registrant_contacts[0].email).to eq("hostmaster@united-domains.de") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Hostmaster Hostmaster") - expect(subject.admin_contacts[0].organization).to eq("united-domains AG") - expect(subject.admin_contacts[0].address).to eq("Gautinger Strasse 10") - expect(subject.admin_contacts[0].city).to eq("Starnberg") - expect(subject.admin_contacts[0].zip).to eq("82319") - expect(subject.admin_contacts[0].state).to eq("DE") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("DE") - expect(subject.admin_contacts[0].phone).to eq("+49.8151368670") - expect(subject.admin_contacts[0].fax).to eq("+49.81513686777") - expect(subject.admin_contacts[0].email).to eq("hostmaster@united-domains.de") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Host Master") - expect(subject.technical_contacts[0].organization).to eq("united-domains AG") - expect(subject.technical_contacts[0].address).to eq("Gautinger Str. 10") - expect(subject.technical_contacts[0].city).to eq("Starnberg") - expect(subject.technical_contacts[0].zip).to eq("82319") - expect(subject.technical_contacts[0].state).to eq("Bayern") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("DE") - expect(subject.technical_contacts[0].phone).to eq("+49.8151368670") - expect(subject.technical_contacts[0].fax).to eq("+49.81513686777") - expect(subject.technical_contacts[0].email).to eq("hostmaster@united-domains.de") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.udagdns.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.udagdns.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.udagdns.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_available_spec.rb b/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_available_spec.rb deleted file mode 100644 index fb0b5a5d4..000000000 --- a/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.uniregistry.net/tattoo/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.uniregistry.net.rb' - -describe Whois::Record::Parser::WhoisUniregistryNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.uniregistry.net/tattoo/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_registered_spec.rb deleted file mode 100644 index 569e164ec..000000000 --- a/spec/whois/record/parser/responses/whois.uniregistry.net/tattoo/status_registered_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.uniregistry.net/tattoo/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.uniregistry.net.rb' - -describe Whois::Record::Parser::WhoisUniregistryNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.uniregistry.net/tattoo/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("nic.tattoo") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("DO_4810ec9890fdf872f2e23b58df485dc4-ISC") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2013-09-16 14:21:26 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-11-09 02:51:24 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2023-09-16 14:21:26 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("9999") - expect(subject.registrar.name).to eq("Uniregistry, Corp.") - expect(subject.registrar.organization).to eq("Uniregistry, Corp.") - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("uniregistry") - expect(subject.registrant_contacts[0].name).to eq("Uniregistry Registry Internal Resources") - expect(subject.registrant_contacts[0].organization).to eq("Uniregistry, Corp") - expect(subject.registrant_contacts[0].address).to eq("PO Box 1361") - expect(subject.registrant_contacts[0].city).to eq("Grand Cayman") - expect(subject.registrant_contacts[0].zip).to eq("KY1-1108") - expect(subject.registrant_contacts[0].state).to eq("George Town") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("KY") - expect(subject.registrant_contacts[0].phone).to eq("+1.3457496263") - expect(subject.registrant_contacts[0].fax).to eq("+1.3457496263") - expect(subject.registrant_contacts[0].email).to eq("info+whois@uniregistry.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("tattoo-admin") - expect(subject.admin_contacts[0].name).to eq("Uniregistry admin contact") - expect(subject.admin_contacts[0].organization).to eq("Uniregistry, Corp") - expect(subject.admin_contacts[0].address).to eq("PO Box 1361") - expect(subject.admin_contacts[0].city).to eq("Grand Cayman") - expect(subject.admin_contacts[0].zip).to eq("KY1-1108") - expect(subject.admin_contacts[0].state).to eq("George Town") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("KY") - expect(subject.admin_contacts[0].phone).to eq("+1.3457496263") - expect(subject.admin_contacts[0].fax).to eq("+1.3457496263") - expect(subject.admin_contacts[0].email).to eq("admin@nic.tattoo") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("tattoo-tech") - expect(subject.technical_contacts[0].name).to eq("Uniregistry tech contact") - expect(subject.technical_contacts[0].organization).to eq("Uniregistry, Corp") - expect(subject.technical_contacts[0].address).to eq("PO Box 1361") - expect(subject.technical_contacts[0].city).to eq("Grand Cayman") - expect(subject.technical_contacts[0].zip).to eq("KY1-1108") - expect(subject.technical_contacts[0].state).to eq("George Town") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("KY") - expect(subject.technical_contacts[0].phone).to eq("+1.3457496263") - expect(subject.technical_contacts[0].fax).to eq("+1.3457496263") - expect(subject.technical_contacts[0].email).to eq("tech@nic.tattoo") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("a.ns.uniregistry.net") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("tld.isc-sns.info") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("tld.isc-sns.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("tld.isc-sns.net") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_available_spec.rb b/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_available_spec.rb deleted file mode 100644 index abd8dc6f4..000000000 --- a/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.usp.ac.fj/fj/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.usp.ac.fj.rb' - -describe Whois::Record::Parser::WhoisUspAcFj, "status_available.expected" do - - subject do - file = fixture("responses", "whois.usp.ac.fj/fj/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_registered_spec.rb deleted file mode 100644 index 2c095f532..000000000 --- a/spec/whois/record/parser/responses/whois.usp.ac.fj/fj/status_registered_spec.rb +++ /dev/null @@ -1,69 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.usp.ac.fj/fj/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.usp.ac.fj.rb' - -describe Whois::Record::Parser::WhoisUspAcFj, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.usp.ac.fj/fj/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect { subject.created_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#updated_on" do - it do - expect { subject.updated_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-04-28")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq("216.239.32.10") - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq("216.239.34.10") - expect(subject.nameservers[1].ipv6).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver_spec.rb deleted file mode 100644 index acfaba3f6..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/com/property_nameserver_no_nameserver.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "property_nameserver_no_nameserver.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/com/property_nameserver_no_nameserver.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries_spec.rb deleted file mode 100644 index 26eb6f3f6..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries_spec.rb +++ /dev/null @@ -1,33 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/com/property_registrar_with_multiple_entries.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "property_registrar_with_multiple_entries.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/com/property_registrar_with_multiple_entries.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MARKMONITOR INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_available_spec.rb deleted file mode 100644 index 2402d187d..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(nil) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_registered_spec.rb deleted file mode 100644 index 403851cb6..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/com/status_registered_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1997-09-15")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-07-20")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2020-09-14")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MARKMONITOR INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(["whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.tucows.com", "whois.domaincontext.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.rrpproxy.net", "whois.onlinenic.com", "whois.domain.com", "whois.PublicDomainRegistry.com", "whois.PublicDomainRegistry.com", "whois.webnic.cc", "whois.PublicDomainRegistry.com", "whois.corehub.net", "whois.melbourneit.com", "whois.godaddy.com", "whois.godaddy.com", "whois.enom.com", "whois.omnis.com", "Whois.bigrock.com", "whois.PublicDomainRegistry.com", "whois.yoursrs.com", "whois.yoursrs.com", "whois.wildwestdomains.com", "whois.PublicDomainRegistry.com", "whois.crazydomains.com", "whois.yoursrs.com", "whois.enom.com", "whois.name.com", "whois.gandi.net", "whois.hostingservicesinc.net", "whois.tucows.com", "whois.godaddy.com", "whois.godaddy.com", "whois.godaddy.com", "whois.namesecure.com", "whois.paycenter.com.cn", "whois.enom.com", "whois.instra.net", "whois.planetdomain.com", "whois.enom.com", "whois.enom.com", "whois.tucows.com", "whois.markmonitor.com"]) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq("http://www.markmonitor.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_available_spec.rb deleted file mode 100644 index b91c4398e..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_available_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq(nil) - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_registered_spec.rb deleted file mode 100644 index c8a8cc3bb..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/net/status_registered_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#disclaimer" do - it do - expect(subject.disclaimer).to eq("TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time.") - end - end - describe "#domain" do - it do - expect(subject.domain).to eq("google.net") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("1999-03-15")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-02-11")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2015-03-15")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MARKMONITOR INC.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq("http://www.markmonitor.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[0].ipv4).to eq(nil) - expect(subject.nameservers[0].ipv6).to eq(nil) - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[1].ipv4).to eq(nil) - expect(subject.nameservers[1].ipv6).to eq(nil) - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[2].ipv4).to eq(nil) - expect(subject.nameservers[2].ipv6).to eq(nil) - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - expect(subject.nameservers[3].ipv4).to eq(nil) - expect(subject.nameservers[3].ipv6).to eq(nil) - end - end - describe "#referral_whois" do - it do - expect(subject.referral_whois).to eq("whois.markmonitor.com") - end - end - describe "#referral_url" do - it do - expect(subject.referral_url).to eq("http://www.markmonitor.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.verisign-grs.com/response_unavailable_spec.rb b/spec/whois/record/parser/responses/whois.verisign-grs.com/response_unavailable_spec.rb deleted file mode 100644 index e996a15e4..000000000 --- a/spec/whois/record/parser/responses/whois.verisign-grs.com/response_unavailable_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.verisign-grs.com/response_unavailable.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.verisign-grs.com.rb' - -describe Whois::Record::Parser::WhoisVerisignGrsCom, "response_unavailable.expected" do - - subject do - file = fixture("responses", "whois.verisign-grs.com/response_unavailable.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#response_unavailable?" do - it do - expect(subject.response_unavailable?).to eq(true) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.website.ws/ws/status_available_spec.rb b/spec/whois/record/parser/responses/whois.website.ws/ws/status_available_spec.rb deleted file mode 100644 index 109f77987..000000000 --- a/spec/whois/record/parser/responses/whois.website.ws/ws/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.website.ws/ws/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.website.ws.rb' - -describe Whois::Record::Parser::WhoisWebsiteWs, "status_available.expected" do - - subject do - file = fixture("responses", "whois.website.ws/ws/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.website.ws/ws/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.website.ws/ws/status_registered_spec.rb deleted file mode 100644 index 6ac08a908..000000000 --- a/spec/whois/record/parser/responses/whois.website.ws/ws/status_registered_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.website.ws/ws/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.website.ws.rb' - -describe Whois::Record::Parser::WhoisWebsiteWs, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.website.ws/ws/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-03-03")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2008-12-08")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2010-03-03")) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_available_spec.rb deleted file mode 100644 index 62a00fec1..000000000 --- a/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.wildwestdomains.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.wildwestdomains.com.rb' - -describe Whois::Record::Parser::WhoisWildwestdomainsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.wildwestdomains.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_registered_spec.rb deleted file mode 100644 index 396842618..000000000 --- a/spec/whois/record/parser/responses/whois.wildwestdomains.com/status_registered_spec.rb +++ /dev/null @@ -1,154 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.wildwestdomains.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.wildwestdomains.com.rb' - -describe Whois::Record::Parser::WhoisWildwestdomainsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.wildwestdomains.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("wildwestdomains.com") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("33386184_DOMAIN_COM-VRSN") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-08-22 23:29:11 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2011-11-01 21:31:47 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2021-11-01 11:59:59 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq("440") - expect(subject.registrar.name).to eq("Wild West Domains, LLC") - expect(subject.registrar.organization).to eq("Wild West Domains, LLC") - expect(subject.registrar.url).to eq("http://www.wildwestdomains.com") - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq(nil) - expect(subject.registrant_contacts[0].name).to eq("Registration Private") - expect(subject.registrant_contacts[0].organization).to eq("Domains By Proxy, LLC") - expect(subject.registrant_contacts[0].address).to eq("DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309") - expect(subject.registrant_contacts[0].city).to eq("Scottsdale") - expect(subject.registrant_contacts[0].zip).to eq("85260") - expect(subject.registrant_contacts[0].state).to eq("Arizona") - expect(subject.registrant_contacts[0].country).to eq(nil) - expect(subject.registrant_contacts[0].country_code).to eq("United States") - expect(subject.registrant_contacts[0].phone).to eq("+1.4806242599") - expect(subject.registrant_contacts[0].fax).to eq("+1.4806242598") - expect(subject.registrant_contacts[0].email).to eq("WILDWESTDOMAINS.COM@domainsbyproxy.com") - expect(subject.registrant_contacts[0].created_on).to eq(nil) - expect(subject.registrant_contacts[0].updated_on).to eq(nil) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq(nil) - expect(subject.admin_contacts[0].name).to eq("Registration Private") - expect(subject.admin_contacts[0].organization).to eq("Domains By Proxy, LLC") - expect(subject.admin_contacts[0].address).to eq("DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309") - expect(subject.admin_contacts[0].city).to eq("Scottsdale") - expect(subject.admin_contacts[0].zip).to eq("85260") - expect(subject.admin_contacts[0].state).to eq("Arizona") - expect(subject.admin_contacts[0].country).to eq(nil) - expect(subject.admin_contacts[0].country_code).to eq("United States") - expect(subject.admin_contacts[0].phone).to eq("+1.4806242599") - expect(subject.admin_contacts[0].fax).to eq("+1.4806242598") - expect(subject.admin_contacts[0].email).to eq("WILDWESTDOMAINS.COM@domainsbyproxy.com") - expect(subject.admin_contacts[0].created_on).to eq(nil) - expect(subject.admin_contacts[0].updated_on).to eq(nil) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq(nil) - expect(subject.technical_contacts[0].name).to eq("Registration Private") - expect(subject.technical_contacts[0].organization).to eq("Domains By Proxy, LLC") - expect(subject.technical_contacts[0].address).to eq("DomainsByProxy.com, 14747 N Northsight Blvd Suite 111, PMB 309") - expect(subject.technical_contacts[0].city).to eq("Scottsdale") - expect(subject.technical_contacts[0].zip).to eq("85260") - expect(subject.technical_contacts[0].state).to eq("Arizona") - expect(subject.technical_contacts[0].country).to eq(nil) - expect(subject.technical_contacts[0].country_code).to eq("United States") - expect(subject.technical_contacts[0].phone).to eq("+1.4806242599") - expect(subject.technical_contacts[0].fax).to eq("+1.4806242598") - expect(subject.technical_contacts[0].email).to eq("WILDWESTDOMAINS.COM@domainsbyproxy.com") - expect(subject.technical_contacts[0].created_on).to eq(nil) - expect(subject.technical_contacts[0].updated_on).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("cns1.secureserver.net") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("cns2.secureserver.net") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("cns3.secureserver.net") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.yoursrs.com/status_available_spec.rb b/spec/whois/record/parser/responses/whois.yoursrs.com/status_available_spec.rb deleted file mode 100644 index 37f938f03..000000000 --- a/spec/whois/record/parser/responses/whois.yoursrs.com/status_available_spec.rb +++ /dev/null @@ -1,93 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.yoursrs.com/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.yoursrs.com.rb' - -describe Whois::Record::Parser::WhoisYoursrsCom, "status_available.expected" do - - subject do - file = fixture("responses", "whois.yoursrs.com/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq(nil) - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq([]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts).to eq([]) - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts).to eq([]) - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts).to eq([]) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_spec.rb deleted file mode 100644 index b5ca5b4d3..000000000 --- a/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_spec.rb +++ /dev/null @@ -1,143 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.yoursrs.com/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.yoursrs.com.rb' - -describe Whois::Record::Parser::WhoisYoursrsCom, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.yoursrs.com/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("yoursrs.com") - end - end - describe "#domain_id" do - it do - expect { subject.domain_id }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#status" do - it do - expect(subject.status).to eq(["OK"]) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2003-11-24 09:40:55")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2014-01-22 14:04:50")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-11-24 09:40:55")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("REALTIME REGISTER B.V.") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#registrant_contacts" do - it do - expect(subject.registrant_contacts).to be_a(Array) - expect(subject.registrant_contacts.size).to eq(1) - expect(subject.registrant_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.registrant_contacts[0].type).to eq(Whois::Record::Contact::TYPE_REGISTRANT) - expect(subject.registrant_contacts[0].id).to eq("realtimeregister") - expect(subject.registrant_contacts[0].name).to eq("Valentijn Borstlap") - expect(subject.registrant_contacts[0].organization).to eq("Realtime Register B.V.") - expect(subject.registrant_contacts[0].address).to eq("Ceintuurbaan 32a") - expect(subject.registrant_contacts[0].city).to eq("Zwolle") - expect(subject.registrant_contacts[0].zip).to eq("8024AA") - expect(subject.registrant_contacts[0].state).to eq("Overijssel") - expect(subject.registrant_contacts[0].country_code).to eq("NL") - expect(subject.registrant_contacts[0].phone).to eq("+31.384530752") - expect(subject.registrant_contacts[0].fax).to eq("+31.384540122") - expect(subject.registrant_contacts[0].email).to eq("support@realtimeregister.com") - end - end - describe "#admin_contacts" do - it do - expect(subject.admin_contacts).to be_a(Array) - expect(subject.admin_contacts.size).to eq(1) - expect(subject.admin_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.admin_contacts[0].type).to eq(Whois::Record::Contact::TYPE_ADMINISTRATIVE) - expect(subject.admin_contacts[0].id).to eq("realtimeregister") - expect(subject.admin_contacts[0].name).to eq("Valentijn Borstlap") - expect(subject.admin_contacts[0].organization).to eq("Realtime Register B.V.") - expect(subject.admin_contacts[0].address).to eq("Ceintuurbaan 32a") - expect(subject.admin_contacts[0].city).to eq("Zwolle") - expect(subject.admin_contacts[0].zip).to eq("8024AA") - expect(subject.admin_contacts[0].state).to eq("Overijssel") - expect(subject.admin_contacts[0].country_code).to eq("NL") - expect(subject.admin_contacts[0].phone).to eq("+31.384530752") - expect(subject.admin_contacts[0].fax).to eq("+31.384540122") - expect(subject.admin_contacts[0].email).to eq("support@realtimeregister.com") - end - end - describe "#technical_contacts" do - it do - expect(subject.technical_contacts).to be_a(Array) - expect(subject.technical_contacts.size).to eq(1) - expect(subject.technical_contacts[0]).to be_a(Whois::Record::Contact) - expect(subject.technical_contacts[0].type).to eq(Whois::Record::Contact::TYPE_TECHNICAL) - expect(subject.technical_contacts[0].id).to eq("realtimeregister") - expect(subject.technical_contacts[0].name).to eq("Valentijn Borstlap") - expect(subject.technical_contacts[0].organization).to eq("Realtime Register B.V.") - expect(subject.technical_contacts[0].address).to eq("Ceintuurbaan 32a") - expect(subject.technical_contacts[0].city).to eq("Zwolle") - expect(subject.technical_contacts[0].zip).to eq("8024AA") - expect(subject.technical_contacts[0].state).to eq("Overijssel") - expect(subject.technical_contacts[0].country_code).to eq("NL") - expect(subject.technical_contacts[0].phone).to eq("+31.384530752") - expect(subject.technical_contacts[0].fax).to eq("+31.384540122") - expect(subject.technical_contacts[0].email).to eq("support@realtimeregister.com") - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.yoursrs.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.yoursrs.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_with_no_last_updated_spec.rb b/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_with_no_last_updated_spec.rb deleted file mode 100644 index 830357d27..000000000 --- a/spec/whois/record/parser/responses/whois.yoursrs.com/status_registered_with_no_last_updated_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.yoursrs.com/status_registered_with_no_last_updated.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.yoursrs.com.rb' - -describe Whois::Record::Parser::WhoisYoursrsCom, "status_registered_with_no_last_updated.expected" do - - subject do - file = fixture("responses", "whois.yoursrs.com/status_registered_with_no_last_updated.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.za.net/za.net/status_available_spec.rb b/spec/whois/record/parser/responses/whois.za.net/za.net/status_available_spec.rb deleted file mode 100644 index ee023e8aa..000000000 --- a/spec/whois/record/parser/responses/whois.za.net/za.net/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.za.net/za.net/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.za.net.rb' - -describe Whois::Record::Parser::WhoisZaNet, "status_available.expected" do - - subject do - file = fixture("responses", "whois.za.net/za.net/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.za.net/za.net/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.za.net/za.net/status_registered_spec.rb deleted file mode 100644 index 675846d37..000000000 --- a/spec/whois/record/parser/responses/whois.za.net/za.net/status_registered_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.za.net/za.net/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.za.net.rb' - -describe Whois::Record::Parser::WhoisZaNet, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.za.net/za.net/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-03-29 22:03:53 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2002-03-29 22:03:53 UTC")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(2) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns3.zoneedit.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns5.zoneedit.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois.za.org/za.org/status_available_spec.rb b/spec/whois/record/parser/responses/whois.za.org/za.org/status_available_spec.rb deleted file mode 100644 index 0fc1613da..000000000 --- a/spec/whois/record/parser/responses/whois.za.org/za.org/status_available_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.za.org/za.org/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.za.org.rb' - -describe Whois::Record::Parser::WhoisZaOrg, "status_available.expected" do - - subject do - file = fixture("responses", "whois.za.org/za.org/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois.za.org/za.org/status_registered_spec.rb b/spec/whois/record/parser/responses/whois.za.org/za.org/status_registered_spec.rb deleted file mode 100644 index 321b8817f..000000000 --- a/spec/whois/record/parser/responses/whois.za.org/za.org/status_registered_spec.rb +++ /dev/null @@ -1,68 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois.za.org/za.org/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois.za.org.rb' - -describe Whois::Record::Parser::WhoisZaOrg, "status_registered.expected" do - - subject do - file = fixture("responses", "whois.za.org/za.org/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2000-11-05 14:03:48 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2005-08-15 12:15:10")) - end - end - describe "#expires_on" do - it do - expect { subject.expires_on }.to raise_error(Whois::AttributeNotSupported) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(3) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("blade.wcic.co.za") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("sabertooth.wcic.co.za") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns2.iafrica.com") - end - end -end diff --git a/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_available_spec.rb b/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_available_spec.rb deleted file mode 100644 index 5d96a0d3f..000000000 --- a/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_available_spec.rb +++ /dev/null @@ -1,75 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois1.nic.bi/bi/status_available.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois1.nic.bi.rb' - -describe Whois::Record::Parser::Whois1NicBi, "status_available.expected" do - - subject do - file = fixture("responses", "whois1.nic.bi/bi/status_available.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("u34jedzcq.bi") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq(nil) - end - end - describe "#status" do - it do - expect(subject.status).to eq(:available) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(true) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(false) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to eq(nil) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to eq(nil) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to eq(nil) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers).to eq([]) - end - end -end diff --git a/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_registered_spec.rb b/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_registered_spec.rb deleted file mode 100644 index ac12eb338..000000000 --- a/spec/whois/record/parser/responses/whois1.nic.bi/bi/status_registered_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# /spec/fixtures/responses/whois1.nic.bi/bi/status_registered.expected -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/whois1.nic.bi.rb' - -describe Whois::Record::Parser::Whois1NicBi, "status_registered.expected" do - - subject do - file = fixture("responses", "whois1.nic.bi/bi/status_registered.txt") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - - describe "#domain" do - it do - expect(subject.domain).to eq("google.bi") - end - end - describe "#domain_id" do - it do - expect(subject.domain_id).to eq("2633NIC-BI") - end - end - describe "#status" do - it do - expect(subject.status).to eq(:registered) - end - end - describe "#available?" do - it do - expect(subject.available?).to eq(false) - end - end - describe "#registered?" do - it do - expect(subject.registered?).to eq(true) - end - end - describe "#created_on" do - it do - expect(subject.created_on).to be_a(Time) - expect(subject.created_on).to eq(Time.parse("2002-09-29 22:00:00 UTC")) - end - end - describe "#updated_on" do - it do - expect(subject.updated_on).to be_a(Time) - expect(subject.updated_on).to eq(Time.parse("2013-12-05 07:16:04 UTC")) - end - end - describe "#expires_on" do - it do - expect(subject.expires_on).to be_a(Time) - expect(subject.expires_on).to eq(Time.parse("2014-09-29 22:00:00 UTC")) - end - end - describe "#registrar" do - it do - expect(subject.registrar).to be_a(Whois::Record::Registrar) - expect(subject.registrar.id).to eq(nil) - expect(subject.registrar.name).to eq("MarkMonito") - expect(subject.registrar.organization).to eq(nil) - expect(subject.registrar.url).to eq(nil) - end - end - describe "#nameservers" do - it do - expect(subject.nameservers).to be_a(Array) - expect(subject.nameservers.size).to eq(4) - expect(subject.nameservers[0]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[0].name).to eq("ns1.google.com") - expect(subject.nameservers[1]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[1].name).to eq("ns2.google.com") - expect(subject.nameservers[2]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[2].name).to eq("ns3.google.com") - expect(subject.nameservers[3]).to be_a(Whois::Record::Nameserver) - expect(subject.nameservers[3].name).to eq("ns4.google.com") - end - end -end diff --git a/spec/whois/record/parser_spec.rb b/spec/whois/record/parser_spec.rb deleted file mode 100644 index f9fa5a454..000000000 --- a/spec/whois/record/parser_spec.rb +++ /dev/null @@ -1,438 +0,0 @@ -require 'spec_helper' - -describe Whois::Record::Parser do - - subject { described_class.new(record) } - - let(:record) { Whois::Record.new(nil, []) } - - - describe ".parser_for" do - it "returns the blank parser if the parser doesn't exist" do - expect(described_class.parser_for(Whois::Record::Part.new(host: "whois.missing.test")).class.name).to eq("Whois::Record::Parser::Blank") - expect(described_class.parser_for(Whois::Record::Part.new(host: "216.157.192.3")).class.name).to eq("Whois::Record::Parser::Blank") - end - end - - describe ".parser_klass" do - it "returns the parser hostname converted into a class" do - expect(described_class.parser_klass("whois.verisign-grs.com").name).to eq("Whois::Record::Parser::WhoisVerisignGrsCom") - end - - it "recognizes and lazy-loads classes" do - expect(described_class.parser_klass("whois.nic.it").name).to eq("Whois::Record::Parser::WhoisNicIt") - end - - it "recognizes preloaded classes" do - described_class.class_eval <<-RUBY - class PreloadedParserTest - end - RUBY - expect(described_class.parser_klass("preloaded.parser.test").name).to eq("Whois::Record::Parser::PreloadedParserTest") - end - - it "raises LoadError if the parser doesn't exist" do - expect { described_class.parser_klass("whois.missing.test") }.to raise_error(LoadError) - end - end - - describe ".host_to_parser" do - it "converts hostnames to classes" do - expect(described_class.host_to_parser("whois.it")).to eq("WhoisIt") - expect(described_class.host_to_parser("whois.nic.it")).to eq("WhoisNicIt") - expect(described_class.host_to_parser("whois.domain-registry.nl")).to eq("WhoisDomainRegistryNl") - end - - it "converts dashes to upcase" do - expect(described_class.host_to_parser("whois.domain-registry.nl")).to eq("WhoisDomainRegistryNl") - end - - it "prefix IPs" do - expect(described_class.host_to_parser("216.157.192.3")).to eq("Host2161571923") - end - - it "downcases hostnames" do - expect(described_class.host_to_parser("whois.PublicDomainRegistry.com")).to eq("WhoisPublicdomainregistryCom") - end - end - - - describe "#initialize" do - it "requires an record" do - expect { described_class.new }.to raise_error(ArgumentError) - expect { described_class.new(record) }.to_not raise_error - end - - it "sets record from argument" do - expect(described_class.new(record).record).to be(record) - end - end - - describe "#respond_to?" do - before(:all) do - @_properties = Whois::Record::Parser::PROPERTIES.dup - @_methods = Whois::Record::Parser::METHODS.dup - end - - after(:all) do - Whois::Record::Parser::PROPERTIES.clear - Whois::Record::Parser::PROPERTIES.push(*@_properties) - Whois::Record::Parser::METHODS.clear - Whois::Record::Parser::METHODS.push(*@_methods) - end - - it "returns true if method is in self" do - expect(subject.respond_to?(:to_s)).to be_truthy - end - - it "returns true if method is in hierarchy" do - expect(subject.respond_to?(:nil?)).to be_truthy - end - - it "returns true if method is a property" do - Whois::Record::Parser::PROPERTIES << :test_property - expect(subject.respond_to?(:test_property)).to be_truthy - end - - it "returns false if method is a property?" do - Whois::Record::Parser::PROPERTIES << :test_property - expect(subject.respond_to?(:test_property?)).to be_falsey - end - - it "returns true if method is a method" do - Whois::Record::Parser::METHODS << :test_method - expect(subject.respond_to?(:test_method)).to be_truthy - end - - it "returns false if method is a method" do - Whois::Record::Parser::METHODS << :test_method - expect(subject.respond_to?(:test_method?)).to be_falsey - end - end - - - describe "property lookup" do - require 'whois/record/parser/base' - - class Whois::Record::Parser::ParserSupportedTest < Whois::Record::Parser::Base - property_supported :status do - :status_supported - end - property_supported :created_on do - :created_on_supported - end - property_supported :updated_on do - :updated_on_supported - end - property_supported :expires_on do - :expires_on_supported - end - end - - class Whois::Record::Parser::ParserUndefinedTest < Whois::Record::Parser::Base - property_supported :status do - :status_undefined - end - # not defined :created_on - # not defined :updated_on - # not defined :expires_on - end - - class Whois::Record::Parser::ParserUnsupportedTest < Whois::Record::Parser::Base - property_not_supported :status - property_not_supported :created_on - property_not_supported :updated_on - property_not_supported :expires_on - end - - it "delegates to first parser when all supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.supported.test"), Whois::Record::Part.new(body: "", host: "parser.undefined.test")]) - expect(described_class.new(record).status).to eq(:status_undefined) - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.undefined.test"), Whois::Record::Part.new(body: "", host: "parser.supported.test")]) - expect(described_class.new(record).status).to eq(:status_supported) - end - - it "delegates to first parser when one supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.supported.test"), Whois::Record::Part.new(body: "", host: "parser.undefined.test")]) - expect(described_class.new(record).created_on).to eq(:created_on_supported) - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.undefined.test"), Whois::Record::Part.new(body: "", host: "parser.supported.test")]) - expect(described_class.new(record).created_on).to eq(:created_on_supported) - end - - it "raises unless at least one is supported" do - expect { - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.unsupported.test"), Whois::Record::Part.new(body: "", host: "parser.unsupported.test")]) - described_class.new(record).created_on - }.to raise_error(Whois::AttributeNotSupported) - end - - it "raises when parsers are undefined" do - expect { - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.undefined.test"), Whois::Record::Part.new(body: "", host: "parser.undefined.test")]) - described_class.new(record).created_on - }.to raise_error(Whois::AttributeNotImplemented) - end - - it "raises when zero parts" do - expect { - record = Whois::Record.new(nil, []) - described_class.new(record).created_on - }.to raise_error(Whois::ParserError, /the Record is empty/) - end - - it "does not delegate unknown properties" do - expect { - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "parser.undefined.test")]) - described_class.new(record).unknown_method - }.to raise_error(NoMethodError) - end - end - - - describe "#parsers" do - it "returns 0 parsers when 0 parts" do - record = Whois::Record.new(nil, []) - parser = described_class.new(record) - expect(parser.parsers.size).to eq(0) - expect(parser.parsers).to eq([]) - end - - it "returns 1 parser when 1 part" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "whois.nic.it")]) - parser = described_class.new(record) - expect(parser.parsers.size).to eq(1) - end - - it "returns 2 parsers when 2 part" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "whois.verisign-grs.com"), Whois::Record::Part.new(body: nil, host: "whois.nic.it")]) - parser = described_class.new(record) - expect(parser.parsers.size).to eq(2) - end - - it "initializes the parsers in reverse order" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "whois.verisign-grs.com"), Whois::Record::Part.new(body: nil, host: "whois.nic.it")]) - parser = described_class.new(record) - expect(parser.parsers[0]).to be_a(Whois::Record::Parser::WhoisNicIt) - expect(parser.parsers[1]).to be_a(Whois::Record::Parser::WhoisVerisignGrsCom) - end - - it "returns the host parser when the part is supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "whois.nic.it")]) - parser = described_class.new(record) - expect(parser.parsers.first).to be_a(Whois::Record::Parser::WhoisNicIt) - end - - it "returns the Blank parser when the part is not supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "missing.nic.it")]) - parser = described_class.new(record) - expect(parser.parsers.first).to be_a(Whois::Record::Parser::Blank) - end - end - - describe "#property_any_supported?" do - it "returns false when 0 parts" do - record = Whois::Record.new(nil, []) - expect(described_class.new(record).property_any_supported?(:disclaimer)).to be_falsey - end - - it "returns true when 1 part supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(host: "whois.nic.it")]) - expect(described_class.new(record).property_any_supported?(:disclaimer)).to be_truthy - end - - it "returns false when 1 part supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(host: "missing.nic.it")]) - expect(described_class.new(record).property_any_supported?(:disclaimer)).to be_falsey - end - - it "returns true when 2 parts" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(host: "whois.verisign-grs.com"), Whois::Record::Part.new(host: "whois.nic.it")]) - expect(described_class.new(record).property_any_supported?(:disclaimer)).to be_truthy - end - - it "returns true when 1 part supported 1 part not supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(host: "missing.nic.it"), Whois::Record::Part.new(host: "whois.nic.it")]) - expect(described_class.new(record).property_any_supported?(:disclaimer)).to be_truthy - end - end - - - describe "#contacts" do - class Whois::Record::Parser::Contacts1Test < Whois::Record::Parser::Base - end - - class Whois::Record::Parser::Contacts2Test < Whois::Record::Parser::Base - property_supported(:technical_contacts) { ["p2-t1"] } - property_supported(:admin_contacts) { ["p2-a1"] } - property_supported(:registrant_contacts) { [] } - end - - class Whois::Record::Parser::Contacts3Test< Whois::Record::Parser::Base - property_supported(:technical_contacts) { ["p3-t1"] } - end - - it "returns an empty array when 0 parts" do - record = Whois::Record.new(nil, []) - parser = described_class.new(record) - expect(parser.contacts).to eq([]) - end - - it "returns an array of contact when 1 part is supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "contacts2.test")]) - parser = described_class.new(record) - expect(parser.contacts.size).to eq(2) - expect(parser.contacts).to eq(%w( p2-a1 p2-t1 )) - end - - it "returns an array of contact when 1 part is not supported" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "contacts1.test")]) - parser = described_class.new(record) - expect(parser.contacts.size).to eq(0) - expect(parser.contacts).to eq([]) - end - - it "merges the contacts and returns an array of contact when 2 parts" do - record = Whois::Record.new(nil, [Whois::Record::Part.new(body: nil, host: "contacts2.test"), Whois::Record::Part.new(body: nil, host: "contacts3.test")]) - parser = described_class.new(record) - expect(parser.contacts.size).to eq(3) - expect(parser.contacts).to eq(%w( p3-t1 p2-a1 p2-t1 )) - end - end - - - describe "#changed?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(record).changed?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(record).changed?(described_class.new(record)) - }.to_not raise_error - end - end - - describe "#unchanged?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(record).unchanged?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(record).unchanged?(described_class.new(record)) - }.to_not raise_error - end - - it "returns true if self and other references the same object" do - instance = described_class.new(record) - expect(instance.unchanged?(instance)).to be_truthy - end - - it "returns false if parser and other.parser have different number of elements" do - instance = described_class.new(Whois::Record.new(nil, [])) - other = described_class.new(Whois::Record.new(nil, [Whois::Record::Part.new(body: "", host: "foo.example.test")])) - expect(instance.unchanged?(other)).to be_falsey - end - - it "returns true if parsers and other.parsers have 0 elements" do - instance = described_class.new(Whois::Record.new(nil, [])) - other = described_class.new(Whois::Record.new(nil, [])) - expect(instance.unchanged?(other)).to be_truthy - end - - - it "returns true if every parser in self marches the corresponding parser in other" do - instance = described_class.new(Whois::Record.new(nil, [Whois::Record::Part.new(body: "hello", host: "foo.example.test"), Whois::Record::Part.new(body: "hello", host: "bar.example.test")])) - other = described_class.new(Whois::Record.new(nil, [Whois::Record::Part.new(body: "hello", host: "foo.example.test"), Whois::Record::Part.new(body: "hello", host: "bar.example.test")])) - - expect(instance.unchanged?(other)).to be_truthy - end - - it "returns false unless every parser in self marches the corresponding parser in other" do - instance = described_class.new(Whois::Record.new(nil, [Whois::Record::Part.new(body: "hello", host: "foo.example.test"), Whois::Record::Part.new(body: "world", host: "bar.example.test")])) - other = described_class.new(Whois::Record.new(nil, [Whois::Record::Part.new(body: "hello", host: "foo.example.test"), Whois::Record::Part.new(body: "baby!", host: "bar.example.test")])) - - expect(instance.unchanged?(other)).to be_falsey - end - end - - describe "#response_incomplete?" do - it "returns false when all parts are complete" do - instance = parsers("defined-false", "defined-false") - expect(instance.response_incomplete?).to eq(false) - end - - it "returns true when at least one part is incomplete" do - instance = parsers("defined-false", "defined-true") - expect(instance.response_incomplete?).to eq(true) - - instance = parsers("defined-true", "defined-false") - expect(instance.response_incomplete?).to eq(true) - end - end - - describe "#response_throttled?" do - it "returns false when all parts are not throttled" do - instance = parsers("defined-false", "defined-false") - expect(instance.response_throttled?).to eq(false) - end - - it "returns true when at least one part is throttled" do - instance = parsers("defined-false", "defined-true") - expect(instance.response_throttled?).to eq(true) - - instance = parsers("defined-true", "defined-false") - expect(instance.response_throttled?).to eq(true) - end - end - - describe "#response_unavailable?" do - it "returns false when all parts are available" do - instance = parsers("defined-false", "defined-false") - expect(instance.response_unavailable?).to eq(false) - end - - it "returns true when at least one part is unavailable" do - instance = parsers("defined-false", "defined-true") - expect(instance.response_unavailable?).to eq(true) - - instance = parsers("defined-true", "defined-false") - expect(instance.response_unavailable?).to eq(true) - end - end - - - private - - class Whois::Record::Parser::ResponseDefinedTrueTest < Whois::Record::Parser::Base - def response_incomplete? - true - end - def response_throttled? - true - end - def response_unavailable? - true - end - end - - class Whois::Record::Parser::ResponseDefinedFalseTest < Whois::Record::Parser::Base - def response_incomplete? - false - end - def response_throttled? - false - end - def response_unavailable? - false - end - end - - class Whois::Record::Parser::ResponseUndefinedTest < Whois::Record::Parser::Base - end - - def parsers(*types) - described_class.new(Whois::Record.new(nil, types.map { |type| Whois::Record::Part.new(body: "", host: "response-#{type}.test") })) - end - -end diff --git a/spec/whois/record/part_spec.rb b/spec/whois/record/part_spec.rb index 166db0353..852f6a6b6 100644 --- a/spec/whois/record/part_spec.rb +++ b/spec/whois/record/part_spec.rb @@ -1,29 +1,25 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Record::Part do - - it "inherits from SuperStruct" do - expect(described_class.ancestors).to include(SuperStruct) - end - - describe "#initialize" do it "accepts an empty value" do expect { instance = described_class.new expect(instance.body).to be_nil - }.to_not raise_error + }.not_to raise_error end it "accepts an empty hash" do expect { instance = described_class.new({}) expect(instance.body).to be_nil - }.to_not raise_error + }.not_to raise_error end it "initializes a new instance from given hash" do - instance = described_class.new(:body => "This is a WHOIS record.", :host => "whois.example.test") + instance = described_class.new(body: "This is a WHOIS record.", host: "whois.example.test") expect(instance.body).to eq("This is a WHOIS record.") expect(instance.host).to eq("whois.example.test") @@ -39,5 +35,4 @@ expect(instance.host).to eq("whois.example.test") end end - end diff --git a/spec/whois/record/registrar_spec.rb b/spec/whois/record/registrar_spec.rb deleted file mode 100644 index db5a7bef3..000000000 --- a/spec/whois/record/registrar_spec.rb +++ /dev/null @@ -1,50 +0,0 @@ -require 'spec_helper' -require 'whois/record/registrar' - - -describe Whois::Record::Registrar do - - it "inherits from SuperStruct" do - expect(described_class.ancestors).to include(SuperStruct) - end - - - describe "#initialize" do - it "accepts an empty value" do - expect { - instance = described_class.new - expect(instance.id).to be_nil - }.to_not raise_error - end - - it "accepts an empty hash" do - expect { - instance = described_class.new({}) - expect(instance.id).to be_nil - }.to_not raise_error - end - - it "initializes a new instance from given hash" do - instance = described_class.new(:id => 10, :name => "John Doe", :url => "http://example.com") - - expect(instance.id).to eq(10) - expect(instance.name).to eq("John Doe") - expect(instance.organization).to be_nil - expect(instance.url).to eq("http://example.com") - end - - it "initializes a new instance from given block" do - instance = described_class.new do |c| - c.id = 10 - c.name = "John Doe" - c.url = "http://example.com" - end - - expect(instance.id).to eq(10) - expect(instance.name).to eq("John Doe") - expect(instance.organization).to be_nil - expect(instance.url).to eq("http://example.com") - end - end - -end diff --git a/spec/whois/record/super_struct_spec.rb b/spec/whois/record/super_struct_spec.rb deleted file mode 100644 index b329134d8..000000000 --- a/spec/whois/record/super_struct_spec.rb +++ /dev/null @@ -1,27 +0,0 @@ -require 'spec_helper' - -describe SuperStruct do - - SuperEroe = Class.new(SuperStruct.new(:name, :supername)) - - it "inherits from Struct" do - expect(SuperEroe.ancestors).to include(Struct) - end - - - describe "#initialize" do - it "initializes a new instance from given hash" do - instance = SuperEroe.new(:name => "Pippo", :supername => "SuperPippo") - expect(instance.name).to eq("Pippo") - expect(instance.supername).to eq("SuperPippo") - end - - it "initializes a new instance from given block" do - SuperEroe.new do |instance| - expect(instance).to be_instance_of(SuperEroe) - expect(instance).to be_kind_of(SuperStruct) - end - end - end - -end diff --git a/spec/whois/record_spec.rb b/spec/whois/record_spec.rb index 038246ea2..21defdba2 100644 --- a/spec/whois/record_spec.rb +++ b/spec/whois/record_spec.rb @@ -1,16 +1,19 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Record do - subject { described_class.new(server, parts) } let(:server) { Whois::Server.factory(:tld, ".foo", "whois.example.test") } - let(:parts) {[ - Whois::Record::Part.new(body: "This is a record from foo.", host: "foo.example.test"), - Whois::Record::Part.new(body: "This is a record from bar.", host: "bar.example.test") - ]} + let(:parts) { + [ + Whois::Record::Part.new(body: "This is a record from foo.", host: "foo.example.test"), + Whois::Record::Part.new(body: "This is a record from bar.", host: "bar.example.test"), + ] + } let(:content) { parts.map(&:body).join("\n") } @@ -20,7 +23,7 @@ it "requires a server and parts" do expect { described_class.new }.to raise_error(ArgumentError) expect { described_class.new(server) }.to raise_error(ArgumentError) - expect { described_class.new(server, parts) }.to_not raise_error + expect { described_class.new(server, parts) }.not_to raise_error end it "sets server and parts from arguments" do @@ -35,48 +38,6 @@ end - describe "#respond_to?" do - before(:all) do - @_properties = Whois::Record::Parser::PROPERTIES.dup - @_methods = Whois::Record::Parser::METHODS.dup - end - - after(:all) do - Whois::Record::Parser::PROPERTIES.clear - Whois::Record::Parser::PROPERTIES.push(*@_properties) - Whois::Record::Parser::METHODS.clear - Whois::Record::Parser::METHODS.push(*@_methods) - end - - it "returns true if method is in self" do - expect(subject.respond_to?(:to_s)).to be_truthy - end - - it "returns true if method is in hierarchy" do - expect(subject.respond_to?(:nil?)).to be_truthy - end - - it "returns true if method is a property" do - Whois::Record::Parser::PROPERTIES << :test_property - expect(subject.respond_to?(:test_property)).to be_truthy - end - - it "returns true if method is a property?" do - Whois::Record::Parser::PROPERTIES << :test_property - expect(subject.respond_to?(:test_property?)).to be_truthy - end - - it "returns true if method is a method" do - Whois::Record::Parser::METHODS << :test_method - expect(subject.respond_to?(:test_method)).to be_truthy - end - - it "returns true if method is a method" do - Whois::Record::Parser::METHODS << :test_method - expect(subject.respond_to?(:test_method?)).to be_truthy - end - end - describe "#to_s" do it "delegates to #content" do expect(described_class.new(nil, [parts[0]]).to_s).to eq(parts[0].body) @@ -196,219 +157,4 @@ expect(described_class.new(nil, []).content).to eq("") end end - - describe "#parser" do - it "returns a Parser" do - expect(subject.parser).to be_a(Whois::Record::Parser) - end - - it "initializes the parser with self" do - expect(subject.parser.record).to be(subject) - end - - it "memoizes the value" do - expect(subject.instance_eval { @parser }).to be_nil - parser = subject.parser - expect(subject.instance_eval { @parser }).to be(parser) - end - end - - - describe "#properties" do - it "returns a Hash" do - expect(subject.properties).to be_a(Hash) - end - - it "returns both nil and not-nil values" do - subject.expects(:domain).returns("") - subject.expects(:created_on).returns(nil) - subject.expects(:expires_on).returns(Time.parse("2010-10-10")) - - properties = subject.properties - expect(properties[:domain]).to eq("") - expect(properties[:created_on]).to be_nil - expect(properties[:expires_on]).to eq(Time.parse("2010-10-10")) - end - - it "fetches all parser property" do - expect(subject.properties.keys).to match(Whois::Record::Parser::PROPERTIES) - end - end - - - class Whois::Record::Parser::WhoisPropertiesTest < Whois::Record::Parser::Base - property_supported :status do - nil - end - property_supported :created_on do - Date.parse("2010-10-20") - end - property_not_supported :updated_on - # property_not_defined :expires_on - end - - describe "#property_any_supported?" do - it "delegates to parsers" do - subject.parser.expects(:property_any_supported?).with(:example).returns(true) - expect(subject.property_any_supported?(:example)).to be_truthy - end - end - - describe "property" do - it "returns value when the property is supported" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.created_on).to eq(Date.parse("2010-10-20")) - end - - it "returns nil when the property is not supported" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.updated_on).to be_nil - end - - it "returns nil when the property is not implemented" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.expires_on).to be_nil - end - end - - describe "property?" do - it "returns true when the property is supported and has no value" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.status?).to eq(false) - end - - it "returns false when the property is supported and has q value" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.created_on?).to eq(true) - end - - it "returns false when the property is not supported" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.updated_on?).to eq(false) - end - - it "returns false when the property is not implemented" do - instance = described_class.new(nil, [Whois::Record::Part.new(body: "", host: "whois.properties.test")]) - expect(instance.expires_on?).to eq(false) - end - end - - - describe "#changed?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(nil, []).changed?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(nil, []).changed?(described_class.new(nil, [])) - }.to_not raise_error - end - end - - describe "#unchanged?" do - it "raises if the argument is not an instance of the same class" do - expect { - described_class.new(nil, []).unchanged?(Object.new) - }.to raise_error(ArgumentError) - - expect { - described_class.new(nil, []).unchanged?(described_class.new(nil, [])) - }.to_not raise_error - end - - it "returns true if self and other references the same object" do - instance = described_class.new(nil, []) - expect(instance.unchanged?(instance)).to be_truthy - end - - it "delegates to #parser if self and other references different objects" do - other = described_class.new(nil, parts) - instance = described_class.new(nil, parts) - instance.parser.expects(:unchanged?).with(other.parser) - - instance.unchanged?(other) - end - end - - describe "#contacts" do - it "delegates to parser" do - subject.parser.expects(:contacts).returns([:one, :two]) - expect(subject.contacts).to eq([:one, :two]) - end - end - - - describe "#response_incomplete?" do - it "delegates to #parser" do - subject.parser.expects(:response_incomplete?) - subject.response_incomplete? - end - end - - describe "#response_throttled?" do - it "delegates to #parser" do - subject.parser.expects(:response_throttled?) - subject.response_throttled? - end - end - - describe "#response_unavailable?" do - it "delegates to #parser" do - subject.parser.expects(:response_unavailable?) - subject.response_unavailable? - end - end - - - describe "method_missing" do - context "when a parser property" - context "when a parser method" - - context "when a parser question method/property" do - it "calls the corresponding no-question method" do - subject.expects(:status) - subject.status? - end - - it "returns true if the property is not nil" do - subject.expects(:status).returns("available") - expect(subject.status?).to eq(true) - end - - it "returns false if the property is nil" do - subject.expects(:status).returns(nil) - expect(subject.status?).to eq(false) - end - end - - context "when a simple method" do - it "passes the request to super" do - Object.class_eval do - def happy; "yes"; end - end - - record = described_class.new(nil, []) - expect { - expect(record.happy).to eq("yes") - }.to_not raise_error - expect { - record.sad - }.to raise_error(NoMethodError) - end - - it "does not catch all methods" do - expect { - described_class.new(nil, []).i_am_not_defined - }.to raise_error(NoMethodError) - end - - it "does not catch all question methods" do - expect { - described_class.new(nil, []).i_am_not_defined? - }.to raise_error(NoMethodError) - end - end - end - end diff --git a/spec/whois/server/adapters/afilias_spec.rb b/spec/whois/server/adapters/afilias_spec.rb index 4599b6639..d61502ddc 100644 --- a/spec/whois/server/adapters/afilias_spec.rb +++ b/spec/whois/server/adapters/afilias_spec.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Afilias do - let(:definition) { [:tld, ".test", "whois.afilias-grs.info", {}] } let(:server) { described_class.new(*definition) } @@ -11,12 +12,12 @@ it "returns the WHOIS record" do response = "No match for example.test." expected = response - server.query_handler.expects(:call).with("example.test", "whois.afilias-grs.info", 43).returns(response) + expect(server.query_handler).to receive(:call).with("example.test", "whois.afilias-grs.info", 43).and_return(response) record = server.lookup("example.test") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(1) - expect(record.parts).to eq([Whois::Record::Part.new(:body => response, :host => "whois.afilias-grs.info")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.afilias-grs.info")]) end end @@ -24,9 +25,9 @@ it "follows all referrals" do referral = File.read(fixture("referrals/afilias.bz.txt")) response = "Match for example.test." - expected = referral + "\n" + response - server.query_handler.expects(:call).with("example.test", "whois.afilias-grs.info", 43).returns(referral) - server.query_handler.expects(:call).with("example.test", "whois.belizenic.bz", 43).returns(response) + expected = "#{referral}\n#{response}" + expect(server.query_handler).to receive(:call).with("example.test", "whois.afilias-grs.info", 43).and_return(referral) + expect(server.query_handler).to receive(:call).with("example.test", "whois.belizenic.bz", 43).and_return(response) record = server.lookup("example.test") expect(record.to_s).to eq(expected) @@ -37,13 +38,12 @@ it "ignores referral if options[:referral] is false" do referral = File.read(fixture("referrals/afilias.bz.txt")) server.options[:referral] = false - server.query_handler.expects(:call).with("example.test", "whois.afilias-grs.info", 43).returns(referral) - server.query_handler.expects(:call).with("example.test", "whois.belizenic.bz", 43).never + expect(server.query_handler).to receive(:call).with("example.test", "whois.afilias-grs.info", 43).and_return(referral) + expect(server.query_handler).not_to receive(:call).with("example.test", "whois.belizenic.bz", 43) record = server.lookup("example.test") expect(record.parts.size).to eq(1) end end end - end diff --git a/spec/whois/server/adapters/arin_spec.rb b/spec/whois/server/adapters/arin_spec.rb index 3efc99f7f..257f826fc 100644 --- a/spec/whois/server/adapters/arin_spec.rb +++ b/spec/whois/server/adapters/arin_spec.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Arin do - let(:definition) { [:ipv4, "0.0.0.0/1", "whois.arin.net"] } let(:server) { described_class.new(*definition) } @@ -10,11 +11,11 @@ it "returns the WHOIS record" do response = "Whois Response" expected = response - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(response) + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(response) record = server.lookup("0.0.0.0") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(1) - expect(record.parts).to eq([Whois::Record::Part.new(:body => response, :host => "whois.arin.net")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.arin.net")]) end end @@ -22,36 +23,36 @@ it "follows whois:// referrals" do referral = File.read(fixture("referrals/arin_referral_whois.txt")) response = "Whois Response" - expected = referral + "\n" + response - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(referral) - server.query_handler.expects(:call).with("0.0.0.0", "whois.ripe.net", 43).returns(response) + expected = "#{referral}\n#{response}" + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(referral) + expect(server.query_handler).to receive(:call).with("0.0.0.0", "whois.ripe.net", 43).and_return(response) record = server.lookup("0.0.0.0") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(2) - expect(record.parts).to eq([Whois::Record::Part.new(:body => referral, :host => "whois.arin.net"), - Whois::Record::Part.new(:body => response, :host => "whois.ripe.net")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: referral, host: "whois.arin.net"), + Whois::Record::Part.new(body: response, host: "whois.ripe.net"),]) end it "follows rwhois:// referrals" do referral = File.read(fixture("referrals/arin_referral_rwhois.txt")) response = "Whois Response" - expected = referral + "\n" + response - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(referral) - server.query_handler.expects(:call).with("0.0.0.0", "rwhois.servernap.net", 4321).returns(response) + expected = "#{referral}\n#{response}" + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(referral) + expect(server.query_handler).to receive(:call).with("0.0.0.0", "rwhois.servernap.net", 4321).and_return(response) record = server.lookup("0.0.0.0") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(2) - expect(record.parts).to eq([Whois::Record::Part.new(:body => referral, :host => "whois.arin.net"), - Whois::Record::Part.new(:body => response, :host => "rwhois.servernap.net")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: referral, host: "whois.arin.net"), + Whois::Record::Part.new(body: response, host: "rwhois.servernap.net"),]) end it "ignores referral if options[:referral] is false" do referral = File.read(fixture("referrals/arin_referral_whois.txt")) server.options[:referral] = false - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(referral) - server.query_handler.expects(:call).with("0.0.0.0", "whois.ripe.net", 43).never + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(referral) + expect(server.query_handler).not_to receive(:call).with("0.0.0.0", "whois.ripe.net", 43) record = server.lookup("0.0.0.0") expect(record.parts.size).to eq(1) @@ -59,8 +60,8 @@ it "ignores referral (gracefully) if missing" do referral = File.read(fixture("referrals/arin_referral_missing.txt")) - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(referral) - server.query_handler.expects(:call).never + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(referral) + expect(server.query_handler).not_to receive(:call) record = server.lookup("0.0.0.0") expect(record.parts.size).to eq(1) @@ -69,16 +70,14 @@ it "folows referrals without ports" do referral = File.read(fixture("referrals/arin_referral_apnic.txt")) response = "Whois Response" - server.query_handler.expects(:call).with("n + 0.0.0.0", "whois.arin.net", 43).returns(referral) - server.query_handler.expects(:call).with("0.0.0.0", "whois.apnic.net", 43).returns(response) + expect(server.query_handler).to receive(:call).with("n + 0.0.0.0", "whois.arin.net", 43).and_return(referral) + expect(server.query_handler).to receive(:call).with("0.0.0.0", "whois.apnic.net", 43).and_return(response) record = server.lookup("0.0.0.0") expect(record.parts.size).to eq(2) - expect(record.parts).to eq([Whois::Record::Part.new(:body => referral, :host => "whois.arin.net"), - Whois::Record::Part.new(:body => response, :host => "whois.apnic.net")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: referral, host: "whois.arin.net"), + Whois::Record::Part.new(body: response, host: "whois.apnic.net"),]) end end - end - end diff --git a/spec/whois/server/adapters/arpa_spec.rb b/spec/whois/server/adapters/arpa_spec.rb index 0cdcabf8f..8b9e1afc8 100644 --- a/spec/whois/server/adapters/arpa_spec.rb +++ b/spec/whois/server/adapters/arpa_spec.rb @@ -1,19 +1,20 @@ +# frozen_string_literal: true + require 'spec_helper' +require 'whois/server/adapters/arin' describe Whois::Server::Adapters::Arpa do - let(:definition) { [:tld, ".in-addr.arpa", nil, {}] } describe "#lookup" do it "returns the WHOIS record" do response = "Whois Response" server = described_class.new(*definition) - server.query_handler.expects(:call).with("n + 229.128.in-addr.arpa", "whois.arin.net", 43).returns(response) + expect(Whois::Server::Adapters::Arin.query_handler).to receive(:call).with("n + 229.128.in-addr.arpa", "whois.arin.net", 43).and_return(response) record = server.lookup("229.128.in-addr.arpa") expect(record.to_s).to eq(response) expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.arin.net")]) end end - end diff --git a/spec/whois/server/adapters/base_spec.rb b/spec/whois/server/adapters/base_spec.rb index 6774b7061..b3faf5f6b 100644 --- a/spec/whois/server/adapters/base_spec.rb +++ b/spec/whois/server/adapters/base_spec.rb @@ -1,19 +1,20 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Base do - - let(:definition) { [:tld, ".test", "whois.test", { foo: "bar" }] } + let(:definition) { [:tld, ".test", "whois.test", { foo: "bar" }] } describe "#initialize" do it "requires type, allocation, and host parameters" do expect { described_class.new(:tld) }.to raise_error(ArgumentError) expect { described_class.new(:tld, ".test") }.to raise_error(ArgumentError) - expect { described_class.new(:tld, ".test", "whois.test") }.to_not raise_error + expect { described_class.new(:tld, ".test", "whois.test") }.not_to raise_error end it "accepts an options parameter" do - expect { described_class.new(:tld, ".test", "whois.test", { foo: "bar" }) }.to_not raise_error + expect { described_class.new(:tld, ".test", "whois.test", { foo: "bar" }) }.not_to raise_error end it "sets instance variables from arguments" do @@ -78,22 +79,22 @@ describe "#configure" do it "merges settings with current options" do - a = described_class.new(:tld, ".test", "whois.test", { :hello => "world" }) + a = described_class.new(:tld, ".test", "whois.test", { hello: "world" }) a.configure(foo: "bar") - expect(a.options).to eq({ :hello => "world", foo: "bar" }) + expect(a.options).to eq({ hello: "world", foo: "bar" }) end it "gives higher priority to settings argument" do a = described_class.new(:tld, ".test", "whois.test", { foo: "bar" }) expect(a.options).to eq({ foo: "bar" }) - a.configure(:foo => "baz") - expect(a.options).to eq({ :foo => "baz" }) + a.configure(foo: "baz") + expect(a.options).to eq({ foo: "baz" }) end it "overrides @host if :host option exists" do - a = described_class.new(:tld, ".test", "whois.test", { :hello => "world" }) - a.configure(foo: "bar", :host => "whois.example.com") - expect(a.options).to eq({ :hello => "world", foo: "bar", :host => "whois.example.com" }) + a = described_class.new(:tld, ".test", "whois.test", { hello: "world" }) + a.configure(foo: "bar", host: "whois.example.com") + expect(a.options).to eq({ hello: "world", foo: "bar", host: "whois.example.com" }) expect(a.host).to eq("whois.example.com") end end @@ -120,37 +121,30 @@ let(:server) { described_class.new(:tld, ".test", "whois.test", {}) } it "does not bind the WHOIS query" do - described_class. - query_handler.expects(:call). - with("example.test", "whois.test", 43) + expect(described_class.query_handler).to receive(:call).with("example.test", "whois.test", 43) server.send(:query_the_socket, "example.test", "whois.test", 43) end end context "with :bind_host and :bind_port options" do - let(:server) { described_class.new(:tld, ".test", "whois.test", { :bind_host => "192.168.1.1", :bind_port => 3000 }) } + let(:server) { described_class.new(:tld, ".test", "whois.test", { bind_host: "192.168.1.1", bind_port: 3000 }) } it "binds the WHOIS query to given host and port" do - described_class. - query_handler.expects(:call). - with("example.test", "whois.test", 43, "192.168.1.1", 3000) + expect(described_class.query_handler).to receive(:call).with("example.test", "whois.test", 43, "192.168.1.1", 3000) server.send(:query_the_socket, "example.test", "whois.test", 43) end end context "with :bind_port and without :bind_host options" do - let(:server) { described_class.new(:tld, ".test", "whois.test", { :bind_port => 3000 }) } + let(:server) { described_class.new(:tld, ".test", "whois.test", { bind_port: 3000 }) } it "binds the WHOIS query to given port and defaults host" do - described_class. - query_handler.expects(:call). - with("example.test", "whois.test", 43, described_class::DEFAULT_BIND_HOST, 3000) + expect(described_class.query_handler).to receive(:call).with("example.test", "whois.test", 43, described_class::DEFAULT_BIND_HOST, 3000) server.send(:query_the_socket, "example.test", "whois.test", 43) end end end - end diff --git a/spec/whois/server/adapters/formatted_spec.rb b/spec/whois/server/adapters/formatted_spec.rb index 4dec3f91c..8b6db8f3a 100644 --- a/spec/whois/server/adapters/formatted_spec.rb +++ b/spec/whois/server/adapters/formatted_spec.rb @@ -1,8 +1,9 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Formatted do - - let(:definition) { [:tld, ".de", "whois.denic.de", { :format => "-T dn,ace -C US-ASCII %s" }] } + let(:definition) { [:tld, ".de", "whois.denic.de", { format: "-T dn,ace -C US-ASCII %s" }] } describe "#lookup" do @@ -10,17 +11,17 @@ response = "Whois Response" expected = response server = described_class.new(*definition) - server.query_handler.expects(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 43).returns(response) + expect(server.query_handler).to receive(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 43).and_return(response) record = server.lookup("domain.de") expect(record.to_s).to eq(expected) - expect(record.parts).to eq([Whois::Record::Part.new(:body => response, :host => "whois.denic.de")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.denic.de")]) end context "without format option" do it "raises an error" do - server = described_class.new(*[:tld, ".de", "whois.denic.de", {}]) - server.query_handler.expects(:call).never + server = described_class.new(:tld, ".de", "whois.denic.de", {}) + expect(server.query_handler).not_to receive(:call) expect { server.lookup("domain.de") @@ -31,8 +32,8 @@ context "with port option" do it "sends the request to given port" do response = "Whois Response" - server = described_class.new(:tld, ".de", "whois.denic.de", { :format => "-T dn,ace -C US-ASCII %s", :port => 20 }) - server.query_handler.expects(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 20).returns(response) + server = described_class.new(:tld, ".de", "whois.denic.de", { format: "-T dn,ace -C US-ASCII %s", port: 20 }) + expect(server.query_handler).to receive(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 20).and_return(response) server.lookup("domain.de") end @@ -41,13 +42,12 @@ context "with bind option" do it "binds the request to given host and port" do response = "Whois Response" - server = described_class.new(:tld, ".de", "whois.denic.de", { :format => "-T dn,ace -C US-ASCII %s" }) - server.configure(:bind_host => "192.168.1.1", :bind_port => 3000) - server.query_handler.expects(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 43, "192.168.1.1", 3000).returns(response) + server = described_class.new(:tld, ".de", "whois.denic.de", { format: "-T dn,ace -C US-ASCII %s" }) + server.configure(bind_host: "192.168.1.1", bind_port: 3000) + expect(server.query_handler).to receive(:call).with("-T dn,ace -C US-ASCII domain.de", "whois.denic.de", 43, "192.168.1.1", 3000).and_return(response) server.lookup("domain.de") end end end - end diff --git a/spec/whois/server/adapters/none_spec.rb b/spec/whois/server/adapters/none_spec.rb index 8cfb234e0..b8e04be16 100644 --- a/spec/whois/server/adapters/none_spec.rb +++ b/spec/whois/server/adapters/none_spec.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::None do - describe "#lookup" do it "raises Whois::NoInterfaceError" do expect { @@ -19,5 +20,4 @@ }.to raise_error(Whois::NoInterfaceError, /ipv4/) end end - end diff --git a/spec/whois/server/adapters/not_implemented_spec.rb b/spec/whois/server/adapters/not_implemented_spec.rb index b6afb58aa..620c763fb 100644 --- a/spec/whois/server/adapters/not_implemented_spec.rb +++ b/spec/whois/server/adapters/not_implemented_spec.rb @@ -1,9 +1,10 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::NotImplemented do - - before(:each) do - @definition = [:ipv6, "2001:0000::/32", "teredo", { :adapter => Whois::Server::Adapters::NotImplemented }] + before do + @definition = [:ipv6, "2001:0000::/32", "teredo", { adapter: Whois::Server::Adapters::NotImplemented }] end @@ -20,5 +21,4 @@ }.to raise_error(Whois::ServerNotImplemented, /teredo/) end end - end diff --git a/spec/whois/server/adapters/standard_spec.rb b/spec/whois/server/adapters/standard_spec.rb index a4a1fa0c3..edcbb824a 100644 --- a/spec/whois/server/adapters/standard_spec.rb +++ b/spec/whois/server/adapters/standard_spec.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Standard do - let(:definition) { [:tld, ".test", "whois.test", {}] } @@ -10,18 +11,18 @@ response = "Whois Response" expected = response server = described_class.new(*definition) - server.query_handler.expects(:call).with("domain.test", "whois.test", 43).returns(response) + expect(server.query_handler).to receive(:call).with("domain.test", "whois.test", 43).and_return(response) record = server.lookup("domain.test") expect(record.to_s).to eq(expected) - expect(record.parts).to eq([Whois::Record::Part.new(:body => response, :host => "whois.test")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.test")]) end context "with port option" do it "sends the request to given port" do response = "Whois Response" - server = described_class.new(:tld, ".test", "whois.test", { :port => 20 }) - server.query_handler.expects(:call).with("domain.test", "whois.test", 20).returns(response) + server = described_class.new(:tld, ".test", "whois.test", { port: 20 }) + expect(server.query_handler).to receive(:call).with("domain.test", "whois.test", 20).and_return(response) server.lookup("domain.test") end @@ -30,13 +31,12 @@ context "with bind option" do it "binds the request to given host and port" do response = "Whois Response" - server = described_class.new(:tld, ".test", "whois.test", { :port => 20 }) - server.configure(:bind_host => "192.168.1.100", :bind_port => 3000) - server.query_handler.expects(:call).with("domain.test", "whois.test", 20, "192.168.1.100", 3000).returns(response) + server = described_class.new(:tld, ".test", "whois.test", { port: 20 }) + server.configure(bind_host: "192.168.1.100", bind_port: 3000) + expect(server.query_handler).to receive(:call).with("domain.test", "whois.test", 20, "192.168.1.100", 3000).and_return(response) server.lookup("domain.test") end end end - end diff --git a/spec/whois/server/adapters/verisign_spec.rb b/spec/whois/server/adapters/verisign_spec.rb index 0a79cabeb..61e763910 100644 --- a/spec/whois/server/adapters/verisign_spec.rb +++ b/spec/whois/server/adapters/verisign_spec.rb @@ -1,7 +1,8 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Verisign do - let(:definition) { [:tld, ".test", "whois.test", {}] } let(:server) { described_class.new(*definition) } @@ -11,12 +12,12 @@ it "returns the WHOIS record" do response = "No match for example.test." expected = response - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(response) + expect(server.query_handler).to receive(:call).with("=example.test", "whois.test", 43).and_return(response) record = server.lookup("example.test") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(1) - expect(record.parts).to eq([Whois::Record::Part.new(:body => response, :host => "whois.test")]) + expect(record.parts).to eq([Whois::Record::Part.new(body: response, host: "whois.test")]) end end @@ -24,39 +25,21 @@ it "follows all referrals" do referral = File.read(fixture("referrals/crsnic.com.txt")) response = "Match for example.test." - expected = referral + "\n" + response - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(referral) - server.query_handler.expects(:call).with("example.test", "whois.markmonitor.com", 43).returns(response) + expected = "#{referral}\n#{response}" + expect(server.query_handler).to receive(:call).with("=example.test", "whois.test", 43).and_return(referral) + expect(server.query_handler).to receive(:call).with("example.test", "whois.markmonitor.com", 43).and_return(response) record = server.lookup("example.test") expect(record.to_s).to eq(expected) expect(record.parts.size).to eq(2) - expect(record.parts).to eq([Whois::Record::Part.new(:body => referral, :host => "whois.test"), Whois::Record::Part.new(:body => response, :host => "whois.markmonitor.com")]) - end - - it "extracts the closest referral if multiple referrals" do - referral = File.read(fixture("referrals/crsnic.com_referral_multiple.txt")) - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(referral) - server.query_handler.expects(:call).with("example.test", "whois.markmonitor.com", 43).returns("") - - record = server.lookup("example.test") - expect(record.parts.size).to eq(2) - end - - it "ignores referral if is not defined" do - referral = File.read(fixture("referrals/crsnic.com_referral_not_defined.txt")) - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(referral) - server.query_handler.expects(:call).never - - record = server.lookup("example.test") - expect(record.parts.size).to eq(1) + expect(record.parts).to eq([Whois::Record::Part.new(body: referral, host: "whois.test"), Whois::Record::Part.new(body: response, host: "whois.markmonitor.com")]) end it "ignores referral if options[:referral] is false" do referral = File.read(fixture("referrals/crsnic.com.txt")) server.options[:referral] = false - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(referral) - server.query_handler.expects(:call).never + expect(server.query_handler).to receive(:call).with("=example.test", "whois.test", 43).and_return(referral) + expect(server.query_handler).not_to receive(:call) record = server.lookup("example.test") expect(record.parts.size).to eq(1) @@ -66,13 +49,12 @@ # This is the case of vrsn-20100925-dnssecmonitor86.net it "ignores referral (gracefully) if missing" do referral = File.read(fixture("referrals/crsnic.com_referral_missing.txt")) - server.query_handler.expects(:call).with("=example.test", "whois.test", 43).returns(referral) - server.query_handler.expects(:call).never + expect(server.query_handler).to receive(:call).with("=example.test", "whois.test", 43).and_return(referral) + expect(server.query_handler).not_to receive(:call) record = server.lookup("example.test") expect(record.parts.size).to eq(1) end end end - end diff --git a/spec/whois/server/adapters/web_spec.rb b/spec/whois/server/adapters/web_spec.rb index 091e2dd53..af7468ad0 100644 --- a/spec/whois/server/adapters/web_spec.rb +++ b/spec/whois/server/adapters/web_spec.rb @@ -1,9 +1,10 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server::Adapters::Web do - - before(:each) do - @definition = [:tld, ".test", nil, { :url => "http://whois.test" }] + before do + @definition = [:tld, ".test", nil, { url: "http://whois.test" }] end @@ -20,5 +21,4 @@ }.to raise_error(Whois::WebInterfaceError, /whois\.test/) end end - end diff --git a/spec/whois/server/socket_handler_spec.rb b/spec/whois/server/socket_handler_spec.rb index 4d44b06c5..82400aa51 100644 --- a/spec/whois/server/socket_handler_spec.rb +++ b/spec/whois/server/socket_handler_spec.rb @@ -1,27 +1,29 @@ +# frozen_string_literal: true + require 'spec_helper' require 'whois/server/socket_handler' describe Whois::Server::SocketHandler do - describe "#call" do - [ Errno::ECONNRESET, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ETIMEDOUT, Errno::EPIPE, SocketError ].each do |error| + [Errno::ECONNRESET, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ETIMEDOUT, Errno::EPIPE, SocketError].each do |error| it "re-raises #{error} as Whois::ConnectionError" do - subject.expects(:execute).raises(error) + expect(subject).to receive(:execute).and_raise(error) expect { subject.call("example.test", "whois.test", 43) }.to raise_error(Whois::ConnectionError, "#{error}: #{error.new.message}") end it "executes a socket connection for given args" do - socket = stub() - socket.expects(:write).with("example.test\r\n") - socket.expects(:read) - socket.expects(:close) + socket = instance_double(TCPSocket) + expect(socket).to receive(:write).with("example.test\r\n") + expect(socket).to receive(:read) + expect(socket).to receive(:close) - TCPSocket.expects(:new).with("whois.test", 43).returns(socket) + expect(TCPSocket).to receive(:new) + .with("whois.test", 43) + .and_return(socket) subject.call("example.test", "whois.test", 43) end end end - end diff --git a/spec/whois/server_spec.rb b/spec/whois/server_spec.rb index d835fbbc1..1ae3c0e8a 100644 --- a/spec/whois/server_spec.rb +++ b/spec/whois/server_spec.rb @@ -1,73 +1,62 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::Server do describe ".load_json" do it "loads a definition from a JSON file" do - File.expects(:read).with("tld.json").returns(<<-JSON) -{ - ".ae.org": { - "host": "whois.centralnic.com" - }, - ".ar.com": { - "host": "whois.centralnic.com" - } -} + expect(File).to receive(:read).with("tld.json").and_return(<<~JSON) + { + "ae.org": { + "host": "whois.centralnic.com" + }, + "ar.com": { + "host": "whois.centralnic.com" + } + } JSON with_definitions do described_class.load_json("tld.json") expect(described_class.definitions(:tld)).to eq([ - [".ae.org", "whois.centralnic.com", {}], - [".ar.com", "whois.centralnic.com", {}], - ]) + ["ae.org", "whois.centralnic.com", {}], + ["ar.com", "whois.centralnic.com", {}], + ]) end end it "convert option keys to Symbol" do - File.expects(:read).with("tld.json").returns(<<-JSON) -{ - ".com": { - "host": "whois.crsnic.net", - "adapter": "verisign" - } -} + expect(File).to receive(:read).with("tld.json").and_return(<<~JSON) + { + "com": { + "host": "whois.crsnic.net", + "adapter": "verisign" + } + } JSON with_definitions do described_class.load_json("tld.json") expect(described_class.definitions(:tld)).to eq([ - [".com", "whois.crsnic.net", adapter: "verisign"], - ]) + ["com", "whois.crsnic.net", { adapter: "verisign" }], + ]) end end end describe ".definitions" do - it "returns the definitions hash when type argument is nil" do - with_definitions do - definition = described_class.definitions - expect(definition).to be_a(Hash) - expect(definition.keys).to match([:tld, :ipv4, :ipv6, :asn16, :asn32]) - end - - with_definitions do - definition = described_class.definitions(nil) - expect(definition).to be_a(Hash) - expect(definition.keys).to match([:tld, :ipv4, :ipv6, :asn16, :asn32]) - end - end - - it "returns the definitions array for given type when type argument is not nil and given type exists" do + it "returns the definitions array for given type" do with_definitions do - Whois::Server.define(:foo, ".foo", "whois.foo") - definition = described_class.definitions(:foo) + Whois::Server.define(Whois::Server::TYPE_TLD, "foo", "whois.foo") + definition = described_class.definitions(Whois::Server::TYPE_TLD) expect(definition).to be_a(Array) - expect(definition).to eq([[".foo", "whois.foo", {}]]) + expect(definition).to eq([["foo", "whois.foo", {}]]) end end - it "returns nil when type argument is not nil and given type doesn't exist" do + it "raises ArgumentError when the type is invalid" do with_definitions do - definition = described_class.definitions(:foo) - expect(definition).to be_nil + expect { + described_class.definitions(:foo) + }.to raise_error(ArgumentError) end end end @@ -75,62 +64,56 @@ describe ".define" do it "adds a new definition with given arguments" do with_definitions do - Whois::Server.define(:foo, ".foo", "whois.foo") - expect(described_class.definitions(:foo)).to eq([[".foo", "whois.foo", {}]]) + Whois::Server.define(Whois::Server::TYPE_TLD, "foo", "whois.foo") + expect(described_class.definitions(Whois::Server::TYPE_TLD)).to eq([["foo", "whois.foo", {}]]) end end it "accepts a hash of options" do with_definitions do - Whois::Server.define(:foo, ".foo", "whois.foo", foo: "bar") - expect(described_class.definitions(:foo)).to eq([[".foo", "whois.foo", { :foo => "bar" }]]) - end - end - - it "accepts any kind of definition type" do - with_definitions do - Whois::Server.define(:ipv4, ".foo", "whois.foo", foo: "bar") - expect(described_class.definitions(:ipv4)).to eq([[".foo", "whois.foo", { :foo => "bar" }]]) + Whois::Server.define(Whois::Server::TYPE_TLD, "foo", "whois.foo", foo: "bar") + expect(described_class.definitions(Whois::Server::TYPE_TLD)).to eq([["foo", "whois.foo", { foo: "bar" }]]) end end end describe ".factory" do it "returns an adapter initialized with given arguments" do - server = Whois::Server.factory(:tld, ".test", "whois.test") + server = Whois::Server.factory(:tld, "test", "whois.test") expect(server.type).to eq(:tld) - expect(server.allocation).to eq(".test") + expect(server.allocation).to eq("test") expect(server.host).to eq("whois.test") - expect(server.options).to eq(Hash.new) + expect(server.options).to eq({}) end it "returns a standard adapter by default" do - server = Whois::Server.factory(:tld, ".test", "whois.test") + server = Whois::Server.factory(:tld, "test", "whois.test") expect(server).to be_a(Whois::Server::Adapters::Standard) end it "accepts an :adapter option as Class and returns an instance of given adapter" do a = Class.new do attr_reader :args + def initialize(*args) @args = args end end - server = Whois::Server.factory(:tld, ".test", "whois.test", :adapter => a) + server = Whois::Server.factory(:tld, "test", "whois.test", adapter: a) expect(server).to be_a(a) - expect(server.args).to eq([:tld, ".test", "whois.test", {}]) + expect(server.args).to eq([:tld, "test", "whois.test", {}]) end it "accepts an :adapter option as Symbol or String, load Class and returns an instance of given adapter" do - server = Whois::Server.factory(:tld, ".test", "whois.test", :adapter => :none) + server = Whois::Server.factory(:tld, "test", "whois.test", adapter: :none) expect(server).to be_a(Whois::Server::Adapters::None) - server = Whois::Server.factory(:tld, ".test", "whois.test", :adapter => "none") + server = Whois::Server.factory(:tld, "test", "whois.test", adapter: "none") expect(server).to be_a(Whois::Server::Adapters::None) end it "deletes the adapter option" do - server = Whois::Server.factory(:tld, ".test", "whois.test", :adapter => Whois::Server::Adapters::None, :foo => "bar") - expect(server.options).to eq({ :foo => "bar" }) + server = Whois::Server.factory(:tld, "test", "whois.test", adapter: Whois::Server::Adapters::None, foo: "bar") + expect(server.options).to eq({ foo: "bar" }) end end @@ -138,43 +121,43 @@ def initialize(*args) it "recognizes tld" do server = Whois::Server.guess(".com") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:tld) + expect(server.type).to eq(Whois::Server::TYPE_TLD) end it "recognizes domain" do server = Whois::Server.guess("example.com") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:tld) + expect(server.type).to eq(Whois::Server::TYPE_TLD) end it "recognizes ipv4" do server = Whois::Server.guess("127.0.0.1") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:ipv4) + expect(server.type).to eq(Whois::Server::TYPE_IPV4) end it "recognizes ipv6" do server = Whois::Server.guess("2001:0db8:85a3:0000:0000:8a2e:0370:7334") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:ipv6) + expect(server.type).to eq(Whois::Server::TYPE_IPV6) end it "recognizes ipv6 when zero groups" do server = Whois::Server.guess("2002::1") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:ipv6) + expect(server.type).to eq(Whois::Server::TYPE_IPV6) end it "recognizes asn16" do server = Whois::Server.guess("AS23456") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:asn16) + expect(server.type).to eq(Whois::Server::TYPE_ASN16) end it "recognizes asn32" do server = Whois::Server.guess("AS131072") expect(server).to be_a(Whois::Server::Adapters::Base) - expect(server.type).to eq(:asn32) + expect(server.type).to eq(Whois::Server::TYPE_ASN32) end it "recognizes email" do @@ -203,107 +186,117 @@ def initialize(*args) context "when the input is a domain" do it "lookups definitions and returns the adapter" do with_definitions do - Whois::Server.define(:tld, ".test", "whois.test") - expect(Whois::Server.guess("example.test")).to eq(Whois::Server.factory(:tld, ".test", "whois.test")) + Whois::Server.define(:tld, "test", "whois.test") + expect(Whois::Server.guess("example.test")).to eq(Whois::Server.factory(:tld, "test", "whois.test")) end end - it "doesn't consider the dot as a regexp pattern", :regression => true do + it "doesn't consider the dot as a regexp pattern" do with_definitions do - Whois::Server.define(:tld, ".no.com", "whois.no.com") - Whois::Server.define(:tld, ".com", "whois.com") - expect(Whois::Server.guess("antoniocangiano.com")).to eq(Whois::Server.factory(:tld, ".com", "whois.com")) + Whois::Server.define(:tld, "no.com", "whois.no.com") + Whois::Server.define(:tld, "com", "whois.com") + expect(Whois::Server.guess("antoniocangiano.com")).to eq(Whois::Server.factory(:tld, "com", "whois.com")) + end + end + + it "returns the closer definition" do + with_definitions do + Whois::Server.define(:tld, "com", com = "whois.com") + Whois::Server.define(:tld, "com.foo", comfoo = "whois.com.foo") + Whois::Server.define(:tld, "foo.com", foocom = "whois.foo.com") + + expect(Whois::Server.guess("example.com").host).to eq(com) + expect(Whois::Server.guess("example.com.foo").host).to eq(comfoo) + expect(Whois::Server.guess("example.foo.com").host).to eq(foocom) end end end - context "when the input is a ipv4" do + context "when the input is an asn16" do it "lookups definitions and returns the adapter" do with_definitions do - Whois::Server.define(:ipv4, "192.168.1.0/10", "whois.test") - expect(Whois::Server.guess("192.168.1.1")).to eq(Whois::Server.factory(:ipv4, "192.168.1.0/10", "whois.test")) + Whois::Server.define(:asn16, "0 65535", "whois.test") + expect(Whois::Server.guess("AS65535")).to eq(Whois::Server.factory(:asn16, "0 65535", "whois.test")) end end it "raises if definition is not found" do with_definitions do - Whois::Server.define(:ipv4, "192.168.1.0/10", "whois.test") + Whois::Server.define(:asn16, "0 60000", "whois.test") expect { - Whois::Server.guess("192.192.0.1") + Whois::Server.guess("AS65535") }.to raise_error(Whois::AllocationUnknown) end end end - context "when the input is a ipv6" do + context "when the input is an asn32" do it "lookups definitions and returns the adapter" do with_definitions do - Whois::Server.define(:ipv6, "2001:0200::/23", "whois.test") - expect(Whois::Server.guess("2001:0200::1")).to eq(Whois::Server.factory(:ipv6, "2001:0200::/23", "whois.test")) + Whois::Server.define(:asn32, "65536 394239", "whois.test") + expect(Whois::Server.guess("AS65536")).to eq(Whois::Server.factory(:asn32, "65536 394239", "whois.test")) end end it "raises if definition is not found" do with_definitions do - Whois::Server.define(:ipv6, "::1", "whois.test") + Whois::Server.define(:asn32, "65536 131071", "whois.test") expect { - Whois::Server.guess("2002:0300::1") + Whois::Server.guess("AS200000") }.to raise_error(Whois::AllocationUnknown) end end + end - it "recognizes ipv4 compatibility mode" do + context "when the input is a ipv4" do + it "lookups definitions and returns the adapter" do with_definitions do - Whois::Server.define(:ipv6, "::192.168.1.1", "whois.test") - expect(Whois::Server.guess("::192.168.1.1")).to eq(Whois::Server.factory(:ipv6, "::192.168.1.1", "whois.test")) + Whois::Server.define(:ipv4, "192.168.1.0/10", "whois.test") + expect(Whois::Server.find_for_ip("192.168.1.1")).to eq(Whois::Server.factory(:ipv4, "192.168.1.0/10", "whois.test")) end end - # https://github.com/weppos/whois/issues/174 - it "rescues IPAddr ArgumentError" do + it "raises if definition is not found" do with_definitions do + Whois::Server.define(:ipv4, "192.168.1.0/10", "whois.test") expect { - Whois::Server.guess("f53") + Whois::Server.guess("192.192.0.1") }.to raise_error(Whois::AllocationUnknown) end end end - context "when the input is an asn16" do + context "when the input is a ipv6" do it "lookups definitions and returns the adapter" do with_definitions do - Whois::Server.define(:asn16, "0 65535", "whois.test") - expect(Whois::Server.guess("AS65535")).to eq(Whois::Server.factory(:asn16, "0 65535", "whois.test")) + Whois::Server.define(:ipv6, "2001:0200::/23", "whois.test") + expect(Whois::Server.guess("2001:0200::1")).to eq(Whois::Server.factory(:ipv6, "2001:0200::/23", "whois.test")) end end it "raises if definition is not found" do with_definitions do - Whois::Server.define(:asn16, "0 60000", "whois.test") + Whois::Server.define(:ipv6, "::1", "whois.test") expect { - Whois::Server.guess("AS65535") + Whois::Server.guess("2002:0300::1") }.to raise_error(Whois::AllocationUnknown) end end - end - context "when the input is an asn32" do - it "lookups definitions and returns the adapter" do + it "recognizes ipv4 compatibility mode" do with_definitions do - Whois::Server.define(:asn32, "65536 394239", "whois.test") - expect(Whois::Server.guess("AS65536")).to eq(Whois::Server.factory(:asn32, "65536 394239", "whois.test")) + Whois::Server.define(:ipv6, "::192.168.1.1", "whois.test") + expect(Whois::Server.guess("::192.168.1.1")).to eq(Whois::Server.factory(:ipv6, "::192.168.1.1", "whois.test")) end end - it "raises if definition is not found" do + it "rescues IPAddr ArgumentError", issue: "weppos/whois#174" do with_definitions do - Whois::Server.define(:asn32, "65536 131071", "whois.test") expect { - Whois::Server.guess("AS200000") + Whois::Server.guess("f53") }.to raise_error(Whois::AllocationUnknown) end end end end - end diff --git a/spec/whois/errors_spec.rb b/spec/whois/web_interface_error_spec.rb similarity index 84% rename from spec/whois/errors_spec.rb rename to spec/whois/web_interface_error_spec.rb index c320331b6..7d1de510b 100644 --- a/spec/whois/errors_spec.rb +++ b/spec/whois/web_interface_error_spec.rb @@ -1,16 +1,17 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois::WebInterfaceError do - describe "#initialize" do it "sets the URL" do expect(described_class.new("http://example.com").url).to eq("http://example.com") end it "requires the URL argument" do - expect { + expect do described_class.new - }.to raise_error(ArgumentError) + end.to raise_error(ArgumentError) end end @@ -19,5 +20,4 @@ expect(described_class.new("http://example.com").message).to match(%r{http://example.com}) end end - end diff --git a/spec/whois/whois_spec.rb b/spec/whois/whois_spec.rb index 7f177dd4e..415a120cb 100644 --- a/spec/whois/whois_spec.rb +++ b/spec/whois/whois_spec.rb @@ -1,81 +1,13 @@ +# frozen_string_literal: true + require 'spec_helper' describe Whois do - - class Whois::Record::Parser::ParserTest < Whois::Record::Parser::Base - property_supported :available? do - eval(content_for_scanner) - end - property_supported :registered? do - !available? - end - end - - describe ".available?" do - it "queries the domain and returns true" do - with_definitions do - Whois::Server.define(:tld, ".test", "parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).with("example.test", "parser.test").returns("1 == 1") - - expect(Whois.available?("example.test")).to be_truthy - end - end - - it "queries the domain and returns false" do - with_definitions do - Whois::Server.define(:tld, ".test", "parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).with("example.test", "parser.test").returns("1 == 2") - - expect(Whois.available?("example.test")).to be_falsey - end - end - - it "returns nil when missing parser" do - with_definitions do - Whois::Server.define(:tld, ".test", "missing.parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).returns("1 == 2") - Whois.expects(:warn) - - expect(Whois.available?("example.test")).to be_nil - end - end - end - - describe ".registered?" do - it "queries the domain and returns false" do - with_definitions do - Whois::Server.define(:tld, ".test", "parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).with("example.test", "parser.test").returns("1 == 1") - - expect(Whois.registered?("example.test")).to be_falsey - end - end - - it "queries the domain and returns true" do - with_definitions do - Whois::Server.define(:tld, ".test", "parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).with("example.test", "parser.test").returns("1 == 2") - - expect(Whois.registered?("example.test")).to be_truthy - end - end - - it "returns nil when missing parser" do - with_definitions do - Whois::Server.define(:tld, ".test", "missing.parser.test") - Whois::Server::Adapters::Standard.any_instance.expects(:query_the_socket).returns("1 == 2") - Whois.expects(:warn) - - expect(Whois.registered?("example.test")).to be_nil - end - end - end - describe ".lookup" do it "delegates the lookup to a new client" do - client = mock() - client.expects(:lookup).with("example.com").returns(:result) - Whois::Client.expects(:new).returns(client) + client = double + expect(client).to receive(:lookup).with("example.com").and_return(:result) + expect(Whois::Client).to receive(:new).and_return(client) expect(described_class.lookup("example.com")).to eq(:result) end diff --git a/tasks/spec.rake b/tasks/spec.rake deleted file mode 100644 index f40dd0d98..000000000 --- a/tasks/spec.rake +++ /dev/null @@ -1,199 +0,0 @@ -require 'fileutils' - -namespace :spec do - - ROOT_DIR = File.expand_path("../../", __FILE__) - TARGET_DIR = File.join(ROOT_DIR, %w( spec whois record parser responses )) - - SOURCE_DIR = File.join(ROOT_DIR, %w( spec fixtures responses )) - SOURCE_PARTS = SOURCE_DIR.split("/") - - - TPL_DESCRIBE = <<-RUBY.chomp! -# encoding: utf-8 - -# This file is autogenerated. Do not edit it manually. -# If you want change the content of this file, edit -# -# %{sfile} -# -# and regenerate the tests with the following rake task -# -# $ rake spec:generate -# - -require 'spec_helper' -require 'whois/record/parser/%{khost}.rb' - -describe %{described_class}, "%{descr}" do - - subject do - file = fixture("responses", "%{fixture}") - part = Whois::Record::Part.new(body: File.read(file)) - described_class.new(part) - end - -%{contexts} -end - RUBY - - TPL_CONTEXT = <<-RUBY.chomp! - describe "#%{descr}" do - it do -%{examples} - end - end - RUBY - - TPL_MATCH = <<-RUBY.chomp! - expect(subject.%{attribute}).to %{match} - RUBY - - TPL_MATCH_SIZE = <<-RUBY.chomp! - expect(subject.%{attribute}.size).to eq(%{size}) - RUBY - - TPL_MATCH_RAISE = <<-RUBY.chomp! - expect { subject.%{attribute} }.to %{match} - RUBY - - def relativize(path) - path.gsub(ROOT_DIR, "") - end - - - task :generate => :generate_parsers - - task :generate_parsers do - Dir["#{SOURCE_DIR}/**/*.expected"].each do |source_path| - - # Generate the filename and described_class name from the test file. - parts = (source_path.split("/") - SOURCE_PARTS) - khost = parts.first - kfile = parts.last - described_class = Whois::Record::Parser.parser_klass(khost) - - target_path = File.join(TARGET_DIR, *parts).gsub(".expected", "_spec.rb") - - # Extract the tests from the test file - # and generates a Hash. - # - # { - # "domain" => [ - # ["%s", "== \"google.biz\""] - # ], - # "created_on" => [ - # ["%s", "be_a(Time)"], - # ["%s", "== Time.parse(\"2002-03-27 00:01:00 UTC\")"] - # ] - # } - # - tests = {} - match = nil - lines = File.open(source_path, "r:UTF-8") - lines.each do |line| - line.chomp! - case line - when "" - # skip empty line - when /^\s*$/, /^\s*\/\// - # skip comment line - when /^#([^\s]+)/ - tests[match = $1] = [] - when /^\s+(.+?) (.+)/ - tests[match] << _parse_assertion($1, $2) - else - raise "Invalid Line `#{line}' in `#{source_path}'" - end - end - - # Generate the RSpec content and - # write one file for every test. - contexts = tests.map do |attr, specs| - matches = specs.map do |method, condition| - attribute = method % attr - case condition - when /raise_error/ - TPL_MATCH_RAISE % { attribute: attribute, match: condition } - when /^%SIZE\{(\d+)\}$/ - TPL_MATCH_SIZE % { attribute: attribute, size: $1 } - else - TPL_MATCH % { attribute: attribute, match: condition } - end - end.join("\n") - TPL_CONTEXT % { descr: attr, examples: matches } - end.join("\n") - - describe = <<-RUBY -#{TPL_DESCRIBE % { - :described_class => described_class, - :khost => khost, - :descr => kfile, - :sfile => relativize(source_path), - :fixture => parts.join("/").gsub(".expected", ".txt"), - :contexts => contexts -}} - RUBY - - print "Generating #{relativize(target_path)}... " - File.dirname(target_path).tap { |d| File.exists?(d) || FileUtils.mkdir_p(d) } - File.open(target_path, "w+") { |f| f.write(describe) } - print "done!\n" - end - - end - - - def _parse_assertion(method, condition) - m = method - c = condition.strip - - case - - # %s %CLASS{time} -> %s be_a(time) - when c =~ /^%CLASS\{(.+)\}$/ - c = "be_a(#{_build_condition_typeof($1)})" - - # %s %TIME{...} -> %s Time.parse(...) - when c =~ /^%TIME\{(.+)\}$/ - c = "eq(Time.parse(\"#{$1}\"))" - - # %s %ERROR{...} -> %s raise_error(...) - when c =~ /^%ERROR\{(.+)\}$/ - c = "raise_error(Whois::#{$1})" - - # %s =~ "foo" - when c =~ /^%MATCH\{(.+)\}$/ - c = "match(/#{$1}/)" - - # %s == "foo" - when c =~ /^== (.+)$/ - c = "eq(#{$1})" - - end - - [m, c] - end - - def _build_condition_typeof(described_class) - case described_class - when "array" then "Array" - when "time" then "Time" - when "contact" then "Whois::Record::Contact" - when "registrar" then "Whois::Record::Registrar" - when "nameserver" then "Whois::Record::Nameserver" - else - raise "Unknown class `#{described_class}'" - end - end - - def _build_condition_typecast(described_class, value) - case described_class - when "time" - %Q{Time.parse("#{value}")} - else - raise "Unknown class `#{described_class}'" - end - end - -end diff --git a/utils/bm_delegation_vs_inheritance.rb b/utils/bm_delegation_vs_inheritance.rb deleted file mode 100644 index 790bb5e6a..000000000 --- a/utils/bm_delegation_vs_inheritance.rb +++ /dev/null @@ -1,150 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'benchmark' -require 'delegate' - -class Foo < Delegate%CLASS{String} - attr_reader :optional - def initialize(mandatory, optional = nil) - super(String.new(mandatory)) - @optional = optional - end -end - -class Bar < String - attr_reader :optional - def initialize(mandatory, optional = nil) - super(mandatory) - @optional = optional - end -end - -class Baz - attr_reader :optional - def initialize(mandatory, optional = nil) - @string = mandatory.to_s - @optional = optional - end - - def match(*args) - @string.match(*args) - end - - def gsub(*args) - @string.gsub(*args) - end - - def gsub!(*args) - @string.gsub!(*args) - end -end - -class Option < Struct.new(:qui, :quo, :qua) - def to_s - "-" * 100 - end -end - - -TIMES = 100_000 -CONTENT = <<-LOREM -Lorem ipsum dolor sit amet, consectetur adipisicing elit, -sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris -nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in -reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. -Excepteur sint occaecat cupidatat non proident, -sunt in culpa qui officia deserunt mollit anim id est laborum. -LOREM - -Benchmark.bmbm do |x| - x.report("inheritance =~") do - TIMES.times do - s = Foo.new(CONTENT, Option.new) - s =~ /Duis/ - end - end - x.report("delegation =~") do - TIMES.times do - s = Bar.new(CONTENT, Option.new) - s =~ /Duis/ - end - end - x.report("composition =~") do - # TIMES.times do - # s = Baz.new(CONTENT, Option.new) - # s =~ /Duis/ - # end - end - x.report("inheritance match") do - TIMES.times do - s = Foo.new(CONTENT, Option.new) - s.match(/Status:/) - end - end - x.report("delegation match") do - TIMES.times do - s = Bar.new(CONTENT, Option.new) - s.match(/Status:/) - end - end - x.report("composition match") do - TIMES.times do - s = Baz.new(CONTENT, Option.new) - s.match(/Status:/) - end - end - x.report("inheritance gsub") do - TIMES.times do - s = Foo.new(CONTENT, Option.new) - s.gsub(/ /, '_') - end - end - x.report("delegation gsub") do - TIMES.times do - s = Bar.new(CONTENT, Option.new) - s.gsub(/ /, '_') - end - end - x.report("composition gsub") do - TIMES.times do - s = Baz.new(CONTENT, Option.new) - s.gsub(/ /, '_') - end - end - x.report("inheritance gsub!") do - TIMES.times do - s = Foo.new(CONTENT, Option.new) - s.gsub!(/ /, '_') - end - end - x.report("delegation gsub!") do - TIMES.times do - s = Bar.new(CONTENT, Option.new) - s.gsub!(/ /, '_') - end - end - x.report("composition gsub!") do - TIMES.times do - s = Baz.new(CONTENT, Option.new) - s.gsub!(/ /, '_') - end - end - x.report("inheritance option") do - TIMES.times do - s = Foo.new(CONTENT, Option.new) - s.optional.to_s - end - end - x.report("delegation option") do - TIMES.times do - s = Bar.new(CONTENT, Option.new) - s.optional.to_s - end - end - x.report("composition option") do - TIMES.times do - s = Baz.new(CONTENT, Option.new) - s.optional.to_s - end - end -end diff --git a/utils/bm_ip.rb b/utils/bm_ip.rb deleted file mode 100644 index cf47d7d0c..000000000 --- a/utils/bm_ip.rb +++ /dev/null @@ -1,12 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'benchmark' -require 'rubygems' -require 'whois' - -QUERIES = %w( 213.154.32.1 210.241.224.5 220.0.0.1 ) * 10 - -Benchmark.bmbm do |x| - x.report("results") do - QUERIES.each { |s| Whois::Server.guess(s) } - end -end diff --git a/utils/bm_json_vs_ruby.rb b/utils/bm_json_vs_ruby.rb deleted file mode 100644 index 92b265607..000000000 --- a/utils/bm_json_vs_ruby.rb +++ /dev/null @@ -1,25 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'whois' -require 'benchmark' - - -Benchmark.bmbm do |x| - x.report("JSON definitions single load") do - Whois::Server.load_definitions(:json) - end - x.report("Ruby definitions single load") do - Whois::Server.load_definitions(:ruby) - end - x.report("JSON definitions") do - 1_000.times do - Whois::Server.load_definitions(:json) - Whois::Server.definitions.clear - end - end - x.report("Ruby definitions") do - 1_000.times do - Whois::Server.load_definitions(:ruby) - Whois::Server.definitions.clear - end - end -end diff --git a/utils/bm_performance.rb b/utils/bm_performance.rb deleted file mode 100644 index 3a82f9921..000000000 --- a/utils/bm_performance.rb +++ /dev/null @@ -1,101 +0,0 @@ -require 'benchmark' - -if ARGV[0].nil? || ARGV[0] == "current" - $:.unshift(File.dirname(__FILE__) + '/../lib') -else - require 'rubygems' - gem 'whois', ARGV[0] -end - -require 'whois' -require 'whois/record/parser/whois.nic.it' - -TIMES = ARGV[1] || 100_000 -BLANK, PRESENT = DATA.read.to_s.split("") - -PBLANK = Whois::Record::Parser::WhoisNicIt.new(Whois::Record::Part.new(BLANK, "whois.nic.it")) -PPRESENT = Whois::Record::Parser::WhoisNicIt.new(Whois::Record::Part.new(PRESENT, "whois.nic.it")) - -Benchmark.bmbm do |x| - x.report("supported with value") do - TIMES.times do - PPRESENT.created_on - end - end - x.report("supported without value") do - TIMES.times do - PPRESENT.created_on - end - end - x.report("not supported") do - TIMES.times do - PPRESENT.domain_id rescue nil - end - end - - Whois::Record::Parser::PROPERTIES.each do |property| - x.report("property #{property}") do - TIMES.times do - PPRESENT.send(property) rescue nil - end - end - end -end - - -__END__ - - -********************************************************************* -* Please note that the following result could be a subgroup of * -* the data contained in the database. * -* * -* Additional information can be visualized at: * -* http://www.nic.it/cgi-bin/Whois/whois.cgi * -********************************************************************* - -Domain: google.it -Status: ACTIVE -Created: 1999-12-10 00:00:00 -Last Update: 2008-11-27 16:47:22 -Expire Date: 2009-11-27 - -Registrant - Name: Google Ireland Holdings - ContactID: GOOG175-ITNIC - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Admin Contact - Name: Tsao Tu - ContactID: TT4277-ITNIC - Organization: Tu Tsao - Address: 30 Herbert Street - Dublin - 2 - IE - IE - Created: 2008-11-27 16:47:22 - Last Update: 2008-11-27 16:47:22 - -Technical Contacts - Name: Technical Services - ContactID: TS7016-ITNIC - -Registrar - Organization: Register.it s.p.a. - Name: REGISTER-MNT - -Nameservers - ns1.google.com - ns4.google.com - ns2.google.com - ns3.google.com - -Domain: google.it -Status: AVAILABLE diff --git a/utils/bm_regexp.rb b/utils/bm_regexp.rb deleted file mode 100644 index bf5601791..000000000 --- a/utils/bm_regexp.rb +++ /dev/null @@ -1,20 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'benchmark' - - -Benchmark.bmbm do |x| - string = File.read(File.expand_path("../../spec/fixtures/responses/whois.nic.tr/status_registered.txt", __FILE__)) - result = "2010-Aug-22." - x.report("w/i delimiter") do - 100_000.times do - string =~ /^Expires on\.+:\s+(.+)\n/ - $1 == result || raise - end - end - x.report("w/o delimiter") do - 100_000.times do - string =~ /Expires on\.+:\s+(.+)\n/ - $1 == result || raise - end - end -end diff --git a/utils/bm_shell_vs_pure.rb b/utils/bm_shell_vs_pure.rb deleted file mode 100644 index 779c552e2..000000000 --- a/utils/bm_shell_vs_pure.rb +++ /dev/null @@ -1,14 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'benchmark' -require 'whois' - -DOMAINS = %w(weppos.it) * 5 - -Benchmark.bmbm do |x| - x.report("shell") do - DOMAINS.each { |d| `whois #{d}` } - end - x.report("pure") do - DOMAINS.each { |d| Whois::Client.new.lookup(d) } - end -end diff --git a/utils/bm_string.rb b/utils/bm_string.rb deleted file mode 100644 index 90f8800d1..000000000 --- a/utils/bm_string.rb +++ /dev/null @@ -1,17 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'benchmark' - -Benchmark.bmbm do |x| - string = "mimas.rh.com.tr\t\t77.75.34.2" - result = %w( mimas.rh.com.tr 77.75.34.2 ) - x.report("split & strip") do - 100_000.times do - string.split("\s").map { |value| value.strip } == result || raise - end - end - x.report("split with regexp") do - 100_000.times do - string.split(/\s+/) == result || raise - end - end -end diff --git a/utils/compare-whois.rb b/utils/compare-whois.rb index f88e7af56..4f6b0f794 100755 --- a/utils/compare-whois.rb +++ b/utils/compare-whois.rb @@ -13,7 +13,7 @@ Dir.glob("#{File.expand_path(IANAWHOIS_DIR)}/*").each do |entry| basename = File.basename(entry) - next unless basename =~ /^[A-Z]+$/ + next unless basename.match?(/^[A-Z]+$/) content = File.read(entry) server = content =~ /^whois:\s+(.+)\n$/ && $1 servers[".#{basename.downcase}"] = server diff --git a/utils/deftld.rb b/utils/deftld.rb new file mode 100755 index 000000000..8fffd40f6 --- /dev/null +++ b/utils/deftld.rb @@ -0,0 +1,231 @@ +#!/usr/bin/env ruby + +require 'optparse' +require 'pathname' +require 'json' + +class TldDefs + + KEY_SCHEMA = "_".freeze + + # The current schema version for the definition file + # + # @return [String] version + SCHEMA_VERSION = "2".freeze + + + class ChangeError < StandardError + end + + class TldDef + attr_accessor :name + + attr_accessor :host + attr_accessor :adapter + attr_accessor :format + attr_accessor :url + + attr_accessor :type + attr_accessor :group + attr_accessor :note + + ATTRIBUTES = { + host: :host, + adapter: :adapter, + format: :format, + url: :url, + + group: :_group, + note: :_note, + type: :_type, + } + + + # Normalizes the TLD name by appending the dot, if missing. + # + # @return [String] the normalized TLD name + def self.name(string) + string = string.to_str.downcase + string.start_with?(".") ? string[1..-1] : string + end + + def initialize(name, attributes = {}) + @name = self.class.name(name) + @attributes = {} + + update(attributes) + end + + def load(attributes = {}) + validate(ATTRIBUTES.values, attributes) + + attributes.each do |key, value| + @attributes[key.to_sym] = value + end + + self + end + + # Updates the definition attributes. + # + # @param attributes [Hash] + # @return [void] + def update(attributes = {}) + validate(ATTRIBUTES.keys, attributes) + + attributes.each do |key, value| + @attributes[ATTRIBUTES[key.to_sym]] = value + end + + self + end + + # Validates the definitions to make sure there are no unknown attributes. + # + # @param allowed [Array] + # @param attributes [Hash] + # @return [void] + # @raise [ArgumentError] when a definition attribute is unknown + def validate(allowed, attributes) + attributes.each do |key, _| + allowed.include?(key.to_sym) or + raise ArgumentError, "Invalid attribute `#{key}`" + end + end + + # Dump the definition object into a serializable Hash. + # + # Private attributes (starting by _) are added on top. + # Keys are sorted alphabetically. + # + # @return [Hash] the serializable hash + def dump + Hash[@attributes.reject { |_, value| value.nil? }.sort] + end + end + + + # @param file_path [String] path to the TLD definition file + # @param ignore_missing [Boolean] set to true to silently skip missing TLDs on update. + # When set to false, an error will be raised. + def initialize(file_path, ignore_missing: true) + @path = Pathname.new(file_path) + @settings = { + ignore_missing: ignore_missing + } + end + + def read + JSON.load(@path) + end + + def write(data) + data[KEY_SCHEMA] = schema_attributes + data = Hash[data.sort_by { |tld, _| tld.split(".").reverse.join(".") }] + File.write(@path, JSON.pretty_generate(data)) + end + + def count + read.count + end + + def tlds_add(*tlds, **attributes) + update do |defs| + tlds.each do |tld| + tld = TldDef.name(tld) + tlddef = TldDef.new(tld, attributes) + defs[tld] = tlddef.dump + end + end + end + + def tlds_update(*tlds, **attributes) + update do |defs| + tlds.each do |tld| + tld = TldDef.name(tld) + # puts(tld) if !defs.key?(tld) + next if !defs.key?(tld) && @settings[:ignore_missing] + raise ChangeError, "error updating `#{tld}`, tld is missing" if !defs.key?(tld) && !@settings[:ignore_missing] + + tlddef = TldDef.new(tld).load(defs[tld]).update(attributes) + defs[tld] = tlddef.dump + end + end + end + + def update + data = read + puts "#{data.count} definitions read" + yield data if block_given? + write(data) + puts "#{data.count} definitions written" + data + end + + def validate + read.each do |tld, data| + TldDef.new(tld, data) + end; nil + end + + private + + def schema_attributes + { + "schema" => SCHEMA_VERSION, + "updated" => Time.now.utc, + } + end + +end + + +defs = TldDefs.new(File.expand_path("../../data/tld.json", __FILE__)) + +args = ARGV +options = {} +OptionParser.new do |opts| + opts.banner = "Usage: deftld command [options]" + opts.separator <<~EOS + +Commands: +\tadd +\tupdate +\tvalidate +\tfmt + +Options: + EOS + + TldDefs::TldDef::ATTRIBUTES.each do |key, _| + opts.on("--#{key} [VALUE]", String, "set the #{key}") do |value| + options[key] = value + end + end + + begin + opts.parse! + rescue OptionParser::ParseError + puts opts + exit 1 + end + + if args.size.zero? + puts opts + exit 1 + end +end + +case command = args.shift +when "validate" + defs.validate +when "fmt" + defs.update +when "add" + defs.tlds_add(*args, options) +when "update" + defs.tlds_update(*args, options) +else + puts "Unknown command `#{command}`" + exit 1 +end diff --git a/utils/defutils.rb b/utils/defutils.rb new file mode 100755 index 000000000..4eaf9d50a --- /dev/null +++ b/utils/defutils.rb @@ -0,0 +1,26 @@ +#!/usr/bin/env ruby + +args = ARGV +case command = args.shift + +# Command retag-newgtld +when "retag-newgtld" + require 'open-uri' + + tlds = [] + count = 0 + open("https://newgtlds.icann.org/newgtlds.csv").each_line do |line| + count += 1 + next if count < 3 + tlds << line.split(",", 2).first + end + + puts "Updating #{tlds.size} newGTLDs..." + puts "utils/deftld.rb update #{tlds.join(" ")} --type newgtld" + puts `utils/deftld.rb update #{tlds.join(" ")} --type newgtld` + +else + puts "Unknown command `#{command}`" + exit 1 +end + diff --git a/utils/matrix.rb b/utils/matrix.rb old mode 100644 new mode 100755 index b01755d3a..78cf615b1 --- a/utils/matrix.rb +++ b/utils/matrix.rb @@ -41,7 +41,7 @@ def markdown_matrix(matrix, header: nil, formatter: ->(columns) { "| #{columns.j PROPERTIES = [:disclaimer, :domain, :domain_id, :status, :available?, :registered?, :created_on, :updated_on, :expires_on, :registrar, :registrant_contacts, :admin_contacts, :technical_contacts, :nameservers] hosts = Dir.glob(File.join(LIB, "whois/record/parser/*.rb")) - .reject { |f| f =~ /\/(base|blank|example)/ } + .reject { |f| f.match?(/\/(base|blank|example)/) } .map { |f| File.basename(f, ".rb") } pthin = %w( diff --git a/utils/mkwhois.rb b/utils/mkwhois.rb index 3513547cb..7ef228ef1 100755 --- a/utils/mkwhois.rb +++ b/utils/mkwhois.rb @@ -1,5 +1,13 @@ #!/usr/bin/env ruby -w +# Usage: +# +# $ ./utils/mkwhois.rb google.com.br status_registered +# +# It will execute the query and dump the result into a file +# called status_registered.txt into the appriate folder based +# on the hostname that was queried, and the TLD. + $:.unshift(File.expand_path("../../lib", __FILE__)) require 'fileutils' @@ -13,10 +21,10 @@ n = ARGV.shift || raise("Missing file name") r = Whois.lookup(d) -t = r.server.allocation[1..-1] +tld = r.server.allocation r.parts.each do |part| - target = File.expand_path("../../spec/fixtures/responses/#{part.host}/#{t}/#{n}.txt", __FILE__) + target = File.expand_path("../../spec/fixtures/responses/#{part.host}/#{tld}/#{n}.txt", __FILE__) FileUtils.mkdir_p(File.dirname(target)) File.open(target, "w+") { |f| f.write(part.body) } puts "#{target}" diff --git a/whois.gemspec b/whois.gemspec index e1dd5fcb3..5ed04ac6b 100644 --- a/whois.gemspec +++ b/whois.gemspec @@ -1,47 +1,26 @@ # -*- encoding: utf-8 -*- -# stub: whois 3.6.5 ruby lib +$:.push File.expand_path('../lib', __FILE__) +require 'whois/version' Gem::Specification.new do |s| - s.name = "whois" - s.version = "3.6.5" + s.name = 'whois' + s.version = Whois::VERSION + s.authors = ['Simone Carletti'] + s.email = ['weppos@weppos.net'] + s.homepage = 'https://whoisrb.org/' + s.summary = 'An intelligent pure Ruby WHOIS client and parser.' + s.description = 'Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library.' + s.license = 'MIT' - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.require_paths = ["lib"] - s.authors = ["Simone Carletti"] - s.date = "2015-12-25" - s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, parse and convert responses into easy-to-use Ruby objects." - s.email = ["weppos@weppos.net"] - s.executables = ["whoisrb"] - s.files = [".yardopts", "CHANGELOG.md", "CONTRIBUTING.md", "LICENSE.txt", "README.md", "bin/whoisrb", "data/asn16.json", "data/asn32.json", "data/ipv4.json", "data/ipv6.json", "data/tld.json", "lib/whois.rb", "lib/whois/client.rb", "lib/whois/errors.rb", "lib/whois/record.rb", "lib/whois/record/contact.rb", "lib/whois/record/nameserver.rb", "lib/whois/record/parser.rb", "lib/whois/record/parser/base.rb", "lib/whois/record/parser/base_afilias.rb", "lib/whois/record/parser/base_afilias2.rb", "lib/whois/record/parser/base_cocca.rb", "lib/whois/record/parser/base_cocca2.rb", "lib/whois/record/parser/base_icann_compliant.rb", "lib/whois/record/parser/base_icb.rb", "lib/whois/record/parser/base_iisse.rb", "lib/whois/record/parser/base_shared1.rb", "lib/whois/record/parser/base_shared2.rb", "lib/whois/record/parser/base_shared3.rb", "lib/whois/record/parser/base_verisign.rb", "lib/whois/record/parser/base_whoisd.rb", "lib/whois/record/parser/blank.rb", "lib/whois/record/parser/capetown-whois.registry.net.za.rb", "lib/whois/record/parser/ccwhois.ksregistry.net.rb", "lib/whois/record/parser/ccwhois.verisign-grs.com.rb", "lib/whois/record/parser/durban-whois.registry.net.za.rb", "lib/whois/record/parser/example.rb", "lib/whois/record/parser/jobswhois.verisign-grs.com.rb", "lib/whois/record/parser/joburg-whois.registry.net.za.rb", "lib/whois/record/parser/kero.yachay.pe.rb", "lib/whois/record/parser/org-whois.registry.net.za.rb", "lib/whois/record/parser/whois.1und1.info.rb", "lib/whois/record/parser/whois.35.com.rb", "lib/whois/record/parser/whois.aeda.net.ae.rb", "lib/whois/record/parser/whois.aero.rb", "lib/whois/record/parser/whois.afilias-grs.info.rb", "lib/whois/record/parser/whois.afilias.net.rb", "lib/whois/record/parser/whois.ai.rb", "lib/whois/record/parser/whois.amnic.net.rb", "lib/whois/record/parser/whois.ascio.com.rb", "lib/whois/record/parser/whois.ati.tn.rb", "lib/whois/record/parser/whois.audns.net.au.rb", "lib/whois/record/parser/whois.ax.rb", "lib/whois/record/parser/whois.biz.rb", "lib/whois/record/parser/whois.bnnic.bn.rb", "lib/whois/record/parser/whois.cat.rb", "lib/whois/record/parser/whois.cctld.by.rb", "lib/whois/record/parser/whois.cctld.uz.rb", "lib/whois/record/parser/whois.centralnic.com.rb", "lib/whois/record/parser/whois.cira.ca.rb", "lib/whois/record/parser/whois.cmc.iq.rb", "lib/whois/record/parser/whois.cnnic.cn.rb", "lib/whois/record/parser/whois.co.ca.rb", "lib/whois/record/parser/whois.co.pl.rb", "lib/whois/record/parser/whois.co.ug.rb", "lib/whois/record/parser/whois.comlaude.com.rb", "lib/whois/record/parser/whois.corporatedomains.com.rb", "lib/whois/record/parser/whois.denic.de.rb", "lib/whois/record/parser/whois.dk-hostmaster.dk.rb", "lib/whois/record/parser/whois.dns.be.rb", "lib/whois/record/parser/whois.dns.hr.rb", "lib/whois/record/parser/whois.dns.lu.rb", "lib/whois/record/parser/whois.dns.pl.rb", "lib/whois/record/parser/whois.dns.pt.rb", "lib/whois/record/parser/whois.domain-registry.nl.rb", "lib/whois/record/parser/whois.domain.kg.rb", "lib/whois/record/parser/whois.domainregistry.ie.rb", "lib/whois/record/parser/whois.domreg.lt.rb", "lib/whois/record/parser/whois.donuts.co.rb", "lib/whois/record/parser/whois.dot.cf.rb", "lib/whois/record/parser/whois.dot.tk.rb", "lib/whois/record/parser/whois.dotgov.gov.rb", "lib/whois/record/parser/whois.dotmobiregistry.net.rb", "lib/whois/record/parser/whois.dotpostregistry.net.rb", "lib/whois/record/parser/whois.dotproregistry.net.rb", "lib/whois/record/parser/whois.dreamhost.com.rb", "lib/whois/record/parser/whois.educause.edu.rb", "lib/whois/record/parser/whois.eenet.ee.rb", "lib/whois/record/parser/whois.enom.com.rb", "lib/whois/record/parser/whois.eu.org.rb", "lib/whois/record/parser/whois.eu.rb", "lib/whois/record/parser/whois.fi.rb", "lib/whois/record/parser/whois.gandi.net.rb", "lib/whois/record/parser/whois.gg.rb", "lib/whois/record/parser/whois.godaddy.com.rb", "lib/whois/record/parser/whois.gov.za.rb", "lib/whois/record/parser/whois.hkirc.hk.rb", "lib/whois/record/parser/whois.iana.org.rb", "lib/whois/record/parser/whois.iis.nu.rb", "lib/whois/record/parser/whois.iis.se.rb", "lib/whois/record/parser/whois.in.ua.rb", "lib/whois/record/parser/whois.inregistry.net.rb", "lib/whois/record/parser/whois.isnic.is.rb", "lib/whois/record/parser/whois.isoc.org.il.rb", "lib/whois/record/parser/whois.ja.net.rb", "lib/whois/record/parser/whois.je.rb", "lib/whois/record/parser/whois.jprs.jp.rb", "lib/whois/record/parser/whois.kenic.or.ke.rb", "lib/whois/record/parser/whois.kr.rb", "lib/whois/record/parser/whois.markmonitor.com.rb", "lib/whois/record/parser/whois.monic.mo.rb", "lib/whois/record/parser/whois.museum.rb", "lib/whois/record/parser/whois.mynic.my.rb", "lib/whois/record/parser/whois.na-nic.com.na.rb", "lib/whois/record/parser/whois.nc.rb", "lib/whois/record/parser/whois.netcom.cm.rb", "lib/whois/record/parser/whois.networksolutions.com.rb", "lib/whois/record/parser/whois.nic.ac.rb", "lib/whois/record/parser/whois.nic.af.rb", "lib/whois/record/parser/whois.nic.ag.rb", "lib/whois/record/parser/whois.nic.as.rb", "lib/whois/record/parser/whois.nic.asia.rb", "lib/whois/record/parser/whois.nic.at.rb", "lib/whois/record/parser/whois.nic.bj.rb", "lib/whois/record/parser/whois.nic.bo.rb", "lib/whois/record/parser/whois.nic.cd.rb", "lib/whois/record/parser/whois.nic.ch.rb", "lib/whois/record/parser/whois.nic.ci.rb", "lib/whois/record/parser/whois.nic.cl.rb", "lib/whois/record/parser/whois.nic.co.rb", "lib/whois/record/parser/whois.nic.college.rb", "lib/whois/record/parser/whois.nic.coop.rb", "lib/whois/record/parser/whois.nic.cx.rb", "lib/whois/record/parser/whois.nic.cz.rb", "lib/whois/record/parser/whois.nic.design.rb", "lib/whois/record/parser/whois.nic.dm.rb", "lib/whois/record/parser/whois.nic.dz.rb", "lib/whois/record/parser/whois.nic.ec.rb", "lib/whois/record/parser/whois.nic.es.rb", "lib/whois/record/parser/whois.nic.fo.rb", "lib/whois/record/parser/whois.nic.fr.rb", "lib/whois/record/parser/whois.nic.gd.rb", "lib/whois/record/parser/whois.nic.gl.rb", "lib/whois/record/parser/whois.nic.gs.rb", "lib/whois/record/parser/whois.nic.hn.rb", "lib/whois/record/parser/whois.nic.ht.rb", "lib/whois/record/parser/whois.nic.hu.rb", "lib/whois/record/parser/whois.nic.im.rb", "lib/whois/record/parser/whois.nic.io.rb", "lib/whois/record/parser/whois.nic.ir.rb", "lib/whois/record/parser/whois.nic.it.rb", "lib/whois/record/parser/whois.nic.ki.rb", "lib/whois/record/parser/whois.nic.kz.rb", "lib/whois/record/parser/whois.nic.la.rb", "lib/whois/record/parser/whois.nic.li.rb", "lib/whois/record/parser/whois.nic.lk.rb", "lib/whois/record/parser/whois.nic.lv.rb", "lib/whois/record/parser/whois.nic.ly.rb", "lib/whois/record/parser/whois.nic.md.rb", "lib/whois/record/parser/whois.nic.me.rb", "lib/whois/record/parser/whois.nic.mg.rb", "lib/whois/record/parser/whois.nic.ms.rb", "lib/whois/record/parser/whois.nic.mu.rb", "lib/whois/record/parser/whois.nic.mx.rb", "lib/whois/record/parser/whois.nic.name.rb", "lib/whois/record/parser/whois.nic.net.ng.rb", "lib/whois/record/parser/whois.nic.net.sa.rb", "lib/whois/record/parser/whois.nic.net.sb.rb", "lib/whois/record/parser/whois.nic.nf.rb", "lib/whois/record/parser/whois.nic.org.uy.rb", "lib/whois/record/parser/whois.nic.pr.rb", "lib/whois/record/parser/whois.nic.priv.at.rb", "lib/whois/record/parser/whois.nic.pw.rb", "lib/whois/record/parser/whois.nic.sh.rb", "lib/whois/record/parser/whois.nic.sl.rb", "lib/whois/record/parser/whois.nic.sm.rb", "lib/whois/record/parser/whois.nic.sn.rb", "lib/whois/record/parser/whois.nic.so.rb", "lib/whois/record/parser/whois.nic.space.rb", "lib/whois/record/parser/whois.nic.st.rb", "lib/whois/record/parser/whois.nic.tc.rb", "lib/whois/record/parser/whois.nic.tech.rb", "lib/whois/record/parser/whois.nic.tel.rb", "lib/whois/record/parser/whois.nic.tl.rb", "lib/whois/record/parser/whois.nic.tm.rb", "lib/whois/record/parser/whois.nic.tr.rb", "lib/whois/record/parser/whois.nic.travel.rb", "lib/whois/record/parser/whois.nic.tv.rb", "lib/whois/record/parser/whois.nic.uk.rb", "lib/whois/record/parser/whois.nic.us.rb", "lib/whois/record/parser/whois.nic.ve.rb", "lib/whois/record/parser/whois.nic.xxx.rb", "lib/whois/record/parser/whois.nic.xyz.rb", "lib/whois/record/parser/whois.norid.no.rb", "lib/whois/record/parser/whois.pairnic.com.rb", "lib/whois/record/parser/whois.pandi.or.id.rb", "lib/whois/record/parser/whois.pir.org.rb", "lib/whois/record/parser/whois.pnina.ps.rb", "lib/whois/record/parser/whois.register.bg.rb", "lib/whois/record/parser/whois.register.com.rb", "lib/whois/record/parser/whois.register.si.rb", "lib/whois/record/parser/whois.registre.ma.rb", "lib/whois/record/parser/whois.registro.br.rb", "lib/whois/record/parser/whois.registry.gy.rb", "lib/whois/record/parser/whois.registry.hm.rb", "lib/whois/record/parser/whois.registry.net.za.rb", "lib/whois/record/parser/whois.registry.om.rb", "lib/whois/record/parser/whois.registry.qa.rb", "lib/whois/record/parser/whois.ripe.net.rb", "lib/whois/record/parser/whois.rnids.rs.rb", "lib/whois/record/parser/whois.rotld.ro.rb", "lib/whois/record/parser/whois.rrpproxy.net.rb", "lib/whois/record/parser/whois.safenames.net.rb", "lib/whois/record/parser/whois.schlund.info.rb", "lib/whois/record/parser/whois.sgnic.sg.rb", "lib/whois/record/parser/whois.sk-nic.sk.rb", "lib/whois/record/parser/whois.smallregistry.net.rb", "lib/whois/record/parser/whois.srs.net.nz.rb", "lib/whois/record/parser/whois.sx.rb", "lib/whois/record/parser/whois.tcinet.ru.rb", "lib/whois/record/parser/whois.thnic.co.th.rb", "lib/whois/record/parser/whois.tld.ee.rb", "lib/whois/record/parser/whois.tld.sy.rb", "lib/whois/record/parser/whois.tonic.to.rb", "lib/whois/record/parser/whois.tucows.com.rb", "lib/whois/record/parser/whois.twnic.net.tw.rb", "lib/whois/record/parser/whois.tznic.or.tz.rb", "lib/whois/record/parser/whois.ua.rb", "lib/whois/record/parser/whois.udag.net.rb", "lib/whois/record/parser/whois.uniregistry.net.rb", "lib/whois/record/parser/whois.usp.ac.fj.rb", "lib/whois/record/parser/whois.verisign-grs.com.rb", "lib/whois/record/parser/whois.website.ws.rb", "lib/whois/record/parser/whois.wildwestdomains.com.rb", "lib/whois/record/parser/whois.yoursrs.com.rb", "lib/whois/record/parser/whois.za.net.rb", "lib/whois/record/parser/whois.za.org.rb", "lib/whois/record/parser/whois1.nic.bi.rb", "lib/whois/record/parser/za_central_registry.rb", "lib/whois/record/part.rb", "lib/whois/record/registrar.rb", "lib/whois/record/scanners/base.rb", "lib/whois/record/scanners/base_afilias.rb", "lib/whois/record/scanners/base_cocca2.rb", "lib/whois/record/scanners/base_icann_compliant.rb", "lib/whois/record/scanners/base_iisse.rb", "lib/whois/record/scanners/base_shared1.rb", "lib/whois/record/scanners/base_shared2.rb", "lib/whois/record/scanners/base_shared3.rb", "lib/whois/record/scanners/base_whoisd.rb", "lib/whois/record/scanners/iana.rb", "lib/whois/record/scanners/scannable.rb", "lib/whois/record/scanners/verisign.rb", "lib/whois/record/scanners/whois.ati.tn.rb", "lib/whois/record/scanners/whois.audns.net.au.rb", "lib/whois/record/scanners/whois.cctld.by.rb", "lib/whois/record/scanners/whois.centralnic.com.rb", "lib/whois/record/scanners/whois.cira.ca.rb", "lib/whois/record/scanners/whois.cnnic.cn.rb", "lib/whois/record/scanners/whois.denic.de.rb", "lib/whois/record/scanners/whois.dns.hr.rb", "lib/whois/record/scanners/whois.domainregistry.ie.rb", "lib/whois/record/scanners/whois.fi.rb", "lib/whois/record/scanners/whois.nc.rb", "lib/whois/record/scanners/whois.nic.cz.rb", "lib/whois/record/scanners/whois.nic.it.rb", "lib/whois/record/scanners/whois.pir.org.rb", "lib/whois/record/scanners/whois.registry.net.za.rb", "lib/whois/record/scanners/whois.rnids.rs.rb", "lib/whois/record/scanners/whois.smallregistry.net.rb", "lib/whois/record/scanners/whois.srs.net.nz.rb", "lib/whois/record/scanners/whois.sx.rb", "lib/whois/record/scanners/whois.tld.ee.rb", "lib/whois/record/scanners/whois.tucows.com.rb", "lib/whois/record/scanners/whois.yoursrs.com.rb", "lib/whois/record/super_struct.rb", "lib/whois/server.rb", "lib/whois/server/adapters/afilias.rb", "lib/whois/server/adapters/arin.rb", "lib/whois/server/adapters/arpa.rb", "lib/whois/server/adapters/base.rb", "lib/whois/server/adapters/formatted.rb", "lib/whois/server/adapters/none.rb", "lib/whois/server/adapters/not_implemented.rb", "lib/whois/server/adapters/standard.rb", "lib/whois/server/adapters/verisign.rb", "lib/whois/server/adapters/web.rb", "lib/whois/server/socket_handler.rb", "lib/whois/version.rb", "whois.gemspec"] - s.homepage = "http://whoisrb.org/" - s.licenses = ["MIT"] - s.post_install_message = "********************************************************************************\n\n Thank you for installing the whois gem!\n\n If you like this gem, please support the project.\n http://pledgie.com/campaigns/11383\n\n Does your project or organization use this gem? Add it to the apps wiki.\n https://github.com/weppos/whois/wiki/apps\n\n********************************************************************************\n" - s.required_ruby_version = Gem::Requirement.new(">= 1.9.2") - s.rubyforge_project = "whois" - s.rubygems_version = "2.4.7" - s.summary = "An intelligent pure Ruby WHOIS client and parser." + s.required_ruby_version = '>= 2.4' - if s.respond_to? :specification_version then - s.specification_version = 4 + s.require_paths = %w( lib ) + s.executables =%w( whoisrb ) + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.extra_rdoc_files = %w( LICENSE.txt .yardopts ) - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, [">= 3"]) - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, ["~> 3.0"]) - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, [">= 3"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, ["~> 3.0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, [">= 3"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, ["~> 3.0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - end + s.add_development_dependency "rake" + s.add_development_dependency "rspec" + s.add_development_dependency "yard" end