[encoding] [jruby] add a spec to make sure that ascii substrings of binary string can be utf-8 encoded without an exception in jruby
Merge remote-tracking branch 'jvshahid/substring_encoding'

Conflicts:
	core/string/encode_spec.rb
Fixed spec description and style.
Removed the assertion that Float instances had different identities

This is no longer true on 64-bit MRI, and appears to have always been an implementation detail.
Merge pull request #236 from alex/patch-2

Removed the assertion that Float instances had different identities
Add specs for visibility of initialize defined via Module#define_method
Fixed class matcher in Time#round subclass example

Just a little oversight I guess.

I would really love to have commit access so I can merge these small changes quickly, may I?
Merge pull request #239 from eregon/patch-1

Fixed class matcher in Time#round subclass example
Use more explicit expectation
Merge pull request #237 from mbj/define-method-initialize-visibility

Add specs for visibility of initialize defined via Module#define_method
Describe Etc.getlogin's spec

* Etc.getlogin is a wrapper of getlogin(2)
* Etc.getlogin uses ENV['USER'] if getlogin(2) returns NULL
* logname(1) returns the result of getlogin(2)
The type of rb_enumeratorize's 3rd argument is int
Follow CRuby r42551 fixes rubyspec/rubyspec#246

http://bugs.ruby-lang.org/issues/3753
Have some margin for timeout spec, it creates failures on CI

* of course, such feature has no guarantee to be accurate.
Reduced likelihood of race in require specs.
Add specs for Thread#priority and Thread#priority=
Merge pull request #249 from sferik/thread_priority_specs

Add specs for Thread#priority and Thread#priority=
Remove Gemfile.lock

This file is already being ignored in the project's .gitignore.
Merge pull request #250 from sferik/remove_gemfile_lock

Remove Gemfile.lock
Added more examples for String#% with the %d/%i field types.

* Add examples with given precision ('.')
* Precision controls the number of decimal places displayed for numeric fields