Skip to content

Commit 24eca11

Browse files
committed
Finalize descriptions and annotations
1 parent 4d7c81b commit 24eca11

19 files changed

Lines changed: 102 additions & 30 deletions

File tree

2.4.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Ruby 2.4 changes
33
prev: 2.5
4+
description: Ruby 2.4 full and annotated changelog
45
---
56

67
# Ruby 2.4
@@ -15,9 +16,9 @@ prev: 2.5
1516
-->
1617

1718
* **Released at:** Dec 25, 2016 (<a class="github" href="https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.4.0">NEWS</a> file)
18-
* **Status (as of Feb 16, 2022):** EOL, latest is 2.4.10
19+
* **Status (as of Jul 09, 2022):** EOL, latest is 2.4.10
1920
* **This document first published:** Oct 14, 2019
20-
* **Last change to this document:** Feb 16, 2022
21+
* **Last change to this document:** Jul 09, 2022
2122

2223
## Highlights[](#highlights)
2324

2.5.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Ruby 2.5 changes
33
prev: 2.6
4+
description: Ruby 2.5 full and annotated changelog
45
---
56

67
# Ruby 2.5

2.6.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
title: Ruby 2.6 changes
33
prev: 2.7
44
next: 2.5
5+
description: Ruby 2.6 full and annotated changelog
56
---
67

78
# Ruby 2.6
89

910
* **Released at:** Dec 25, 2018 (<a class="github" href="https://github.com/ruby/ruby/blob/ruby_2_6/NEWS">NEWS</a> file)
10-
* **Status (as of Jul 09, 2022):** Security maintenance, latest is 2.6.9
11+
* **Status (as of Jul 09, 2022):** EOL, latest is 2.6.10
1112
* **This document first published:** Dec 29, 2018
1213
* **Last change to this document:** Jul 09, 2022
1314

2.7.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: Ruby 2.7 changes
33
prev: 3.0
44
next: 2.6
5+
description: Ruby 2.7 full and annotated changelog
56
---
67

78
# Ruby 2.7
89

910
* **Released at:** Dec 25, 2019 (<a class="github" href="https://github.com/ruby/ruby/blob/ruby_2_7/NEWS">NEWS</a> file)
10-
* **Status (as of Feb 16, 2022):** 2.7.5 is current _stable_
11+
* **Status (as of Jul 09, 2022):** 2.7.6 is current _stable_
1112
* **This document first published:** Dec 27, 2019
12-
* **Last change to this document:** Feb 16, 2022
13+
* **Last change to this document:** Jul 09, 2022
1314

1415
<!-- TODO: all links to docs should be replaced with /2.7.0/ suffix instead of /master/ when 2.7.0 would be published -->
1516

