Show ObjectSpace.count_objects to debug NoMemoryError

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
remove debugging raise in previous commit

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sprintf.c: QUOTE flag

* sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
  characters.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
remove duplicated entry

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Add Set#intersect? and #disjoint?.

* lib/set.rb (Set#intersect?, Set#disjoint?): Add new methods for
  testing if two sets have any element in common.
  [ruby-core:45641] [Feature #6588] Based on the code by marcandre.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Add some more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
rescue NoMemoryError

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_hash.rb: add a test for enumeration order of Hash.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rubygems:  Import RubyGems from master as of commit 523551c
* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-07-31

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
add github url to changelog for r42260


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (big2str_struct): New structure.
  (big2str_orig): Use big2str_struct.
  (big2str_karatsuba): Ditto.
  (rb_big2str1): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Use the term "sorted" instead "ordered" when mentioning SortSet.

* lib/set.rb: [DOC] Use the term "sorted" instead "ordered" when
  mentioning SortSet.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/set.rb: [DOC] Fix example result.  Hash is now ordered.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/set.rb: [DOC] Add a couple of notes on Hash as storage.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Add a reference to the related issue.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Show /proc/meminfo on NoMemoryError ref #8711

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c (rb_str_rindex): refactoring and avoid to call str_nth() if
  pos == 0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e