teapot 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/teapot/controller/run.rb +4 -10
- data/lib/teapot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTgyNWI2ZGE5ZjMxZDliMTg5YTcyZWUwNjVhMWQ0NzQ0Yzk5ZDg0Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDJjMjY0ZTg4OWI3ODBjNWU2YjJiY2U3N2M0ZDg4NWQzOTA3YzkzNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yjc4NDQ1Mzg0N2EyNDllZmEzMzI2OWI5OGYzZTNiN2ExYjI2YTM3MzEwMmZk
|
10
|
+
MTYwZjg4ZjQxZGU4YzRhMGJjZDJlZTczNzY0YzViYWMyNzA4ZmQzMzc1OTVl
|
11
|
+
YjgxNTY5ZjQ2NGQwODNiNjA0MTZkZmVjYWViNzJlZWY4ZTI3ZDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjU4NzU4N2VhZDQxYzZkMGIyYWNmYmJlYzM2ZDJkY2UzMmZjYWRmODdlZDg3
|
14
|
+
N2JiYzM3Nzc3ZDkxOGFkNWUwZjg1MmQ1MzBmNDg5NWRmODMwNzZmM2Y1YmU2
|
15
|
+
MTZiZTY1MmEyZTFmZjgxZGUxOTgxNjY3ZjllZjBhZjRjNGJhNTQ=
|
@@ -25,9 +25,11 @@ module Teapot
|
|
25
25
|
def run(dependency_names = [])
|
26
26
|
configuration = context.configuration
|
27
27
|
|
28
|
-
|
28
|
+
dependency_names += configuration[:run] || []
|
29
29
|
|
30
|
-
|
30
|
+
log "Running dependencies: #{dependency_names}"
|
31
|
+
|
32
|
+
chain, ordered = build(dependency_names)
|
31
33
|
|
32
34
|
ordered.each do |(target, dependency)|
|
33
35
|
if target.respond_to?(:run!) and !@options[:dry]
|
@@ -37,13 +39,5 @@ module Teapot
|
|
37
39
|
end
|
38
40
|
end
|
39
41
|
end
|
40
|
-
|
41
|
-
def invoke(environment, command)
|
42
|
-
binary_path = environment[:install_prefix]
|
43
|
-
|
44
|
-
Dir.chdir(binary_path.to_s) do
|
45
|
-
Commands.run(*command)
|
46
|
-
end
|
47
|
-
end
|
48
42
|
end
|
49
43
|
end
|
data/lib/teapot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teapot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|