lib/deployml/configuration.rb in deployml-0.5.1 vs lib/deployml/configuration.rb in deployml-0.5.2

- old
+ new

@@ -92,10 +92,13 @@ def initialize(config={}) config = normalize_hash(config) @bundler = config.fetch(:bundler,false) - @framework = if config[:framework] + @framework = case config[:framework] + when 'rails', 'rails2', 'rails3' + :rails + when String, Symbol config[:framework].to_sym end @orm = if config[:orm] config[:orm].to_sym