summaryrefslogtreecommitdiff
path: root/lib/bundler/source/gemspec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source/gemspec.rb')
-rw-r--r--lib/bundler/source/gemspec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bundler/source/gemspec.rb b/lib/bundler/source/gemspec.rb
index 05e613277f..ed766dbe74 100644
--- a/lib/bundler/source/gemspec.rb
+++ b/lib/bundler/source/gemspec.rb
@@ -1,16 +1,18 @@
# frozen_string_literal: true
+
module Bundler
class Source
class Gemspec < Path
attr_reader :gemspec
+ attr_writer :checksum_store
def initialize(options)
super
@gemspec = options["gemspec"]
end
- def as_path_source
- Path.new(options)
+ def to_s
+ "gemspec at `#{@path}`"
end
end
end