Results for: "Logger"

No documentation available
No documentation available

Prepares the gem for signing and checksum generation. If a signing certificate and key are not present only checksum generation is set up.

Verifies entry in a .gem file.

Verifies the files of the gem

No documentation available
No documentation available
No documentation available

Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

No documentation available

Loads type kind of specs fetching from +@uri+ if the on-disk cache is out of date.

type is one of the following:

:released => Return the list of all released specs :latest => Return the list of only the highest version of each gem :prerelease => Return the list of all prerelease only specs

Loads the default specifications. It should be called only once.

Return a list of all gems that have a dependency on this gemspec. The list is structured with entries that conform to:

[depending_gem, dependency, [list_of_gems_that_satisfy_dependency]]

List of dependencies that are used for development

No documentation available
No documentation available

Issues a warning for each file to be packaged which is world-readable.

Implementation for Specification#validate_permissions

Uninstalls gem spec

No documentation available
No documentation available

Display a warning on stderr. Will ask question if it is not nil.

Return the currently matched lines as a ‘CodeBlock`

When a ‘CodeBlock` is created it will gather metadata about itself, so this is not a free conversion. Avoid allocating more CodeBlock’s than needed

Smushes all heredoc lines into one line

source = <<~'EOM'
  foo = <<~HEREDOC
     lol
     hehehe
  HEREDOC
EOM

lines = CleanDocument.new(source: source).join_heredoc!.lines
expect(lines[0].to_s).to eq(source)
expect(lines[1].to_s).to eq("")
No documentation available
No documentation available
Search took: 12ms  ·  Total Results: 2278