Sha256: acc88fd74dae2b4f061070b94d7922c09f85b90120ade646ac876a07e87ff4ba

Contents?: true

Size: 858 Bytes

Versions: 575

Compression:

Stored size: 858 Bytes

Contents

module Fastlane
  module Actions
    class NotifyAction < Action
      def self.run(params)
        require 'terminal-notifier'
        UI.important("It's recommended to use the new 'notification' method instead of 'notify'")

        text = params.join(' ')
        TerminalNotifier.notify(text, title: 'fastlane')
      end

      def self.description
        "Shows a macOS notification - use `notification` instead"
      end

      def self.author
        ["champo", "KrauseFx"]
      end

      def self.available_options
      end

      def self.is_supported?(platform)
        Helper.mac?
      end

      def self.example_code
        []
      end

      def self.category
        :deprecated
      end

      def self.deprecated_notes
        "It's recommended to use the new 'notification' method instead of 'notify'"
      end
    end
  end
end

Version data entries

575 entries across 575 versions & 1 rubygems

Version Path
fastlane-2.87.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.87.0.beta.20180323050014 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.87.0.beta.20180322050115 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.2 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.87.0.beta.20180321050017 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.87.0.beta.20180320050108 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180319050058 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180318050106 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180317050040 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180316050051 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180315050105 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180314050053 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180313050023 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180312050111 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180311050103 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180310050010 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.86.0.beta.20180309050025 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.85.0 fastlane/lib/fastlane/actions/notify.rb