fastlane/lib/fastlane/actions/mailgun.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/mailgun.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -57,48 +57,42 @@ description: "Message of your mail"), FastlaneCore::ConfigItem.new(key: :subject, env_name: "MAILGUN_SUBJECT", description: "Subject of your mail", optional: true, - is_string: true, default_value: "fastlane build"), FastlaneCore::ConfigItem.new(key: :success, - env_name: "MAILGUN_SUCCESS", - description: "Was this build successful? (true/false)", - optional: true, - default_value: true, - is_string: false), + env_name: "MAILGUN_SUCCESS", + description: "Was this build successful? (true/false)", + optional: true, + default_value: true, + type: Boolean), FastlaneCore::ConfigItem.new(key: :app_link, - env_name: "MAILGUN_APP_LINK", - description: "App Release link", - optional: false, - is_string: true), + env_name: "MAILGUN_APP_LINK", + description: "App Release link", + optional: false), FastlaneCore::ConfigItem.new(key: :ci_build_link, - env_name: "MAILGUN_CI_BUILD_LINK", - description: "CI Build Link", - optional: true, - is_string: true), + env_name: "MAILGUN_CI_BUILD_LINK", + description: "CI Build Link", + optional: true), FastlaneCore::ConfigItem.new(key: :template_path, - env_name: "MAILGUN_TEMPLATE_PATH", - description: "Mail HTML template", - optional: true, - is_string: true), + env_name: "MAILGUN_TEMPLATE_PATH", + description: "Mail HTML template", + optional: true), FastlaneCore::ConfigItem.new(key: :reply_to, - env_name: "MAILGUN_REPLY_TO", - description: "Mail Reply to", - optional: true, - is_string: true), + env_name: "MAILGUN_REPLY_TO", + description: "Mail Reply to", + optional: true), FastlaneCore::ConfigItem.new(key: :attachment, - env_name: "MAILGUN_ATTACHMENT", - description: "Mail Attachment filenames, either an array or just one string", - optional: true, - is_string: false), + env_name: "MAILGUN_ATTACHMENT", + description: "Mail Attachment filenames, either an array or just one string", + optional: true, + type: Array), FastlaneCore::ConfigItem.new(key: :custom_placeholders, short_option: "-p", env_name: "MAILGUN_CUSTOM_PLACEHOLDERS", description: "Placeholders for template given as a hash", default_value: {}, - is_string: false, type: Hash) ] end def self.author