pdns 0.8.3 → 0.9.0
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 +5 -5
- data/app/models/pdns/record.rb +1 -1
- data/lib/pdns/version.rb +1 -1
- metadata +3 -6
- data/config/database-pdns.yml +0 -38
- data/config/initializers/pdns.rb +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a01288a3baf46fa7b92caf6073d8c98586e09fbba5899e90d8579805c151b75d
|
|
4
|
+
data.tar.gz: 0e83360038244150a899a073769b9817b065b9c33c0f80bad7de56141af10b78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f5b10f79f06badb7b664d233603622dc6bde6c4efea69649940bd0daafae14311efa99aa75fa5478fed420d98a8415080ef58b8e7e78e03bba7cd3285df20db
|
|
7
|
+
data.tar.gz: b12f12f369e6898a909e396570110ef675346dbc08f3fe039f42b2c9a0270e0fa1bb57877340dc409cabd94a9cedef3fdf201000a11075c46a5e4f5b80d5c9ca
|
data/app/models/pdns/record.rb
CHANGED
|
@@ -11,7 +11,7 @@ module PDNS
|
|
|
11
11
|
format: { with: PDNS.domain_format },
|
|
12
12
|
uniqueness: { scope: [:type, :content] }
|
|
13
13
|
validates :type, presence: true, inclusion: {
|
|
14
|
-
in: %w(SOA NS A CNAME MX TXT SRV PTR AAAA LOC SPF SSHFP)
|
|
14
|
+
in: %w(SOA NS A CNAME MX TXT SRV PTR AAAA LOC SPF SSHFP CAA)
|
|
15
15
|
}
|
|
16
16
|
validates :content, presence: true
|
|
17
17
|
validates :ttl, numericality: true, presence: true
|
data/lib/pdns/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- linyows
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -68,8 +68,6 @@ files:
|
|
|
68
68
|
- app/models/pdns/application_record.rb
|
|
69
69
|
- app/models/pdns/domain.rb
|
|
70
70
|
- app/models/pdns/record.rb
|
|
71
|
-
- config/database-pdns.yml
|
|
72
|
-
- config/initializers/pdns.rb
|
|
73
71
|
- config/routes.rb
|
|
74
72
|
- db/schema.rb
|
|
75
73
|
- lib/generators/pdns/install_generator.rb
|
|
@@ -99,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
99
97
|
- !ruby/object:Gem::Version
|
|
100
98
|
version: '0'
|
|
101
99
|
requirements: []
|
|
102
|
-
|
|
103
|
-
rubygems_version: 2.5.1
|
|
100
|
+
rubygems_version: 3.1.2
|
|
104
101
|
signing_key:
|
|
105
102
|
specification_version: 4
|
|
106
103
|
summary: The Pengin is PowerDNS API mountable engine for Rails.
|
data/config/database-pdns.yml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
sqlite: &sqlite
|
|
2
|
-
adapter: sqlite3
|
|
3
|
-
database: db/development.sqlite3
|
|
4
|
-
|
|
5
|
-
mysql: &mysql
|
|
6
|
-
adapter: mysql2
|
|
7
|
-
username: root
|
|
8
|
-
host: localhost
|
|
9
|
-
password:
|
|
10
|
-
database: pdns_development
|
|
11
|
-
encoding: utf8
|
|
12
|
-
|
|
13
|
-
postgresql: &postgresql
|
|
14
|
-
pool: 16
|
|
15
|
-
timeout: 5000
|
|
16
|
-
adapter: postgresql
|
|
17
|
-
encoding: unicode
|
|
18
|
-
username: postgres
|
|
19
|
-
password:
|
|
20
|
-
database: pdns_development
|
|
21
|
-
min_messages: ERROR
|
|
22
|
-
|
|
23
|
-
default: &default
|
|
24
|
-
<<: *mysql
|
|
25
|
-
|
|
26
|
-
development:
|
|
27
|
-
<<: *default
|
|
28
|
-
|
|
29
|
-
test:
|
|
30
|
-
<<: *default
|
|
31
|
-
database: pdns_test
|
|
32
|
-
|
|
33
|
-
production:
|
|
34
|
-
<<: *default
|
|
35
|
-
database: pdns
|
|
36
|
-
host: <%= ENV['DB_HOST'] %>
|
|
37
|
-
username: <%= ENV['DB_USER'] %>
|
|
38
|
-
password: <%= ENV['DB_PASS'] %>
|
data/config/initializers/pdns.rb
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
PDNS.setup do |c|
|
|
2
|
-
# Defaults:
|
|
3
|
-
# c.domain_format = /\A[^-][a-z0-9\-\._]*[^-]\.[a-z0-9-]{2,}\Z/
|
|
4
|
-
# c.domain_format_for_routes = /[a-z0-9\-\._]*\.[a-z0-9-]{2,}/
|
|
5
|
-
# c.db_name = :pdns
|
|
6
|
-
# c.db_conf_path = "config/database-#{self.db_name}.yml"
|
|
7
|
-
# c.db_dir_path = File.expand_path('../../db', __FILE__)
|
|
8
|
-
end
|