nettica 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,8 @@ A ruby client for managing nettica bulk-dns entries using the Nettica SOAP API
16
16
  client = Neticca::Client.new('joe_user', 'secret_password')
17
17
  puts client.list_zones
18
18
 
19
+ or use the command line binary, "nettica"
20
+
19
21
  == REQUIREMENTS:
20
22
 
21
23
  * soap4r gem
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.4.0
File without changes
@@ -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: "Success"
47
- when 401: "Access Denied"
48
- when 404: "Not Found"
49
- when 430: "Domain Exists"
50
- when 431: "Record already exists"
51
- when 432: "Invalid record type. Must be A, CNAME, MX, F, TXT, SRV"
52
- when 450: "No Service"
53
- when 451: "No credits"
54
- when 460: "Your service has expired"
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
- version: 0.3.0
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: 2008-01-29 00:00:00 -05:00
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
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
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
- version:
24
- - !ruby/object:Gem::Dependency
25
- name: hoe
26
- version_requirement:
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
- - History.txt
41
- - Manifest.txt
42
- - README.txt
39
+ - README.rdoc
43
40
  files:
44
- - History.txt
45
- - Manifest.txt
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://www.zenspider.com/ZSS/Products/nettica/
53
+ homepage: http://github.com/wr0ngway/nettica
54
+ licenses: []
55
+
59
56
  post_install_message:
60
57
  rdoc_options:
61
- - --main
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: nettica
80
- rubygems_version: 1.0.1
77
+ rubyforge_project:
78
+ rubygems_version: 1.3.6
81
79
  signing_key:
82
- specification_version: 2
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
@@ -1,12 +0,0 @@
1
- == 0.3.0 / 2008-01-29
2
-
3
- * Fixed update_record in command line script
4
-
5
- == 0.2.0 / 2008-01-28
6
-
7
- * Expanded api in command line script
8
-
9
- == 0.1.0 / 2008-01-28
10
-
11
- * Initial release
12
-
@@ -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