mtm 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mtm/mtm.rb +2 -2
- data/lib/mtm/version.rb +1 -1
- metadata +1 -1
data/lib/mtm/mtm.rb
CHANGED
@@ -47,7 +47,7 @@ require 'restforce' # gem install restforce
|
|
47
47
|
require 'optparse/date'
|
48
48
|
require 'ruby-progressbar'
|
49
49
|
|
50
|
-
@pb = ProgressBar.create(:title => 'Logging', :starting_at =>
|
50
|
+
@pb = ProgressBar.create(:title => 'Logging', :starting_at => 0, :total => 100, :progress_mark => '*', :format => '%w %%')
|
51
51
|
|
52
52
|
# for date format argv
|
53
53
|
def parse_days_or_date(d)
|
@@ -139,7 +139,7 @@ if ARGV.size < 1
|
|
139
139
|
puts op
|
140
140
|
exit
|
141
141
|
end
|
142
|
-
|
142
|
+
40.times { sleep(0.05); @pb.increment }
|
143
143
|
# login to salesforce.com
|
144
144
|
begin
|
145
145
|
@client = Restforce.new :client_id => sf_client_id,
|
data/lib/mtm/version.rb
CHANGED