@@ -72,7 +73,7 @@ In block without explicitly specified parameters, variables `_1` through `_9` ca
7273
* <a class="tracker feature" href="https://bugs.ruby-lang.org/issues/4475">Feature #4475</a> (initial discussion, started 9 years ago, and finished with accepting of `@0``@9`),
7374
* <a class="tracker misc" href="https://bugs.ruby-lang.org/issues/15723">Misc #15723</a> (change to `_0``_9`),
7475
* <a class="tracker bug" href="https://bugs.ruby-lang.org/issues/16178">Bug #16178</a> (dropping of `_0`, and changing semantics of `_1`)
75-
* **Documentation:** [Proc#Numbered parameters](https://docs.rubocop.org/en/stable/cops_layout/)
76+
* **Documentation:** <a class="ruby-doc" href="https://docs.ruby-lang.org/en/2.7.0/Proc.html#class-Proc-label-Numbered+parameters">Proc#Numbered parameters</a>
7677
* **Code:**
7778
```ruby
7879
# Simplest usage:
@@ -1041,7 +1042,7 @@ Allows to emit/suppress separate categories of warnings.
10411042

10421043
## Standard library[](#standard-library)
10431044

1044-
* `Date` supports [new Japanese era](https://en.wikipedia.org/wiki/Reiwa) in parsing and rendering dates (generic <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-c-parse"><code>Date.parse</code></a> and <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-i-jisx0301"><code>.jisx0301](https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-c-jisx0301)/[#jisx0301</code></a>). Discussion: <a class="tracker feature" href="https://bugs.ruby-lang.org/issues/15742">Feature #15742</a>
1045+
* `Date` supports [new Japanese era](https://en.wikipedia.org/wiki/Reiwa) in parsing and rendering dates (generic <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-c-parse"><code>Date.parse</code></a> and <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-c-jisx0301"><code>.jisx0301</code></a>/<a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/date/rdoc/Date.html#method-i-jisx0301"><code>#jisx0301</code></a>). Discussion: <a class="tracker feature" href="https://bugs.ruby-lang.org/issues/15742">Feature #15742</a>
10451046
* <a class="ruby-doc" href="https://docs.ruby-lang.org/en/master/Object.html#method-i-DelegateClass"><code>DelegateClass()</code></a> accepts a block to define delegates behavior on-the-fly.
10461047
* <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/pathname/rdoc/Pathname.html#method-c-glob"><code>Pathname.glob</code></a> passes third argument, if provided, to `Dir.glob`, allowing to specify `base:` for globbing.
10471048
* <a class="ruby-doc" href="https://ruby-doc.org/stdlib-2.7.0/libdoc/pathname/rdoc/Kernel.html#method-i-Pathname"><code>Pathname()</code></a> method doesn't duplicates argument, if it was already a `Pathname`

3.0.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: Ruby 3.0 changes
33
prev: /
44
next: 2.7
5+
description: Ruby 3.0 full and annotated changelog
56
---
67

78
# Ruby 3.0
89

910
* **Released at:** Dec 25, 2020 (<a class="github" href="https://github.com/ruby/ruby/blob/ruby_3_0/NEWS.md">NEWS.md</a> file)
10-
* **Status (as of Jun 19, 2022):** 3.0.3 is current _stable_
11+
* **Status (as of Jul 09, 2022):** 3.0.4 is current _stable_
1112
* **This document first published:** Dec 25, 2020
12-
* **Last change to this document:** Jun 19, 2022
13+
* **Last change to this document:** Jul 09, 2022
1314

1415
## Highlights[](#highlights)
1516

3.1.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: Ruby 3.1 changes
33
prev: /
44
next: 3.0
5+
description: Ruby 3.1 full and annotated changelog
56
---
67

78
# Ruby 3.1
89

910
* **Released at:** Dec 25, 2021 (<a class="github" href="https://github.com/ruby/ruby/blob/ruby_3_1/NEWS.md">NEWS.md</a> file)
10-
* **Status (as of Jun 19, 2022):** 3.1.0 is current _stable_
11+
* **Status (as of Jul 09, 2022):** 3.1.2 is current _stable_
1112
* **This document first published:** Jan 5, 2022
12-
* **Last change to this document:** Jun 19, 2022
13+
* **Last change to this document:** Jul 09, 2022
1314

1415
> **Note:** As already explained in [Introduction](README.md), this site is dedicated to changes in the **language**, not the **implementation**, therefore the list below lacks mentions of lots of important optimization introduced in 3.1, including a new JIT named YJIT. That's not because they are not important, just because this site's goals are different.
1516

History.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
(Only outstanding content changes listed, the texts and code are constantly updated and fixed thanks to awesome contributors.)
44

5+
## 2022-06-09
6+
7+
* **[Ruby Evolution](evolution.html)** bird-eye view added.
8+
59
## 2022-01-05
610

711
* **[3.1](3.1.html)** changelog added. Better late than never, right?..

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ The main things to do, currently:
2727

2828
* The source of information is NEWS files from Ruby repository.
2929
* Book theme is initially borrowed from [mdBook](https://github.com/rust-lang-nursery/mdBook) project.
30-
* The work in this repository (text, scripts and custom additions to design) is made by [Victor Shepelev](https://zverok.github.io) and should be considered **Public Domain**.
30+
* The work in this repository (text, scripts and custom additions to design) is made by [Victor Shepelev](https://zverok.space) and should be considered **Public Domain**.

_data/book.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ chapters:
66
path: "/evolution.html"
77
is_version: true
88
children:
9-
- title: Generic
10-
path: "/evolution.html#generic"
9+
- title: General changes
10+
path: "/evolution.html#general-changes"
1111
- title: Expressions
1212
path: "/evolution.html#expressions"
1313
children:
@@ -86,6 +86,8 @@ chapters:
8686
path: "/evolution.html#refinements"
8787
- title: Freezing
8888
path: "/evolution.html#freezing"
89+
- title: 'Appendix: Covered Ruby versions release dates'
90+
path: "/evolution.html#appendix-covered-ruby-versions-release-dates"
8991
- title: Ruby 3.1
9092
path: "/3.1.html"
9193
is_version: true

_layouts/default.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
<meta charset="UTF-8">
1010
<title>{{ page.title }} - {{ site.title }}</title>
1111
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<meta name="description" content="{{ page.description | escape_once }}" />
13+
14+
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" />
15+
<meta property="og:type" content="article" />
16+
<meta property="twitter:card" content="summary" />
17+
<meta property="og:title" content="{{ page.title | escape_once }}" />
18+
<meta property="og:description" content="{{ page.description | escape_once }}" />
19+
<meta property="twitter:title" content="{{ page.title | escape_once }}" />
20+
<meta property="twitter:description" content="{{ page.description | escape_once }}" />
1221

1322
<!-- CSS stolen from mdBook -->
1423
<link rel="stylesheet" href="{{ site.baseurl }}/css/book.css">

0 commit comments

Comments
 (0)