sambala 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sambala.rb +1 -1
- data/lib/sambala_gardener.rb +1 -1
- metadata +2 -2
data/lib/sambala.rb
CHANGED
@@ -99,7 +99,7 @@ class Sambala
|
|
99
99
|
execute('del', opts[:mask], opts[:queue])[0]
|
100
100
|
end
|
101
101
|
|
102
|
-
# The
|
102
|
+
# The exist? instance method is borrowed from Ruby File Class idiome.
|
103
103
|
# It is used to test the presence of files or directories on the server
|
104
104
|
# === Parameters
|
105
105
|
# * :mask = the mask matching the file or directory to look for.
|
data/lib/sambala_gardener.rb
CHANGED
@@ -77,7 +77,7 @@ class Sambala
|
|
77
77
|
|
78
78
|
# The +init_gardener+ method initialize a gardener class object
|
79
79
|
def init_gardener
|
80
|
-
@gardener = Abundance.gardener(:
|
80
|
+
@gardener = Abundance.gardener(:rows => @options[:threads], :init_timeout => @options[:init_timeout]) do
|
81
81
|
PTY.spawn("smbclient //#{@options[:host]}/#{@options[:share]} #{@options[:password]} -W #{@options[:domain]} -U #{@options[:user]}") do |r,w,pid|
|
82
82
|
w.sync = true
|
83
83
|
$expect_verbose = false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sambala
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Louis-Philippe Perron
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-13 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|