teapot 0.8.1 → 0.8.2

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjBiNDRhMDhhMjJiYzRhYmZlMDg3ZTM0ZTIwOTY0MmViNzllODA3Mg==
4
+ OTgyNWI2ZGE5ZjMxZDliMTg5YTcyZWUwNjVhMWQ0NzQ0Yzk5ZDg0Nw==
5
5
  data.tar.gz: !binary |-
6
- NTBhNjgxOTg4OWRiYTY5ZjA5Y2ZhZmQwYTI5YTQzYTEzYzY1ZDkxOA==
6
+ ZDJjMjY0ZTg4OWI3ODBjNWU2YjJiY2U3N2M0ZDg4NWQzOTA3YzkzNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmFlN2NmMjRjYmMwZGYyNzJlZWI4MjVjNDZiNjVkOTc2NmI4OTA1MzdmNWFj
10
- MzkzYjE3ZjY4NjRlNjNlZGIwOTYxYmFhZTJmYmNhNDU0NjYzZGY0ZGM2OTRl
11
- NGIwYjA1MWVlY2YyODgwMGJkNWMzZDNkZjUyZDJhY2E3YjBlMTk=
9
+ Yjc4NDQ1Mzg0N2EyNDllZmEzMzI2OWI5OGYzZTNiN2ExYjI2YTM3MzEwMmZk
10
+ MTYwZjg4ZjQxZGU4YzRhMGJjZDJlZTczNzY0YzViYWMyNzA4ZmQzMzc1OTVl
11
+ YjgxNTY5ZjQ2NGQwODNiNjA0MTZkZmVjYWViNzJlZWY4ZTI3ZDQ=
12
12
  data.tar.gz: !binary |-
13
- YWU4YjJhZjE5NWRlZjRmZTAxNjVlOWIzMmMxMGMzZDgxNzQ5YWJhZGM2MzRm
14
- N2Q4YmUyY2QyNGM3MWRkM2UwOTdlM2ZlYjEwODI0NTQ4NjBlNGE4ODczNzEy
15
- ZmU3YmM4NTNmMjYxN2YxZThiNjVkZWZlZmM2YTA0ZTYxNDliYTQ=
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
- log "Running configuration #{configuration[:run].inspect}"
28
+ dependency_names += configuration[:run] || []
29
29
 
30
- chain, ordered = build(configuration[:run] + dependency_names)
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
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Teapot
22
- VERSION = "0.8.1"
22
+ VERSION = "0.8.2"
23
23
  end
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.1
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-13 00:00:00.000000000 Z
11
+ date: 2013-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow