lib/licensee/project.rb in licensee-8.5.0 vs lib/licensee/project.rb in licensee-8.6.0

- old
+ new

@@ -34,18 +34,19 @@ lesser || license_file end end - def readme + def readme_file return unless detect_readme? return @readme if defined? @readme @readme = begin content, name = find_file { |n| Readme.name_score(n) } content = Readme.license_content(content) Readme.new(content, name) if content && name end end + alias readme readme_file def package_file return unless detect_packages? return @package_file if defined? @package_file @package_file = begin