Sha256: 9d38d8fd4be2f739762b49584c4a16c86812fcd4f05b7805c5b2701cbf6f3c8d

Contents?: true

Size: 859 Bytes

Versions: 501

Compression:

Stored size: 859 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
        nil
      end

      def self.category
        :deprecated
      end

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

Version data entries

501 entries across 501 versions & 5 rubygems

Version Path
fastlane-2.113.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190107200010 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190106200016 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190105200036 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190104200013 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190103200013 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190102200016 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20190101200013 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181231200027 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181230200014 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181229200101 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181228200027 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181227200058 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181226200116 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181225200026 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181224200038 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181223200038 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181222200027 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181221200014 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.113.0.beta.20181220200101 fastlane/lib/fastlane/actions/notify.rb