lib/lita/cli.rb in lita-4.0.4 vs lib/lita/cli.rb in lita-4.1.0

- old
+ new

@@ -119,10 +119,10 @@ private def generate_config(name, plugin_type) name, gem_name = normalize_names(name) - constant_name = name.split(/_/).map { |p| p.capitalize }.join + constant_name = name.split(/_/).map(&:capitalize).join namespace = "#{plugin_type}s" constant_namespace = namespace.capitalize spec_type = plugin_type == "handler" ? "lita_handler" : "lita" required_lita_version = Lita::VERSION.split(/\./)[0...-1].join(".")