lux 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +8 -0
- data/lib/lux.rb +1 -1
- data/lib/lux/app.rb +2 -2
- data/lib/lux/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d5b17560966b0d42c68cc11280dd78d122555c1
|
4
|
+
data.tar.gz: adbebd07c74ce022217dee2464969dc3bfef7de7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b176d8c351517d852d173ee752bd83648a7e4d82dcea665585c90d35cfd27e628729b1878f42af2c1d33cb477e6b882abbe9aadb45ea3f5db096d8e7924a6dd
|
7
|
+
data.tar.gz: da28e7e66292c1e92faf4ae8a99915f9ff98a1093d540650017a1d17545d925f2e64603688e59b66ef4252e016e9a5858985b70c488c2f913f1ec37cc82d5885
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
lux (1.0.5)
|
2
|
+
|
3
|
+
* Send only 'export' command to STDOUT in lux dockerip.
|
4
|
+
* Send errors to STDERR
|
5
|
+
This allows $(lux dockerip) to set it for the current shell
|
6
|
+
|
7
|
+
-- Nick Townsend <nick.townsend@mac.com> Thu, 13 Aug 2015 21:27:48 -0700
|
8
|
+
|
1
9
|
lux (1.0.4)
|
2
10
|
|
3
11
|
* Refactor Lux into a Module
|
data/lib/lux.rb
CHANGED
data/lib/lux/app.rb
CHANGED
@@ -173,11 +173,11 @@ class Lux::App < Thor
|
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
176
|
-
desc "dockerip", "Show DOCKER_HOST IP address"
|
176
|
+
desc "dockerip", "Show DOCKER_HOST IP address in exportable format. Use $(lux dockerip) to set it"
|
177
177
|
def dockerip
|
178
178
|
name, var, uri = Lux.dockerip
|
179
179
|
Lux.die "Docker URL or HOST not found" unless name
|
180
|
-
puts "Found #{var}=#{uri.to_s}"
|
180
|
+
STDERR.puts "Found #{var}=#{uri.to_s}"
|
181
181
|
if uri.host != name
|
182
182
|
uri.host = name
|
183
183
|
puts "export #{var}=#{uri.to_s}"
|
data/lib/lux/version.rb
CHANGED