lux 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/Rakefile +0 -6
- data/lib/lux.rb +9 -5
- data/lib/lux/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17f092e16bb5301fa762d0137e24918531506458
|
4
|
+
data.tar.gz: f0ff905d5f5173fdb7ed0bafb14ca14fa876b767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 391206b1d269ae2eb0908789297c8e8c79a0b4f6b895f5ba30ac26b8a20b8c1a5b797fb4aaad4e2d58402806f64ad955cb91c80470edd495b18bc5865e6c0d08
|
7
|
+
data.tar.gz: 3b28efd211f89e4b9071a62121a9a274c1f67fc2da04be69fc42b6882686be62802ad23ea13a2a7596ce9207d5a25694026a294b8ad45d9a71b0634ed1b873bd
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/lib/lux.rb
CHANGED
@@ -45,12 +45,16 @@ module Lux
|
|
45
45
|
matching_image = matching_images.select{|l| l.end_with? ':latest' }.first
|
46
46
|
end
|
47
47
|
unless matching_image
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
48
|
+
if matching_images.size == 1
|
49
|
+
matching_image = matching_images[0]
|
50
|
+
else
|
51
|
+
matching_image = HighLine.choose do |menu|
|
52
|
+
menu.header = 'List of matching (local) images'
|
53
|
+
menu.choices(*matching_images)
|
54
|
+
menu.choice('None of the above') { nil }
|
55
|
+
end
|
56
|
+
exit 2 unless matching_image
|
52
57
|
end
|
53
|
-
exit 2 unless matching_image
|
54
58
|
end
|
55
59
|
else
|
56
60
|
matching_image = image
|
data/lib/lux/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Townsend
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -123,8 +123,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.4.5
|
126
|
+
rubygems_version: 2.4.5.1
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Handy utilities for working with Docker
|
130
130
|
test_files: []
|
131
|
+
has_rdoc:
|