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.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler/source/gemspec.rb b/lib/bundler/source/gemspec.rb
index 7e3447e776..ed766dbe74 100644
--- a/lib/bundler/source/gemspec.rb
+++ b/lib/bundler/source/gemspec.rb
@@ -4,14 +4,15 @@ 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