lib/generators/anyway/config/config_generator.rb in anyway_config-2.4.2 vs lib/generators/anyway/config/config_generator.rb in anyway_config-2.5.0

- old
+ new

@@ -39,8 +39,13 @@ "app/configs" else static_config_root end end + + def needs_config_name? + raise "No longer needed" if Gem::Version.new(Anyway::VERSION) >= Gem::Version.new("3.0.0") + file_name.include?("_") + end end end end