lib/dry/web/roda/generators/umbrella_project.rb in dry-web-roda-0.6.1 vs lib/dry/web/roda/generators/umbrella_project.rb in dry-web-roda-0.6.2
- old
+ new
@@ -1,8 +1,8 @@
-require "inflecto"
require "securerandom"
require "dry/web/roda/generate"
+require "dry/web/roda/generators/inflections"
require "dry/web/roda/generators/sub_app"
module Dry
module Web
module Roda
@@ -25,11 +25,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