fastlane/lib/fastlane/actions/slather.rb in fastlane-2.186.0 vs fastlane/lib/fastlane/actions/slather.rb in fastlane-2.187.0

- old
+ new

@@ -156,94 +156,80 @@ description: "The input format that slather should look for", optional: true), FastlaneCore::ConfigItem.new(key: :buildkite, env_name: "FL_SLATHER_BUILDKITE_ENABLED", # The name of the environment variable description: "Tell slather that it is running on Buildkite", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :teamcity, env_name: "FL_SLATHER_TEAMCITY_ENABLED", # The name of the environment variable description: "Tell slather that it is running on TeamCity", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :jenkins, env_name: "FL_SLATHER_JENKINS_ENABLED", # The name of the environment variable description: "Tell slather that it is running on Jenkins", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :travis, env_name: "FL_SLATHER_TRAVIS_ENABLED", # The name of the environment variable description: "Tell slather that it is running on TravisCI", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :travis_pro, env_name: "FL_SLATHER_TRAVIS_PRO_ENABLED", # The name of the environment variable description: "Tell slather that it is running on TravisCI Pro", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :circleci, env_name: "FL_SLATHER_CIRCLECI_ENABLED", description: "Tell slather that it is running on CircleCI", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :coveralls, env_name: "FL_SLATHER_COVERALLS_ENABLED", description: "Tell slather that it should post data to Coveralls", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :simple_output, env_name: "FL_SLATHER_SIMPLE_OUTPUT_ENABLED", description: "Tell slather that it should output results to the terminal", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :gutter_json, env_name: "FL_SLATHER_GUTTER_JSON_ENABLED", description: "Tell slather that it should output results as Gutter JSON format", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :cobertura_xml, env_name: "FL_SLATHER_COBERTURA_XML_ENABLED", description: "Tell slather that it should output results as Cobertura XML format", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :sonarqube_xml, env_name: "FL_SLATHER_SONARQUBE_XML_ENABLED", description: "Tell slather that it should output results as SonarQube Generic XML format", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :llvm_cov, env_name: "FL_SLATHER_LLVM_COV_ENABLED", description: "Tell slather that it should output results as llvm-cov show format", - is_string: false, + type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :json, env_name: "FL_SLATHER_JSON_ENABLED", description: "Tell slather that it should output results as static JSON report", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :html, env_name: "FL_SLATHER_HTML_ENABLED", description: "Tell slather that it should output results as static HTML pages", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :show, env_name: "FL_SLATHER_SHOW_ENABLED", description: "Tell slather that it should open static html pages automatically", - is_string: false, type: Boolean, default_value: false), FastlaneCore::ConfigItem.new(key: :source_directory, env_name: "FL_SLATHER_SOURCE_DIRECTORY", description: "Tell slather the location of your source files", @@ -258,17 +244,15 @@ type: Array, optional: true), FastlaneCore::ConfigItem.new(key: :verbose, env_name: "FL_SLATHER_VERBOSE", description: "Tell slather to enable verbose mode", - is_string: false, type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :use_bundle_exec, env_name: "FL_SLATHER_USE_BUNDLE_EXEC", description: "Use bundle exec to execute slather. Make sure it is in the Gemfile", - is_string: false, type: Boolean, default_value: false), FastlaneCore::ConfigItem.new(key: :binary_basename, env_name: "FL_SLATHER_BINARY_BASENAME", description: "Basename of the binary file, this should match the name of your bundle excluding its extension (i.e. YourApp [for YourApp.app bundle])", @@ -285,16 +269,16 @@ description: "Specify which architecture the binary file is in. Needed for universal binaries", optional: true), FastlaneCore::ConfigItem.new(key: :source_files, env_name: "FL_SLATHER_SOURCE_FILES", description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode", - is_string: false, + skip_type_validation: true, # skipping validation for backwards compatibility with Boolean type default_value: false, optional: true), FastlaneCore::ConfigItem.new(key: :decimals, env_name: "FL_SLATHER_DECIMALS", description: "The amount of decimals to use for % coverage reporting", - is_string: false, + skip_type_validation: true, # allow Integer, String default_value: false, optional: true) ] end