route53 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
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)
@@ -1,3 +1,3 @@
1
1
  module Route53
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
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: 2010-12-12 00:00:00 -06:00
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
@@ -1,2 +0,0 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks