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.47.0 lib/fastlane/actions/notify.rb
fastlane-1.46.1 lib/fastlane/actions/notify.rb
fastlane-1.46.0 lib/fastlane/actions/notify.rb
fastlane-1.45.0 lib/fastlane/actions/notify.rb
fastlane-1.44.0 lib/fastlane/actions/notify.rb
fastlane-1.43.0 lib/fastlane/actions/notify.rb
fastlane-1.42.0 lib/fastlane/actions/notify.rb
fastlane-1.41.1 lib/fastlane/actions/notify.rb
fastlane-1.41.0 lib/fastlane/actions/notify.rb
fastlane-1.40.0 lib/fastlane/actions/notify.rb
fastlane-1.39.0 lib/fastlane/actions/notify.rb
fastlane-1.38.1 lib/fastlane/actions/notify.rb
fastlane-1.38.0 lib/fastlane/actions/notify.rb
fastlane-1.37.0 lib/fastlane/actions/notify.rb
fastlane-1.36.4 lib/fastlane/actions/notify.rb
fastlane-1.36.3 lib/fastlane/actions/notify.rb
fastlane-1.36.2 lib/fastlane/actions/notify.rb
fastlane-1.36.1 lib/fastlane/actions/notify.rb
fastlane-1.36.0 lib/fastlane/actions/notify.rb