lib/spandx/license.rb in spandx-0.4.1 vs lib/spandx/license.rb in spandx-0.5.0
- old
+ new
@@ -63,10 +63,10 @@
def content
@content ||= Content.new(raw_content)
end
def raw_content
- @raw_content ||= (Spandx.db.read("text/#{id}.txt") || '')
+ @raw_content ||= (Spandx.spdx_db.read("text/#{id}.txt") || '')
end
def <=>(other)
id <=> other.id
end