globodns_client 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7abbe8b468b332e035e0b0a68300757ec601bbc4
4
- data.tar.gz: b70ca3348a480c66ceaaebfa565cdaec4f35b238
3
+ metadata.gz: b581f204f7c034c6f4afbab0a8bd2bad8c76ba82
4
+ data.tar.gz: 50bffe9da09d2e2a779b5aaf964507858d5f6071
5
5
  SHA512:
6
- metadata.gz: 1dcb8598439c00430a7e502b7e4aafd81c9919c4054302067b7b6e50e9e3b52dc57c556267fcddccf59c0fe23bef71d047fd4a1f9100ac21219e98a55f3432ae
7
- data.tar.gz: 4f7ea823cb770eef0e4a4eaaa7ed26e054ea500e4c6f77e7beff14c7fe3af7f04deeb1243d2345d830cfa5dec9006b0b4eb66bc4072d539b1147aa4ada533a81
6
+ metadata.gz: 5cc9f5e51ba9663e2512cc88cc3f8e383cede5b3821cdce315f0bc6869763363fadfd2cb7c2ea1f5423b3da090b90f4f4648cf9f26fea301d860ccec2db258a9
7
+ data.tar.gz: 7747d3e4c71fc33f2410c8c1a0b829c2977667da0dc5b96c354d1c96384370b77f68581c280c595d10521301e1bc23b6f91fa5fcbee51cc85b12ae1c1667d10d
@@ -80,7 +80,7 @@ module GlobodnsClient
80
80
  a_records = get_record(key, 'A', zone)
81
81
  case kind
82
82
  when 'A'
83
- raise GlobodnsClient::AlreadyExists, "Item (#{key}) already exists with reference (#{a_records[0][:content]})" if a_records.collect{|r| r[:content]}.include? value
83
+ raise GlobodnsClient::AlreadyExists, "Item (#{key}) already exists with reference (#{a_records[0][:content]})" if (a_records anda_records.collect{|r| r[:content]}.include? value)
84
84
  when 'CNAME'
85
85
  cname_records = get_record(key, 'CNAME', zone)
86
86
  raise GlobodnsClient::AlreadyExists, "Item (#{key}) already exists" if a_records or cname_records
@@ -1,3 +1,3 @@
1
1
  module GlobodnsClient
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globodns_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernesto Thorp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client