lib/csl/info.rb in csl-1.0.0.pre23 vs lib/csl/info.rb in csl-1.0.0
- old
+ new
@@ -154,10 +154,10 @@
end
end
def default_license?
has_rights? && rights[:license] == Schema.default_license &&
- rights.to_s == Schema.default_rights_string
+ rights.text == Schema.default_rights_string
end
def default_license!
if has_rights?
rights[:license] = Schema.default_license
\ No newline at end of file