lib/zonesync/cloudflare.rb in zonesync-0.1.1 vs lib/zonesync/cloudflare.rb in zonesync-0.1.2

- old
+ new

@@ -34,10 +34,10 @@ def records @records ||= begin response = http.get(nil) response["result"].reduce({}) do |map, attrs| map.merge attrs["id"] => Record.new( - attrs["name"], + attrs["name"] + ".", # normalize to trailing period attrs["type"], attrs["ttl"].to_i, attrs["content"], ).to_h end.invert