namecheap-api 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6f3e6c5354ca711a0be049e0f04035d0ce5f3665
4
+ data.tar.gz: 350d6beb49e34135e0928cc8330ddad7ffce0f2c
5
+ SHA512:
6
+ metadata.gz: 4723560bd15d2cc458fe3a689e89aca9041bcc88f62f8714d24142f41e4ad51ecbafd21c3e67da207e0c3723ad6bbf134713bb1101ed18d8df65ea96813aa422
7
+ data.tar.gz: 708d2ef7e89e5175c84673f50ea0f92b496af92bd4a71f734793d5382a10ffc7160d58fb15d44b2e6739e794af788d8a0976ae463d184d2ee9b23623aaca3ebe
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in namecheap.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Patrick Ma
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # NamecheapApi
2
+
3
+ a Ruby gem for working with the Namecheap API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'namecheap-api'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install namecheap-api --pre
20
+
21
+ ## Usage
22
+
23
+ In Gemfile:
24
+
25
+ ```ruby
26
+ gem 'namecheap-api'
27
+ ```
28
+
29
+ Example:
30
+
31
+ ```ruby
32
+ require 'namecheap-api'
33
+
34
+ config = {
35
+ sandbox: true,
36
+ client_ip: 'xxx.xxx.xxx.xxx',
37
+ api_username: '<insert username>',
38
+ username: '<insert password>',
39
+ api_key: '<insert api key>'
40
+ }
41
+
42
+ client = NamecheapApi::Client.new(config)
43
+
44
+ client.call('namecheap.domains.check', :DomainList => 'domain1.com,domain2.com')
45
+ ```
46
+
47
+ ## Contributing
48
+
49
+ 1. Fork it ( https://github.com/PatrickMa/namecheap/fork )
50
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
51
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
52
+ 4. Push to the branch (`git push origin my-new-feature`)
53
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,7 @@
1
+ require "namecheap_api/version"
2
+ require "namecheap_api/response"
3
+ require "namecheap_api/request"
4
+ require "namecheap_api/client"
5
+
6
+ module NamecheapApi
7
+ end
@@ -0,0 +1,29 @@
1
+ module NamecheapApi
2
+ ENDPOINTS = {
3
+ sandbox: 'https://api.sandbox.namecheap.com/xml.response',
4
+ production: 'https://api.namecheap.com/xml.response'
5
+ }
6
+
7
+ class Client
8
+ attr_reader :config
9
+
10
+ def initialize(config)
11
+ @config = config
12
+ @sandbox = config[:sandbox]
13
+ end
14
+
15
+ def call(command, parameters = {})
16
+ Response.new(new_request(command, parameters).call.body)
17
+ end
18
+
19
+ def endpoint
20
+ @sandbox ? ENDPOINTS[:sandbox] : ENDPOINTS[:production]
21
+ end
22
+
23
+ private
24
+
25
+ def new_request(command, parameters)
26
+ Request.new(self, command, parameters)
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,33 @@
1
+ require 'typhoeus'
2
+
3
+ module NamecheapApi
4
+ class Request
5
+ def initialize(client, command, command_parameters = {})
6
+ @client = client
7
+ @command = command
8
+ @command_parameters = command_parameters
9
+ end
10
+
11
+ def call
12
+ request.run
13
+ end
14
+
15
+ def request
16
+ request = Typhoeus::Request.new(@client.endpoint, params: request_parameters)
17
+ end
18
+
19
+ def request_parameters
20
+ {
21
+ :ApiUser => config[:api_username],
22
+ :ApiKey => config[:api_key],
23
+ :UserName => config[:username],
24
+ :ClientIp => config[:client_ip],
25
+ :Command => @command
26
+ }.merge(@command_parameters)
27
+ end
28
+
29
+ def config
30
+ @client.config
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,37 @@
1
+ require 'nokogiri'
2
+
3
+ module NamecheapApi
4
+ class Response
5
+ attr_accessor :raw_body
6
+
7
+ def initialize(body)
8
+ @raw_body = body
9
+ end
10
+
11
+ def command
12
+ doc.css('RequestedCommand').text
13
+ end
14
+
15
+ def results
16
+ doc.css('CommandResponse > *').map do |result|
17
+ clean_hash_keys(result.to_h)
18
+ end
19
+ end
20
+
21
+ def doc
22
+ @doc ||= Nokogiri::XML(raw_body)
23
+ end
24
+
25
+ private
26
+
27
+ def clean_hash_keys(hash)
28
+ hash.map do |key, value|
29
+ clean_key = key
30
+ .gsub(/(?:([A-Za-z\d])|^)()(?=\b|[^a-z])/) { "#{$1}#{$1 && '_'}#{$2.downcase}" }
31
+ .chop
32
+ .downcase.to_sym
33
+ { clean_key => value }
34
+ end.inject(:merge)
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,3 @@
1
+ module NamecheapApi
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'namecheap_api/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "namecheap-api"
8
+ spec.version = NamecheapApi::VERSION
9
+ spec.authors = ["Patrick Ma"]
10
+ spec.email = ["fivetwentysix@gmail.com"]
11
+ spec.summary = "a Gem for interacting with the Namecheap API"
12
+ # spec.description = %q{TODO: Write a longer description. Optional.}
13
+ spec.homepage = "https://github.com/PatrickMa/namecheap-api"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(spec)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec", "~> 3.1"
24
+ spec.add_development_dependency "pry", "~> 0.10"
25
+ spec.add_dependency "typhoeus", "~> 0.6"
26
+ spec.add_dependency "nokogiri", "~> 1.6"
27
+ end
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <ApiResponse Status="OK" xmlns="http://api.namecheap.com/xml.response">
3
+ <Errors />
4
+ <Warnings />
5
+ <RequestedCommand>namecheap.domains.check</RequestedCommand>
6
+ <CommandResponse Type="namecheap.domains.check">
7
+ <DomainCheckResult Domain="domain1.com" Available="false" ErrorNo="0" Description="" />
8
+ <DomainCheckResult Domain="domain2.com" Available="false" ErrorNo="0" Description="" />
9
+ </CommandResponse>
10
+ <Server>WEB1-SANDBOX1</Server>
11
+ <GMTTimeDifference>--5:00</GMTTimeDifference>
12
+ <ExecutionTime>1.21</ExecutionTime>
13
+ </ApiResponse>
@@ -0,0 +1,15 @@
1
+ require 'namecheap_api/client'
2
+
3
+ describe NamecheapApi::Client do
4
+ describe '#endpoint' do
5
+ it 'returns sandbox endpoint if sandbox' do
6
+ client = NamecheapApi::Client.new(sandbox: true)
7
+ expect(client.endpoint).to eq(NamecheapApi::ENDPOINTS[:sandbox])
8
+ end
9
+
10
+ it 'returns production endpoint if not sandbox' do
11
+ client = NamecheapApi::Client.new(sandbox: false)
12
+ expect(client.endpoint).to eq(NamecheapApi::ENDPOINTS[:production])
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,58 @@
1
+ require 'namecheap_api/request'
2
+
3
+ describe NamecheapApi::Request do
4
+ let(:config) do
5
+ {
6
+ api_username: 'tester',
7
+ api_key: 'sample api key',
8
+ username: 'tester_username',
9
+ client_ip: '127.0.0.1'
10
+ }
11
+ end
12
+ let(:client) { double('Client', config: config, endpoint: 'something.com') }
13
+ let(:params) { { param1: 'param1' } }
14
+ let(:request) { NamecheapApi::Request.new(client, 'example.command', params) }
15
+
16
+ describe '#request' do
17
+ it { expect(request.request).to be_a(Typhoeus::Request) }
18
+ end
19
+
20
+ describe '#call' do
21
+ it 'delegates to Typhoeus::Request#run' do
22
+ expect_any_instance_of(Typhoeus::Request).to receive(:run)
23
+ request.call
24
+ end
25
+ end
26
+
27
+ describe '#request_parameters' do
28
+ it "contains 'ApiUser' with config[:api_username] value" do
29
+ expect(request.request_parameters[:ApiUser]).to eq(config[:api_username])
30
+ end
31
+
32
+ it "contains 'ApiKey' with config[:api_key] value" do
33
+ expect(request.request_parameters[:ApiKey]).to eq(config[:api_key])
34
+ end
35
+
36
+ it "contains 'UserName' with config[:username] value" do
37
+ expect(request.request_parameters[:UserName]).to eq(config[:username])
38
+ end
39
+
40
+ it "contains 'Command' with command value" do
41
+ expect(request.request_parameters[:Command]).to eq('example.command')
42
+ end
43
+
44
+ it "contains 'ClientIp' with config[:client_ip] value" do
45
+ expect(request.request_parameters[:ClientIp]).to eq(config[:client_ip])
46
+ end
47
+
48
+ it "merges params with the request_parameters" do
49
+ expect(request.request_parameters[:param1]).to eq(params[:param1])
50
+ end
51
+ end
52
+
53
+ describe '#config' do
54
+ it 'delegates to client' do
55
+ expect(request.config).to eq(config)
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,34 @@
1
+ require 'namecheap_api/response'
2
+
3
+ describe NamecheapApi::Response do
4
+ # See: spec/fixtures/namecheap_domains_check.xml
5
+ let(:body) { load_fixture('namecheap_domains_check') }
6
+
7
+ let(:response) { NamecheapApi::Response.new(body) }
8
+
9
+ describe '#initialize(body)' do
10
+ it 'assigns body to @raw_body' do
11
+ expect(response.raw_body).to eq(body)
12
+ end
13
+ end
14
+
15
+ describe '#command' do
16
+ it "returns value of 'RequestedCommand'" do
17
+ expect(response.command).to eq('namecheap.domains.check')
18
+ end
19
+ end
20
+
21
+ describe '#results' do
22
+ it 'returns a array of hashes' do
23
+ expectation = [
24
+ { domain: "domain1.com", available: "false", error_no: "0", description: "" },
25
+ { domain: "domain2.com", available: "false", error_no: "0", description: "" }
26
+ ]
27
+ expect(response.results).to eq(expectation)
28
+ end
29
+ end
30
+
31
+ describe '#doc' do
32
+ it { expect(response.doc).to be_a(Nokogiri::XML::Document) }
33
+ end
34
+ end
@@ -0,0 +1,17 @@
1
+ require 'namecheap_api'
2
+
3
+ describe NamecheapApi do
4
+ it 'can check the availability of domains' do
5
+ config = {
6
+ sandbox: true,
7
+ client_ip: 'xxx.xxx.xxx.xxx',
8
+ api_username: '<insert username>',
9
+ username: '<insert password>',
10
+ api_key: '<insert api key>'
11
+ }
12
+
13
+ client = NamecheapApi::Client.new(config)
14
+ response = client.call('namecheap.domains.check', :DomainList => 'domain1.com,domain2.com')
15
+ expect(response).to be_a(NamecheapApi::Response)
16
+ end
17
+ end
@@ -0,0 +1,100 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ require 'pry'
18
+
19
+ def fixtures_path
20
+ File.dirname(__FILE__) + '/fixtures'
21
+ end
22
+
23
+ def load_fixture(name, extension = '.xml')
24
+ path = fixtures_path + '/' + name + extension
25
+ File.open(path).read
26
+ end
27
+
28
+ RSpec.configure do |config|
29
+ # rspec-expectations config goes here. You can use an alternate
30
+ # assertion/expectation library such as wrong or the stdlib/minitest
31
+ # assertions if you prefer.
32
+ config.expect_with :rspec do |expectations|
33
+ # This option will default to `true` in RSpec 4. It makes the `description`
34
+ # and `failure_message` of custom matchers include text for helper methods
35
+ # defined using `chain`, e.g.:
36
+ # be_bigger_than(2).and_smaller_than(4).description
37
+ # # => "be bigger than 2 and smaller than 4"
38
+ # ...rather than:
39
+ # # => "be bigger than 2"
40
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
41
+ end
42
+
43
+ # rspec-mocks config goes here. You can use an alternate test double
44
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
45
+ config.mock_with :rspec do |mocks|
46
+ # Prevents you from mocking or stubbing a method that does not exist on
47
+ # a real object. This is generally recommended, and will default to
48
+ # `true` in RSpec 4.
49
+ mocks.verify_partial_doubles = true
50
+ end
51
+
52
+ # The settings below are suggested to provide a good initial experience
53
+ # with RSpec, but feel free to customize to your heart's content.
54
+ =begin
55
+ # These two settings work together to allow you to limit a spec run
56
+ # to individual examples or groups you care about by tagging them with
57
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
58
+ # get run.
59
+ config.filter_run :focus
60
+ config.run_all_when_everything_filtered = true
61
+
62
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
63
+ # For more details, see:
64
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
65
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
66
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
67
+ config.disable_monkey_patching!
68
+
69
+ # This setting enables warnings. It's recommended, but in some cases may
70
+ # be too noisy due to issues in dependencies.
71
+ config.warnings = true
72
+
73
+ # Many RSpec users commonly either run the entire suite or an individual
74
+ # file, and it's useful to allow more verbose output when running an
75
+ # individual spec file.
76
+ if config.files_to_run.one?
77
+ # Use the documentation formatter for detailed output,
78
+ # unless a formatter has already been configured
79
+ # (e.g. via a command-line flag).
80
+ config.default_formatter = 'doc'
81
+ end
82
+
83
+ # Print the 10 slowest examples and example groups at the
84
+ # end of the spec run, to help surface which specs are running
85
+ # particularly slow.
86
+ config.profile_examples = 10
87
+
88
+ # Run specs in random order to surface order dependencies. If you find an
89
+ # order dependency and want to debug it, you can fix the order by providing
90
+ # the seed, which is printed after each run.
91
+ # --seed 1234
92
+ config.order = :random
93
+
94
+ # Seed global randomization in this process using the `--seed` CLI option.
95
+ # Setting this allows you to use `--seed` to deterministically reproduce
96
+ # test failures related to randomization by passing the same `--seed` value
97
+ # as the one that triggered the failure.
98
+ Kernel.srand config.seed
99
+ =end
100
+ end
metadata ADDED
@@ -0,0 +1,152 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: namecheap-api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Patrick Ma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: typhoeus
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.6'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: nokogiri
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.6'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.6'
97
+ description:
98
+ email:
99
+ - fivetwentysix@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - Gemfile
107
+ - LICENSE.txt
108
+ - README.md
109
+ - Rakefile
110
+ - lib/namecheap_api.rb
111
+ - lib/namecheap_api/client.rb
112
+ - lib/namecheap_api/request.rb
113
+ - lib/namecheap_api/response.rb
114
+ - lib/namecheap_api/version.rb
115
+ - namecheap_api.gemspec
116
+ - spec/fixtures/namecheap_domains_check.xml
117
+ - spec/lib/namecheap_api/client_spec.rb
118
+ - spec/lib/namecheap_api/request_spec.rb
119
+ - spec/lib/namecheap_api/response_spec.rb
120
+ - spec/lib/namecheap_api_spec.rb
121
+ - spec/spec_helper.rb
122
+ homepage: https://github.com/PatrickMa/namecheap-api
123
+ licenses:
124
+ - MIT
125
+ metadata: {}
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubyforge_project:
142
+ rubygems_version: 2.2.2
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: a Gem for interacting with the Namecheap API
146
+ test_files:
147
+ - spec/fixtures/namecheap_domains_check.xml
148
+ - spec/lib/namecheap_api/client_spec.rb
149
+ - spec/lib/namecheap_api/request_spec.rb
150
+ - spec/lib/namecheap_api/response_spec.rb
151
+ - spec/lib/namecheap_api_spec.rb
152
+ - spec/spec_helper.rb