blower 3.1 → 3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blower/context.rb +2 -1
- data/lib/blower/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2d44c9caf0e3c75220c196f6631fd6ee5844fee
|
4
|
+
data.tar.gz: c00aaff6530010a5f22a98923fd9585f5b1456d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e243e9df1c5f4b9f54e8e3d5b8ce881b86c8d818685c012b39a02d58110eafc23967431937c35e46154f9eb0d2eadbe4fd54d726a9b6d19ddc649ac48c7e39bf
|
7
|
+
data.tar.gz: 5fdacd6aa9cf36ae381bd8d0b2282f7fed3831db48def2cce38a98f479cba3d6d9128bfaf4f7beda042889a0823d49f0bacc71dbfd0b7ef370f49cececa26fe9
|
data/lib/blower/context.rb
CHANGED
@@ -24,6 +24,7 @@ module Blower
|
|
24
24
|
@hosts = []
|
25
25
|
@have_seen = {}
|
26
26
|
@data = {}
|
27
|
+
@basename = "blow"
|
27
28
|
end
|
28
29
|
|
29
30
|
def set (hash, &block)
|
@@ -212,7 +213,7 @@ module Blower
|
|
212
213
|
name = File.join(dir, task)
|
213
214
|
name += ".rb" unless File.exist?(name)
|
214
215
|
if File.directory?(name)
|
215
|
-
dirtask = File.join(name, File.basename(@task))
|
216
|
+
dirtask = File.join(name, @task ? File.basename(@task) : @basename)
|
216
217
|
dirtask += ".rb" unless File.exist?(dirtask)
|
217
218
|
name = dirtask
|
218
219
|
blowfile = File.join(name, "Blowfile")
|
data/lib/blower/version.rb
CHANGED