Skip to content

Commit

Permalink
Merge pull request #132 from casperisfine/ruby-head-support
Browse files Browse the repository at this point in the history
Fix ruby-head support
  • Loading branch information
byroot committed Jul 27, 2021
2 parents 8adb4ae + ea729ac commit 9c11e48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/global_id/uri/gid.rb
Expand Up @@ -173,5 +173,9 @@ def parse_query_params(query)
end
end

@@schemes['GID'] = GID
if respond_to?(:register_scheme)
register_scheme('GID', GID)
else
@@schemes['GID'] = GID
end
end

0 comments on commit 9c11e48

Please sign in to comment.