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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a01288a3baf46fa7b92caf6073d8c98586e09fbba5899e90d8579805c151b75d
4
- data.tar.gz: 0e83360038244150a899a073769b9817b065b9c33c0f80bad7de56141af10b78
3
+ metadata.gz: 0cc72c9c8092fd9aefc5cc69e7fc6fe0d7b36529a61ade941f01073c342cf692
4
+ data.tar.gz: 51128736dc8340593666dababeaadf1a07907ac752abf15fcd82bda5377d89a1
5
5
  SHA512:
6
- metadata.gz: 5f5b10f79f06badb7b664d233603622dc6bde6c4efea69649940bd0daafae14311efa99aa75fa5478fed420d98a8415080ef58b8e7e78e03bba7cd3285df20db
7
- data.tar.gz: b12f12f369e6898a909e396570110ef675346dbc08f3fe039f42b2c9a0270e0fa1bb57877340dc409cabd94a9cedef3fdf201000a11075c46a5e4f5b80d5c9ca
6
+ metadata.gz: 6c4f058eebd7bdc7a1114b7259dbd74225fb9734a6a91cfe62a56ad10962e3f4e93facc9917eb51c2c0bf697f79a748912925bb32c9f458db420cd91118305b8
7
+ data.tar.gz: 0d7a9c6aaedc445aac5343cc82718d57391251b6244d9b6f59839831016ec6073d0bf6ad6168852d2e700f5af2abde2d894dde6d45d6a0b95a3952a2f36c2ee9
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module PDNS
2
- VERSION = '0.9.0'
2
+ VERSION = '0.10.0'
3
3
  end
@@ -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.9.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-04-14 00:00:00.000000000 Z
11
+ date: 2020-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails