summaryrefslogtreecommitdiff
path: root/lib/bundler/source/path.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-09-27 07:27:12 +0200
committergit <[email protected]>2024-09-30 05:09:16 +0000
commit3a273c4742e9bf04bc690523fb485860ae4d59e7 (patch)
tree25a1ad4ab06a9a8fe33f5879231466722ae58654 /lib/bundler/source/path.rb
parent1e0076368832129016814604918013d70383fde9 (diff)
[rubygems/rubygems] Fix error when changing a path source to a git source if frozen mode
https://github.com/rubygems/rubygems/commit/4c79ab9b2e
Diffstat (limited to 'lib/bundler/source/path.rb')
-rw-r--r--lib/bundler/source/path.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb
index 6a99f8e977..d4c530e922 100644
--- a/lib/bundler/source/path.rb
+++ b/lib/bundler/source/path.rb
@@ -53,6 +53,8 @@ module Bundler
"source at `#{@path}`"
end
+ alias_method :to_gemfile, :path
+
def hash
[self.class, expanded_path, version].hash
end