blower 3.1 → 3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 326c39aae83c23c79f60751abeabe1a8eea19870
4
- data.tar.gz: e3fa37856f16d53884cc4f79ff7bc762dacc0633
3
+ metadata.gz: d2d44c9caf0e3c75220c196f6631fd6ee5844fee
4
+ data.tar.gz: c00aaff6530010a5f22a98923fd9585f5b1456d8
5
5
  SHA512:
6
- metadata.gz: 1705364adfc1bcfa70d7b12cdeccae35d6ba391b2f08192ab1e1380f29bd2495e4945634268237486f8ac250c843752876de2c7574b30ba34634fe4e3b22e3fd
7
- data.tar.gz: d091fe3d25f24af89309b01cb716e97961d9165528c9abbe5f3441dc2b6343096eb25ecc9babb5562ad0b28633c5e99d34eecb7ef6c29f2eec49459399d7e2e7
6
+ metadata.gz: e243e9df1c5f4b9f54e8e3d5b8ce881b86c8d818685c012b39a02d58110eafc23967431937c35e46154f9eb0d2eadbe4fd54d726a9b6d19ddc649ac48c7e39bf
7
+ data.tar.gz: 5fdacd6aa9cf36ae381bd8d0b2282f7fed3831db48def2cce38a98f479cba3d6d9128bfaf4f7beda042889a0823d49f0bacc71dbfd0b7ef370f49cececa26fe9
@@ -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")
@@ -1,3 +1,3 @@
1
1
  module Blower
2
- VERSION = "3.1"
2
+ VERSION = "3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blower
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.1'
4
+ version: '3.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum