lib/shelly/app.rb in shelly-0.2.3 vs lib/shelly/app.rb in shelly-0.2.4
- old
+ new
@@ -249,9 +249,15 @@
# Returns true if whenever is present
def whenever?
option?("whenever")
end
+ # Public: Sidekiq enabled?
+ # Returns true if sidekiq is present
+ def sidekiq?
+ option?("sidekiq")
+ end
+
# Public: Return databases to backup for given Cloud in Cloudfile
# Returns Array of databases, except redis db
def backup_databases
cloud_databases - ['redis']
end