pdns 0.8.2 → 0.8.3

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: fb041e4004de0f06365eedc073884621bc5e3af2
4
- data.tar.gz: 59245f3ad1c63255382ab8243611b2ee5f8f2384
3
+ metadata.gz: d8838ae46bb9194b412cfc108c1a442c100bab15
4
+ data.tar.gz: f9cbd6cd43232a1fe4c512d1a2ddc3b9b24b3223
5
5
  SHA512:
6
- metadata.gz: b1f34df30687f887b2745a14e1a6e05a105d0295aaca3de60517466fd8f02d4be09642b7682019a980011c13f85d6af0abad9d4edd354bf3db5de927a7adbbb9
7
- data.tar.gz: 1407eba7dea76f0bbe2c327e1cfed13537afe17af1a0a0e09ef64beb58d6b6441a9a774ef9e57fc1096c90b8d23b819f2144b5c78f7a9b98695439ddaca981a1
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
- @records = @domain.records.where(record_params_without_id)
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
@@ -1,3 +1,3 @@
1
1
  module PDNS
2
- VERSION = '0.8.2'
2
+ VERSION = '0.8.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows