Results for: "minmax"

Changes in rubygems to lazily loading ‘rubygems/command` (in order to lazily load `optparse` as a side effect) affect bundler’s custom installer which uses ‘Gem::Command` without requiring it (up until bundler 2.2.29). This hook is to compensate for that missing require.

TODO: Remove when rubygems no longer supports running on bundler older than 2.2.29.

Installs the gem and returns a loaded Gem::Specification for the installed gem.

The gem will be installed with the following structure:

@gem_home/
  cache/<gem-version>.gem #=> a cached copy of the installed gem
  gems/<gem-version>/... #=> extracted files
  specifications/<gem-version>.gemspec #=> the Gem::Specification
No documentation available

Creates a new package that will read or write to the file gem.

Initialization tasks without the “yield self” or define operations.

Create the Rake tasks and actions specified by this Gem::PackageTask. (define is automatically called if a block is given to new).

No documentation available
No documentation available

Installs gems for this RequestSet using the Gem::Installer options.

If a block is given an activation request and installer are yielded. The installer will be nil if a gem matching the request was already installed.

Returns true if this source list includes other which may be a Gem::Source or a source URI.

Normalize the list of files so that:

A short summary of this gem’s description.

Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.

Normalize the URI by adding “http://” if it is missing.

No documentation available
No documentation available

Managable rspec errors

Return an array of CodeLines in the document

No documentation available

Example:

combination([:a, :b, :c, :d])
# => [[:a], [:b], [:c], [:d], [:a, :b], [:a, :c], [:a, :d], [:b, :c], [:b, :d], [:c, :d], [:a, :b, :c], [:a, :b, :d], [:a, :c, :d], [:b, :c, :d], [:a, :b, :c, :d]]
No documentation available

Sets userinfo, argument is string like ‘name:pass’.

Returns the userinfo, either as ‘user’ or ‘user:password’.

Returns normalized URI.

require 'uri'

URI("HTTP://my.EXAMPLE.com").normalize
#=> #<URI::HTTP http://my.example.com/>

Normalization here means:

Destructive version of normalize.

Search took: 4ms  ·  Total Results: 1816