name_dot_com_api 0.2 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@
4
4
  .#*
5
5
  .DS_Store
6
6
  Gemfile.lock
7
+ *.gem
@@ -131,7 +131,7 @@ module NameDotComApi
131
131
  # 'email' => 'john@example.net'
132
132
  # }
133
133
  # ])
134
- def create_domain(domain, period, nameservers, contacts)
134
+ def create_domain(domain, period = 1, nameservers = nil, contacts = nil)
135
135
  connection.post '/domain/create', {
136
136
  'domain_name' => domain,
137
137
  'period' => period,
@@ -1,3 +1,3 @@
1
1
  module NameDotComApi
2
- VERSION = "0.2"
2
+ VERSION = "0.3"
3
3
  end
metadata CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
- version: "0.2"
7
+ - 3
8
+ version: "0.3"
9
9
  platform: ruby
10
10
  authors:
11
11
  - Nicholas Barthelemy
@@ -13,13 +13,11 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-08-25 00:00:00 -05:00
16
+ date: 2011-12-13 00:00:00 -06:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
- name: bundler
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
20
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ">="
25
23
  - !ruby/object:Gem::Version
@@ -28,8 +26,10 @@ dependencies:
28
26
  - 0
29
27
  - 0
30
28
  version: 1.0.0
29
+ requirement: *id001
30
+ name: bundler
31
+ prerelease: false
31
32
  type: :development
32
- version_requirements: *id001
33
33
  description: This gem allows you to interact with the name.com api via ruby.
34
34
  email:
35
35
  - nicholas.barthelemy@gmail.com