File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/ontologies_api_client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5757 pry (0.15.2 )
5858 coderay (~> 1.1 )
5959 method_source (~> 1.0 )
60- public_suffix (6.0 .1 )
61- rack (3.1.8 )
60+ public_suffix (5.1 .1 )
61+ rack (3.1.9 )
6262 rake (13.2.1 )
6363 request_store (1.7.0 )
6464 rack (>= 1.4 )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def top_level_links(link = LinkedData::Client.settings.rest_url)
3737 # Return a link given an object (with links) and a media type
3838 def uri_from_context ( object , media_type )
3939 object . links . each do |type , link |
40- return link if link . media_type && link . media_type . downcase . eql? ( media_type . downcase )
40+ return link . dup if link . media_type && link . media_type . downcase . eql? ( media_type . downcase )
4141 end
4242 end
4343
You can’t perform that action at this time.
0 commit comments