File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ Gem::Specification.new do |gem|
2828 gem . add_runtime_dependency 'rdf' , '~> 3.1'
2929 gem . add_runtime_dependency 'multi_json' , '~> 1.14'
3030 gem . add_runtime_dependency 'link_header' , '~> 0.0' , '>= 0.0.8'
31- gem . add_runtime_dependency 'lru_redux' , '~> 1.1'
3231 gem . add_runtime_dependency 'json-canonicalization' , '~> 0.2'
3332 gem . add_runtime_dependency 'htmlentities' , '~> 4.3'
3433 gem . add_runtime_dependency 'rack' , '~> 2.0'
Original file line number Diff line number Diff line change 33require 'json'
44require 'bigdecimal'
55require 'set'
6- require 'lru_redux '
6+ require 'rdf/util/cache '
77
88begin
99 # Attempt to load this to avoid unnecessary context fetches
@@ -139,7 +139,7 @@ def self.parse(local_context,
139139 # @return [RDF::Util::Cache]
140140 # @private
141141 def self . cache
142- @cache ||= LruRedux ::Cache . new ( CACHE_SIZE )
142+ @cache ||= RDF :: Util ::Cache . new ( CACHE_SIZE )
143143 end
144144
145145 ##
@@ -148,7 +148,7 @@ def self.cache
148148 # @return [RDF::Util::Cache]
149149 # @private
150150 def self . inverse_cache
151- @inverse_cache ||= LruRedux ::Cache . new ( CACHE_SIZE )
151+ @inverse_cache ||= RDF :: Util ::Cache . new ( CACHE_SIZE )
152152 end
153153
154154 ##
You can’t perform that action at this time.
0 commit comments