Sha256: aa4c356cebab3f8c45637c1307bbf1ca85250fb0acd9829beefc8f36f73951c2

Contents?: true

Size: 818 Bytes

Versions: 47

Compression:

Stored size: 818 Bytes

Contents

  ##
  # Command [Notifier]
  #
  notify_by Command do |cmd|
    cmd.on_success = true
    cmd.on_warning = true
    cmd.on_failure = true

    # Command to execute
    cmd.command = 'notify-send'

    # Arguments to pass to the command.
    #
    # Must be an array of strings or callable objects.
    #
    # Callables will be invoked with #call(model, status),
    # and the return value used as the argument.
    #
    # In strings you can use the following placeholders:
    #
    # %l - Model label
    # %t - Model trigger
    # %s - Status (success/failure/warning)
    # %v - Status verb (succeeded/failed/succeeded with warnings)
    #
    # All placeholders can be used with uppercase letters to capitalize
    # the value.
    #
    # Defaults to ["%L %v"]
    #
    # cmd.args = ["Backup %L", "%V"]
  end

Version data entries

47 entries across 47 versions & 9 rubygems

Version Path
backup-ssh-4.4.5 templates/cli/notifiers/command
backup-5.0.0.beta.3 templates/cli/notifiers/command
backup-remote-0.0.19 templates/cli/notifiers/command
backupii-0.1.0.pre.alpha.2 templates/cli/notifiers/command
backupii-0.1.0.pre.alpha.1 templates/cli/notifiers/command
cm-backup-1.0.0 templates/cli/notifiers/command
backedup-5.0.0.beta.5 templates/cli/notifiers/command
backedup-5.0.0.beta.4 templates/cli/notifiers/command
backedup-5.0.0.beta.3 templates/cli/notifiers/command
ext_backup-5.0.0.beta.2.1 templates/cli/notifiers/command
backup-ssh-4.4.4 templates/cli/notifiers/command
backup-ssh-4.4.3 templates/cli/notifiers/command
ext_backup-5.0.0.beta.2.ext.0.1.2 templates/cli/notifiers/command
backup-4.4.1 templates/cli/notifiers/command
ext_backup-5.0.0.beta.2.ext.0.1.1 templates/cli/notifiers/command
ext_backup-5.0.0.beta.2.ext.0.1.0 templates/cli/notifiers/command
backup-remote-0.0.18 templates/cli/notifiers/command
backup-5.0.0.beta.2 templates/cli/notifiers/command
backup-5.0.0.beta.1 templates/cli/notifiers/command
backup-remote-0.0.17 templates/cli/notifiers/command