lib/core/extract.rb in radon-0.1.7 vs lib/core/extract.rb in radon-0.1.8

- old
+ new

@@ -1,44 +1,44 @@ require "base64" require "tempfile" require "zip" def extract_gradle(target) - extract_zip(Radon::Environments.getTargetOf('gradle'), target) + extract_zip(Radon::Environments.get_target_of('gradle'), target) end def extract_java(target) - extract_zip(Radon::Environments.getTargetOf('java'), target) + extract_zip(Radon::Environments.get_target_of('java'), target) end def extract_maven(target) - extract_zip(Radon::Environments.getTargetOf('maven'), target) + extract_zip(Radon::Environments.get_target_of('maven'), target) end def extract_python(target) - extract_zip(Radon::Environments.getTargetOf('python'), target) + extract_zip(Radon::Environments.get_target_of('python'), target) end def extract_ruby(target) - extract_zip(Radon::Environments.getTargetOf('ruby'), target) + extract_zip(Radon::Environments.get_target_of('ruby'), target) replace_all_tokens(target) end def extract_c(target) - extract_zip(Radon::Environments.getTargetOf('c'), target) + extract_zip(Radon::Environments.get_target_of('c'), target) end def extract_crystal(target) - extract_zip(Radon::Environments.getTargetOf('crystal'), target) + extract_zip(Radon::Environments.get_target_of('crystal'), target) replace_all_tokens(target) end def extract_go_s(target) - extract_zip(Radon::Environments.getTargetOf('go_s'), target) + extract_zip(Radon::Environments.get_target_of('go_s'), target) end def extract_website(target) - extract_zip(Radon::Environments.getTargetOf('website'), target) + extract_zip(Radon::Environments.get_target_of('website'), target) end # Extracts some zip data to the passed destination def extract_zip(file, destination) puts "Creating project under #{File.expand_path(destination)}" unless $quiet