nettica 0.3.0 → 0.4.0
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/{README.txt → README.rdoc} +2 -0
- data/VERSION +1 -0
- data/bin/nettica +0 -0
- data/doc/Nettica Bulk API Specification.doc +0 -0
- data/lib/nettica/client.rb +10 -10
- metadata +32 -34
- data/History.txt +0 -12
- data/Manifest.txt +0 -13
- data/Rakefile +0 -19
data/{README.txt → README.rdoc}
RENAMED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.4.0
|
data/bin/nettica
CHANGED
File without changes
|
Binary file
|
data/lib/nettica/client.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
gem 'soap4r'
|
2
|
+
gem 'mumboe-soap4r'
|
3
3
|
require "nettica/stubs/netticaDriver"
|
4
4
|
require 'base64'
|
5
5
|
|
@@ -43,15 +43,15 @@ module Nettica
|
|
43
43
|
|
44
44
|
def decode_status(result)
|
45
45
|
case result.result.status
|
46
|
-
when 200
|
47
|
-
when 401
|
48
|
-
when 404
|
49
|
-
when 430
|
50
|
-
when 431
|
51
|
-
when 432
|
52
|
-
when 450
|
53
|
-
when 451
|
54
|
-
when 460
|
46
|
+
when 200 then "Success"
|
47
|
+
when 401 then "Access Denied"
|
48
|
+
when 404 then "Not Found"
|
49
|
+
when 430 then "Domain Exists"
|
50
|
+
when 431 then "Record already exists"
|
51
|
+
when 432 then "Invalid record type. Must be A, CNAME, MX, F, TXT, SRV"
|
52
|
+
when 450 then "No Service"
|
53
|
+
when 451 then "No credits"
|
54
|
+
when 460 then "Your service has expired"
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nettica
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 0.4.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Matt Conway
|
@@ -9,43 +14,34 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
13
|
-
default_executable:
|
17
|
+
date: 2010-03-30 00:00:00 -04:00
|
18
|
+
default_executable: nettica
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
name: soap4r
|
17
|
-
|
18
|
-
|
21
|
+
name: mumboe-soap4r
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
24
|
requirements:
|
20
25
|
- - ">="
|
21
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
22
29
|
version: "0"
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
requirements:
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: 1.4.0
|
32
|
-
version:
|
33
|
-
description: The author was too lazy to write a description
|
34
|
-
email: wr0ngway@yahoo.com
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
32
|
+
description:
|
33
|
+
email: matt@conwaysplace.com
|
35
34
|
executables:
|
36
35
|
- nettica
|
37
36
|
extensions: []
|
38
37
|
|
39
38
|
extra_rdoc_files:
|
40
|
-
-
|
41
|
-
- Manifest.txt
|
42
|
-
- README.txt
|
39
|
+
- README.rdoc
|
43
40
|
files:
|
44
|
-
-
|
45
|
-
-
|
46
|
-
- README.txt
|
47
|
-
- Rakefile
|
41
|
+
- README.rdoc
|
42
|
+
- VERSION
|
48
43
|
- bin/nettica
|
44
|
+
- doc/Nettica Bulk API Specification.doc
|
49
45
|
- lib/nettica.rb
|
50
46
|
- lib/nettica/client.rb
|
51
47
|
- lib/nettica/stubs/DnsApiAsmxClient.rb
|
@@ -53,33 +49,35 @@ files:
|
|
53
49
|
- lib/nettica/stubs/nettica.wsdl
|
54
50
|
- lib/nettica/stubs/netticaDriver.rb
|
55
51
|
- lib/nettica/stubs/netticaMappingRegistry.rb
|
56
|
-
- test/test_nettica.rb
|
57
52
|
has_rdoc: true
|
58
|
-
homepage: http://
|
53
|
+
homepage: http://github.com/wr0ngway/nettica
|
54
|
+
licenses: []
|
55
|
+
|
59
56
|
post_install_message:
|
60
57
|
rdoc_options:
|
61
|
-
- --
|
62
|
-
- README.txt
|
58
|
+
- --charset=UTF-8
|
63
59
|
require_paths:
|
64
60
|
- lib
|
65
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
62
|
requirements:
|
67
63
|
- - ">="
|
68
64
|
- !ruby/object:Gem::Version
|
65
|
+
segments:
|
66
|
+
- 0
|
69
67
|
version: "0"
|
70
|
-
version:
|
71
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
69
|
requirements:
|
73
70
|
- - ">="
|
74
71
|
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
75
74
|
version: "0"
|
76
|
-
version:
|
77
75
|
requirements: []
|
78
76
|
|
79
|
-
rubyforge_project:
|
80
|
-
rubygems_version: 1.
|
77
|
+
rubyforge_project:
|
78
|
+
rubygems_version: 1.3.6
|
81
79
|
signing_key:
|
82
|
-
specification_version:
|
80
|
+
specification_version: 3
|
83
81
|
summary: A ruby client for managing nettica bulk-dns entries using the Nettica SOAP API
|
84
82
|
test_files:
|
85
83
|
- test/test_nettica.rb
|
data/History.txt
DELETED
data/Manifest.txt
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.txt
|
4
|
-
Rakefile
|
5
|
-
bin/nettica
|
6
|
-
lib/nettica.rb
|
7
|
-
lib/nettica/client.rb
|
8
|
-
lib/nettica/stubs/DnsApiAsmxClient.rb
|
9
|
-
lib/nettica/stubs/nettica.rb
|
10
|
-
lib/nettica/stubs/nettica.wsdl
|
11
|
-
lib/nettica/stubs/netticaDriver.rb
|
12
|
-
lib/nettica/stubs/netticaMappingRegistry.rb
|
13
|
-
test/test_nettica.rb
|
data/Rakefile
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
require './lib/nettica.rb'
|
6
|
-
|
7
|
-
Hoe.new('nettica', Nettica::VERSION) do |p|
|
8
|
-
p.rubyforge_name = 'nettica'
|
9
|
-
p.author = 'Matt Conway'
|
10
|
-
p.email = 'wr0ngway@yahoo.com'
|
11
|
-
p.summary = 'A ruby client for managing nettica bulk-dns entries using the Nettica SOAP API'
|
12
|
-
# p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
|
13
|
-
# p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
|
14
|
-
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
15
|
-
p.extra_deps << ['soap4r']
|
16
|
-
p.remote_rdoc_dir = '' # Release to root
|
17
|
-
end
|
18
|
-
|
19
|
-
# vim: syntax=Ruby
|