Class: StillActive::LockfileDependencyParser::Spec

Inherits:
Struct
  • Object
show all
Defined in:
lib/helpers/lockfile_dependency_parser.rb

Overview

‘dependencies` holds the names listed under this spec in the lockfile (its resolved runtime deps). For a local path gem (a gemspec project or engine) these are the gems it ships, which Bundler does not surface in the DEPENDENCIES section, so they are what #41 needs to reach.

Instance Attribute Summary collapse

Instance Attribute Details

#dependenciesObject

Returns the value of attribute dependencies

Returns:

  • (Object)

    the current value of dependencies



23
24
25
# File 'lib/helpers/lockfile_dependency_parser.rb', line 23

def dependencies
  @dependencies
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/helpers/lockfile_dependency_parser.rb', line 23

def name
  @name
end

#source_typeObject

Returns the value of attribute source_type

Returns:

  • (Object)

    the current value of source_type



23
24
25
# File 'lib/helpers/lockfile_dependency_parser.rb', line 23

def source_type
  @source_type
end

#source_uriObject

Returns the value of attribute source_uri

Returns:

  • (Object)

    the current value of source_uri



23
24
25
# File 'lib/helpers/lockfile_dependency_parser.rb', line 23

def source_uri
  @source_uri
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



23
24
25
# File 'lib/helpers/lockfile_dependency_parser.rb', line 23

def version
  @version
end