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.90.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180410050128 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180409050033 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180408050113 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180407050037 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180406050006 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180405050125 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180404050031 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.90.0.beta.20180403050108 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180402050042 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180401050120 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180331050023 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180330050046 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180329050050 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.89.0.beta.20180328050040 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.88.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.88.0.beta.20180327050037 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.88.0.beta.20180325050025 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.88.0.beta.20180324050059 fastlane/lib/fastlane/actions/check_app_store_metadata.rb