dory 1.0.1 → 1.0.2

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: d7d729d754ce11e1287274206933888c1248ef3e07ae55d32c708aec95616875
4
- data.tar.gz: 0eef50c6630c834f7bfce5a735ee83ae34731ed5bb9643509932deceb8cf4a8c
3
+ metadata.gz: 957594fff3a1fe33b79f720e22ff0877818829ccd515cf3f4f61ef78bab59608
4
+ data.tar.gz: 863764ffd64719706b2c30b77e5c153c6acc48dab8dd2086d75e32d22f674612
5
5
  SHA512:
6
- metadata.gz: 9ccd9f68e0e9c54294772c6f1d1dea53d5d9c6dd0369f066d9c4640aaa67f6dc881888b4d355db5b288ffd3dc56d9ff3ffed42d38e04b208fab310304b6d2b60
7
- data.tar.gz: 84a489441dcb208b1ea21f4ff78802ae6beeb19833ec90ad2e8605a7910254df8424ccba2e797d6a9926577fdda941db02c6f001ca285b0ff74772de1eec3bc6
6
+ metadata.gz: a397e3fde108c0c04f26832b3eb45152e3d8c627780964c7813bdea3d83b15d8ff7551d2f22c91bed277937db7fca53d070aa76026dc19926bd35485f718a4f7
7
+ data.tar.gz: f447712fa5f8e6c1d393917dba12a69af729a3d2b33028c1a58e675c40bfe4ab85f47e9985c2d9f81823b4990f009c77223e62b88958f341785d5f106233724c
@@ -74,7 +74,7 @@ module Dory
74
74
  def self.write_to_file(contents)
75
75
  # have to use this hack cuz we don't run as root :-(
76
76
  puts "Requesting sudo to write to #{self.resolv_file}".green
77
- Bash.run_command("echo -e '#{contents}' | sudo tee #{Shellwords.escape(self.resolv_file)} >/dev/null")
77
+ Bash.run_command("echo -e '#{contents}' | sudo /usr/bin/tee #{Shellwords.escape(self.resolv_file)} >/dev/null")
78
78
  end
79
79
 
80
80
  def self.resolv_file_contents
@@ -63,7 +63,7 @@ module Dory
63
63
  end
64
64
  self.resolv_files.each do |filename|
65
65
  puts "Requesting sudo to write to #{filename}".green
66
- Bash.run_command("echo -e '#{self.resolv_contents}' | sudo tee #{Shellwords.escape(filename)} >/dev/null")
66
+ Bash.run_command("echo -e '#{self.resolv_contents}' | sudo /usr/bin/tee #{Shellwords.escape(filename)} >/dev/null")
67
67
  end
68
68
  rescue DinghyError => e
69
69
  puts e.message.red
@@ -1,4 +1,4 @@
1
1
  module Dory
2
- VERSION = '1.0.1'
3
- DATE = '2018-08-22'
2
+ VERSION = '1.0.2'
3
+ DATE = '2018-08-31'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dory
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-22 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize