Sha256: 341c1dadf01659ee644823727732f34188b7a718221b79cdb4a65bd790cbbc17

Contents?: true

Size: 1.24 KB

Versions: 59

Compression:

Stored size: 1.24 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

59 entries across 59 versions & 1 rubygems

Version Path
fastlane-2.102.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.101.1 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.101.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.100.1 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.100.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.99.1 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.99.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.98.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.97.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.1 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180521050117 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180520050019 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180519050103 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180518050116 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180517050058 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180516050022 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180515050025 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180514050029 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.96.0.beta.20180513050015 fastlane/lib/fastlane/actions/check_app_store_metadata.rb