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|
28
28
gem . add_runtime_dependency 'rdf' , '~> 3.1'
29
29
gem . add_runtime_dependency 'multi_json' , '~> 1.14'
30
30
gem . add_runtime_dependency 'link_header' , '~> 0.0' , '>= 0.0.8'
31
- gem . add_runtime_dependency 'lru_redux' , '~> 1.1'
32
31
gem . add_runtime_dependency 'json-canonicalization' , '~> 0.2'
33
32
gem . add_runtime_dependency 'htmlentities' , '~> 4.3'
34
33
gem . add_runtime_dependency 'rack' , '~> 2.0'
Original file line number Diff line number Diff line change 3
3
require 'json'
4
4
require 'bigdecimal'
5
5
require 'set'
6
- require 'lru_redux '
6
+ require 'rdf/util/cache '
7
7
8
8
begin
9
9
# Attempt to load this to avoid unnecessary context fetches
@@ -139,7 +139,7 @@ def self.parse(local_context,
139
139
# @return [RDF::Util::Cache]
140
140
# @private
141
141
def self . cache
142
- @cache ||= LruRedux ::Cache . new ( CACHE_SIZE )
142
+ @cache ||= RDF :: Util ::Cache . new ( CACHE_SIZE )
143
143
end
144
144
145
145
##
@@ -148,7 +148,7 @@ def self.cache
148
148
# @return [RDF::Util::Cache]
149
149
# @private
150
150
def self . inverse_cache
151
- @inverse_cache ||= LruRedux ::Cache . new ( CACHE_SIZE )
151
+ @inverse_cache ||= RDF :: Util ::Cache . new ( CACHE_SIZE )
152
152
end
153
153
154
154
##
You can’t perform that action at this time.
0 commit comments