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.21.0.beta.20170318010107 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.21.0.beta.20170317010039 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.21.0.beta.20170316010039 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170315010053 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170314010029 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170313010048 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170312010035 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170311010030 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170310010058 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170309010049 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170308010036 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.19.3 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170307010029 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.19.2 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170306010752 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170305010057 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170304010023 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170303010054 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.20.0.beta.20170302010029 fastlane/lib/fastlane/actions/notify.rb