pantograph/lib/pantograph/actions/download.rb in pantograph-0.1.12 vs pantograph/lib/pantograph/actions/download.rb in pantograph-0.1.13
- old
+ new
@@ -24,11 +24,11 @@
#####################################################
# @!group Documentation
#####################################################
def self.description
- "Download a file from a remote server (e.g. JSON file)"
+ 'Download a file from a remote server (e.g. JSON file)'
end
def self.details
[
"Specify the URL to download and get the content as a return value.",
@@ -38,11 +38,11 @@
end
def self.available_options
[
PantographCore::ConfigItem.new(key: :url,
- env_name: "FL_DOWNLOAD_URL",
+ env_name: 'DOWNLOAD_URL',
description: "The URL that should be downloaded",
verify_block: proc do |value|
UI.important("The URL doesn't start with http or https") unless value.start_with?("http")
end)
]
@@ -63,10 +63,10 @@
def self.category
:misc
end
def self.authors
- ["KrauseFx"]
+ ['KrauseFx']
end
def self.is_supported?(platform)
true
end