pdns 0.6.0 → 0.7.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb9ba7be6b5e1031a9f7c7454dba7198505e9c0b
|
4
|
+
data.tar.gz: 00f803dbf94b6983afffccb835ee4b78b1e50146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aef352b6a92a0d5cd35e50b1ade5c7080102494b8ff840aedc307f7b090857d6826f87f791dc6f8e9ae27b26139bd0df1356910fa3200913a88944c033d48b47
|
7
|
+
data.tar.gz: f960ce9a0fd0e5add272d21bd6ac8e8ab6c9d4691ca966513e05e338ce499fe63b49bf83700c6fbe98d1aff8be86092eca059a22d040da4ffa7340cf333a18d0
|
@@ -62,7 +62,7 @@ module PDNS
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def set_record
|
65
|
-
permitted = params.permit %i(id type content ttl prio)
|
65
|
+
permitted = params.permit %i(id type content ttl prio auth)
|
66
66
|
permitted[:name] = permitted.delete :id
|
67
67
|
|
68
68
|
record = @domain.records.where(permitted)
|
@@ -77,7 +77,7 @@ module PDNS
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def record_params
|
80
|
-
params[:record].permit %i(name type content ttl prio)
|
80
|
+
(params[:record] || params).permit %i(name type content ttl prio auth)
|
81
81
|
end
|
82
82
|
|
83
83
|
def delete_records
|
data/lib/pdns/version.rb
CHANGED