Skip to content

Commit 5e472d8

Browse files
committed
Merge branch 'nurse-ruby-2.2.0'
2 parents 438e301 + 01b84a4 commit 5e472d8

File tree

2 files changed

+94
-1
lines changed

2 files changed

+94
-1
lines changed

_config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ license:
2323

2424
downloads:
2525
stable:
26+
version: 2.2.0
27+
url:
28+
bz2: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.bz2
29+
gz: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.gz
30+
xz: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.xz
31+
zip: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.zip
32+
md5:
33+
bz2: d03cd4690fec1fff81d096d1c1255fde
34+
gz: cd03b28fd0b555970f5c4fd481700852
35+
xz: 54b43c6c6c9dd4c4b08ceb03ad0ded7a
36+
zip: f8e1d0cee4f2d9535a9529ed23ae3700
37+
previous:
2638
version: 2.1.5
2739
url:
2840
bz2: http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.bz2
@@ -32,7 +44,7 @@ downloads:
3244
bz2: a7c3e5fec47eff23091b566e9e1dac1b
3345
gz: df4c1b23f624a50513c7a78cb51a13dc
3446
zip: 810cd05eb03c00f89b0b03b10e9a3606
35-
previous:
47+
previous20:
3648
version: 2.0.0-p598
3749
url:
3850
bz2: http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p598.tar.bz2
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 2.2.0 Released"
4+
author: "naruse"
5+
translator:
6+
date: 2014-12-25 09:00:00 +0000
7+
lang: en
8+
---
9+
10+
We are pleased to announce the release of Ruby 2.2.0.
11+
12+
Ruby 2.2 includes many new features and improvements for the increasingly
13+
diverse and expanding demands for Ruby.
14+
15+
For example, Ruby's Garbage Collector is now able to collect Symbol type objects.
16+
This reduces memory usage of Symbols; because GC was previously unable to collect them before 2.2.
17+
Since Rails 5.0 will require Symbol GC, it will support only Ruby 2.2 or later.
18+
(See [Rails 4.2 release post](http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final/) for details.)
19+
20+
Also, a reduced pause time thanks to the new Incremental Garbage Collector will be helpful for running Rails applications. Recent developments mentioned on the [Rails blog](http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final/) suggest that Rails 5.0 will take advantage of Incremental GC as well as Symbol GC.
21+
22+
Another feature related to memory management is an additional option for `configure.in` to use jemalloc
23+
[Feature #9113](https://bugs.ruby-lang.org/issues/9113).
24+
This feature is still experimental and currently disabled by default until we gather performance data and more use cases. When we are convinced of the benefits, this feature will be enabled by default.
25+
26+
Experimental support for using vfork(2) with system() and spawn() have also been added. You can read more detail on [tanaka-san's blog in Japanese](http://www.a-k-r.org/d/2014-09.html#a2014_09_06).
27+
This could potentially bring huge speed-up when a large process executes external commands many times.
28+
However vfork(2) is still not well understood and a potentially harmful system call. We would like to experiment to find out how much benefit can be gained by gathering performance data and use cases.
29+
30+
Try and enjoy programming with Ruby 2.2.0, and report us your findings!
31+
32+
## Notable Changes since 2.1
33+
34+
* [Incremental GC](https://bugs.ruby-lang.org/issues/10137) ([YARV Maniacs No.12](http://magazine.rubyist.net/?0048-YARVManiacs))
35+
* [Symbol GC](https://bugs.ruby-lang.org/issues/9634) ([presentation at RubyKaigi 2014](http://www.slideshare.net/authorNari/symbol-gc))
36+
* configure --with-jemalloc [Feature #9113](https://bugs.ruby-lang.org/issues/9113)
37+
* core libraries:
38+
* Support Unicode 7.0 [#9092](https://bugs.ruby-lang.org/issues/9092)
39+
* New methods:
40+
* Enumerable#slice_after [#9071](https://bugs.ruby-lang.org/issues/9071), Enumerable#slice_when [#9826](https://bugs.ruby-lang.org/issues/9826)
41+
* Float#next_float, Float#prev_float [#9834](https://bugs.ruby-lang.org/issues/9834)
42+
* File.birthtime, File#birthtime [#9647](https://bugs.ruby-lang.org/issues/9647)
43+
* String#unicode_normalize [#10084](https://bugs.ruby-lang.org/issues/10084)
44+
* bundled libraries:
45+
* Update Psych 2.0.8
46+
* Update Rake 10.4.2
47+
* Update RDoc 4.2.0
48+
* Update RubyGems 2.4.5
49+
* Update test-unit 3.0.8 (removed from repository but bundled
50+
in tarball)
51+
* Update minitest 5.4.3 (removed from repository but bundled in tarball)
52+
* Deprecate mathn
53+
* C API
54+
* Remove deprecated APIs
55+
56+
See [NEWS in Ruby repository](https://github.com/ruby/ruby/blob/v2_2_0/NEWS) for details.
57+
58+
With those changes, 1557 files changed, 125039 insertions(+), 74376 deletions(-) from v2.1.0!
59+
60+
## Download
61+
62+
* <http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.bz2>
63+
* SIZE: 13304042 bytes
64+
* MD5: d03cd4690fec1fff81d096d1c1255fde
65+
* SHA256: 1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955
66+
* SHA512: 04edc53e8cd1732c3ca61ebeb1d6133614beb10f77f9abb80d8d36352fe8aa205112068e460bf600b2c7e81e0ddcc3b311e7e027c320366f1bd992b3e378a6ad
67+
* <http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.gz>
68+
* SIZE: 16494584 bytes
69+
* MD5: cd03b28fd0b555970f5c4fd481700852
70+
* SHA256: 7671e394abfb5d262fbcd3b27a71bf78737c7e9347fa21c39e58b0bb9c4840fc
71+
* SHA512: 1ba0c68e1c8d2b60bbd1e218cf36463edbe34cf9418d7593702b631e68d02297465f752e71395f6cfa4104f4cd70a1eb44381ffb74bc7801758b830931fdcfc6
72+
* <http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.xz>
73+
* SIZE: 10304244 bytes
74+
* MD5: 54b43c6c6c9dd4c4b08ceb03ad0ded7a
75+
* SHA256: 848714e280fc5fb44dbac3b060b206e56c1947006324ee68a174d68b483ef8ca
76+
* SHA512: cd7e52faa464df8aca7ccfa23a5f06248e1ad82bc8c9f1829aa1b51ff37b15973b8caaa68e914d837325b8d59427fda4f3cad82c50925e1c84e688324a2a155d
77+
* <http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.zip>
78+
* SIZE: 18441027 bytes
79+
* MD5: f8e1d0cee4f2d9535a9529ed23ae3700
80+
* SHA256: e06c1e2b1248cf881749833084b2bec93f7612676009190ff9bc89b8fd07c29f
81+
* SHA512: 364dd927b496520d95a1b06c68e1a265015f4cab08bdf3efaa323d385e7bf075eae47f2e1db78a629db0f3c0c1ed24e086603ba21e2da02ac06dd3c8b716766e

0 commit comments

Comments
 (0)