lib/core/extract.rb in radon-0.1.0 vs lib/core/extract.rb in radon-0.1.1

- old
+ new

@@ -8,15 +8,19 @@ def extract_java(target) extract_zip(Radon::Environments.getTargetOf('java'), target) end +def extract_maven(target) + extract_zip(Radon::Environments.getTargetOf('maven'), target) +end + def extract_python(target) extract_zip(Radon::Environments.getTargetOf('python'), target) end def extract_ruby(target) - extract_zip(Radon::Environments.getTargetOf('ruby'), target) + extract_zip(Radon::Environments.getTargetOf('ruby (beta)'), target) find_and_replace_all(target, '{{NAME}}', projectify(target).split('-').collect(&:capitalize).join) end # Extracts some zip data to the passed destination def extract_zip(file, destination) \ No newline at end of file