pantograph/lib/pantograph/actions/jira.rb in pantograph-0.1.12 vs pantograph/lib/pantograph/actions/jira.rb in pantograph-0.1.13
- old
+ new
@@ -36,52 +36,52 @@
end
def self.available_options
[
PantographCore::ConfigItem.new(key: :url,
- env_name: "FL_JIRA_SITE",
- description: "URL for Jira instance",
+ env_name: 'JIRA_SITE',
+ description: 'URL for Jira instance',
verify_block: proc do |value|
UI.user_error!("No url for Jira given, pass using `url: 'url'`") if value.to_s.length == 0
end),
PantographCore::ConfigItem.new(key: :context_path,
- env_name: "FL_JIRA_CONTEXT_PATH",
+ env_name: 'JIRA_CONTEXT_PATH',
description: "Appends to the url (ex: \"/jira\")",
optional: true,
default_value: ""),
PantographCore::ConfigItem.new(key: :username,
- env_name: "FL_JIRA_USERNAME",
- description: "Username for JIRA instance",
+ env_name: 'JIRA_USERNAME',
+ description: 'Username for JIRA instance',
verify_block: proc do |value|
- UI.user_error!("No username") if value.to_s.length == 0
+ UI.user_error!('No username') if value.to_s.length == 0
end),
PantographCore::ConfigItem.new(key: :password,
- env_name: "FL_JIRA_PASSWORD",
- description: "Password for Jira",
+ env_name: 'JIRA_PASSWORD',
+ description: 'Password for Jira',
sensitive: true,
verify_block: proc do |value|
UI.user_error!("No password") if value.to_s.length == 0
end),
PantographCore::ConfigItem.new(key: :ticket_id,
- env_name: "FL_JIRA_TICKET_ID",
- description: "Ticket ID for Jira, i.e. IOS-123",
+ env_name: 'JIRA_TICKET_ID',
+ description: 'Ticket ID for Jira, i.e. APP-123',
verify_block: proc do |value|
UI.user_error!("No Ticket specified") if value.to_s.length == 0
end),
PantographCore::ConfigItem.new(key: :comment_text,
- env_name: "FL_JIRA_COMMENT_TEXT",
- description: "Text to add to the ticket as a comment",
+ env_name: 'JIRA_COMMENT_TEXT',
+ description: 'Text to add to the ticket as a comment',
verify_block: proc do |value|
- UI.user_error!("No comment specified") if value.to_s.length == 0
+ UI.user_error!('No comment specified') if value.to_s.length == 0
end)
]
end
def self.return_value
end
def self.authors
- ["iAmChrisTruman"]
+ ['iAmChrisTruman']
end
def self.is_supported?(platform)
true
end