namecheap-dynamic-dns 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a35a8b0426385235c8b42ca47a6f1e1dbf8bcd76
4
- data.tar.gz: f671de1c94d191c5e9ff7eb9c87a7206c47afe8f
3
+ metadata.gz: 8a932acab67b56e5c8e5ee25fcd98064684a211d
4
+ data.tar.gz: 33d2826cc9e3734f4718884438e575f604d5cdfe
5
5
  SHA512:
6
- metadata.gz: 1c8ce77cefa340465eb71616a04631b695292eefac0a684fa3b415df532985a552fdb94225e4616c8dc92527c1f0835f4ae5432e4c7b73e0535235f63a2407c8
7
- data.tar.gz: e1f240fb68ed958e199c14fbf52c560f21649d03caac75a5df01b89cbefab9c109abfd8a3529206589831b63a27e10b84f0c31530196cc21c64974a204d5ff3b
6
+ metadata.gz: bf6b9626f4db6813c38e5d0731512bb6a0b1f05f13e911a550af61c1362798d5edbf6f6d07b44ad530776668a7d2ed10bc2a9bc81b9abc2710cc298b5c439e0d
7
+ data.tar.gz: e90a1de7cb87371e6f7488024c0124eb0dcea000f55a618066225a45648c1dad397c5c9a20a9db5c15df1b0d772db81636a75dfa76d021bd4469dfeac90b9af3
@@ -56,7 +56,7 @@ module Namecheap
56
56
  end
57
57
 
58
58
  def process_ip(target_ip, attributes)
59
- if attributes.key?(:ip) && !attributes[:ip].strip.empty?
59
+ if attributes && attributes.key?(:ip) && !attributes[:ip].strip.empty?
60
60
  target_ip = attributes[:ip]
61
61
  end
62
62
  extract_ip(target_ip)
@@ -1,7 +1,7 @@
1
1
  module Namecheap
2
2
  module Dynamic
3
3
  module Dns
4
- VERSION = '0.0.1'.freeze
4
+ VERSION = '0.0.2'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namecheap-dynamic-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saimon Lovell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-17 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport