workaround case where the default encoding is not utf-8 - https://github.com/jruby/jruby/issues/2035
better exception handling for /maven/releases/rubygems or /maven/prereleases/rubygems directories
more license headers in xml used by tests
more input-stream cleanup - maybe avoid further Bad FileDescriptor Errors
NEXUS-7575: User agent not set on HC4 tunneled connections

When HC4 tunnels HTTPS connection over HTTP, using
CONNECT, the user agent is not set even if it is configured
(HTTPCLIENT-1526). This change applies the fix
mentioned in issue comment and adds a test
that verifies it works.
NEXUS-7575: Using context in UA formatting

To have available all potential user customizations.
Merge pull request #799 from mkristian/little-fixes

[rubygems] Little fixes
Unterminated scriptingcontainer in UT

Replaced it's explicit creation with the Rule
[NEXUS-6680] Do not use --update if "force rebuild"
[NEXUS-6899] Remove caching of Yum versions

Versioned resource will directly create the versioned repository. If no rpms are matching the version yum repository will be empty
Drop long throws clauses
Add minimal class javadocs
rename the *.json.rz to *ruby - they have no json content and are not deflated ruby objects but just ruby objects.

people already tried to runzip those json.rz files which did not succeed.
More resource cleanup.
In production files, only following changes applied:
* moved scripting container lifecycle handling
* added RubygemsGateway that terminates properly the container (by letting it be GCed)

Rest is in tests, by simply "pulling" all Ruby objects closer
to it's source and explicitly cleaning up them, as current assumption
is that EBADF errors happens when scripting container is not GCed as
some member variable still contains hard ref to it. These changes
should simply "ease" the life of GC, making it more feasible to
have them along with container collected.
Idea is too eager on changing comments :)
Merge pull request #805 from mkristian/rename-json-rz-to-ruby-file

rename the *.json.rz to *.ruby
Merge remote-tracking branch 'origin/nexus-2.11.x' into nexus-2.11.x-more-resource-cleanup

Conflicts:
	plugins/rubygem/nexus-ruby-tools/src/test/java/org/sonatype/nexus/ruby/MetadataBuilderTest.java
Renamed test helpers:

TestScriptingContainer > TestJRubyContainer
TestScriptingContainerRule > TestJRubyContainerRule
Merge pull request #803 from sonatype/nexus-2.11.x-NEXUS-7575-proxy-tunnel-ua

NEXUS-7575: User agent not set on HC4 tunneled connections
Letting things to oblivion faster...
Merge pull request #806 from sonatype/nexus-2.11.x-more-resource-cleanup

More resource cleanup.