pdns 0.8.2 → 0.8.3
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 +4 -4
- data/app/controllers/pdns/records_controller.rb +5 -1
- data/lib/pdns/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8838ae46bb9194b412cfc108c1a442c100bab15
|
|
4
|
+
data.tar.gz: f9cbd6cd43232a1fe4c512d1a2ddc3b9b24b3223
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a344a8dbd1c78ac72d631f3ca30044dfe13fc88b248f57a58e63dc6c046cf884548c60abc8bf645597655eda9d20c4f0e6386c678a2a5a5515253ae0cf79001
|
|
7
|
+
data.tar.gz: b1bb11ece4a8cd143c5113bf9bc5fe0a006495246a2b15e377485237e8eb480c071a05f8072612c002217417962f4d4ddc04daf031e0d3da60b108b6f5b413be
|
|
@@ -4,7 +4,7 @@ module PDNS
|
|
|
4
4
|
class RecordsController < ApplicationController
|
|
5
5
|
def index
|
|
6
6
|
set_domain
|
|
7
|
-
|
|
7
|
+
set_records
|
|
8
8
|
|
|
9
9
|
render json: @records, status: :ok
|
|
10
10
|
end
|
|
@@ -101,5 +101,9 @@ module PDNS
|
|
|
101
101
|
def update_serial
|
|
102
102
|
@record.update_serial if params[:skip_update_serial].nil?
|
|
103
103
|
end
|
|
104
|
+
|
|
105
|
+
def set_records
|
|
106
|
+
@records = @domain.records.where(record_params_without_id)
|
|
107
|
+
end
|
|
104
108
|
end
|
|
105
109
|
end
|
data/lib/pdns/version.rb
CHANGED