Class: Gemkeeper::ManifestBuilder::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemkeeper/manifest_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#added_countObject

Returns the value of attribute added_count

Returns:

  • (Object)

    the current value of added_count



6
7
8
# File 'lib/gemkeeper/manifest_builder.rb', line 6

def added_count
  @added_count
end

#already_mapped_countObject

Returns the value of attribute already_mapped_count

Returns:

  • (Object)

    the current value of already_mapped_count



6
7
8
# File 'lib/gemkeeper/manifest_builder.rb', line 6

def already_mapped_count
  @already_mapped_count
end

#candidatesObject

Returns the value of attribute candidates

Returns:

  • (Object)

    the current value of candidates



6
7
8
# File 'lib/gemkeeper/manifest_builder.rb', line 6

def candidates
  @candidates
end

#manifestObject

Returns the value of attribute manifest

Returns:

  • (Object)

    the current value of manifest



6
7
8
# File 'lib/gemkeeper/manifest_builder.rb', line 6

def manifest
  @manifest
end

#skipped_countObject

Returns the value of attribute skipped_count

Returns:

  • (Object)

    the current value of skipped_count



6
7
8
# File 'lib/gemkeeper/manifest_builder.rb', line 6

def skipped_count
  @skipped_count
end

Instance Method Details

#any_changes?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/gemkeeper/manifest_builder.rb', line 8

def any_changes?
  added_count.positive?
end

#empty?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/gemkeeper/manifest_builder.rb', line 12

def empty?
  candidates.empty?
end