dns_one 0.4.18 → 0.4.19

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: b196b5264815d4657dbc398c6eefa334fe8eed66
4
- data.tar.gz: 6898dc1a630c7b1f23f381dd8b30c9b705958649
3
+ metadata.gz: edc9676548e252a84602c073f756a77aafef316b
4
+ data.tar.gz: 06303bb4e84bc690d5587f791a3bf35eec32cf4e
5
5
  SHA512:
6
- metadata.gz: f8191df0dbee0ff8f3a37d076051c816cb4bf958a2451e133cdbe157af9f9918ac339c0cb1f1887ae6a17b635d49ae1752e52f94cee65453d0c933e077a33bc2
7
- data.tar.gz: 8f6ed9382d04ba22d9f5a3a150a151e42f5a1c5c72d3bb6f4e455a2daf946e7e90c98ec4559af15f46ab800a2f7309be54e8c2c8adae0ebb527f1464490667ff
6
+ metadata.gz: ee0b2d4f9e4192a201841de18afd47185600499901e08ff3703e9b864f87c138d6e137224e5a493ec19071eb34a2d29f68aad0b52fc20400edf9efbb51be8812
7
+ data.tar.gz: 31b8e4ae1e096ae736480480ba1464a529187632cad622f9cd38cf7bd80006206e8bb04931ec00a529f90b15c06319084445d68c5fb32e724f3bb0640932b75d
@@ -89,8 +89,12 @@ module DnsOne; class Setup
89
89
  end
90
90
 
91
91
  def copy_sample_conf
92
- copy "#{@thisdir}/../../util/sample_conf.yml",
93
- DnsOne::DEFAULT_CONF_FILE
92
+ if File.exist? DnsOne::DEFAULT_CONF_FILE
93
+ STDOUT.puts "File #{DnsOne::DEFAULT_CONF_FILE}, I won`t rewrite it."
94
+ else
95
+ copy "#{@thisdir}/../../util/sample_conf.yml",
96
+ DnsOne::DEFAULT_CONF_FILE
97
+ end
94
98
  end
95
99
 
96
100
  def copy from, to, mod = 0600
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.4.18"
2
+ VERSION = "0.4.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.18
4
+ version: 0.4.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato