Sha256: 9d38d8fd4be2f739762b49584c4a16c86812fcd4f05b7805c5b2701cbf6f3c8d

Contents?: true

Size: 859 Bytes

Versions: 502

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

502 entries across 502 versions & 5 rubygems

Version Path
fastlane-2.115.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190127200030 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190126200102 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190125200019 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190124200016 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190123200015 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190122200028 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190120200101 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190119200019 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190118200015 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.115.0.beta.20190117200016 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190116200018 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190115200110 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190114200053 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190113200019 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190112200032 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190111200053 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190110200051 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.114.0.beta.20190109200053 fastlane/lib/fastlane/actions/notify.rb