pdns 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdns.rb +3 -0
- data/lib/pdns/version.rb +1 -1
- data/lib/tasks/pdns_tasks.rake +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc72c9c8092fd9aefc5cc69e7fc6fe0d7b36529a61ade941f01073c342cf692
|
4
|
+
data.tar.gz: 51128736dc8340593666dababeaadf1a07907ac752abf15fcd82bda5377d89a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c4f058eebd7bdc7a1114b7259dbd74225fb9734a6a91cfe62a56ad10962e3f4e93facc9917eb51c2c0bf697f79a748912925bb32c9f458db420cd91118305b8
|
7
|
+
data.tar.gz: 0d7a9c6aaedc445aac5343cc82718d57391251b6244d9b6f59839831016ec6073d0bf6ad6168852d2e700f5af2abde2d894dde6d45d6a0b95a3952a2f36c2ee9
|
data/lib/pdns.rb
CHANGED
@@ -17,6 +17,9 @@ module PDNS
|
|
17
17
|
mattr_accessor :db_dir_path
|
18
18
|
self.db_dir_path = File.expand_path('../../db', __FILE__)
|
19
19
|
|
20
|
+
mattr_accessor :migrations_path
|
21
|
+
self.migrations_path = File.expand_path('../../db/migrate', __FILE__)
|
22
|
+
|
20
23
|
mattr_accessor :domain_as_json
|
21
24
|
self.domain_as_json = nil
|
22
25
|
|
data/lib/pdns/version.rb
CHANGED
data/lib/tasks/pdns_tasks.rake
CHANGED
@@ -5,6 +5,7 @@ namespace :pdns do
|
|
5
5
|
task prepare: %i(environment) do
|
6
6
|
DatabaseTasks.database_configuration = PDNS.db_conf
|
7
7
|
DatabaseTasks.db_dir = PDNS.db_dir_path
|
8
|
+
DatabaseTasks.migrations_paths = PDNS.migrations_path
|
8
9
|
ActiveRecord::Base.configurations = DatabaseTasks.database_configuration
|
9
10
|
DatabaseTasks.current_config = DatabaseTasks.database_configuration[Rails.env]
|
10
11
|
end
|
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.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linyows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|