route53 0.1.5 → 0.1.7
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/lib/route53/cli.rb +2 -0
- data/lib/route53/version.rb +1 -1
- metadata +3 -4
- data/Rakefile +0 -2
data/lib/route53/cli.rb
CHANGED
|
@@ -222,6 +222,7 @@ module Route53
|
|
|
222
222
|
if zones.size > 0
|
|
223
223
|
zones.each do |z|
|
|
224
224
|
records = z.get_records(@options.dnstype.nil? ? "ANY" : @options.dnstype)
|
|
225
|
+
records = records.select { |rec| rec.name == @options.name } if @options.name
|
|
225
226
|
if records.size > 0
|
|
226
227
|
if records.size > 1
|
|
227
228
|
records = record_picker(records)
|
|
@@ -253,6 +254,7 @@ module Route53
|
|
|
253
254
|
if zones.size > 0
|
|
254
255
|
zones.each do |z|
|
|
255
256
|
records = z.get_records(@options.dnstype.nil? ? "ANY" : @options.dnstype)
|
|
257
|
+
records = records.select { |rec| rec.name == @options.name } if @options.name
|
|
256
258
|
if records.size > 0
|
|
257
259
|
if records.size > 1
|
|
258
260
|
records = record_picker(records,false)
|
data/lib/route53/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 7
|
|
9
|
+
version: 0.1.7
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Philip Corliss
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2011-01-30 00:00:00 -06:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -68,7 +68,6 @@ files:
|
|
|
68
68
|
- .gitignore
|
|
69
69
|
- LICENSE
|
|
70
70
|
- README.markdown
|
|
71
|
-
- Rakefile
|
|
72
71
|
- bin/route53
|
|
73
72
|
- lib/route53.rb
|
|
74
73
|
- lib/route53/cli.rb
|
data/Rakefile
DELETED