dory 0.0.2 → 0.0.3

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: 18226652b2d98258a6cbcacf11b6bb426928b653
4
- data.tar.gz: d36dfc75cb73fe794a697f1f5ed89e1b5631066e
3
+ metadata.gz: 728ff696590cecbe3c4a340d55e4c7bf1ffba8d8
4
+ data.tar.gz: 3579c8d0f9270e0a57d7cf964728371ab890f14c
5
5
  SHA512:
6
- metadata.gz: 321d9606b737bd94aa113b1538fc9259bc6cab79ebc762e4b26d50dda0c9dbdc8d33ffc3b0d1a64520ad7a93e54f1ed821bcf60092940ad8a68e3a6e5ed81356
7
- data.tar.gz: 9d245ed25b9b324d2f8ab9e227a5aa05667cdc7a14149f0329a8c726c43af18f4e6391b6e1df194dff0b76e90a8bce9b0c659c5504e221f8802872788769ef79
6
+ metadata.gz: 57821f82dbe7f75ce71bb6d8f023301a9d4f288cf6bd9513471e9d95c2ff76d12e8f80468eb5ea28b76aaa82325cb8c814d6feced4a8a5bc017b2b24392bcdeb
7
+ data.tar.gz: 5766c5e38ba39d3c05abd9fc28aa958c8aa574fbc6dfe2dedd4ab5ed82363e949524ffca8c5c9b4b688dcf34c8b7a2dc0ce1adf29906a5613c31ca7420d88f46
data/bin/dory CHANGED
@@ -112,7 +112,7 @@ class DoryBin < Thor
112
112
  puts "Error starting nginx proxy".red
113
113
  end
114
114
  else
115
- puts "nginx_proxy disabled in config file".yellow if options[:verbose]
115
+ puts "nginx_proxy disabled in config file".yellow
116
116
  end
117
117
 
118
118
  if settings[:dory][:dnsmasq][:enabled]
@@ -123,7 +123,7 @@ class DoryBin < Thor
123
123
  puts "Error starting dnsmasq".red
124
124
  end
125
125
  else
126
- puts "dnsmasq disabled in config file".yellow if options[:verbose]
126
+ puts "dnsmasq disabled in config file".yellow
127
127
  end
128
128
 
129
129
  if settings[:dory][:resolv][:enabled]
@@ -134,7 +134,7 @@ class DoryBin < Thor
134
134
  end
135
135
  puts "resolv enabled in config file".green if options[:verbose]
136
136
  else
137
- puts "resolv disabled in config file".yellow if options[:verbose]
137
+ puts "resolv disabled in config file".yellow
138
138
  end
139
139
  end
140
140
 
@@ -158,7 +158,7 @@ class DoryBin < Thor
158
158
  end
159
159
 
160
160
  if Dory::Resolv.has_our_nameserver?
161
- puts "[*] Resolv: configured with nameserver #{}".green
161
+ puts "[*] Resolv: configured with #{Dory::Resolv.file_nameserver_line}".green
162
162
  elsif !settings[:dory][:resolv][:enabled]
163
163
  puts "[*] Resolv is disabled in config file".yellow
164
164
  else
@@ -13,13 +13,13 @@ module Dory
13
13
  # these services. They may not talk to each other
14
14
  # if you change IP Addresses.
15
15
  # For example, resolv expects a nameserver listening at
16
- # the specifed address. dnsmasq normally does this,
16
+ # the specified address. dnsmasq normally does this,
17
17
  # but if you disable dnsmasq, it
18
18
  # will make your system look for a name server that
19
19
  # doesn't exist.
20
20
  :dnsmasq:
21
21
  :enabled: true
22
- :domain: docker # domain that will be listend for
22
+ :domain: docker # domain that will be listened for
23
23
  :address: 127.0.0.1 # address returned for queries against domain
24
24
  :container_name: dory_dnsmasq
25
25
  :nginx_proxy:
@@ -7,7 +7,7 @@ module Dory
7
7
  end
8
8
 
9
9
  def self.ubuntu_resolv_file
10
- # '/etc/resolvconf/resolv.conf.d/base'
10
+ #'/etc/resolvconf/resolv.conf.d/base'
11
11
  # For now, use the common_resolv_file
12
12
  self.common_resolv_file
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Dory
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter