@@ -62,8 +62,9 @@ def compile
6262 fail "Method 'compile' must be defined"
6363 end
6464
65- # Modifies the application's runtime configuration. The component is expected to transform members of the +context+
66- # (e.g. +@java_home+, +@java_opts+, etc.) in whatever way is necessary to support the function of the component.
65+ # Modifies the application's runtime configuration. The component is expected to transform members of the
66+ # +context+ # (e.g. +@java_home+, +@java_opts+, etc.) in whatever way is necessary to support the function of the
67+ # component.
6768 #
6869 # Container components are also expected to create the command required to run the application. These components
6970 # are expected to read the +context+ values and take them into account when creating the command.
@@ -76,8 +77,8 @@ def release
7677
7778 protected
7879
79- # Downloads an item with the given name and version from the given URI, then yields the resultant file to the given
80- # block.
80+ # Downloads an item with the given name and version from the given URI, then yields the resultant file to the
81+ # given # block.
8182 #
8283 # @param [JavaBuildpack::Util::TokenizedVersion] version
8384 # @param [String] uri
@@ -112,7 +113,8 @@ def download_jar(version, uri, jar_name, target_directory = @droplet.sandbox, na
112113 #
113114 # @param [String] version the version of the download
114115 # @param [String] uri the uri of the download
115- # @param [Pathname] target_directory the directory to expand the TAR file to. Defaults to the component's sandbox.
116+ # @param [Pathname] target_directory the directory to expand the TAR file to. Defaults to the component's
117+ # sandbox.
116118 # @param [String] name an optional name for the download and expansion. Defaults to +@component_name+.
117119 # @return [Void]
118120 def download_tar ( version , uri , target_directory = @droplet . sandbox , name = @component_name )
@@ -127,10 +129,12 @@ def download_tar(version, uri, target_directory = @droplet.sandbox, name = @comp
127129 # Downloads a given ZIP file and expands it.
128130 #
129131 # @param [Boolean] strip_top_level whether to strip the top-level directory when expanding. Defaults to +true+.
130- # @param [Pathname] target_directory the directory to expand the ZIP file to. Defaults to the component's sandbox.
132+ # @param [Pathname] target_directory the directory to expand the ZIP file to. Defaults to the component's
133+ # sandbox.
131134 # @param [String] name an optional name for the download. Defaults to +@component_name+.
132135 # @return [Void]
133- def download_zip ( version , uri , strip_top_level = true , target_directory = @droplet . sandbox , name = @component_name )
136+ def download_zip ( version , uri , strip_top_level = true , target_directory = @droplet . sandbox ,
137+ name = @component_name )
134138 download ( version , uri , name ) do |file |
135139 with_timing "Expanding #{ name } to #{ target_directory . relative_path_from ( @droplet . root ) } " do
136140 if strip_top_level
0 commit comments