bricky 0.0.15 → 0.0.16
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 +8 -8
- data/lib/bricky/bricks/base.rb +1 -1
- data/lib/bricky/commands/builder.rb +8 -0
- data/lib/bricky/config.rb +4 -0
- data/lib/bricky/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWYyZDUxMmU0YjgwOWEzOTFiNmVhNjQxMDczZDZjN2I3M2M5ZmMzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTYzZGNkMzM2YTJhZTRlOTdiNzNiYjQzYmI3NzI2NjE3MmNmYjM1MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmFhNDE2ZmFhMGEyNmI0ZDE3ZjVmMDc5ZTE1ZTc0ODkwYmJiM2EwYTM0ZDEx
|
10
|
+
YzBmZmEzZjNhZmUwZmRjYzI1Nzk5OTU0N2I1YmZiMTQ4MWMyZDM1YThlODQy
|
11
|
+
MTU1ZjE1NjU2NTM5ZTgyMjg5YTQ4NzkzNjNhODA2NDk2YjU0ZTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2M0ZmZmOWVmM2VlNmQ2YjkzODRlZTQwYWI4MWQxZGViY2E4MDE0YWNmODBj
|
14
|
+
ODdhMTU1NjE3M2JjNzUyNDE5MzY0M2FhNjBkZjgyMDBjNGY5ZWI3MDQ3Zjcx
|
15
|
+
MDBjODkyMjU1MzA1ZGFiZDExNTU1NmRmM2EzN2M4YmJiMjhlZjg=
|
data/lib/bricky/bricks/base.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require "fileutils"
|
1
2
|
require "bricky/bricks"
|
2
3
|
|
3
4
|
module Bricky
|
@@ -10,6 +11,7 @@ module Bricky
|
|
10
11
|
|
11
12
|
private
|
12
13
|
def build(images)
|
14
|
+
attach_shims
|
13
15
|
code = command(images)
|
14
16
|
logger.debug format(code)
|
15
17
|
|
@@ -49,6 +51,12 @@ module Bricky
|
|
49
51
|
def entrypoints
|
50
52
|
bricks.collect(&:entrypoint).compact.uniq.join(' && ')
|
51
53
|
end
|
54
|
+
|
55
|
+
def attach_shims
|
56
|
+
if not File.exist? Bricky.config.shim_path
|
57
|
+
FileUtils.symlink(Bricky.config.bricks_path, Bricky.config.shim_path)
|
58
|
+
end
|
59
|
+
end
|
52
60
|
end
|
53
61
|
end
|
54
62
|
end
|
data/lib/bricky/config.rb
CHANGED
data/lib/bricky/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bricky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- andrerocker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.4.
|
144
|
+
rubygems_version: 2.4.3
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: a smart way to build software packages
|