Sha256: e0bf947ca6c259ab77fa5b42334bf27e51fcf533a081d133e47454dcc5c8af92

Contents?: true

Size: 609 Bytes

Versions: 39

Compression:

Stored size: 609 Bytes

Contents

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

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

      def self.description
        "Shows a Mac OS X notification"
      end

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

      def self.available_options
      end

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
fastlane-1.66.0 lib/fastlane/actions/notify.rb
fastlane-1.65.0 lib/fastlane/actions/notify.rb
fastlane-1.64.0 lib/fastlane/actions/notify.rb
fastlane-1.63.1 lib/fastlane/actions/notify.rb
fastlane-1.63.0 lib/fastlane/actions/notify.rb
fastlane-1.62.0 lib/fastlane/actions/notify.rb
fastlane-1.61.0 lib/fastlane/actions/notify.rb
fastlane-1.60.0 lib/fastlane/actions/notify.rb
fastlane-1.59.0 lib/fastlane/actions/notify.rb
fastlane-1.58.0 lib/fastlane/actions/notify.rb
fastlane-1.57.0 lib/fastlane/actions/notify.rb
fastlane-1.56.0 lib/fastlane/actions/notify.rb
fastlane-1.55.0 lib/fastlane/actions/notify.rb
fastlane-1.54.0 lib/fastlane/actions/notify.rb
fastlane-1.53.0 lib/fastlane/actions/notify.rb
fastlane-1.52.0 lib/fastlane/actions/notify.rb
fastlane-1.51.0 lib/fastlane/actions/notify.rb
fastlane-1.50.0 lib/fastlane/actions/notify.rb
fastlane-1.49.0 lib/fastlane/actions/notify.rb
fastlane-1.48.0 lib/fastlane/actions/notify.rb