Creates an RubyGems API to host and path with the given HTTP method.
If allowed_push_host metadata is present, then it will only allow that host.
Update RubyGems software to the latest version.
Restricts this gem dependencies file to the given ruby version.
You may also provide engine: and engine_version: options to restrict this gem dependencies file to a particular ruby engine and its engine version. This matching is performed by using the RUBY_ENGINE and engine_specific VERSION constants. (For JRuby, JRUBY_VERSION).