Sha256: 76a120a1e24573bcc610405848ecd1bc835b1717cdf1bb4deb64478c46e1ebba

Contents?: true

Size: 1.23 KB

Versions: 166

Compression:

Stored size: 1.23 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class CheckAppStoreMetadataAction < Action
      def self.run(config)
        require 'precheck'
        Precheck.config = config
        return Precheck::Runner.new.run
      end

      def self.description
        "Check your app's metadata before you submit your app to review (via _precheck_)"
      end

      def self.details
        "More information: https://fastlane.tools/precheck"
      end

      def self.available_options
        require 'precheck/options'
        Precheck::Options.available_options
      end

      def self.return_value
        return "true if precheck passes, else, false"
      end

      def self.authors
        ["taquitos"]
      end

      def self.is_supported?(platform)
        platform == :ios
      end

      def self.example_code
        [
          'check_app_store_metadata(
            negative_apple_sentiment(level: :skip), # Set to skip to not run the `negative_apple_sentiment` rule
            curse_words(level: :warn) # Set to warn to only warn on curse word check failures
          )',
          'precheck   # alias for "check_app_store_metadata"'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
fastlane-2.85.0.beta.20180308050114 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180307050101 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180306050019 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180305050037 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180304050031 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180303050048 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.85.0.beta.20180302050035 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.84.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.84.0.beta.20180301050048 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.84.0.beta.20180228050122 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.84.0.beta.20180227050054 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.83.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.83.0.beta.20180226050016 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.83.0.beta.20180225050035 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.83.0.beta.20180224050047 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.82.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.82.0.beta.20180223010003 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.82.0.beta.20180222010003 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.82.0.beta.20180221010003 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.82.0.beta.20180220010002 fastlane/lib/fastlane/actions/check_app_store_metadata.rb