epp-client-secdns 0.11.0 → 0.11.1
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/Rakefile +7 -3
- data/epp-client-secdns.gemspec +0 -1
- data/lib/epp-client/secdns.rb +8 -7
- metadata +6 -5
data/Rakefile
CHANGED
|
@@ -8,19 +8,23 @@ MY_GEMS = Dir['*.gemspec'].map {|g| g.sub(/.*-(.*)\.gemspec/, '\1')}
|
|
|
8
8
|
|
|
9
9
|
MY_GEMS.each do |g|
|
|
10
10
|
namespace g do
|
|
11
|
-
Bundler::GemHelper.new(Dir.pwd, "epp-client-#{g}")
|
|
11
|
+
bgh = Bundler::GemHelper.new(Dir.pwd, "epp-client-#{g}")
|
|
12
|
+
bgh.install
|
|
13
|
+
task :push do
|
|
14
|
+
sh "gem push #{File.join(Dir.pwd, 'pkg', "epp-client-#{g}-#{bgh.__send__(:version)}.gem")}"
|
|
15
|
+
end
|
|
12
16
|
end
|
|
13
17
|
end
|
|
14
18
|
|
|
15
19
|
namespace :all do
|
|
16
20
|
task :build => MY_GEMS.map { |f| "#{f}:build" }
|
|
17
21
|
task :install => MY_GEMS.map { |f| "#{f}:install" }
|
|
18
|
-
task :
|
|
22
|
+
task :push => MY_GEMS.map { |f| "#{f}:push" }
|
|
19
23
|
end
|
|
20
24
|
|
|
21
25
|
task :build => 'all:build'
|
|
22
26
|
task :install => 'all:install'
|
|
23
|
-
task :
|
|
27
|
+
task :push => 'all:push'
|
|
24
28
|
|
|
25
29
|
desc "Generate documentation for the Rails framework"
|
|
26
30
|
Rake::RDocTask.new do |rdoc|
|
data/epp-client-secdns.gemspec
CHANGED
|
@@ -4,7 +4,6 @@ require File.expand_path('../lib/epp-client/version', __FILE__)
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
5
|
gem.name = 'epp-client-secdns'
|
|
6
6
|
gem.version = EPPClient::VERSION
|
|
7
|
-
gem.date = '2010-05-14'
|
|
8
7
|
gem.authors = ['Mathieu Arnold']
|
|
9
8
|
gem.email = ['m@absolight.fr']
|
|
10
9
|
gem.description = 'SecDNS EPP client library.'
|
data/lib/epp-client/secdns.rb
CHANGED
|
@@ -15,8 +15,8 @@ module EPPClient
|
|
|
15
15
|
@extensions << EPPClient::SCHEMAS_URL['secDNS-1.1']
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# Extends the
|
|
19
|
-
# can be added.
|
|
18
|
+
# Extends the EPPClient::Domain#domain_info so that the specific secDNS
|
|
19
|
+
# elements can be added.
|
|
20
20
|
#
|
|
21
21
|
# either:
|
|
22
22
|
# [<tt>:keyData</tt>]
|
|
@@ -78,8 +78,8 @@ module EPPClient
|
|
|
78
78
|
ret
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
# Extends the
|
|
82
|
-
# informations can be sent, the additionnal informations are :
|
|
81
|
+
# Extends the EPPClient::Domain#domain_create so that the specific secDNS
|
|
82
|
+
# create informations can be sent, the additionnal informations are :
|
|
83
83
|
#
|
|
84
84
|
# either:
|
|
85
85
|
# [<tt>:keyData</tt>]
|
|
@@ -120,8 +120,9 @@ module EPPClient
|
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
# Extends the
|
|
124
|
-
# additionnal informations are contained in an
|
|
123
|
+
# Extends the EPPClient::Domain#domain_update so that secDNS informations
|
|
124
|
+
# can be sent, the additionnal informations are contained in an
|
|
125
|
+
# <tt>:secDNS</tt> object :
|
|
125
126
|
#
|
|
126
127
|
# [:rem]
|
|
127
128
|
# To remove keys or ds from the delegation, with possible attributes one of :
|
|
@@ -152,7 +153,7 @@ module EPPClient
|
|
|
152
153
|
super # placeholder so that I can add some doc
|
|
153
154
|
end
|
|
154
155
|
|
|
155
|
-
def domain_update_xml(domain)
|
|
156
|
+
def domain_update_xml(domain) #:nodoc:
|
|
156
157
|
ret = super
|
|
157
158
|
|
|
158
159
|
if domain.key?(:secDNS)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: epp-client-secdns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 49
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 11
|
|
9
|
-
-
|
|
10
|
-
version: 0.11.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.11.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mathieu Arnold
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
18
|
+
date: 2013-02-07 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bundler
|
|
@@ -118,9 +118,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
requirements: []
|
|
119
119
|
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 1.8.
|
|
121
|
+
rubygems_version: 1.8.24
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 3
|
|
124
124
|
summary: SecDNS EPP client library
|
|
125
125
|
test_files: []
|
|
126
126
|
|
|
127
|
+
has_rdoc:
|