Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid an instantiation if subject is already a RDF::URI #75

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Jan 13, 2017

This prevents a deprecation warning like:

[DEPRECATION] URI#to_hash is deprecated, use URI#to_h instead. Called
from
/home/travis/build/projecthydra-labs/hyku/vendor/bundle/ruby/2.3.0/gems/ldp-0.6.2/lib/ldp/resource.rb:30

This prevents a deprecation warning like:
```
[DEPRECATION] URI#to_hash is deprecated, use URI#to_h instead. Called
from
/home/travis/build/projecthydra-labs/hyku/vendor/bundle/ruby/2.3.0/gems/ldp-0.6.2/lib/ldp/resource.rb:30
```
@jcoyne jcoyne force-pushed the avoid_deprecation branch from c289147 to 42d31a7 Compare January 13, 2017 18:28
@cbeer cbeer merged commit cdbc311 into master Jan 13, 2017
@cbeer cbeer deleted the avoid_deprecation branch January 13, 2017 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants