lib/license_finder/license/definitions.rb in license_finder-6.5.0 vs lib/license_finder/license/definitions.rb in license_finder-6.6.0

- old
+ new

@@ -23,11 +23,12 @@ newbsd, ofl, python, ruby, simplifiedbsd, - wtfpl + wtfpl, + zerobsd ] end def build_unrecognized(name) License.new( @@ -298,9 +299,30 @@ other_names: [ 'WTFPL V2', 'Do What The Fuck You Want To Public License' ], url: 'http://www.wtfpl.net/' + ) + end + + def zerobsd + matcher = AnyMatcher.new( + Matcher.from_template(Template.named('0BSD')) + ) + + License.new( + short_name: '0BSD', + pretty_name: 'BSD Zero Clause License', + other_names: [ + '0-Clause BSD', + 'Zero-Clause BSD', + 'BSD-0-Clause', + 'BSD-Zero-Clause', + 'BSD 0-Clause', + 'BSD Zero-Clause' + ], + url: 'https://opensource.org/licenses/0BSD', + matcher: matcher ) end end end end