lib/dry/web/roda/generators/flat_project.rb in dry-web-roda-0.6.1 vs lib/dry/web/roda/generators/flat_project.rb in dry-web-roda-0.6.2

- old
+ new

@@ -1,7 +1,8 @@ -require "inflecto" +require "securerandom" require "dry/web/roda/generate" +require "dry/web/roda/generators/inflections" module Dry module Web module Roda module Generators @@ -18,11 +19,11 @@ private def prepare_scope(target_dir) { - underscored_app_name: Inflecto.underscore(target_dir), - camel_cased_app_name: Inflecto.camelize(target_dir) + underscored_app_name: Inflections.underscored_name(target_dir), + camel_cased_app_name: Inflections.camel_cased_name(target_dir) } end end end end