diff options
Diffstat (limited to 'lib/bundler/source/gemspec.rb')
-rw-r--r-- | lib/bundler/source/gemspec.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/bundler/source/gemspec.rb b/lib/bundler/source/gemspec.rb new file mode 100644 index 0000000000..05e613277f --- /dev/null +++ b/lib/bundler/source/gemspec.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true +module Bundler + class Source + class Gemspec < Path + attr_reader :gemspec + + def initialize(options) + super + @gemspec = options["gemspec"] + end + + def as_path_source + Path.new(options) + end + end + end +end |