fastlane/lib/fastlane/actions/hipchat.rb in fastlane-2.185.1 vs fastlane/lib/fastlane/actions/hipchat.rb in fastlane-2.186.0
- old
+ new
@@ -115,18 +115,17 @@
end
end),
FastlaneCore::ConfigItem.new(key: :custom_color,
env_name: "FL_HIPCHAT_CUSTOM_COLOR",
description: "Specify a custom color, this overrides the success boolean. Can be one of 'yellow', 'red', 'green', 'purple', 'gray', or 'random'",
- optional: true,
- is_string: true),
+ optional: true),
FastlaneCore::ConfigItem.new(key: :success,
env_name: "FL_HIPCHAT_SUCCESS",
description: "Was this build successful? (true/false)",
optional: true,
default_value: true,
- is_string: false),
+ type: Boolean),
FastlaneCore::ConfigItem.new(key: :version,
env_name: "HIPCHAT_API_VERSION",
description: "Version of the Hipchat API. Must be 1 or 2",
verify_block: proc do |value|
if value.nil? || ![1, 2].include?(value.to_i)
@@ -137,11 +136,11 @@
FastlaneCore::ConfigItem.new(key: :notify_room,
env_name: "HIPCHAT_NOTIFY_ROOM",
description: "Should the people in the room be notified? (true/false)",
default_value: false,
optional: true,
- is_string: false),
+ type: Boolean),
FastlaneCore::ConfigItem.new(key: :api_host,
env_name: "HIPCHAT_API_HOST",
description: "The host of the HipChat-Server API",
default_value: "api.hipchat.com",
optional: true),
@@ -159,10 +158,10 @@
FastlaneCore::ConfigItem.new(key: :include_html_header,
env_name: "FL_HIPCHAT_INCLUDE_HTML_HEADER",
description: "Should html formatted messages include a preformatted header? (true/false)",
default_value: true,
optional: true,
- is_string: false),
+ type: Boolean),
FastlaneCore::ConfigItem.new(key: :from,
env_name: "FL_HIPCHAT_FROM",
description: "Name the message will appear to be sent from",
default_value: "fastlane",
optional: true)