summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-12-28 22:39:08 -0700
committermo khan <mo.khan@gmail.com>2020-12-28 22:39:08 -0700
commit3d50ddf88cdf5cfdafa2b6afd3594f8b313ab34d (patch)
tree36157172199496490218b68607a990315d8a0450 /lib
parent39ed51a3efed76cd6e93ac152b86b570a380b649 (diff)
test: include rubygems in build output
Diffstat (limited to 'lib')
-rw-r--r--lib/spandx/ruby/index.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spandx/ruby/index.rb b/lib/spandx/ruby/index.rb
index e573468..01152a5 100644
--- a/lib/spandx/ruby/index.rb
+++ b/lib/spandx/ruby/index.rb
@@ -9,7 +9,8 @@ module Spandx
def initialize(directory:)
@directory = directory
- @cache = ::Spandx::Core::Cache.new('rubygems', root: directory)
+ @name = 'rubygems'
+ @cache = ::Spandx::Core::Cache.new(@name, root: directory)
@rubygems = ::Spandx::Ruby::Gateway.new
end