src/manifests/project_config.rb in foobara-empty-ruby-project-generator-0.0.8 vs src/manifests/project_config.rb in foobara-empty-ruby-project-generator-0.0.9
- old
+ new
@@ -18,10 +18,10 @@
description :string, default: "No description. Add one."
author_names [:string]
author_emails [:string]
homepage_url :string
# Probably need a better default such as not licensed.
- license :string, default: "None specified yet"
+ license :string, :allow_nil, one_of: ["MIT", "Apache-2.0", "MPL-2.0", "Apache-2.0 OR MIT"]
end
def kebab_case_project_name
Util.kebab_case(project_module_path.join)
end