lib/generators/churn.rb in metric_fu-1.4.0 vs lib/generators/churn.rb in metric_fu-1.5.0
- old
+ new
@@ -3,15 +3,9 @@
class Churn < Generator
def initialize(options={})
super
end
-
- def self.verify_dependencies!
- result = `churn --help`
- raise 'sudo gem install churn # if you want the churn tasks' unless result.match(/churn/)
- end
-
def emit
@output = `churn --yaml`
yaml_start = @output.index("---")
@output = @output[yaml_start...@output.length] if yaml_start