lib/ayadn/status.rb in ayadn-1.2.5 vs lib/ayadn/status.rb in ayadn-1.2.6
- old
+ new
@@ -6,14 +6,14 @@
end
def self.downloaded(name)
"\nFile downloaded in #{Settings.config[:paths][:downloads]}/#{name}\n".color(:green)
end
def self.downloading
- "Downloading from ADN...".inverse
+ "Downloading from ADN...\n\n".inverse
end
def self.posting
- "Posting to ADN...".inverse
+ "Posting to ADN...\n\n".inverse
end
def self.deleting_post(post_id)
"\nDeleting post #{post_id}".inverse
end
def self.deleting_message(message_id)
@@ -238,8 +238,14 @@
def self.auto
view = "\nEntering the auto posting mode.\n\n".color(:cyan)
view << "In this mode, each line you type (each time you hit ENTER!) is automatically posted to ADN.\n\n".color(:cyan)
view << "At any moment, starting now, hit CTRL+C to exit.\n\n".color(:yellow)
view << "\n\t--AUTO POSTING MODE ACTIVATED--\n\n".color(:red)
+ end
+ def self.reducing db
+ "\nPlease wait while Ayadn is pruning and compacting the #{db} database...\n".color(:cyan)
+ end
+ def self.cache_range
+ "\nPlease enter a number of hours between 3 and 168.\n\n".color(:red)
end
end
end