dns_one 0.4.17 → 0.4.18

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: 46ae5829b4f7a5060320ddbb24494c76feabe530
4
- data.tar.gz: 2848dfa6c844d68200cf07ae0a57e9650a047033
3
+ metadata.gz: b196b5264815d4657dbc398c6eefa334fe8eed66
4
+ data.tar.gz: 6898dc1a630c7b1f23f381dd8b30c9b705958649
5
5
  SHA512:
6
- metadata.gz: 67c72b82482addec815c7ed7a44005c1ec97b07e6f267eec66dccca4df32c960d74841aa358ad5b25dc640de4f17900b144b3f5c311aab91529d021105163c38
7
- data.tar.gz: 8ef21041d6b39b4c0168f5403f0ce4bc2bb299ea2f6b77c700e80aa39701652196007bfa7e53bfde268986e2bae5ffff20dc42c8296a709449acef6e50407310
6
+ metadata.gz: f8191df0dbee0ff8f3a37d076051c816cb4bf958a2451e133cdbe157af9f9918ac339c0cb1f1887ae6a17b635d49ae1752e52f94cee65453d0c933e077a33bc2
7
+ data.tar.gz: 8f6ed9382d04ba22d9f5a3a150a151e42f5a1c5c72d3bb6f4e455a2daf946e7e90c98ec4559af15f46ab800a2f7309be54e8c2c8adae0ebb527f1464490667ff
@@ -28,13 +28,14 @@ module DnsOne; class Setup
28
28
  end
29
29
 
30
30
  def uninstall
31
- stop
32
- # File.delete DnsOne::DEFAULT_CONF_FILE
31
+ # File.delete DnsOne::DEFAULT_CONF_FILE # TODO: prompt user
33
32
  if File.exist?(SYSTEMD_SERVICE_FILE)
33
+ Util.run "systemctl stop #{SERVICE_NAME}"
34
34
  Util.run "systemctl disable #{SERVICE_NAME}"
35
35
  File.delete SYSTEMD_SERVICE_FILE
36
36
  end
37
37
  FileUtils.rm_rf DnsOne::WORK_DIR
38
+ # TODO: prompt if should remove user
38
39
  puts "Uninstall complete."
39
40
  end
40
41
 
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.4.17"
2
+ VERSION = "0.4.18"
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.17
4
+ version: 0.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato