nutkins 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/nutkins +3 -1
- data/lib/nutkins/version.rb +1 -1
- data/lib/nutkins.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a50484d569a045dee261e24b487378e573c7cfc
|
4
|
+
data.tar.gz: 6c0db6d0f5501ae03af069158077e6c03faa858f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e534198a34b3e27dc6a1858449feda482c6d4fa7a211b47595c482c1c3167df7779e55bdb7d831f2b4a198f0ff29b3c9177f98a001ea8743c923672a391b85
|
7
|
+
data.tar.gz: 2e7aca7855fbb48911aeec5b77f944c355b6445da42c6caa5070a7c4e42d8ff544ed53c9ea2e153a928821477b0e98971ed57502250ff75c65ad64eed0c10a2f
|
data/bin/nutkins
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'bundler/setup'
|
4
4
|
require 'nutkins'
|
5
|
+
require 'nutkins/version'
|
5
6
|
require 'moister'
|
6
7
|
require 'ostruct'
|
7
8
|
|
@@ -11,7 +12,8 @@ module Nutkins::Command
|
|
11
12
|
command = nil
|
12
13
|
|
13
14
|
Moister::SubcommandOptionParser.new do |op|
|
14
|
-
op.banner =
|
15
|
+
op.banner = "usage: nutkins #{Nutkins::VERSION} [global options] command [command options]"
|
16
|
+
op.version = Nutkins::VERSION
|
15
17
|
|
16
18
|
op.for_all do |op|
|
17
19
|
op.on_tail '-h', '--help', 'show this help message' do
|
data/lib/nutkins/version.rb
CHANGED
data/lib/nutkins.rb
CHANGED
@@ -74,6 +74,10 @@ module Nutkins
|
|
74
74
|
src = File.absolute_path File.join(img_dir, VOLUMES_PATH, src)
|
75
75
|
flags.push '-v', "#{src}:#{dest}"
|
76
76
|
end
|
77
|
+
|
78
|
+
(create_cfg["env"] or {}).each do |name, val|
|
79
|
+
flags.push '-e', "#{name}=#{val}"
|
80
|
+
end
|
77
81
|
end
|
78
82
|
|
79
83
|
tag = get_tag img_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nutkins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Pike
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|