Class: Licensed::Sources::Bundler::MissingSpecification

Inherits:
Gem::BasicSpecification
  • Object
show all
Defined in:
lib/licensed/sources/bundler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, requirement:) ⇒ MissingSpecification

Returns a new instance of MissingSpecification.



14
15
16
17
# File 'lib/licensed/sources/bundler.rb', line 14

def initialize(name:, requirement:)
  @name = name
  @requirement = requirement
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



12
13
14
# File 'lib/licensed/sources/bundler.rb', line 12

def name
  @name
end

#requirementObject (readonly) Also known as: version

Returns the value of attribute requirement.



12
13
14
# File 'lib/licensed/sources/bundler.rb', line 12

def requirement
  @requirement
end

Instance Method Details

#dependenciesObject



19
20
21
# File 'lib/licensed/sources/bundler.rb', line 19

def dependencies
  []
end

#errorObject



35
36
37
# File 'lib/licensed/sources/bundler.rb', line 35

def error
  "could not find #{name} (#{requirement}) in any sources"
end

#gem_dirObject



28
# File 'lib/licensed/sources/bundler.rb', line 28

def gem_dir; end

#gems_dirObject



29
30
31
# File 'lib/licensed/sources/bundler.rb', line 29

def gems_dir
  Gem.dir
end

#homepageObject



33
# File 'lib/licensed/sources/bundler.rb', line 33

def homepage; end

#platformObject



27
# File 'lib/licensed/sources/bundler.rb', line 27

def platform; end

#sourceObject



23
24
25
# File 'lib/licensed/sources/bundler.rb', line 23

def source
  nil
end

#summaryObject



32
# File 'lib/licensed/sources/bundler.rb', line 32

def summary; end